diff --git a/src/views/warehouse/stockOrderNewDistribution.vue b/src/views/warehouse/stockOrderNewDistribution.vue index b156a70..88251cc 100644 --- a/src/views/warehouse/stockOrderNewDistribution.vue +++ b/src/views/warehouse/stockOrderNewDistribution.vue @@ -1071,7 +1071,7 @@ export default { this.$router.go(-1); }, - locInChange(item){ + locInChange(item) { this.formData.locStorageCode = item; // this.getBusType(); this.invChange(); @@ -1119,7 +1119,8 @@ export default { } }, invChange() { - this.formData.invWarehouseCode = ""; + if (this.$isNotBlank(this.formData.invWarehouseCode)) + this.formData.invWarehouseCode = null; this.subInvList = []; let query = { pcode: this.formData.locStorageCode