From 505c5c1a7689559dd2ea7f451cd59b71176a5aa9 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 10 Mar 2022 22:55:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E5=87=86=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=9A=84=E6=A0=87=E5=87=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/Standardselection/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jero-web/src/components/Standardselection/index.vue b/jero-web/src/components/Standardselection/index.vue index 661126f03..44f1be8f2 100644 --- a/jero-web/src/components/Standardselection/index.vue +++ b/jero-web/src/components/Standardselection/index.vue @@ -140,16 +140,16 @@ handleSubmit() { let content = [] let replace_standard_id = [] - if (this.content && this.content.length > 0){ + if (this.content && this.content.length > 0) { this.content.forEach(res => { - content.push(res.title) + content.push(res.serial_number) replace_standard_id.push(res.id) }) this.$emit('input', content.join(',')) - this.$emit('change',this.query.db_field_name,replace_standard_id.join(',')) + this.$emit('change', this.query.db_field_name, replace_standard_id.join(',')) this.visible = false - }else{ - this.$message.warning(this.$t('selectLeastOne')) + } else { + this.$message.warning(this.$t('selectLeastOne')) } }, indexclick(event) {