gaoluyang
14 小时以前 f6f66196f3ca377eda0afd320e64005c28204c76
src/views/crm/statistics/customer/data.ts
@@ -8,6 +8,7 @@
  beginOfDay,
  endOfDay,
  erpCalculatePercentage,
  erpNumberFormatter,
  formatDateTime,
  handleTree,
} from '@vben/utils';
@@ -235,10 +236,11 @@
          field: 'creceivablePrice',
          title: '未回款金额',
          minWidth: 200,
          // 未回款金额 = 合同总金额 - 回款金额。原来这里误用了「回款完成率」的公式,金额列上显示的是百分比。
          formatter: ({ row }) => {
            return erpCalculatePercentage(
              row.receivablePrice,
              row.contractPrice,
            return erpNumberFormatter(
              (row.contractPrice ?? 0) - (row.receivablePrice ?? 0),
              2,
            );
          },
        },
@@ -308,7 +310,7 @@
        },
        {
          field: 'ownerUserName',
          title: '日期',
          title: '员工姓名',
          minWidth: 200,
        },
        {