gaoluyang
8 天以前 2c354c2d7ea51b0f78c858fef1edd93354405c6b
src/views/erp/purchase/request/detail/index.vue
@@ -46,13 +46,7 @@
    },
    {
      field: 'productPrice',
      title: '单价(参考价)',
      minWidth: 120,
      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
    },
    {
      field: 'totalPrice',
      title: '预估金额',
      title: '含税单价(元)',
      minWidth: 120,
      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
    },
@@ -61,6 +55,25 @@
      title: '税率(%)',
      minWidth: 90,
      formatter: ({ cellValue }) => (cellValue ? `${cellValue}%` : '-'),
    },
    {
      field: 'totalPrice',
      title: '不含税金额(元)',
      minWidth: 120,
      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
    },
    {
      field: 'taxPrice',
      title: '税额(元)',
      minWidth: 120,
      formatter: ({ cellValue }) => erpPriceInputFormatter(cellValue) || '-',
    },
    {
      field: 'totalTaxInclusivePrice',
      title: '含税合计(元)',
      minWidth: 120,
      formatter: ({ row }) =>
        erpPriceInputFormatter((row.totalPrice || 0) + (row.taxPrice || 0)) || '-',
    },
    { field: 'demandTime', title: '需求日期', minWidth: 110 },
    {
@@ -123,7 +136,7 @@
      render: (val) => erpCountInputFormatter(val) || '-',
    },
    {
      label: '合计金额',
      label: '含税合计金额',
      field: 'totalPrice',
      render: (val) => erpPriceInputFormatter(val) || '-',
    },