From cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:03:32 +0800
Subject: [PATCH] feat(mdm): 物料列表隐藏辅单位与销售价列
---
src/views/crm/customer/index.vue | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/src/views/crm/customer/index.vue b/src/views/crm/customer/index.vue
index 6cac06a..c53e784 100644
--- a/src/views/crm/customer/index.vue
+++ b/src/views/crm/customer/index.vue
@@ -5,8 +5,8 @@
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';
@@ -124,19 +124,7 @@
</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>
@@ -178,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="[
--
Gitblit v1.9.3