From 201df55a1b7c36d39c3f5a363c57d98c337ed042 Mon Sep 17 00:00:00 2001 From: "juncheng.li" Date: Mon, 3 Jul 2023 11:14:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E5=8F=91=E6=96=99=20?= =?UTF-8?q?=E6=A3=80=E9=AA=8C=E5=90=8C=E4=B8=80=E4=B8=AAerp=E5=82=A8?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/pages/store/issueDirect.vue | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/fe/PDA/pages/store/issueDirect.vue b/fe/PDA/pages/store/issueDirect.vue index bb83f7c19..887398fb3 100644 --- a/fe/PDA/pages/store/issueDirect.vue +++ b/fe/PDA/pages/store/issueDirect.vue @@ -261,15 +261,15 @@ this.formlocationErpCode = balanceItem.locationErpCode; this.createItem(balanceItem) }else { - this.createItem(balanceItem); - // if(this.formlocationErpCode==balanceItem.locationErpCode){ - // this.createItem(balanceItem); - // }else { - // this.showMessage('箱码【' + balanceItem.packingCode + '】的ERP储位【' + balanceItem.locationErpCode + - // '】与默认的ERP储位[' + this - // .formlocationErpCode + - // '】不是同一ERP储位'); - // } + // this.createItem(balanceItem); + if(this.formlocationErpCode==balanceItem.locationErpCode){ + this.createItem(balanceItem); + }else { + this.showMessage('箱码【' + balanceItem.packingCode + '】的ERP储位【' + balanceItem.locationErpCode + + '】与默认的ERP储位[' + this + .formlocationErpCode + + '】不是同一ERP储位'); + } } }, @@ -393,12 +393,12 @@ if (res.type != 5) { this.showMessage('目标库位必须是【线边库】') } else { - this.toLocation = res; - // if(res.erpLocationCode!=this.formlocationErpCode){ - // this.showMessage('来源库位的ERP储位【'+this.formlocationErpCode+'】与目标库位ERP储位【'+res.erpLocationCode+'】不相等') - // }else{ - // this.toLocation = res; - // } + // this.toLocation = res; + if(res.erpLocationCode!=this.formlocationErpCode){ + this.showMessage('来源库位的ERP储位【'+this.formlocationErpCode+'】与目标库位ERP储位【'+res.erpLocationCode+'】不相等') + }else{ + this.toLocation = res; + } } }