From 6100cfca42ced6d60868ce7b6eedf1a6053c9ea1 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Fri, 7 Nov 2025 11:23:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(crm):=E4=BF=AE=E5=A4=8D=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E5=8D=95=E7=BC=96=E8=BE=91=E7=9A=84=E8=B7=AF=E7=94=B1=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=EF=BC=8C=20=E6=B7=BB=E5=8A=A0=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E5=8D=95=E5=92=8C=E4=BE=9B=E5=BA=94=E5=95=86=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E4=BA=BA=E5=8F=8A=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=AD=97=E6=AE=B5=E5=8D=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在报价页面添加创建人和创建时间列 - 在供应商信息页面添加创建时间和创建人列 - 更新项目计划页面创建人字段映射 - 扩展报价单、供应商和项目计划的类型定义,增加 createName 字段 - 调整列配置,将创建人和创建时间设置为默认可见 -修复字段映射不一致问题,统一使用 createName作为创建人字段名 --- src/api/oa/crm/crmQuoteInfo/types.ts | 15 +++++++++++++++ src/api/oa/crm/crmSupplierInfo/types.ts | 16 ++++++++++++++++ src/api/oa/erp/erpProjectPlan/types.ts | 18 ++++++++++++++++++ src/router/index.ts | 1 + src/views/oa/crm/crmQuoteInfo/index.vue | 21 +++++++++++++++------ src/views/oa/crm/crmSupplierInfo/index.vue | 16 ++++++++++------ src/views/oa/erp/erpProjectPlan/index.vue | 4 +++- 7 files changed, 78 insertions(+), 13 deletions(-) diff --git a/src/api/oa/crm/crmQuoteInfo/types.ts b/src/api/oa/crm/crmQuoteInfo/types.ts index 5f1bcb6..bb355ba 100644 --- a/src/api/oa/crm/crmQuoteInfo/types.ts +++ b/src/api/oa/crm/crmQuoteInfo/types.ts @@ -189,6 +189,11 @@ export interface CrmQuoteInfoVO { */ itemsVo?: CrmQuoteMaterialVO[]; + /** + * 创建人别称 + */ + createName?: string; + } export interface CrmQuoteInfoForm extends BaseEntity { @@ -382,6 +387,11 @@ export interface CrmQuoteInfoForm extends BaseEntity { */ supplierName?: string; + /** + * 创建人别称 + */ + createName?: string; + } export interface CrmQuoteInfoQuery extends PageQuery { @@ -566,6 +576,11 @@ export interface CrmQuoteInfoQuery extends PageQuery { */ supplierName?: string; + /** + * 创建人别称 + */ + createName?: string; + } diff --git a/src/api/oa/crm/crmSupplierInfo/types.ts b/src/api/oa/crm/crmSupplierInfo/types.ts index 7c58139..d95bd7f 100644 --- a/src/api/oa/crm/crmSupplierInfo/types.ts +++ b/src/api/oa/crm/crmSupplierInfo/types.ts @@ -134,6 +134,11 @@ export interface CrmSupplierInfoVO { */ ownerName?: string; + /** + * 创建人别称 + */ + createName?: string; + } export interface CrmSupplierInfoForm extends BaseEntity { @@ -272,6 +277,11 @@ export interface CrmSupplierInfoForm extends BaseEntity { */ ownerName?: string; + /** + * 创建人别称 + */ + createName?: string; + } export interface CrmSupplierInfoQuery extends PageQuery { @@ -405,6 +415,12 @@ export interface CrmSupplierInfoQuery extends PageQuery { * 归属人员名称 */ ownerName?: string; + + /** + * 创建人别称 + */ + createName?: string; + } diff --git a/src/api/oa/erp/erpProjectPlan/types.ts b/src/api/oa/erp/erpProjectPlan/types.ts index 6096405..699b058 100644 --- a/src/api/oa/erp/erpProjectPlan/types.ts +++ b/src/api/oa/erp/erpProjectPlan/types.ts @@ -78,6 +78,12 @@ export interface ErpProjectPlanVO { * 合同名称 */ contractName?: string; + + /** + * 创建人别称 + */ + createName?: string; + } export interface ErpProjectPlanForm extends BaseEntity { @@ -155,6 +161,12 @@ export interface ErpProjectPlanForm extends BaseEntity { * 流程业务扩展信息 */ bizExt?: any; + + /** + * 创建人别称 + */ + createName?: string; + } export interface ErpProjectPlanQuery extends PageQuery { @@ -208,6 +220,12 @@ export interface ErpProjectPlanQuery extends PageQuery { * 日期范围参数 */ params?: any; + + /** + * 创建人别称 + */ + createName?: string; + } diff --git a/src/router/index.ts b/src/router/index.ts index 84ff639..56a7e32 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -127,6 +127,7 @@ export const constantRoutes: RouteRecordRaw[] = [ path: 'crmQuoteInfo/edit', component: () => import('@/views/oa/crm/crmQuoteInfo/edit.vue'), name: 'crmQuoteInfoEdit', + meta: { title: '报价单编辑', activeMenu: '/oa/crm/crmQuoteInfo' } } ] }, diff --git a/src/views/oa/crm/crmQuoteInfo/index.vue b/src/views/oa/crm/crmQuoteInfo/index.vue index 19535b7..6110637 100644 --- a/src/views/oa/crm/crmQuoteInfo/index.vue +++ b/src/views/oa/crm/crmQuoteInfo/index.vue @@ -244,6 +244,12 @@ + + + + + + + + - +