修改标准选择的标准号
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user