获取售后中订单列表问题修复
This commit is contained in:
parent
ed06392a80
commit
eef33e9e7e
|
|
@ -583,11 +583,11 @@ export default {
|
||||||
})
|
})
|
||||||
return res[1].data;
|
return res[1].data;
|
||||||
},
|
},
|
||||||
async getAfterList() {
|
async getAfterList(params = {}) {
|
||||||
let res = await uni.request({
|
let res = await uni.request({
|
||||||
url: '/order/master/after/list',
|
url: '/order/master/after/list',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: {}
|
data: params
|
||||||
})
|
})
|
||||||
return res[1].data;
|
return res[1].data;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,9 @@
|
||||||
}
|
}
|
||||||
let res = null;
|
let res = null;
|
||||||
if (this.tabCur === 6) {
|
if (this.tabCur === 6) {
|
||||||
res = await this.$request.getAfterList();
|
res = await this.$request.getAfterList({
|
||||||
|
customerId: params.customerId
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
res = await this.$request.qryOrderPage(params);
|
res = await this.$request.qryOrderPage(params);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue