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) {