From cf66983bad1163ef743eace3b8ed6b91bebc57e3 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 18 Dec 2024 17:23:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=98=E6=AC=BE=E7=94=B3?= =?UTF-8?q?=E8=AF=B7--=E4=BB=98=E6=AC=BE=E6=98=8E=E7=BB=86=E8=A1=A8?= =?UTF-8?q?=E5=85=B3=E8=81=94=E4=BB=98=E6=AC=BE=E9=87=91=E9=A2=9D=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/anruifinmanagement/fukuanshenqing/paymentAdd.vue | 3 +-- .../workFlow/fukuanguanliFlow/fukuanguanli/fukuanEdit.vue | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/fukuanshenqing/paymentAdd.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/fukuanshenqing/paymentAdd.vue index bf42815a56..0cff867deb 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/fukuanshenqing/paymentAdd.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/fukuanshenqing/paymentAdd.vue @@ -542,12 +542,11 @@ export default { if (this.formobj.detailsList.length > 0) { this.formobj.detailsList[this.paymentInformation.index].finPaymentapplyDetailsBelowList = this.paymentInformation.list this.formobj.detailsList.forEach((e) => { + e.payAccountTotal = '' if (e.finPaymentapplyDetailsBelowList.length > 0) { e.finPaymentapplyDetailsBelowList.forEach((k) => { e.payAccountTotal = Math.round((parseFloat(e.payAccountTotal !== '' ? e.payAccountTotal : 0) + parseFloat(k.payAccount !== '' ? k.payAccount : 0)) * 100) / 100 }) - } else { - e.payAccountTotal = '' } }) } diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/fukuanguanliFlow/fukuanguanli/fukuanEdit.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/fukuanguanliFlow/fukuanguanli/fukuanEdit.vue index 09b5b2d0e7..2db504dda0 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/fukuanguanliFlow/fukuanguanli/fukuanEdit.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/workFlow/fukuanguanliFlow/fukuanguanli/fukuanEdit.vue @@ -533,12 +533,11 @@ export default { if (this.formobj.detailsList.length > 0) { this.formobj.detailsList[this.paymentInformation.index].finPaymentapplyDetailsBelowList = this.paymentInformation.list this.formobj.detailsList.forEach((e) => { + e.payAccountTotal = '' if (e.finPaymentapplyDetailsBelowList.length > 0) { e.finPaymentapplyDetailsBelowList.forEach((k) => { e.payAccountTotal = Math.round((parseFloat(e.payAccountTotal !== '' ? e.payAccountTotal : 0) + parseFloat(k.payAccount !== '' ? k.payAccount : 0)) * 100) / 100 }) - } else { - e.payAccountTotal = '' } }) }