From 8c3d568e56cf33692b0801c6415c387df35dd230 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Fri, 8 Jul 2022 16:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E6=89=93=E5=8C=85?= =?UTF-8?q?=E4=BC=9A=E5=91=98=20=E5=8D=95=E4=BD=8D=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E7=AD=89=E4=BF=A1=E6=81=AF=E6=B2=A1=E6=9C=89=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PaymentInfo/modules/PaymentInfoModal.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue index b1146f8..dd5a8cd 100644 --- a/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue +++ b/src/views/standardsAssociation/PaymentInfo/modules/PaymentInfoModal.vue @@ -164,7 +164,7 @@ -
+
@@ -1274,6 +1274,8 @@ export default { this.paymentType = this.model.paymentType this.paymentTime = this.model.paymentTime this.paymentRecord = this.model.paymentRecord + }else { + this.paymentMethodFlag = false } // 缴费单号 // this.billNumber = this.model.billNumber @@ -1309,7 +1311,6 @@ export default { this.submitFlag = false }, handleOk() { - console.log(1111) const that = this // 触发表单验证 that.form.validateFields({ force: true }, (err, values) => { @@ -1705,7 +1706,6 @@ export default { console.log(paymentAmount, type) this.form.resetFields(['paymentAmount', 'paymentTime']) this.form.setFieldsValue({ 'paymentAmount': paymentAmount, 'paymentTime': type }) - console.log('44444', this.addFlag, !this.paymentMethodFlag) // 打包不验证金额 if (!this.paymentMethodFlag) { if (type === undefined) { @@ -1757,12 +1757,14 @@ export default { }, /* 缴费方式*/ changePaymentMethod(value) { + // 'paymentType'-缴费类型 paymentAmount-缴费金额,paymentTime-缴费时长 'invoiceRequirements'-发票 this.form.resetFields(['billNumber', 'paymentType', 'paymentAmount', 'paymentTime', 'submissionTime', 'paymentRecord']) this.changgeType(this.paymentTime) if ((+value) === 2) { this.paymentMethodFlag = true + this.form.resetFields() } else { this.paymentMethodFlag = false }