Browse Source

tofixed详情报错

intex_online20250522
张立 3 weeks ago
parent
commit
684fd387b3
  1. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -1299,7 +1299,7 @@ export const accountantFormartDetail = ( cellValue) => {
return '' return ''
} }
cellValue = cellValue + '' || '' cellValue = cellValue + '' || ''
cellValue = Math.round(Number(cellValue) * 100) / 100 cellValue = String(Math.round(Number(cellValue) * 100) / 100)
let x = cellValue.split('.') let x = cellValue.split('.')
let x1 = x[0] let x1 = x[0]
let x2 = x.length > 1 ? '.' + x[1] : '' let x2 = x.length > 1 ? '.' + x[1] : ''
@ -1942,7 +1942,7 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive<CrudSche
])) ]))
const singlePriceFormart = (row, column, cellValue) => { const singlePriceFormart = (row, column, cellValue) => {
cellValue = Math.round(Number(cellValue) * 100000) / 100000 cellValue = String(Math.round(Number(cellValue) * 100000) / 100000)
cellValue = cellValue + '' || '' cellValue = cellValue + '' || ''
let x = cellValue.split('.') let x = cellValue.split('.')

Loading…
Cancel
Save