From f5a97315e83734691ad7ef68a841dd03a5f9e117 Mon Sep 17 00:00:00 2001
From: fengachen <373943794@qq.com>
Date: Wed, 23 Nov 2022 16:02:22 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=20=E5=B7=A5=E4=BD=9C?=
=?UTF-8?q?=E7=BB=84=E6=96=B0=E5=A2=9E=E6=88=90=E5=91=98=E6=94=B6=E8=B4=B9?=
=?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=B2=A1=E6=9C=89=E7=A8=8E=E9=A2=9D=20?=
=?UTF-8?q?=E6=9C=AA=E7=A8=8E=E9=87=91=E9=A2=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/WorkingGroupMemberUnitModule.vue | 61 ++++++++++++++++++-
1 file changed, 59 insertions(+), 2 deletions(-)
diff --git a/src/views/projectManagement/modules/WorkingGroupMemberUnitModule.vue b/src/views/projectManagement/modules/WorkingGroupMemberUnitModule.vue
index 50424fe..6dc1396 100644
--- a/src/views/projectManagement/modules/WorkingGroupMemberUnitModule.vue
+++ b/src/views/projectManagement/modules/WorkingGroupMemberUnitModule.vue
@@ -263,7 +263,8 @@
v-decorator="['receivableAmount',validatorRules.receivableAmount]"
:maxLength='50'
@blur="addZero"
- @change="e => {e.target.value = (e.target.value + '').trim()}">
+ @change="changeReceivableAmount"
+ >
@@ -283,8 +284,9 @@
{e.target.value = (e.target.value + '').trim()}">
+ >
@@ -298,6 +300,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {e.target.value = (e.target.value.replace(/[^0-9.]/g,'')).trim()}">
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
+ {e.target.value = (e.target.value.replace(/[^0-9.]/g,'')).trim()}">
+
+ 元
+
+
+
+
+
+
+
@@ -686,6 +737,11 @@ export default {
})
return
}
+ }else{
+ // 清空之前选中的收费通知号
+ this.selectedChargeNotice = null
+ // 清空未税金额 应收金额 税额
+ this.form.resetFields(['tax','noTaxAmount','receivableAmount'])
}
this.chargeWayType = e.target.value
},
@@ -720,6 +776,7 @@ export default {
})
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model, 'receivableAmount', 'chargeNoticeId'))
+ this.calcAmount()
})
},
/**