lichao пре 3 година
родитељ
комит
69a6458526

+ 1 - 0
src/views/financialManagement/paymentSettle/paymentSettleDetailsPage.vue

@@ -677,6 +677,7 @@
       },
       // 溢付款更改时
       caseOverPaymentChange() {
+        if (!this.form.caseOverPayment) this.form.caseOverPayment = 0;
         if (Number(this.form.caseOverPayment) > Number(this.form.overPayment)) {
           this.form.caseOverPayment = 0;
           return this.$message.error('本次使用的溢付款不能超过总溢付款')

+ 1 - 0
src/views/financialManagement/receiptSettle/receiptSettleDetailsPage.vue

@@ -694,6 +694,7 @@
       },
       // 溢付款更改时
       caseOverPaymentChange() {
+        if (!this.form.caseOverPayment) this.form.caseOverPayment = 0;
         if (Number(this.form.caseOverPayment) > Number(this.form.overPayment)) {
           this.form.caseOverPayment = 0;
           return this.$message.error('本次使用的溢付款不能超过总溢付款')