[bug] 合同作废关联项目编辑合同号不显示placeholder问题
This commit is contained in:
@@ -366,6 +366,8 @@ export default {
|
||||
})
|
||||
}, 100)
|
||||
}
|
||||
// 合同作废后合同号是null,这里置为undefined
|
||||
record.contractNo = record.contractNo || undefined
|
||||
this.model = Object.assign({}, record)
|
||||
// 编辑状态下的企业与联系人的回显
|
||||
if (record.companyId) {
|
||||
|
||||
@@ -374,6 +374,7 @@ export default {
|
||||
record.mailContactsId = this.signedContactId || record.mailContactsTemporaryId || undefined
|
||||
// 回显选中的企业
|
||||
this.selectedCompany = record.chargeCompany
|
||||
record.contractNum = record.contractNum || undefined
|
||||
this.form.resetFields()
|
||||
this.model = Object.assign({}, record)
|
||||
if (this.model.id) {
|
||||
|
||||
@@ -467,6 +467,7 @@ export default {
|
||||
this.selectedCompany = record.chargeCompany
|
||||
this.companyChange(this.selectedCompany)
|
||||
this.form.resetFields()
|
||||
record.contractNum = record.contractNum || undefined
|
||||
this.model = Object.assign({}, record)
|
||||
// 是否存在从收入合同传入的签订联系人id
|
||||
this.model.contactsIdOne = this.signedContactId || this.model.contactsTemporaryIdOne || undefined
|
||||
|
||||
Reference in New Issue
Block a user