【fix bug88067】-分标委维护--新增时不选择负责人B--编辑的时候placeholder消失

This commit is contained in:
fengchenchen
2024-08-06 20:27:15 +08:00
parent cced654401
commit f4ca6b3611
@@ -136,6 +136,7 @@ export default {
this.form.resetFields()
this.model = Object.assign({}, record)
this.visible = true
this.model.principalIdB = this.model.principalIdB || undefined
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'name', 'abbreviation', 'remarks', 'principalIdA', 'principalIdB'))
})