From bd942a944e6e37c474f05fef26bf1307d12b9793 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 4 Jul 2024 16:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=80=80=E8=B4=A7=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E6=9D=A5=E6=BA=90=E5=BA=93=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/pages/record/productionReturnPack.vue | 56 +++++++------------- 1 file changed, 18 insertions(+), 38 deletions(-) diff --git a/fe/PDA/pages/record/productionReturnPack.vue b/fe/PDA/pages/record/productionReturnPack.vue index 2eac6ef4e..bac77d154 100644 --- a/fe/PDA/pages/record/productionReturnPack.vue +++ b/fe/PDA/pages/record/productionReturnPack.vue @@ -22,10 +22,6 @@ 批次 {{item.lot}} - - 库位 - {{item.recommendLocationCode}} - 单位 {{item.uom}} @@ -192,41 +188,25 @@ this.showMessage("箱码【" + filterItem[0].packingCode + "】已经扫描") return; } - - locations(resultData.recommendLocationCode).then(res => { - if (res) { - //不用隔离、在途、待检 - if (res.type == 1 || res.type == 6 || res.type == 13) { - that.showMessage("来源库位不可以是待检、隔离、在途库位类型"); - } else { - var item = { - packingCode: resultData.code, - itemCode: resultData.itemCode, - itemName: resultData.itemName, - itemDesc1: resultData.itemDesc1, - stdPackQty: resultData.stdPackQty, - lot:resultData.lot, - recommendLocationCode:resultData.recommendLocationCode, - uom: resultData.uom, - qty: resultData.qty - - } - this.allDataList.unshift(item) - this.allCount = this.allDataList.length; - uni.setNavigationBarTitle({ - title: "客户退货箱码" + "(" + this.allCount + ")" - }) - - this.$forceUpdate(); - } - } else { - this.showMessage('来源库位【' + resultData.recommendLocationCode + '】不存在'); - } - - }).catch(err => { - this.showMessage(err.message); + + var item = { + packingCode: resultData.code, + itemCode: resultData.itemCode, + itemName: resultData.itemName, + itemDesc1: resultData.itemDesc1, + stdPackQty: resultData.stdPackQty, + lot:resultData.lot, + uom: resultData.uom, + qty: resultData.qty + + } + this.allDataList.unshift(item) + this.allCount = this.allDataList.length; + uni.setNavigationBarTitle({ + title: "客户退货箱码" + "(" + this.allCount + ")" }) - + + this.$forceUpdate(); },