| | |
| | | import { ref } from 'vue'; |
| | | import { useRouter } from 'vue-router'; |
| | | |
| | | import { DocAlert, Page, useVbenModal } from '..\..\..\packages\effects\common-ui\src'; |
| | | import { downloadFileFromBlobPart } from '..\..\..\packages\utils\src'; |
| | | import { Page, useVbenModal } from '@vben/common-ui'; |
| | | import { downloadFileFromBlobPart, erpNumberFormatter } from '@vben/utils'; |
| | | |
| | | import { Button, message, Tabs } from 'ant-design-vue'; |
| | | |
| | |
| | | </script> |
| | | |
| | | <template> |
| | | <Page auto-content-height> |
| | | <template #doc> |
| | | <DocAlert |
| | | title="【客户】客户管理" |
| | | url="https://doc.iocoder.cn/crm/customer/" |
| | | /> |
| | | <DocAlert |
| | | title="【通用】数据权限" |
| | | url="https://doc.iocoder.cn/crm/permission/" |
| | | /> |
| | | </template> |
| | | |
| | | <FormModal @success="handleRefresh" /> |
| | | <Page auto-content-height><FormModal @success="handleRefresh" /> |
| | | <ImportModal @success="handleRefresh" /> |
| | | <Grid> |
| | | <template #toolbar-actions> |
| | |
| | | {{ 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="[ |