[bug] 验收bug修改
This commit is contained in:
@@ -274,6 +274,10 @@ export default {
|
||||
this.selectedCompany = record.chargeCompany
|
||||
this.form.resetFields()
|
||||
this.model = Object.assign({}, record)
|
||||
this.model.contactsIdOne = this.model.contactsTemporaryIdOne || undefined
|
||||
this.model.contactsIdTwo = this.model.contactsTemporaryIdTwo || undefined
|
||||
this.model.contactsIdThree = this.model.contactsTemporaryIdThree || undefined
|
||||
this.model.mailContactsId = this.model.mailContactsTemporaryId || undefined
|
||||
if (this.model.id) {
|
||||
this.selectedContact1 = {
|
||||
id: this.model.contactsTemporaryIdOne,
|
||||
@@ -346,7 +350,12 @@ export default {
|
||||
handlechargeWayChange(e) {
|
||||
if (e.target.value === 3) {
|
||||
if (this.chargeNoticeList.length === 0) {
|
||||
this.chargeWayType = null
|
||||
this.model.chargeWay = null
|
||||
this.$message.warn('请先补充该工作组的收费通知信息')
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model, 'chargeWay'))
|
||||
})
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user