From d2919817e697df6c2e3a9cecc1fd0348d01e4f53 Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Sat, 13 Apr 2024 18:17:12 +0800 Subject: [PATCH] add --- src/api/merchant.js | 6 +- src/api/user.js | 70 ++++++++++--------- src/views/merchant/application/index.vue | 4 +- src/views/merchant/application/merInfo.vue | 4 +- src/views/merchant/deposit/index.vue | 62 ++++++++++------ .../merchant/list/handle/merEditForm.vue | 30 +++++--- src/views/merchant/list/handle/merInfo.vue | 32 ++++++++- src/views/merchant/list/index.vue | 5 +- src/views/order/list/index.vue | 24 ++++++- src/views/order/list/orderDetails.vue | 18 +++++ src/views/product/productExamine/editAttr.vue | 60 +++++++++++----- src/views/product/productExamine/index.vue | 14 +++- src/views/product/productExamine/info.vue | 12 +++- .../product/productExamine/proDetails.vue | 26 +++++-- src/views/user/list/index.vue | 67 +++++++++++++++++- 15 files changed, 333 insertions(+), 101 deletions(-) diff --git a/src/api/merchant.js b/src/api/merchant.js index b45ac8f..87fabc0 100644 --- a/src/api/merchant.js +++ b/src/api/merchant.js @@ -340,10 +340,10 @@ export function marginGoodsLstApi(data) { return request.get(`margin/goods_lst`, data) } /** - * @description 待缴保证金 -- 列表 + * @description 线下转账 -- 列表 */ export function marginDepositLstApi(data) { - return request.get(`margin/make_up`, data) + return request.get(`margin/make_offline`, data) } /** * @description 待缴服务费 -- 列表 @@ -361,7 +361,7 @@ export function marginGoodsDepositLstApi(data) { * @description 待缴保证金 -- 线下付款 */ export function marginPaymentApi(id) { - return request.get(`margin/local/${id}/form`) + return request.get(`margin/offline/${id}/form`) } /** * @description 待缴服务费 -- 财务审核 diff --git a/src/api/user.js b/src/api/user.js index 9f57cab..953da88 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -53,7 +53,7 @@ export function getMenusApi() { /** * @description 创建用户 */ - export function createUserApi() { +export function createUserApi() { return request.get(`user/create`) } /** @@ -134,7 +134,7 @@ export function changelabelApi(id) { /** * @description 用户列表 -- 编辑会员等级 */ - export function changeMemberApi(id) { +export function changeMemberApi(id) { return request.get(`user/member/${id}/form`) } /** @@ -147,7 +147,7 @@ export function changeNowMoneyApi(id) { * @description 用户列表 -- 修改积分 */ export function changeNowIntegralApi(id) { - return request.get(`user/change_integral/form/${id}`) + return request.get(`user/change_integral/form/${id}`) } /** * @description 用户列表 -- 批量设置分组 @@ -237,102 +237,102 @@ export function cityListApi(uid) { * @description 用户 -- 修改用户推荐人(表单) */ export function modifyUserReferrer(uid) { - return request.get(`user/change_spread_form/${uid}`) + return request.get(`user/change_spread_form/${uid}`) } /** * @description 用户 -- 推荐人修改记录 */ export function modifyUserRefLog(uid, data) { - return request.get(`user/spread_log/${uid}`, data) + return request.get(`user/spread_log/${uid}`, data) } /** * @description 用户 -- 获取协议 */ export function getAgreementApi(key) { - return request.get(`agreement/${key}`) + return request.get(`agreement/${key}`) } /** * @description 用户 -- 编辑协议 */ export function updateAgreementApi(type, data) { - return request.post(`agreement/${type}`, data) + return request.post(`agreement/${type}`, data) } /** * @description 用户搜索信息 -- 列表 */ export function userSearchLstApi(data) { - return request.get("user/search_log", data) + return request.get("user/search_log", data) } /** * @description 用户搜索信息 -- 导出 */ export function recordListImportApi(data) { - return request.get("user/search_log/export", data) + return request.get("user/search_log/export", data) } /** * @description 会员管理 -- 添加会员 */ - export function addInterestsApi() { +export function addInterestsApi() { return request.get('user/member/create/form') } /** * @description 会员管理 -- 列表 */ - export function interestsLstApi(data) { +export function interestsLstApi(data) { return request.get('user/member/lst', data) } /** * @description 会员管理 -- 编辑 */ - export function interestsUpdateApi(id) { +export function interestsUpdateApi(id) { return request.get(`user/member/update/${id}/form`) } /** * @description 会员管理 -- 删除 */ - export function interestsDeleteApi(id) { +export function interestsDeleteApi(id) { return request.delete(`user/member/delete/${id}`) } /** * @description 会员 -- 说明 */ - export function interestsInfo(key) { +export function interestsInfo(key) { return request.get(`agreement/${key}`) } /** * @description 会员管理 -- 编辑 */ - export function interestsUpdate(key,data) { +export function interestsUpdate(key, data) { return request.post(`agreement/${key}`, data) } /** * @description 会员 -- 配置 */ - export function interestsConfig(key) { +export function interestsConfig(key) { return request.get(`config/${key}`) } /** * @description 会员权益 -- 添加 */ - export function addBenefitsApi() { +export function addBenefitsApi() { return request.get('member/interests/create/form') } /** * @description 会员权益 -- 列表 */ - export function benefitsLstApi(data) { +export function benefitsLstApi(data) { return request.get('member/interests/lst', data) } /** * @description 会员权益 -- 编辑 */ - export function benefitsUpdateApi(id) { +export function benefitsUpdateApi(id) { return request.get(`/member/interests/update/${id}/form`) } /** * @description 会员权益 -- 删除 */ - export function benefitsDeleteApi(id) { +export function benefitsDeleteApi(id) { return request.delete(`member/interests/delete/${id}`) } /** @@ -345,61 +345,61 @@ export function getVersion() { /** * @description 会员类型 -- 添加 */ - export function levelCreateApi() { +export function levelCreateApi() { return request.get('user/svip/type/form') } /** * @description 会员类型 -- 编辑 */ - export function levelUpdateApi(id) { +export function levelUpdateApi(id) { return request.get(`user/svip/type/${id}/form`) } /** * @description 会员类型 -- 删除 */ - export function levelDeteleApi(id) { +export function levelDeteleApi(id) { return request.delete(`user/svip/type/delete/${id}`) } /** * @description 付费会员权益 -- 权益状态 */ - export function levelStatusApi(id, status) { +export function levelStatusApi(id, status) { return request.post(`user/svip/type/status/${id}`, { status }) } /** * @description 付费会员类型 -- 列表 */ - export function levelListApi() { +export function levelListApi() { return request.get('user/svip/type/lst') } /** * @description 付费会员权益 -- 列表 */ - export function memberEquityListApi() { +export function memberEquityListApi() { return request.get('svip/interests/lst') } /** * @description 付费会员权益 -- 编辑表单 */ - export function memberEquityUpdateApi(id) { +export function memberEquityUpdateApi(id) { return request.get(`svip/interests/${id}/form`) } /** * @description 付费会员权益 -- 权益状态 */ - export function memberEquityStatusApi(id, status) { +export function memberEquityStatusApi(id, status) { return request.post(`svip/interests/status/${id}`, { status }) } /** * @description 付费会员记录 -- 列表 */ - export function memberRecordListApi(data) { +export function memberRecordListApi(data) { return request.get('user/svip/order_lst', data) } /** * @description 用户 -- 赠送付费会员 */ - export function giveMemberApi(id) { +export function giveMemberApi(id) { return request.get(`user/svip/${id}/form`) } /** @@ -447,7 +447,7 @@ export function exportUserApi(data) { /** * @description 用户列表 -- 编辑 */ -export function userEditApi(id,data) { +export function userEditApi(id, data) { return request.post(`user/update/${id}`, data) } /** @@ -466,7 +466,7 @@ export function userInfoSelectApi() { * @description 付费会员记录 -- 数据统计 */ export function memberRecordCard(data) { - return request.get(`user/svip/count_info`,data) + return request.get(`user/svip/count_info`, data) } /** @@ -474,4 +474,10 @@ export function memberRecordCard(data) { */ export function memberGrowthLog(data) { return request.get(`user/member_log`, data) +} +/** + * @description 验证码 -- 查询 + */ +export function sysVerifyCodeApi(data) { + return request.post(`verify_code`, data) } \ No newline at end of file diff --git a/src/views/merchant/application/index.vue b/src/views/merchant/application/index.vue index b24c3e2..7a0856e 100644 --- a/src/views/merchant/application/index.vue +++ b/src/views/merchant/application/index.vue @@ -93,7 +93,8 @@ - + + {{(scope.row.merchant&&scope.row.merchant.mer_name) || scope.row.mer_name}} - + + + + {{ scope.row.is_goods == 1 ? scope.row.goods_cost : (scope.row.ot_goods_cost-scope.row.goods_cost).toFixed(2) }} - {{ scope.row.ot_margin }} - + --> + + + 财务审核 @@ -517,18 +539,18 @@ export default { { count: "", type: "2", - title: "待缴保证金", - }, - { - count: "", - type: "3", - title: "待缴服务费", - }, - { - count: "", - type: "4", - title: "待缴上架费", + title: "线下转账", }, + // { + // count: "", + // type: "3", + // title: "待缴服务费", + // }, + // { + // count: "", + // type: "4", + // title: "待缴上架费", + // }, { count: "", type: "1", diff --git a/src/views/merchant/list/handle/merEditForm.vue b/src/views/merchant/list/handle/merEditForm.vue index bfc0c08..1d33de7 100644 --- a/src/views/merchant/list/handle/merEditForm.vue +++ b/src/views/merchant/list/handle/merEditForm.vue @@ -13,17 +13,17 @@
基础信息
- + - + + + + + + + + @@ -207,7 +219,7 @@ - + @@ -215,7 +227,7 @@ 元, @@ -230,7 +242,7 @@ - + @@ -238,7 +250,7 @@ 元, @@ -274,7 +286,7 @@ - + {{merData.is_service == 1 ? '待缴' : merData.is_service == 0 ? '无' : '已缴' }} @@ -291,7 +303,7 @@ - + {{merData.service_cost}} diff --git a/src/views/merchant/list/handle/merInfo.vue b/src/views/merchant/list/handle/merInfo.vue index e89f7a0..cb6aaed 100644 --- a/src/views/merchant/list/handle/merInfo.vue +++ b/src/views/merchant/list/handle/merInfo.vue @@ -11,6 +11,12 @@ {{merData.mer_name}} +
  • +
    企业名称:
    +
    + {{merData.ext.com?merData.ext.com.contact:'无'}} +
    +
  • 商户类型:
    {{merData.is_trader == 1 ? "自营" : "非自营"}}
    @@ -122,11 +128,35 @@
  • -
    产品服务费:
    +
    技术服务费:
    {{merData.is_service == 0 ? '无' : merData.service_cost}}
  • +
  • +
    上架费支付状态:
    +
    + {{merData.is_goods == 1 ? '待缴' : merData.is_goods == 0 ? '无' : '已缴' }} +
    +
  • +
  • +
    技术服务费支付状态:
    +
    + {{merData.is_service == 1 ? '待缴' : merData.is_service == 0 ? '无' : '已缴' }} +
    +
  • +
  • +
    上架费余额:
    +
    + {{merData.goods_cost == 0 ? '无' : merData.goods_cost}} +
    +
  • +
  • +
    技术服务费余额:
    +
    + {{merData.service_cost == 0 ? '无' : merData.service_cost}} +
    +
  • 保证金支付状态:
    {{merData.is_margin == 1 ? '待缴' : merData.is_margin == 0 ? '无' : '已缴' }} diff --git a/src/views/merchant/list/index.vue b/src/views/merchant/list/index.vue index 3b0252c..0fac67b 100644 --- a/src/views/merchant/list/index.vue +++ b/src/views/merchant/list/index.vue @@ -118,7 +118,7 @@ > - +