[fix 82968] 打包管理历史数据编辑邮寄联系人不显示placeholder
This commit is contained in:
@@ -414,6 +414,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
|
// 历史数据没有邮寄联系人,回显时如果是null,修改成undefined,不然不显示placeholder
|
||||||
|
this.model.mailContactsId = record.mailContactsId || undefined
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form.setFieldsValue(pick(this.model,
|
this.form.setFieldsValue(pick(this.model,
|
||||||
|
|||||||
Reference in New Issue
Block a user