From fcde54a7de9f02291a09df620a1126c7030eeddd Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Tue, 8 Oct 2024 18:13:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/DealOrder.vue | 37 +++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue index 12433cc7..a1b5628b 100644 --- a/src/views/collect/DealOrder.vue +++ b/src/views/collect/DealOrder.vue @@ -195,7 +195,7 @@ - 定向查询 + 定向查询 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; }