【bug】修改bug

This commit is contained in:
fengachen
2022-07-29 11:18:40 +08:00
parent be17c8e5f3
commit 9fb5400cb0
3 changed files with 26 additions and 2 deletions
@@ -46,6 +46,15 @@
</j-date> </j-date>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :span="6" :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="证书形式" class="certificate-type-item">
<j-dict-select-tag
placeholder="请选择证书形式"
v-model="queryParam.certificateModality"
:title="queryParam.certificateModality"
dictCode="certificate_modality" />
</a-form-item>
</a-col>
</template> </template>
<a-col :xl="6" :lg="7" :md="8" :sm="24" v-has=" 'vin:applicationHistory'"> <a-col :xl="6" :lg="7" :md="8" :sm="24" v-has=" 'vin:applicationHistory'">
<a-form-item label="单位全称"> <a-form-item label="单位全称">
@@ -50,7 +50,7 @@
</template> </template>
<a-form :form="form" style="margin-left: 10px" :selfUpdate="true"> <a-form :form="form" style="margin-left: 10px" :selfUpdate="true">
<a-divider orientation="left"> <a-divider orientation="left">
缴费信息<font color="red">(缴费时长5年可绑定两张证书)</font> 缴费信息
<span <span
v-if="isMember === 'member'" v-if="isMember === 'member'"
class="charge-notice" class="charge-notice"
@@ -130,7 +130,7 @@
副理事单位 副理事单位
</template> </template>
<template v-else> <template v-else>
<span v-if="initVal == '2' ">VIP会员</span> <span v-if="initVal == '2' || initVal === '3' ">VIP会员</span>
<span v-else>普通会员</span> <span v-else>普通会员</span>
</template> </template>
</td> </td>
@@ -934,8 +934,11 @@ export default {
// 审核信息 // 审核信息
this.checkResult = this.model.checkResult this.checkResult = this.model.checkResult
this.isCash = this.model.paymentMethod + '' this.isCash = this.model.paymentMethod + ''
// 缴费时长
this.initVal = record.paymentTime + ''
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'certificateArr', 'billNumber', 'companyName', 'paymentType', 'validPeriod', 'paymentTime', 'paymentAmount', 'certificatesNum', 'submissionTime', 'checkTime', 'paymentStatus', 'paymentMethod', 'paymentRecord', 'invoiceRequirements', 'headerName', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'checkMember', 'checkMemberId', 'memberId', 'certificate', 'address', 'postcode', 'serviceCharge', 'remark')) this.form.setFieldsValue(pick(this.model, 'certificateArr', 'billNumber', 'companyName', 'paymentType', 'validPeriod', 'paymentTime', 'paymentAmount', 'certificatesNum', 'submissionTime', 'checkTime', 'paymentStatus', 'paymentMethod', 'paymentRecord', 'invoiceRequirements', 'headerName', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'checkMember', 'checkMemberId', 'memberId', 'certificate', 'address', 'postcode', 'serviceCharge', 'remark'))
this.validateCompanyName()
}) })
}, },
async edit(record) { async edit(record) {
@@ -986,6 +989,8 @@ export default {
} }
// 缴费单号 // 缴费单号
// this.billNumber = this.model.billNumber // this.billNumber = this.model.billNumber
// 缴费时长
this.initVal = record.paymentTime + ''
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'certificateArr', 'billNumber', 'companyName', 'paymentType', 'validPeriod', 'paymentTime', 'paymentAmount', 'certificatesNum', 'submissionTime', 'checkTime', 'paymentStatus', 'paymentMethod', 'paymentRecord', 'invoiceRequirements', 'headerName', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'checkResult', 'checkMark', 'checkMember', 'checkMemberId', 'memberId', 'address', 'postcode', 'serviceCharge', 'remark')) this.form.setFieldsValue(pick(this.model, 'certificateArr', 'billNumber', 'companyName', 'paymentType', 'validPeriod', 'paymentTime', 'paymentAmount', 'certificatesNum', 'submissionTime', 'checkTime', 'paymentStatus', 'paymentMethod', 'paymentRecord', 'invoiceRequirements', 'headerName', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'checkResult', 'checkMark', 'checkMember', 'checkMemberId', 'memberId', 'address', 'postcode', 'serviceCharge', 'remark'))
this.validateCompanyName() this.validateCompanyName()
@@ -222,6 +222,7 @@
dictCode="invoice_requirements" dictCode="invoice_requirements"
placeholder="请选择发票"/> placeholder="请选择发票"/>
</a-form-item> </a-form-item>
<span v-if="currentSelectInvoiceType === 0 " class="other-notice">本选项不提供任何形式的发票凭证</span>
</a-col> </a-col>
</a-row> </a-row>
<template v-if="invoiceRequirementsFlag"> <template v-if="invoiceRequirementsFlag">
@@ -324,6 +325,7 @@
dictCode="invoice_requirements" dictCode="invoice_requirements"
placeholder="请选择发票"/> placeholder="请选择发票"/>
</a-form-item> </a-form-item>
<span v-if="currentSelectInvoiceType === 0 " class="other-notice">本选项不提供任何形式的发票凭证</span>
</a-col> </a-col>
</a-row> </a-row>
<template v-if="invoiceRequirementsFlag"> <template v-if="invoiceRequirementsFlag">
@@ -892,4 +894,12 @@ export default {
left: 25% left: 25%
} }
.other-notice{
color: #f5222d;
position: absolute;
bottom: 5px;
left: 25%
}
</style> </style>