【fix bug88067】-分标委维护--新增时不选择负责人B--编辑的时候placeholder消失
This commit is contained in:
@@ -136,6 +136,7 @@ export default {
|
|||||||
this.form.resetFields()
|
this.form.resetFields()
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
this.visible = true
|
this.visible = true
|
||||||
|
this.model.principalIdB = this.model.principalIdB || undefined
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model, 'name', 'abbreviation', 'remarks', 'principalIdA', 'principalIdB'))
|
this.form.setFieldsValue(pick(this.model, 'name', 'abbreviation', 'remarks', 'principalIdA', 'principalIdB'))
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user