From 44558d9072d4de8f4c9bec1df8db8d7e2c2ff273 Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Wed, 5 Jul 2023 11:42:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=90=A5=E5=90=8E=E5=8F=B0-=E5=94=AE?= =?UTF-8?q?=E5=90=8E=E5=88=97=E8=A1=A8=EF=BC=8C=E5=94=AE=E5=90=8E=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=B1=95=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/after-order/afterSaleOrder.vue | 68 ++++++++++++++----- .../views/order/order/fictitiousOrderList.vue | 65 +++++++++++++++--- manager/src/views/order/order/orderList.vue | 8 +-- 3 files changed, 109 insertions(+), 32 deletions(-) diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue index 0e3a33ed..2da5aa25 100644 --- a/manager/src/views/order/after-order/afterSaleOrder.vue +++ b/manager/src/views/order/after-order/afterSaleOrder.vue @@ -27,23 +27,6 @@ style="width: 200px" /> - - - + +
+
+ {{item.title}} +
+
+ + + diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue index b3cd19f1..2ce2abf1 100644 --- a/manager/src/views/order/order/fictitiousOrderList.vue +++ b/manager/src/views/order/order/fictitiousOrderList.vue @@ -9,16 +9,16 @@ - - - + + + + + + + + + + @@ -27,6 +27,13 @@ + +
+
+ {{item.title}} +
+
+
@@ -178,6 +185,15 @@ export default { ], data: [], // 表单数据 total: 0, // 表单数据总数 + orderStatus: [ + {title: '全部', value: ''}, + {title: '未付款', value: 'UNPAID'}, + {title: '已付款', value: 'PAID'}, + {title: '待核验', value: 'TAKE'}, + {title: '已完成', value: 'COMPLETED'}, + {title: '已取消', value: 'CANCELLED'}, + ], + currentStatus: '' }; }, methods: { @@ -259,9 +275,38 @@ export default { }); }, + // 订单筛选 + orderStatusClick(item) { + this.currentStatus = item.value; + this.searchForm.orderStatus = item.value; + this.getDataList(); + }, }, mounted () { this.init(); }, }; + + + diff --git a/manager/src/views/order/order/orderList.vue b/manager/src/views/order/order/orderList.vue index 701c801a..3bac0f1e 100644 --- a/manager/src/views/order/order/orderList.vue +++ b/manager/src/views/order/order/orderList.vue @@ -91,7 +91,7 @@
-
+
{{item.title}}
@@ -323,7 +323,7 @@ export default { ], data: [], // 表单数据 total: 0, // 表单数据总数 - order_status: [ + orderStatus: [ {title: '全部', value: ''}, {title: '未付款', value: 'UNPAID'}, {title: '已付款', value: 'PAID'}, @@ -335,7 +335,7 @@ export default { {title: '已取消', value: 'CANCELLED'}, ], - current_status: '' + currentStatus: '' }; }, methods: { @@ -407,7 +407,7 @@ export default { }, // 订单筛选 orderStatusClick(item) { - this.current_status = item.value; + this.currentStatus = item.value; this.searchForm.orderStatus = item.value; this.getDataList(); },