liding
17 小时以前 06372ae6f71fd776fc3db320c410c38966576c7c
src/views/procurementManagement/invoiceEntry/components/Modal.vue
@@ -293,7 +293,7 @@
      prop: "taxInclusiveUnitPrice",
      width: 150,
      formatData: (val) => {
         return val ? parseFloat(val).toFixed(2) : 0;
         return val ? parseFloat(val).toFixed(4) : 0;
      },
   },
   {
@@ -341,10 +341,10 @@
];
const formattedNumber = (row, column, cellValue) => {
   if (cellValue == 0) {
      return parseFloat(cellValue).toFixed(2);
      return parseFloat(cellValue).toFixed(column.property === "taxInclusiveUnitPrice" ? 4 : 2);
   }
   if (cellValue) {
      return parseFloat(cellValue).toFixed(2);
      return parseFloat(cellValue).toFixed(column.property === "taxInclusiveUnitPrice" ? 4 : 2);
   } else {
      return cellValue;
   }