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 || [];