修改订单列表
This commit is contained in:
parent
222d240bd7
commit
67063a6190
@ -416,7 +416,8 @@
|
|||||||
id: ''
|
id: ''
|
||||||
},
|
},
|
||||||
//商品分类
|
//商品分类
|
||||||
activity_type: ''
|
activity_type: '',
|
||||||
|
product_type: 0
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -499,6 +500,7 @@
|
|||||||
*/
|
*/
|
||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
if (options.status) this.orderStatus = options.status;
|
if (options.status) this.orderStatus = options.status;
|
||||||
|
if (options.product_type) this.product_type = options.product_type;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 获取订单统计数据
|
* 获取订单统计数据
|
||||||
@ -665,6 +667,7 @@
|
|||||||
groupOrderList({
|
groupOrderList({
|
||||||
page: that.page,
|
page: that.page,
|
||||||
limit: that.limit,
|
limit: that.limit,
|
||||||
|
product_type: that.product_type,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
that.isReady = true;
|
that.isReady = true;
|
||||||
@ -686,6 +689,7 @@
|
|||||||
status: that.orderStatus - 1,
|
status: that.orderStatus - 1,
|
||||||
page: that.page,
|
page: that.page,
|
||||||
limit: that.limit,
|
limit: that.limit,
|
||||||
|
product_type: that.product_type,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
let list = res.data.list || [];
|
let list = res.data.list || [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user