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(); },