diff --git a/src/mycomponents/scan/winComScanFg.vue b/src/mycomponents/scan/winComScanFg.vue index e0f91a60..736a3f47 100644 --- a/src/mycomponents/scan/winComScanFg.vue +++ b/src/mycomponents/scan/winComScanFg.vue @@ -58,9 +58,7 @@ import { getMesPackInfo } from '@/api/request2.js'; - import { - Exception - } from 'sass'; + export default { name: "winComScan", diff --git a/src/pages/productPutaway/record/productPutawayRecord.vue b/src/pages/productPutaway/record/productPutawayRecord.vue index a00f1372..adec98a1 100644 --- a/src/pages/productPutaway/record/productPutawayRecord.vue +++ b/src/pages/productPutaway/record/productPutawayRecord.vue @@ -288,15 +288,13 @@ getrecommendLocationExpectin(param).then(result => { uni.hideLoading(); let item = this.detailSource.find(res => { - if (res.itemCode == balance.itemCode && res.containerNumber == balance - .packingNumber) { + if (res.itemCode == balance.itemCode) { return res } }) item.toLocationCode = result.data.code; item.expectinNumber = result.data.expectinNumber; this.$forceUpdate(); - }).catch(error => { uni.hideLoading() this.showErrorMessage(error);