From f336cc9c3777e23e23e7d11ecf49e3f9a2d4083d Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 19 Jul 2024 14:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B74=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMain/index.vue | 10 +++++----- .../supplierinvoiceRequestMain.data.ts | 19 +++---------------- .../index.vue | 4 ++-- ...pplierinvoiceRequestMainDifference.data.ts | 10 +++++----- 4 files changed, 15 insertions(+), 28 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index d828ff12d..d35930ccd 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -32,7 +32,7 @@ @@ -98,7 +98,7 @@ :sumFormDataByForm ="(formRef,formModel)=>{ const {singlePrice=0,purchasePrice=0} = formModel formRef.value.setValues({ - differencePrice:Number((Number(singlePrice)-Number(purchasePrice)).toFixed(2)) + differencePrice:Number((Number(singlePrice)-Number(purchasePrice)).toFixed(4)) }) }" :isBasic="false" diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts index 4317d424b..bba1657b1 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts @@ -1497,7 +1497,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive { - cellValue= Number(cellValue).toFixed(2) + cellValue= Number(cellValue).toFixed(4) cellValue = cellValue + '' || '' let x = cellValue.split('.') @@ -1739,14 +1739,14 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive