Authored by 李奇

发货已完成列表添加取消状态

... ... @@ -62,6 +62,10 @@ export default () => {
{
value: 3,
label: '收货完成'
},
{
value: 4,
label: '已取消'
}
]
}
... ... @@ -150,7 +154,8 @@ export default () => {
const txtMap = {
1: '已处理',
2: '已处理(超时)',
3: '收货完成'
3: '收货完成',
4: '已取消'
};
ot = ot === 'N' ? true : false;
... ... @@ -158,8 +163,8 @@ export default () => {
type = 2;
}
if (status === 3) {
type = 3;
if (status !== 2) {
type = status;
}
return `<span v-if="${ot}">${txtMap[type]}</span>
... ...
... ... @@ -78,7 +78,7 @@
const params = {
pageNo: 1,
pageSize: 20,
statusList: [2, 3]
statusList: [2, 3, 4]
};
this.productList(params);
... ... @@ -88,7 +88,7 @@
let data = {
pageNo: 1,
pageSize: 20,
statusList: [2, 3]
statusList: [2, 3, 4]
};
if (!this.useFilterSign) {
... ... @@ -151,7 +151,7 @@
}
if (status === -1) {
values.statusList = [2, 3];
values.statusList = [2, 3, 4];
} else if (status === -2) {
values.statusList = [2];
} else {
... ...