From 8f4a4811962d2d3d3b3ef8577d0ff303bae09e04 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 19 Jun 2023 13:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/components/autoView.vue | 25 ++++++--- .../detail/modulesTest/basicInfo.vue | 52 +++++-------------- 2 files changed, 31 insertions(+), 46 deletions(-) diff --git a/src/views/main/BookingLedger/detail/components/autoView.vue b/src/views/main/BookingLedger/detail/components/autoView.vue index 283dd86..f55685d 100644 --- a/src/views/main/BookingLedger/detail/components/autoView.vue +++ b/src/views/main/BookingLedger/detail/components/autoView.vue @@ -184,6 +184,14 @@ export default { type: this.type, res: e || '' }) + if (this.type === 'contractno') { + this.$emit('select', { + type: this.type, + res: { + contractNo: e + } + }) + } if (e) { Object.keys(this.searchQuery).map((item, index) => { if (['Title', 'KeyWord', 'SearchValue', 'name', 'keyword', 'queryItem', 'Name'].includes(item)) { @@ -229,14 +237,15 @@ export default { this.handleChange(e) }, getSelectBlur(e) { - if (this.type === 'contractno') { - this.$emit('select', { - type: this.type, - res: { - contractNo: this.value - } - }) - } + console.log(e) + // if (this.type === 'contractno') { + // this.$emit('select', { + // type: this.type, + // res: { + // contractNo: this.value + // } + // }) + // } } } } diff --git a/src/views/main/BookingLedger/detail/modulesTest/basicInfo.vue b/src/views/main/BookingLedger/detail/modulesTest/basicInfo.vue index b47fac7..7144f11 100644 --- a/src/views/main/BookingLedger/detail/modulesTest/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modulesTest/basicInfo.vue @@ -20,7 +20,7 @@ :wrapperCol="wrapperCol4" has-feedback > -
+
-
+
@@ -308,12 +304,8 @@ @@ -341,12 +333,8 @@ @@ -360,12 +348,8 @@ @@ -379,12 +363,8 @@ @@ -397,12 +377,8 @@