From bce709a57a1b4b2449f53768075c319832c0e1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 22 Jun 2021 18:11:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=BF=90=E8=90=A5=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E5=87=BA=E7=8E=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/config/index.js | 8 +- .../views/order/order/fictitiousOrderList.vue | 6 +- manager/src/views/order/order/orderDetail.vue | 2 +- manager/src/views/promotion/coupon/coupon.vue | 6 +- .../src/views/promotion/seckill/seckill.vue | 97 ++++--------- .../views/promotion/seckill/setupSeckill.vue | 4 +- .../views/statistics/order/orderDetail.vue | 2 +- seller/src/config/index.js | 16 +- seller/src/utils/filters.js | 137 +++++++++++------- seller/src/views/order/order/orderDetail.vue | 2 +- seller/src/views/promotion/coupon/coupon.vue | 132 +++++------------ 11 files changed, 172 insertions(+), 240 deletions(-) diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 1a28698c..8b6b162f 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -21,10 +21,10 @@ export default { // buyer: "https://buyer-api.pickmall.cn", // seller: "https://store-api.pickmall.cn", // manager: "https://admin-api.pickmall.cn" - common: 'http://192.168.0.100:8890', - buyer: 'http://192.168.0.100:8888', - seller: 'http://192.168.0.100:8889', - manager: 'http://192.168.0.100:8887' + common: 'http://192.168.0.109:8890', + buyer: 'http://192.168.0.109:8888', + seller: 'http://192.168.0.109:8889', + manager: 'http://192.168.0.109:8887' }, api_prod: { common: "https://common-api.pickmall.cn", diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue index 2d4c9ac3..da5d7bb9 100644 --- a/manager/src/views/order/order/fictitiousOrderList.vue +++ b/manager/src/views/order/order/fictitiousOrderList.vue @@ -94,8 +94,8 @@ // 搜索框初始化对象 pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 - sort: "createTime", // 默认排序字段 - order: "desc", // 默认排序方式 + sort: "", // 默认排序字段 + order: "", // 默认排序方式 startDate: "", // 起始时间 endDate: "", // 终止时间 orderType: "FICTITIOUS", @@ -118,8 +118,6 @@ title: "下单时间", key: "createTime", width: 200, - sortable: true, - sortType: "desc", }, { title: "订单来源", diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue index 2005fe73..ddf1d3a0 100644 --- a/manager/src/views/order/order/orderDetail.vue +++ b/manager/src/views/order/order/orderDetail.vue @@ -37,7 +37,7 @@
订单来源:
- {{ orderInfo.order.clientType }} + {{ orderInfo.order.clientType | clientTypeWay}}
diff --git a/manager/src/views/promotion/coupon/coupon.vue b/manager/src/views/promotion/coupon/coupon.vue index 7f2ae93d..c34bb812 100644 --- a/manager/src/views/promotion/coupon/coupon.vue +++ b/manager/src/views/promotion/coupon/coupon.vue @@ -101,7 +101,7 @@ export default { { title: "面额/折扣", key: "price", - width: 120, + width: 100, render: (h, params) => { if (params.row.price) { return h( @@ -117,14 +117,14 @@ export default { { title: "领取数量/总数量", key: "publishNum", - width: 150, + width: 130, render: (h, params) => { return h( "div", params.row.receivedNum + "/" + params.row.publishNum ); }, - minWidth: 130, + }, { title: "优惠券类型", diff --git a/manager/src/views/promotion/seckill/seckill.vue b/manager/src/views/promotion/seckill/seckill.vue index 00e634dd..3b2531ab 100644 --- a/manager/src/views/promotion/seckill/seckill.vue +++ b/manager/src/views/promotion/seckill/seckill.vue @@ -24,78 +24,35 @@ - - -
- - - @@ -302,7 +259,7 @@ export default { diff --git a/manager/src/views/promotion/seckill/setupSeckill.vue b/manager/src/views/promotion/seckill/setupSeckill.vue index 9ad7c77b..0ab8ce68 100644 --- a/manager/src/views/promotion/seckill/setupSeckill.vue +++ b/manager/src/views/promotion/seckill/setupSeckill.vue @@ -1,5 +1,5 @@