收入合同新增项目回显联系人、邮寄联系人;图标修改
This commit is contained in:
@@ -227,6 +227,12 @@ export default {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
// 企业的签订联系人id,收入合同新增企业联系人、邮寄联系人默认为签订联系人
|
||||
signedContactId: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: undefined
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -338,8 +344,10 @@ export default {
|
||||
companyName: record.chargeCompanyTemporaryName
|
||||
}
|
||||
}
|
||||
record.contactsId = record.contactsTemporaryId
|
||||
record.mailContactsId = record.mailContactsTemporaryId
|
||||
// 是否存在从收入合同传入的签订联系人id
|
||||
console.log(record, this.signedContactId)
|
||||
record.contactsId = this.signedContactId || record.contactsTemporaryId || undefined
|
||||
record.mailContactsId = this.signedContactId || record.mailContactsTemporaryId || undefined
|
||||
// 回显选中的企业
|
||||
this.selectedCompany = record.chargeCompany
|
||||
this.form.resetFields()
|
||||
|
||||
Reference in New Issue
Block a user