diff --git a/src/mycomponents/scan/winComScanBalance.vue b/src/mycomponents/scan/winComScanBalance.vue index fc09b61d..f9bb581c 100644 --- a/src/mycomponents/scan/winComScanBalance.vue +++ b/src/mycomponents/scan/winComScanBalance.vue @@ -78,6 +78,10 @@ verifyCategory: { type: Boolean, default: false + }, + isCheckLocationBalance: { + type: Boolean, + default: true } }, data() { @@ -92,7 +96,6 @@ fromLocation: '', fromLocationList: [], fromLocationAreaTypeList: [], - toLocationAreaTypeList: [], locationOnFocus: false, businessType: {}, @@ -124,10 +127,12 @@ return; } this.getItemCodeType(result.package.itemCode, callBack => { + if(this.isCheckLocationBalance){ + this.getToLocationBalance(this.resultData) + }else { + this.queryBalance(this.resultData) + } - this.getToLocationBalance(this.resultData) - - //this.queryBalance(this.resultData) }) }, diff --git a/src/pages/fg/fgChange.vue b/src/pages/fg/fgChange.vue index 663e06b8..ee70f2ed 100644 --- a/src/pages/fg/fgChange.vue +++ b/src/pages/fg/fgChange.vue @@ -71,7 +71,8 @@ + :verifyCategory='true' + :isCheckLocationBalance="false"> diff --git a/src/pages/package/record/overPackageRecord.vue b/src/pages/package/record/overPackageRecord.vue index 2b904d94..4e2e0b27 100644 --- a/src/pages/package/record/overPackageRecord.vue +++ b/src/pages/package/record/overPackageRecord.vue @@ -63,7 +63,11 @@ - + diff --git a/src/pages/package/record/splitPackageRecord.vue b/src/pages/package/record/splitPackageRecord.vue index 04aff03d..b78ce07d 100644 --- a/src/pages/package/record/splitPackageRecord.vue +++ b/src/pages/package/record/splitPackageRecord.vue @@ -38,7 +38,10 @@ - +