fix: 补丁

演示数据2.0
chenhc 7 months ago
parent 778fa5b3ca
commit 3177c578a4

@ -1069,7 +1069,9 @@ export default {
this.findMethod(); this.findMethod();
} else if (this.curAction.corpType == 3) { } else if (this.curAction.corpType == 3) {
//2. //2.
this.orderFormData.fromInvCode = null; if (this.orderQuery == null || this.orderQuery.billNo == null){
this.orderFormData.fromInvCode = null;
}
this.findFromInvList(); this.findFromInvList();
} }
if (this.curAction.scanPreIn && this.curAction.backPreinType == 1 && this.curAction.preInBack) { if (this.curAction.scanPreIn && this.curAction.backPreinType == 1 && this.curAction.preInBack) {
@ -1129,7 +1131,7 @@ export default {
findByFrom(cQuery) findByFrom(cQuery)
.then((response) => { .then((response) => {
this.fromInvOptions = response.data || []; this.fromInvOptions = response.data || [];
if (val == 1) { if (this.fromInvOptions.length == 1) {
this.orderFormData.fromInvCode = this.fromInvOptions[0].code; this.orderFormData.fromInvCode = this.fromInvOptions[0].code;
} }
}) })

Loading…
Cancel
Save