gaoluyang
14 小时以前 0c9aa3e1d5cfbf2245f9e7462e1d27cc8c7827d1
src/views/crm/customer/index.vue
@@ -6,7 +6,7 @@
import { useRouter } from 'vue-router';
import { Page, useVbenModal } from '@vben/common-ui';
import { downloadFileFromBlobPart } from '@vben/utils';
import { downloadFileFromBlobPart, erpNumberFormatter } from '@vben/utils';
import { Button, message, Tabs } from 'ant-design-vue';
@@ -166,6 +166,12 @@
          {{ row.name }}
        </Button>
      </template>
      <template #contracts="{ row }">
        <template v-if="row.contractCount">
          {{ row.contractCount }} 份 · ¥{{ erpNumberFormatter(row.contractTotalPrice, 2) }}
        </template>
        <template v-else>—</template>
      </template>
      <template #actions="{ row }">
        <TableAction
          :actions="[