[update] 理事会收费改成副理事会收费

This commit is contained in:
lideqin
2024-03-29 09:20:11 +08:00
parent 717c292b5c
commit b88c1bdf2e
3 changed files with 14 additions and 14 deletions
@@ -269,13 +269,13 @@ export default {
fieldName: 'chargeNoticeFileId', fieldName: 'chargeNoticeFileId',
type: 'file' type: 'file'
}, { }, {
title: '理事会收费标准', title: '副理事会收费标准',
fieldName: 'councilChargeStandard' fieldName: 'councilChargeStandard'
}, { }, {
title: '理事会收费通知号', title: '副理事会收费通知号',
fieldName: 'councilChargeNoticeNo' fieldName: 'councilChargeNoticeNo'
}, { }, {
title: '理事会收费通知', title: '副理事会收费通知',
fieldName: 'councilChargeNoticeFileId', fieldName: 'councilChargeNoticeFileId',
type: 'file' type: 'file'
} }
@@ -491,15 +491,15 @@ export default {
memberNatureChange (value) { memberNatureChange (value) {
console.log(this.baseInfo, value) console.log(this.baseInfo, value)
if (value === MemberNature.viceChairmanUnit.value) { if (value === MemberNature.viceChairmanUnit.value) {
// 是副理事长单位, 带出会员信息的理事会收费标准、理事会收费通知号、理事会收费通知作为待确收金额,收费通知号,收费通知 // 是副理事长单位, 带出会员信息的副理事会收费标准、副理事会收费通知号、副理事会收费通知作为待确收金额,收费通知号,收费通知
// 待确收金额带入会员的理事会收费标准 // 待确收金额带入会员的副理事会收费标准
if (this.baseInfo.councilChargeStandard) { if (this.baseInfo.councilChargeStandard) {
this.form.setFieldsValue({ this.form.setFieldsValue({
amountReceivable: this.baseInfo.councilChargeStandard amountReceivable: this.baseInfo.councilChargeStandard
}) })
this.changeReceivableAmount({target: {value: this.baseInfo.councilChargeStandard}}) this.changeReceivableAmount({target: {value: this.baseInfo.councilChargeStandard}})
} }
// 来款方式是收费通知,带出会员信息的理事会收费通知号、理事会收费通知作为收费通知号,收费通知 // 来款方式是收费通知,带出会员信息的副理事会收费通知号、副理事会收费通知作为收费通知号,收费通知
if (this.form.getFieldValue('paymentMethod') === IncomeMethod.noticeOfCharge.value) { if (this.form.getFieldValue('paymentMethod') === IncomeMethod.noticeOfCharge.value) {
this.form.setFieldsValue({ this.form.setFieldsValue({
chargeNoticeId: this.baseInfo.councilChargeNoticeFileId, chargeNoticeId: this.baseInfo.councilChargeNoticeFileId,
@@ -594,7 +594,7 @@ export default {
const memberNature = this.form.getFieldValue('memberNature') const memberNature = this.form.getFieldValue('memberNature')
this.$nextTick(() => { this.$nextTick(() => {
if (memberNature === MemberNature.viceChairmanUnit.value) { if (memberNature === MemberNature.viceChairmanUnit.value) {
// 是副理事长单位, 带出会员信息的理事会收费通知号、理事会收费通知作为收费通知号,收费通知 // 是副理事长单位, 带出会员信息的副理事会收费通知号、副理事会收费通知作为收费通知号,收费通知
this.form.setFieldsValue({ this.form.setFieldsValue({
chargeNoticeId: this.baseInfo.councilChargeNoticeFileId, chargeNoticeId: this.baseInfo.councilChargeNoticeFileId,
chargeNoticeNo: this.baseInfo.councilChargeNoticeNo chargeNoticeNo: this.baseInfo.councilChargeNoticeNo
@@ -64,8 +64,8 @@
</a-row> </a-row>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :xl="12" :sm="24"> <a-col :xl="12" :sm="24">
<a-form-item label="理事会收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="副理事会收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入理事会收费标准" <a-input placeholder="请输入副理事会收费标准"
:maxLength='50' :maxLength='50'
v-decorator="[ 'councilChargeStandard',validatorRules.councilChargeStandard]" v-decorator="[ 'councilChargeStandard',validatorRules.councilChargeStandard]"
@blur="addZero" @blur="addZero"
@@ -76,16 +76,16 @@
</a-row> </a-row>
<a-row> <a-row>
<a-col :xl="12" :sm="24"> <a-col :xl="12" :sm="24">
<a-form-item label="理事会收费通知号" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="副理事会收费通知号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入理事会收费通知号" <a-input placeholder="请输入副理事会收费通知号"
:maxLength='50' :maxLength='50'
v-decorator="[ 'councilChargeNoticeNo']" v-decorator="[ 'councilChargeNoticeNo']"
@change="e => {e.target.value = (e.target.value + '').trim()}"></a-input> @change="e => {e.target.value = (e.target.value + '').trim()}"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-item label="理事会收费通知" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="副理事会收费通知" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-upload file-type="pdf" file-type-error-message="请上传理事会收费通知" :multiple="false" :number="1" :return-id="true" <j-upload file-type="pdf" file-type-error-message="请上传副理事会收费通知" :multiple="false" :number="1" :return-id="true"
bizPath="payment" v-decorator="['councilChargeNoticeFileId']" bizPath="payment" v-decorator="['councilChargeNoticeFileId']"
:trigger-change="true"></j-upload> :trigger-change="true"></j-upload>
</a-form-item> </a-form-item>
@@ -166,7 +166,7 @@ export default {
], ],
validateTrigger: ['blur'] validateTrigger: ['blur']
}, },
// 理事会收费标准 // 副理事会收费标准
councilChargeStandard:{ councilChargeStandard:{
rules: [ rules: [
{required: false, validator: this.validateMoney}, {required: false, validator: this.validateMoney},