diff --git a/src/api/crm/product/index.ts b/src/api/crm/product/index.ts
index cb1ddcda..c6d5dfdb 100644
--- a/src/api/crm/product/index.ts
+++ b/src/api/crm/product/index.ts
@@ -4,7 +4,7 @@ export interface ProductVO {
id: number
name: string
no: string
- unit: string
+ unit: number
price: number
status: number
categoryId: number
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 98ed9797..b3cd3999 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -204,5 +204,6 @@ export enum DICT_TYPE {
CRM_CUSTOMER_LEVEL = 'crm_customer_level',
CRM_CUSTOMER_SOURCE = 'crm_customer_source',
CRM_PRODUCT_STATUS = 'crm_product_status',
- CRM_PERMISSION_LEVEL = 'crm_permission_level' // CRM 数据权限的级别
+ CRM_PERMISSION_LEVEL = 'crm_permission_level', // CRM 数据权限的级别
+ CRM_PRODUCT_UNIT = 'crm_product_unit' // 产品单位
}
diff --git a/src/views/crm/product/ProductDetail.vue b/src/views/crm/product/ProductDetail.vue
index 2bce1e7f..f2638df0 100644
--- a/src/views/crm/product/ProductDetail.vue
+++ b/src/views/crm/product/ProductDetail.vue
@@ -32,6 +32,7 @@
diff --git a/src/views/crm/product/index.vue b/src/views/crm/product/index.vue
index ddbe1fc9..3f01455c 100644
--- a/src/views/crm/product/index.vue
+++ b/src/views/crm/product/index.vue
@@ -20,7 +20,7 @@
-
-
-
+
+
-
-
- {{ fenToYuan(row.price) }}
-
-
-
+
+
+
+
-
-
- {{ productCategoryList?.find((c) => c.id === row.categoryId)?.name }}
-
-
-
-
-
- {{ userList?.find((c) => c.id === row.ownerUserId)?.nickname }}
-
-
+
+
+
-