diff --git a/src/views/modules/finishedProductWarehouse/otherOut.vue b/src/views/modules/finishedProductWarehouse/otherOut.vue index 7089af6..fa285ab 100644 --- a/src/views/modules/finishedProductWarehouse/otherOut.vue +++ b/src/views/modules/finishedProductWarehouse/otherOut.vue @@ -276,7 +276,7 @@ export default { if (this.dataList.length === 0) { this.$message.warning("请先导入数据!") } else { - let status = JSON.parse(JSON.stringify(this.dataList)).filter(item => item.statusDb !== 'I') + let status = JSON.parse(JSON.stringify(this.dataList)).filter(item => item.statusDb !== 'I' || item.statusDb !== 'S') let flag = true if (status.length > 0) { this.$message.warning("数据中包含不在库的卷!") @@ -291,7 +291,7 @@ export default { }); } if (flag){ - let dataList = JSON.parse(JSON.stringify(this.dataList)).filter(item => item.statusDb === 'I').map(item => { + let dataList = JSON.parse(JSON.stringify(this.dataList)).filter(item => item.statusDb === 'I' || item.statusDb === 'X' || item.statusDb === 'S').map(item => { item.statusDb = 'D' item.status = '已消耗' return item;