From 04cd4d370ab8f3636b72019d3f1567250e61d051 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Wed, 26 Jul 2023 14:57:04 +0800 Subject: [PATCH] =?UTF-8?q?[update]-=20=E4=BC=9A=E5=91=98=E7=BC=B4?= =?UTF-8?q?=E8=B4=B9=E3=80=81=E8=AF=81=E4=B9=A6=E7=BC=B4=E8=B4=B9=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/enums/memberEnums.js | 7 + .../CertificateManagement.vue | 85 ++------- .../modules/CombinationPaymentModal.vue | 12 +- .../PaymentInfo/modules/PaymentInfoModal.vue | 11 +- .../feehandle/FeeHandle.vue | 6 +- .../memberInfo/PaymentInfo.vue | 3 + .../model/RenewChargeEditModel.vue | 154 ++++++++-------- .../model/RenewChargeModel.vue | 170 +++++++++--------- 8 files changed, 205 insertions(+), 243 deletions(-) diff --git a/src/enums/memberEnums.js b/src/enums/memberEnums.js index cea2526..9613886 100644 --- a/src/enums/memberEnums.js +++ b/src/enums/memberEnums.js @@ -31,3 +31,10 @@ export const PaymentMethodEnums = { pack: { name: '打包会员', index: 2 }, cash: { name: '现金', index: 3 } } + +// 是否需要发票 +export const InvoiceRequirementsEnums = { + noNeed: { name: '不需要', index: 0 }, + plain: { name: '增值税普通发票', index: 1 }, + special: { name: '增值税专用发票', index: 2 } +} diff --git a/src/views/standardsAssociation/CertificateManagement.vue b/src/views/standardsAssociation/CertificateManagement.vue index 4843c34..7de6581 100644 --- a/src/views/standardsAssociation/CertificateManagement.vue +++ b/src/views/standardsAssociation/CertificateManagement.vue @@ -103,25 +103,20 @@
- 撤回 + 查看 - - 续费 - - - 编辑 - + 续费 + + 编辑 - 授权申请 - + @click="authorizationFunc(record)" + >授权申请 - + - + @@ -527,26 +522,12 @@ export default { // if(!(record.chargeType != 1 && record.certificateModality == 3 && record.certificateStatus == 5)){ // return; // } - this.$refs.renewChargeModelForm.isChangeCer = record.certificateType this.$refs.renewChargeModelForm.edit(record) - // this.$refs.modalForm.title = '续费' - // this.$refs.modalForm.disableSubmit = true - // // 换证显示 1是世界证书 - // this.$refs.modalForm.isChangeCer = record.certificateType - // // 证书续费时使用7号窗口 - // this.$refs.modalForm.pageType = 7 - // this.$refs.modalForm.edit2(record) }, // 换证 replacement: function (record) { this.$refs.replaceMentModelForm.edit(record) - - // this.$refs.modalForm.title = '换证' - // this.$refs.modalForm.disableSubmit = true - // // 换证的时候使用8号窗口 - // this.$refs.modalForm.pageType = 8 - // this.$refs.modalForm.edit3(record) }, // 编辑: 包括免费证书,收费证书,续费,换证 handleEditRenew: function (record) { @@ -555,8 +536,6 @@ export default { // 证书是否免费 1-免费 2-付费 record.chargeType = Number(record.chargeType) // 分为续证驳回和 非免费证书申请驳回 chargeType 1是免费证书 2是收费证书 - // this.$refs.modalForm.title = '' - // this.$refs.modalForm.disableSubmit = true // certificateStatus --证书状态-待支付 if (record.certificateStatus === CertificateStatusEnums.toPay.index) { // 免费证书 @@ -569,69 +548,31 @@ export default { freeCount = res.result this.$refs.freeCertificateEditModel.freeCountVin = freeCount + 1 this.$refs.freeCertificateEditModel.edit(record) - - // this.$refs.modalForm.freeCountVin = freeCount + 1 - // this.$refs.modalForm.title = '新增申请' - // this.$refs.modalForm.disableSubmit = false - // this.$refs.modalForm.pageType = 10 - // this.$refs.modalForm.edit5(record) }) return - } else if (record.certificateModality === 1) { - // 免费证书换证编辑 + } else if (record.certificateModality === CertificateModalityEnums.changeCert.index) { + // 免费证书换证编辑 --已弃用 this.$refs.FreeCertificateReplaceEditModel.edit(record) - - // this.$refs.modalForm.title = '换证' - // this.$refs.modalForm.disableSubmit = true - // // 换证的时候使用13号窗口 - // this.$refs.modalForm.pageType = 13 - // this.$refs.modalForm.edit8(record) } } else if (record.chargeType === 2 && record.certificateModality === 4) { // 收费证书编辑 this.$refs.ChargeCertificateEditModel.edit(record) - // this.$refs.modalForm.title = '新增申请' - // this.$refs.modalForm.disableSubmit = false - // this.$refs.modalForm.pageType = 11 - // this.$refs.modalForm.edit6(record) } else if (record.chargeType === 2 && record.certificateModality === 2) { - // 续费编辑 + // 收费证书 - 续费编辑 this.$refs.RenewChargeEditModel.edit(record) - // this.$refs.modalForm.title = '续费' - // this.$refs.modalForm.disableSubmit = true - // // 证书续费编辑时使用12号窗口 - // this.$refs.modalForm.pageType = 12 - // this.$refs.modalForm.edit7(record) } else if (record.chargeType === 2 && record.certificateModality === 1) { - // // 换证编辑 + // // 换证编辑--弃用 this.$refs.FreeCertificateReplaceEditModel.edit(record) - - // this.$refs.modalForm.title = '换证' - // this.$refs.modalForm.disableSubmit = true - // // 换证的时候使用13号窗口 - // this.$refs.modalForm.pageType = 13 - // this.$refs.modalForm.edit8(record) } } else { // 新增证书缴费编辑窗口 if (record.chargeType === 2 && record.certificateModality === 4 && record.certificateStatus === 6) { this.$refs.ChargeCertificateEditModel.edit(record) - - // this.$refs.modalForm.title = '新增申请' - // this.$refs.modalForm.disableSubmit = false - // this.$refs.modalForm.pageType = 11 - // this.$refs.modalForm.edit6(record) } else if (record.chargeType === 2 && record.certificateModality === 2 && record.certificateStatus === 6) { // 续费编辑 this.$refs.RenewChargeEditModel.edit(record) - - // this.$refs.modalForm.title = '续费' - // this.$refs.modalForm.disableSubmit = true - // // 证书续费编辑时使用12号窗口 - // this.$refs.modalForm.pageType = 12 - // this.$refs.modalForm.edit7(record) } } }, diff --git a/src/views/standardsAssociation/PaymentInfo/modules/CombinationPaymentModal.vue b/src/views/standardsAssociation/PaymentInfo/modules/CombinationPaymentModal.vue index 3821bfd..7fda124 100644 --- a/src/views/standardsAssociation/PaymentInfo/modules/CombinationPaymentModal.vue +++ b/src/views/standardsAssociation/PaymentInfo/modules/CombinationPaymentModal.vue @@ -134,7 +134,7 @@ - +