张诺
16 小时以前 19f73dc4a398c5d89b6568ede10bf2804a43bbf8
src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -151,7 +151,7 @@
      width: 150,
    },
    {
      label: "销售合同号",
      label: "订单编号",
      prop: "salesContractNo",
      width: 150,
    },
@@ -185,7 +185,7 @@
      prop: "taxInclusiveTotalPrice",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
        return cell ? parseFloat(cell).toFixed(3) : 0;
      },
    },
    {
@@ -198,7 +198,7 @@
      prop: "ticketsAmount",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
        return cell ? parseFloat(cell).toFixed(3) : 0;
      },
    },
    {
@@ -206,7 +206,7 @@
      prop: "unTicketsPrice",
      width: 200,
      formatData: (cell) => {
        return cell ? parseFloat(cell).toFixed(2) : 0;
        return cell ? parseFloat(cell).toFixed(3) : 0;
      },
    },
    {
@@ -242,6 +242,9 @@
    param,
    ["ticketsAmount", "unTicketsPrice", "invoiceAmount"],
    {
      ticketsAmount: { decimalPlaces: 3 },
      unTicketsPrice: { decimalPlaces: 3 },
      invoiceAmount: { decimalPlaces: 3 },
      ticketsNum: { noDecimal: true },
      futureTickets: { noDecimal: true },
    }
@@ -260,7 +263,7 @@
    (c) => c.property === "taxInclusiveTotalPrice"
  );
  if (taxInclusiveIndex !== -1) {
    sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(2);
    sums[taxInclusiveIndex] = taxInclusiveSum.toFixed(3);
  }
  return sums;
};