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(); },