[update] 修改bug82825
This commit is contained in:
@@ -590,6 +590,23 @@ export default {
|
||||
this.form.resetFields(['contractNum'])
|
||||
this.validatorRules.contractNum.rules[0].required = false
|
||||
this.validatorRules.chargeNoticeNo.rules[0].required = true
|
||||
// 设置收费通知号和收费通知
|
||||
const memberNature = this.form.getFieldValue('memberNature')
|
||||
this.$nextTick(() => {
|
||||
if (memberNature === MemberNature.viceChairmanUnit.value) {
|
||||
// 是副理事长单位, 带出会员信息的理事会收费通知号、理事会收费通知作为收费通知号,收费通知
|
||||
this.form.setFieldsValue({
|
||||
chargeNoticeId: this.baseInfo.councilChargeNoticeFileId,
|
||||
chargeNoticeNo: this.baseInfo.councilChargeNoticeNo
|
||||
})
|
||||
} else {
|
||||
// 是历史单位或者会员单位,带出会员信息的收费通知号、收费通知作为收费通知号,收费通知
|
||||
this.form.setFieldsValue({
|
||||
chargeNoticeId: this.baseInfo.chargeNoticeFileId,
|
||||
chargeNoticeNo: this.baseInfo.chargeNoticeNo
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
// 是无,清空合同号和收费通知号
|
||||
this.form.resetFields(['contractNum', 'chargeNoticeNo', 'chargeNoticeId'])
|
||||
|
||||
Reference in New Issue
Block a user