2026-08-10 f9e6eb6fc2c2e0c2a2b17238b817fcbfcb6bab56
src/views/crm/contract/detail/data.ts
@@ -2,8 +2,8 @@
import { h } from 'vue';
import { DICT_TYPE } from '../../../../packages/constants/src';
import { erpPriceInputFormatter, formatDateTime } from '../../../../packages/utils/src';
import { DICT_TYPE } from '@vben/constants';
import { erpPriceInputFormatter, formatDateTime } from '@vben/utils';
import { DictTag } from '#/components/dict-tag';
@@ -20,6 +20,11 @@
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'depositPrice',
      label: '定金金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'orderDate',
      label: '下单时间',
      render: (val) => formatDateTime(val) as string,
@@ -27,6 +32,11 @@
    {
      field: 'totalReceivablePrice',
      label: '回款金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'totalInvoicePrice',
      label: '已开票金额(含审批中)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
@@ -61,6 +71,21 @@
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'totalInvoicePrice',
      label: '已开票金额(含审批中)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'unInvoicePrice',
      label: '未开票金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'depositPrice',
      label: '定金金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'orderDate',
      label: '下单时间',
      render: (val) => formatDateTime(val) as string,
@@ -84,6 +109,11 @@
      label: '公司签约人',
    },
    {
      field: 'orderNo',
      label: '销售订单',
      slot: 'orderNo', // 使用 slot 自定义渲染
    },
    {
      field: 'remark',
      label: '备注',
    },