From 2be6f196e6ccce7bf44e2b53ac511794ab7584cf Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 6 Dec 2023 12:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20CRM=EF=BC=9A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E4=BB=A3=E7=A0=81=E7=9A=84=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit b3d66cd0aac1c013ed1692323a6fe2c220e31d2a) --- src/api/crm/product/index.ts | 2 +- src/utils/dict.ts | 3 +- src/views/crm/product/ProductDetail.vue | 1 + src/views/crm/product/ProductForm.vue | 118 +++++++++++++----------- src/views/crm/product/index.vue | 65 +++++-------- 5 files changed, 92 insertions(+), 97 deletions(-) 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 @@ - - - + + - - - - + + + + - - - - - - - + + + -