bug修复

fencang
anthonywj 3 years ago
parent 1d83f5e1fa
commit ac7124d4c7

@ -134,6 +134,7 @@ export default {
curInv: "", curInv: "",
entrustSubInv: "", entrustSubInv: "",
invWarehouseCode: "", invWarehouseCode: "",
userId: null,
}, },
enableMap: { enableMap: {
true: "是", true: "是",

@ -320,7 +320,6 @@ export default {
entrustInvChange() { entrustInvChange() {
this.inputQuery.entrustSubInv = null; this.inputQuery.entrustSubInv = null;
this.findEntrustSubInvByInv(); this.findEntrustSubInvByInv();
this.$forceUpdate();
}, },
@ -359,10 +358,9 @@ export default {
this.getList(); this.getList();
this.getStorage(); this.getStorage();
// if (this.$isNotBlank(this.inputQuery.entrustInv)) {
if (this.$isNotBlank(this.inputQuery.entrustInv)) { // this.findEntrustSubInvByInv();
this.entrustInvChange(this.inputQuery.entrustInv); // }
}
}, },
}; };

@ -646,7 +646,6 @@ export default {
if (response.code == 20000) { if (response.code == 20000) {
this.$message.success(response.data); this.$message.success(response.data);
for (let i = 0; i < this.list.length; i++) { for (let i = 0; i < this.list.length; i++) {
debugger
if (idQuery.orderId === this.list[i].id) { if (idQuery.orderId === this.list[i].id) {
this.list.splice(i, 1); this.list.splice(i, 1);
break; break;

@ -1158,6 +1158,11 @@ export default {
// //
// this.getCodeList(); // this.getCodeList();
} }
this.formData.invWarehouseCode = this.$store.getters.locSubInvCode;
this.formData.locStorageCode = this.$store.getters.locInvCode;
if (this.$isNotBlank(this.formData.locStorageCode)) {
this.findStorageMethod();
}
} }

Loading…
Cancel
Save