bug修复

fencang
anthonywj 3 years ago
parent 1d83f5e1fa
commit ac7124d4c7

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

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

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

@ -680,7 +680,7 @@ export default {
this.$message.error('当前往来单位不能为空');
return;
}
if(this.curAction.corpType ==1){
if (this.curAction.corpType == 1) {
if (this.$isBlank(this.formData.fromSubInvCode)) {
this.$message.error('当前往来分库不能为空');
return;
@ -1158,6 +1158,11 @@ export default {
//
// 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