From d4b28ddabaf7520beab5f32671be4c8436897a91 Mon Sep 17 00:00:00 2001 From: gukai <1522776404@qq.com> Date: Fri, 12 Apr 2024 14:16:06 +0800 Subject: [PATCH] 1 --- api/mall/discount.js | 193 ++++++++++++++++----------- mall/caiwu/cash/edit.vue | 146 ++++++++++++++++++++ mall/caiwu/cash/index.vue | 165 +++++++++++++++++++++++ mall/caiwu/money/index.vue | 146 ++++++++++++++++++++ mall/cat/edit.vue | 162 +++++++++++----------- mall/discount/full_discount/edit.vue | 2 +- mall/function/index.vue | 27 ++++ pages.json | 21 +++ store/recon/index.vue | 76 ++++++++++- store/recon/list.vue | 97 ++++++++++---- 10 files changed, 844 insertions(+), 191 deletions(-) create mode 100644 mall/caiwu/cash/edit.vue create mode 100644 mall/caiwu/cash/index.vue create mode 100644 mall/caiwu/money/index.vue diff --git a/api/mall/discount.js b/api/mall/discount.js index f39be0f..aeaf5ad 100644 --- a/api/mall/discount.js +++ b/api/mall/discount.js @@ -1,91 +1,126 @@ import { - request + request } from "@/utils/request"; export default { - SalesDiscounts: { + SalesDiscounts: { - List(data) { - return request({ - url: "/shop/SalesDiscounts/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesDiscounts/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesDiscounts/Create", - method: "POST", - data, - type: 'mall' - }); - }, - }, + List(data) { + return request({ + url: "/shop/SalesDiscounts/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesDiscounts/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesDiscounts/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, - SalesFullDiscounts: { + SalesFullDiscounts: { - List(data) { - return request({ - url: "/shop/SalesFullDiscounts/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesFullDiscounts/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesFullDiscounts/Create", - method: "POST", - data, - type: 'mall' - }); - }, - }, + List(data) { + return request({ + url: "/shop/SalesFullDiscounts/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesFullDiscounts/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesFullDiscounts/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, - SalesFullSetRedution: { + SalesFullSetRedution: { - List(data) { - return request({ - url: "/shop/SalesFullSetRedution/List", - method: "GET", - data, - type: 'mall' - }); - }, - GetItem(data) { - return request({ - url: "/shop/SalesFullSetRedution/GetItem", - method: "GET", - data, - type: 'mall' - }); - }, - Create(data) { - return request({ - url: "/shop/SalesFullSetRedution/Create", - method: "POST", - data, - type: 'mall' - }); - }, - } + List(data) { + return request({ + url: "/shop/SalesFullSetRedution/List", + method: "GET", + data, + type: 'mall' + }); + }, + GetItem(data) { + return request({ + url: "/shop/SalesFullSetRedution/GetItem", + method: "GET", + data, + type: 'mall' + }); + }, + Create(data) { + return request({ + url: "/shop/SalesFullSetRedution/Create", + method: "POST", + data, + type: 'mall' + }); + }, + }, + + caiwu: { + List(data) { + return request({ + url: "/shop/shop/shareList", + method: "GET", + data, + type: 'mall' + }); + }, + cashList(data) { + return request({ + url: "/shop/shop/cashList", + method: "GET", + data, + type: 'mall' + }); + }, + shopData(data) { + return request({ + url: "/shop/shop/getData", + method: "GET", + data, + type: 'mall' + }); + }, + cashSubmit(data) { + return request({ + url: "/shop/shop/cashSubmit", + method: "POST", + data, + type: 'mall' + }); + }, + } }; \ No newline at end of file diff --git a/mall/caiwu/cash/edit.vue b/mall/caiwu/cash/edit.vue new file mode 100644 index 0000000..7b7d7b7 --- /dev/null +++ b/mall/caiwu/cash/edit.vue @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + 银行卡 + 微信 + 支付宝 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + + diff --git a/mall/caiwu/cash/index.vue b/mall/caiwu/cash/index.vue new file mode 100644 index 0000000..5dd2d7d --- /dev/null +++ b/mall/caiwu/cash/index.vue @@ -0,0 +1,165 @@ + + + + + + + 提现 + + + + + + + + + + + + + + ID:{{ item?.id }} + + + {{ item.create_time }} + + + + {{ ["待审核", "待打款", "已打款", "已拒绝"][item.status] }} + + + + + + + + + + + 开户行:{{ item.bank_name }} + 银行卡号:{{ item.bank_code }} + + + + + + + + {{ item.ali_code }} + + + + {{ item.cash_price }} + + + + + + + + + + 审核备注:{{ item.auditing_desc }} + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mall/caiwu/money/index.vue b/mall/caiwu/money/index.vue new file mode 100644 index 0000000..cbe4bc6 --- /dev/null +++ b/mall/caiwu/money/index.vue @@ -0,0 +1,146 @@ + + + + + + + 余额:¥{{ shop_info ? shop_info.money : '0.00' }} + + + + + + + + + + + + + + ID:{{ item?.id }} + + + {{ item.create_time }} + + + + + + {{ item.desc_info }} + + + {{ item.type == 1 ? '+' : '-' }} {{ item.money }} + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mall/cat/edit.vue b/mall/cat/edit.vue index acc6855..12e4d77 100644 --- a/mall/cat/edit.vue +++ b/mall/cat/edit.vue @@ -1,88 +1,90 @@ - - - - 上级分类: ({{ parent.name }}) - - - - - - - - - - - - - - - - - - - - - - - - - - - 保存 - - - - + + + + 上级分类: ({{ parent.name }}) + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + + + + \ No newline at end of file diff --git a/mall/discount/full_discount/edit.vue b/mall/discount/full_discount/edit.vue index 028268c..fd2f633 100644 --- a/mall/discount/full_discount/edit.vue +++ b/mall/discount/full_discount/edit.vue @@ -133,4 +133,4 @@ export default { + \ No newline at end of file diff --git a/mall/function/index.vue b/mall/function/index.vue index 7a6b4e3..b46bfa4 100644 --- a/mall/function/index.vue +++ b/mall/function/index.vue @@ -110,6 +110,33 @@ + + + + + + + + + 财务 + + + + + 佣金管理 + + + + 提现管理 + + + + + diff --git a/pages.json b/pages.json index 206a171..38a018e 100644 --- a/pages.json +++ b/pages.json @@ -434,6 +434,27 @@ "navigationBarTitleText": "满额立减", "enablePullDownRefresh": false } + }, + { + "path": "caiwu/money/index", + "style": { + "navigationBarTitleText": "佣金明细", + "enablePullDownRefresh": false + } + }, + { + "path": "caiwu/cash/index", + "style": { + "navigationBarTitleText": "提现列表", + "enablePullDownRefresh": false + } + }, + { + "path": "caiwu/cash/edit", + "style": { + "navigationBarTitleText": "提现", + "enablePullDownRefresh": false + } } ] } diff --git a/store/recon/index.vue b/store/recon/index.vue index ca24093..e7a73c0 100644 --- a/store/recon/index.vue +++ b/store/recon/index.vue @@ -2,14 +2,14 @@ - + @@ -18,14 +18,14 @@ 账单 - +