|
|
@ -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.queryBalance(this.resultData) |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|