修改标准选择的标准号
This commit is contained in:
@@ -140,16 +140,16 @@
|
|||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let content = []
|
let content = []
|
||||||
let replace_standard_id = []
|
let replace_standard_id = []
|
||||||
if (this.content && this.content.length > 0){
|
if (this.content && this.content.length > 0) {
|
||||||
this.content.forEach(res => {
|
this.content.forEach(res => {
|
||||||
content.push(res.title)
|
content.push(res.serial_number)
|
||||||
replace_standard_id.push(res.id)
|
replace_standard_id.push(res.id)
|
||||||
})
|
})
|
||||||
this.$emit('input', content.join(','))
|
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
|
this.visible = false
|
||||||
}else{
|
} else {
|
||||||
this.$message.warning(this.$t('selectLeastOne'))
|
this.$message.warning(this.$t('selectLeastOne'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
indexclick(event) {
|
indexclick(event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user