From a8d61f7bcc4248da0d664d85481030292adc12ea Mon Sep 17 00:00:00 2001 From: "[li_she]" <[li.she@xujiesoft.com]> Date: Fri, 6 May 2022 10:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=87=BA=E5=BA=93=202022-05-?= =?UTF-8?q?06=20sxm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/finishedProductWarehouse/otherOut.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;