From fabb3662de9ded58658bc34e6461ce0ad573ea39 Mon Sep 17 00:00:00 2001 From: song Date: Wed, 26 Jan 2022 19:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=A5=A8=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Initiate-application.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/Initiate-application.vue b/pages/Initiate-application.vue index 1e73fbb..8aa1e1a 100644 --- a/pages/Initiate-application.vue +++ b/pages/Initiate-application.vue @@ -338,9 +338,9 @@ async function afterRead(file){ if(item.label === key){ if(item.label === 'money' || item.label === 'taxMoney'){ item.value = (+res.data.data[key] / 100).toFixed(2) + }else{ + item.value = res.data.data[key] } - item.value = res.data.data[key] - console.log('item: ', item); } }) } @@ -528,7 +528,7 @@ function setParams(){ let totleMoney = 0 invoiceInfo.forEach(item => { if(item.label === 'money'){ - totleMoney += ((item.value - 0)/100).toFixed(2) + totleMoney += item.value } }) if(isInvoice){