[bug] 验收bug修改

This commit is contained in:
zhaoxiao
2021-09-06 11:03:54 +08:00
parent e6b6483fcd
commit 8ba578030c
7 changed files with 74 additions and 25 deletions
@@ -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
}
}