feat: 修复

20240912_adapter
chenhc 6 months ago
parent 8c513de3ad
commit fcde54a7de

@ -195,7 +195,7 @@
</el-row>
<el-row :gutter="0">
<el-col :span="20" style="margin-top: 0px;margin-bottom: 10px;margin-left: 80px">
<el-checkbox v-model="checked" v-if="!this.formData.billNo"></el-checkbox>
<el-checkbox v-model="checked" v-if="!this.formData.billNo && this.formDataVisible.scanType != 1"></el-checkbox>
</el-col>
</el-row>
<el-alert
@ -563,25 +563,36 @@ export default {
this.getBillNo(this.formData.billNo)
this.startDeal();
} else {
let busType = null;
if (this.busTypeList.length == 1 && this.$route.query.busType == null) {
busType = this.busTypeList[0]
this.formDataVisible = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode
this.selectBusTypeDisabled = false
this.findCurOrder();
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
this.getInvList();
this.placeholder = '请点击输入框进行扫码生成业务单据';
}else {
this.findCurOrder();
}
} else {
console.log(this.$route.query.busType)
if (this.$route.query.busType != null) {
this.formData.busType = this.$route.query.busType
this.findCurOrder();
this.$refs.inputRef.focus();
this.formDataVisible = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType);
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
this.getInvList();
this.placeholder = '请点击输入框进行扫码生成业务单据';
}else {
this.findCurOrder();
}
}
this.$refs.inputRef.focus();
busType = this.busTypeList.find(item => item.documentTypeCode === this.formData.busType);
}
this.formDataVisible = busType
if (this.formDataVisible.scanType == 1) {
this.findFromInvList("");
this.getInvList();
}
}
}
@ -691,7 +702,7 @@ export default {
enterKey() {
if (this.formData.billNo == null) {
if (this.formData.billNo == null && this.formDataVisible.scanType != 1) {
this.enterBillNoKey()
return;
}

Loading…
Cancel
Save