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