From 4c0aec2f42c1c10f373aca6b111c2c84645c2583 Mon Sep 17 00:00:00 2001 From: mabo Date: Fri, 9 Jul 2021 17:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=88=86=E7=B1=BB=EF=BC=8C?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=EF=BC=8C=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=86=E7=B1=BB=EF=BC=8C=E6=94=B6=E6=AC=BE=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E7=AD=89=E9=A1=B5=E9=9D=A2bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/home/orderCenter/OrderDetail.vue | 4 +- manager/src/config/index.js | 16 +++--- .../views/distribution/distributionOrder.vue | 47 ++++++++++++----- .../src/views/goods/goods-manage/category.vue | 20 ++++---- manager/src/views/order/flow/paymentLog.vue | 50 ++++--------------- manager/src/views/order/order/orderDetail.vue | 24 +++++++++ manager/src/views/order/order/orderList.vue | 37 +++----------- seller/src/config/index.js | 16 +++--- seller/src/views/statistics/order.vue | 8 +-- 9 files changed, 102 insertions(+), 120 deletions(-) diff --git a/buyer/src/pages/home/orderCenter/OrderDetail.vue b/buyer/src/pages/home/orderCenter/OrderDetail.vue index 08ddc03a..bf0223fd 100644 --- a/buyer/src/pages/home/orderCenter/OrderDetail.vue +++ b/buyer/src/pages/home/orderCenter/OrderDetail.vue @@ -80,8 +80,8 @@
运费:+{{ order.order.freightPrice | unitPrice("¥") }}
-
优惠券:-{{ order.order.priceDetailDTO.couponPrice || 0 | unitPrice("¥") }}
-
活动优惠:-{{ order.order.discountPrice | unitPrice("¥") }}
+
优惠券:-{{ order.order.priceDetailDTO.couponPrice || 0 | unitPrice("¥") }}
+
活动优惠:-{{ order.order.discountPrice | unitPrice("¥") }}
应付金额: {{ order.order.flowPrice | unitPrice("¥") }} diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 596645d1..deef8a67 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -17,14 +17,14 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: "https://common-api.pickmall.cn", - // buyer: "https://buyer-api.pickmall.cn", - // seller: "https://store-api.pickmall.cn", - // manager: "https://admin-api.pickmall.cn" - common: 'http://192.168.0.103:8890', - buyer: 'http://192.168.0.103:8888', - seller: 'http://192.168.0.103:8889', - manager: 'http://192.168.0.103:8887' + common: "https://common-api.pickmall.cn", + buyer: "https://buyer-api.pickmall.cn", + seller: "https://store-api.pickmall.cn", + manager: "https://admin-api.pickmall.cn" + // common: 'http://192.168.0.103:8890', + // buyer: 'http://192.168.0.103:8888', + // seller: 'http://192.168.0.103:8889', + // manager: 'http://192.168.0.103:8887' }, api_prod: { common: "https://common-api.pickmall.cn", diff --git a/manager/src/views/distribution/distributionOrder.vue b/manager/src/views/distribution/distributionOrder.vue index 0a828d92..b1f30079 100644 --- a/manager/src/views/distribution/distributionOrder.vue +++ b/manager/src/views/distribution/distributionOrder.vue @@ -52,6 +52,9 @@
+ { - if (params.row.distributionOrderStatus == 'COMPLETE_CASH') { - return h('div', '提现完成') - } else if (params.row.distributionOrderStatus == 'WAIT_BILL') { - return h('div', '待结算') - } else if (params.row.distributionOrderStatus == 'WAIT_CASH') { - return h('div', '待提现') - } - } + slot: "distributionOrderStatus", + width: 120, + }, - { title: "佣金金额", key: "rebateGrade", @@ -219,6 +212,34 @@ }, searchChange(val) { // 店铺搜索,键盘点击回调 this.getShopList(val) + }, + filterStatus (status) { // 过滤订单状态 + const arr = [ + {status: 'WAIT_BILL', title: '待结算'}, + {status: 'WAIT_CASH', title: '待提现'}, + {status: 'COMPLETE_CASH', title: '提现完成'}, + {status: 'CANCEL', title: '订单取消'}, + {status: 'REFUND', title: '退款'}, + ] + for (let i=0;i -