From 56fc5b2f872cd84c735d4b2a4ad32db15daf5e57 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Sun, 24 Apr 2022 20:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8F=98=E6=9B=B4=E3=80=91=E4=BC=9A?= =?UTF-8?q?=E5=91=98=E7=BC=B4=E8=B4=B9=E3=80=81=E8=AF=81=E4=B9=A6=E7=BC=B4?= =?UTF-8?q?=E8=B4=B9=20=E7=BC=B4=E8=B4=B9=E6=96=B9=E5=BC=8F=E4=B8=BA?= =?UTF-8?q?=E2=80=9C=E6=89=93=E5=8C=85=E4=BC=9A=E5=91=98=E2=80=9D=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=9A=84=E4=BF=A1=E6=81=AF=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CertificateManagement.vue | 1 + .../PaymentInfo/modules/PaymentInfoModal.vue | 85 +++ .../VinCertificateModal.vue | 519 +++++++++--------- 3 files changed, 343 insertions(+), 262 deletions(-) diff --git a/src/views/standardsAssociation/CertificateManagement.vue b/src/views/standardsAssociation/CertificateManagement.vue index cfb209f..580fcfd 100644 --- a/src/views/standardsAssociation/CertificateManagement.vue +++ b/src/views/standardsAssociation/CertificateManagement.vue @@ -446,6 +446,7 @@ export default { console.log(record) record.certificateModality = Number(record.certificateModality) record.certificateStatus = Number(record.certificateStatus) + // 证书是否免费 1-免费 2-付费 record.chargeType = Number(record.chargeType) // 分为续证驳回和 非免费证书申请驳回 chargeType 1是免费证书 2是收费证书 this.$refs.modalForm.title = '' diff --git a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue index 9ff1ec2..a4a9ae9 100644 --- a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue +++ b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue @@ -194,6 +194,91 @@ + + + + + + + + diff --git a/src/views/standardsAssociation/memberManagementModule/VinCertificateModal.vue b/src/views/standardsAssociation/memberManagementModule/VinCertificateModal.vue index d48c999..e9f816e 100644 --- a/src/views/standardsAssociation/memberManagementModule/VinCertificateModal.vue +++ b/src/views/standardsAssociation/memberManagementModule/VinCertificateModal.vue @@ -186,7 +186,7 @@ - 缴费信息 + 缴费信息---------2 @@ -869,7 +869,7 @@ - 缴费信息 + 缴费信息--------3 @@ -913,7 +913,8 @@ -
+ +
@@ -925,6 +926,20 @@ style="width: 100%" /> + + + + + + + +
+
@@ -992,71 +1009,9 @@ - -
+
@@ -1095,69 +1050,71 @@ - +
+ + @@ -1253,7 +1210,7 @@ - 缴费信息 + 缴费信息--------4 @@ -1707,7 +1664,7 @@ - 缴费信息 + 缴费信息---------5 @@ -2074,7 +2031,7 @@ - 缴费信息 + 缴费信息----------6 @@ -2117,7 +2074,7 @@ - +
@@ -2130,6 +2087,19 @@ style="width: 100%" /> + + + + + + +
- +
@@ -2197,70 +2167,9 @@ - +
- +
@@ -2300,69 +2209,70 @@ -
+ + @@ -2455,7 +2365,7 @@ - 缴费信息 + 缴费信息 --------7 @@ -2530,7 +2440,82 @@ 请上传pdf文件 + + + + + +
@@ -3641,11 +3626,13 @@ export default { if (res.success) { this.memberInfoPayment = res.result this.isWireTransfer = this.memberInfoPayment.paymentMethod + '' + this.changePaymentMethod(this.isWireTransfer) // 对发票的显示 进行操作 this.invoiceRequirementsChange(res.result.invoiceRequirements) - this.$nextTick(() => { - this.form.setFieldsValue(pick(this.memberInfoPayment, 'submissionTime', 'paymentAmount', 'certificateType', 'headerName', 'invoiceRequirements', 'paymentMethod', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'paymentRecord', 'id', 'auditOpinion', 'address', 'postcode', 'mobile', 'liaisonMan', 'certificateValidDate', 'companyName', 'certificationDate', 'applyDate', 'effectDate', 'invalidDate', 'reasonsRenewal', 'certificateStatus', 'memberId', 'code', 'chargeType')) - }) + setTimeout(() => { + this.form.setFieldsValue(pick(this.memberInfoPayment, 'submissionTime', 'paymentAmount', 'certificateType', 'headerName', 'invoiceRequirements', 'paymentMethod', 'taxNumber', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount', 'paymentRecord', 'id', 'auditOpinion', 'address', 'postcode', 'mobile', 'liaisonMan', 'certificateValidDate', 'companyName', 'certificationDate', 'applyDate', 'effectDate', 'invalidDate', 'reasonsRenewal', 'certificateStatus', 'memberId', 'code', 'chargeType'))}, 1) + + console.log('this.vinCertificate-------', this.vinCertificate) } else { console.log(res.message) } @@ -4567,6 +4554,14 @@ export default { // 1 是电汇 2 打包 3 是现金 this.isWireTransfer = value this.form.resetFields(['paymentType', 'paymentAmount', 'paymentTime', 'submissionTime', 'paymentRecord']) + // 默认显示增值税发票 + let defaultInvoiceRequirements = 2 + this.$nextTick(() => { + this.form.setFieldsValue({ + 'invoiceRequirements': defaultInvoiceRequirements + }) + this.invoiceRequirementsChange(defaultInvoiceRequirements) + }) if (value !== '1') { this.paymentMethodFlag = true } else {