[update]- 会员缴费、证书缴费代码的优化

This commit is contained in:
fengchenchen
2023-07-26 14:57:04 +08:00
parent 320035d78b
commit 04cd4d370a
8 changed files with 205 additions and 243 deletions
@@ -134,7 +134,7 @@
</a-form-item>
</a-col>
</template>
<!-- 缴费方式为协议会员-->
<!-- 缴费方式为打包会员-->
<template v-if="paymentMethodFormValue && paymentMethodFlag">
<!--<a-col :span="12">-->
<!-- <a-form-item label="打包协议" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
@@ -553,6 +553,7 @@ import {
import JUpload from '@/components/standardsAssociation/JUpload'
import PreViewImgModal from './PreViewImgModal'
import { commonMemberCost, vipMemberCost,upgradeVip,queryContactList,queryPostInfoById,queryContactInfoByMemberId } from '@api/incomePaymentsApi'
import {PaymentMethodEnums} from "../../../../enums/memberEnums";
export default {
name: 'PaymentInfoModal',
@@ -800,7 +801,7 @@ export default {
invoicePhone: '', // 电话号码
depositBank: '', // 开户银行
bankAccount: '', // 银行账户
invoiceInfoObj: '' // 联行号
linkBankNumber: '' // 联行号
},
certificate: [], // 证书信息
checkInfo: [], // 审核信息
@@ -1158,7 +1159,14 @@ export default {
this.checkResult = 2
this.model.paymentStatus = 3
} else {
// 如果上传了付款凭证 则状态为费用核验中
this.model.paymentStatus = 1
// 判断缴费方式 和 是否上传付款凭证,如果没有上传付款凭证,则下一步状态为 待上传,
// 缴费方式是打包会员--上传的状态修改成 待上传
// if(Number(values.paymentMethod) === PaymentMethodEnums.pack.index) {
// this.model.paymentStatus = 4
// }
// this.model.paymentStatus = 1
}
const formData = Object.assign(this.model, values)
@@ -102,7 +102,7 @@
<j-date
:disabled="checkFlag||detailFlag"
date-format="YYYY-MM-DD HH:mm:ss"
placeholder="请选择缴费时间"
placeholder="请选择缴费日期"
v-decorator="['submissionTime',{...validatorRules.submissionTime, initialValue: model.submissionTime}]"
:trigger-change="true"
style="width: 100%" />
@@ -283,7 +283,7 @@
dictCode="invoice_requirements"
placeholder="请选择发票" />
</a-form-item>
<span v-if="currentSelectInvoiceType === 0" class="other-notice">本选项不提供任何形式的发票凭证</span>
<span v-if="currentSelectInvoiceType === InvoiceRequirementsEnums.noNeed.index" class="other-notice">本选项不提供任何形式的发票凭证</span>
</a-col>
</a-row>
<template v-if="currentSelectInvoiceType">
@@ -305,13 +305,13 @@
<a-input
:disabled="checkFlag||detailFlag"
@change="event => event.target.value = event.target.value.trim()"
v-decorator="['taxNumber',{ ...validatorRules.taxNumber, initialValue: memberInfo.taxNumber},]"
v-decorator="['taxNumber',{ ...validatorRules.taxNumber, initialValue: memberInfo.taxNumber}]"
placeholder="请输入社会统一代码/税号"
:maxLength="50"></a-input>
</a-form-item>
</a-col>
</a-row>
<template v-if="currentSelectInvoiceType === 2">
<template v-if="currentSelectInvoiceType === InvoiceRequirementsEnums.special.index">
<!-- 2021-09-23变更 增加 单位地址 电话号码 开户银行 银行账户 增值税发票的时候存在-->
<a-row >
<a-col :span="12">
@@ -442,7 +442,7 @@ import {
import PreViewImgModal from './PreViewImgModal'
import { commonMemberCost, vipMemberCost,upgradeVip,queryContactInfoByMemberId,queryContactList,queryPostInfoById } from '@api/incomePaymentsApi'
import CompanySelect from '@comp/customSelect/CompanySelect'
import {PaymentMethodEnums} from '../../../../enums/memberEnums'
import {InvoiceRequirementsEnums, PaymentMethodEnums} from '../../../../enums/memberEnums'
export default {
name: 'PaymentInfoModal',
components: {
@@ -455,6 +455,7 @@ export default {
data() {
return {
PaymentMethodEnums,
InvoiceRequirementsEnums,
// 会员用户id
userId: this.$store.getters.userInfo.memberId,
isMember: true,