修改标准选择的回显
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<Standardselection :query="item"
|
||||
@change="StandardselectionChange"
|
||||
:disabled="disabled"
|
||||
:replace_standard_id="formInline.replace_standard_id"
|
||||
:standard="formInline"
|
||||
v-model="formInline[item.db_field_name]"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -486,8 +486,8 @@
|
||||
this.type = 'add'
|
||||
this.getForm()
|
||||
},
|
||||
StandardselectionChange(id) {
|
||||
this.formInline.replace_standard_id = id
|
||||
StandardselectionChange(value, id) {
|
||||
this.formInline[value + '_id'] = id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user