修改订单列表

This commit is contained in:
luofei 2023-07-08 10:42:02 +08:00
parent 222d240bd7
commit 67063a6190

View File

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