From 67063a61900e51c7f86b8664851cc564803b946a Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Sat, 8 Jul 2023 10:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/users/order_list/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue index 6fb1ac0..208dd7c 100644 --- a/pages/users/order_list/index.vue +++ b/pages/users/order_list/index.vue @@ -416,7 +416,8 @@ id: '' }, //商品分类 - activity_type: '' + activity_type: '', + product_type: 0 }; }, computed: { @@ -499,6 +500,7 @@ */ onLoad: function(options) { if (options.status) this.orderStatus = options.status; + if (options.product_type) this.product_type = options.product_type; }, /** * 获取订单统计数据 @@ -665,6 +667,7 @@ groupOrderList({ page: that.page, limit: that.limit, + product_type: that.product_type, }).then(res => { console.log(res); that.isReady = true; @@ -686,6 +689,7 @@ status: that.orderStatus - 1, page: that.page, limit: that.limit, + product_type: that.product_type, }).then(res => { console.log(res); let list = res.data.list || [];