gaoluyang
6 小时以前 787ccc59ba89bacc075562a161ecf02bc76ebadc
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';
@@ -17,6 +17,11 @@
    {
      field: 'totalPrice',
      label: '合同金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
      field: 'depositPrice',
      label: '定金金额(元)',
      render: (val) => erpPriceInputFormatter(val) as string,
    },
    {
@@ -61,6 +66,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,
@@ -84,6 +94,11 @@
      label: '公司签约人',
    },
    {
      field: 'orderNo',
      label: '销售订单',
      slot: 'orderNo', // 使用 slot 自定义渲染
    },
    {
      field: 'remark',
      label: '备注',
    },