From fd8a0a486d7a8b629de2936ad90edf4f7eaa5133 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 30 Mar 2026 17:03:44 +0800 Subject: [PATCH] =?UTF-8?q?1.1.6=20=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=BB=B4=E6=8A=A4=E6=8C=89=E9=92=AE=EF=BC=9A?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=95=B0=E9=87=8F=E3=80=81=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E3=80=81=E9=A1=B9=E7=9B=AE=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=EF=BC=88=E5=BF=85=E5=A1=AB=EF=BC=89=E3=80=81=E6=83=85=E5=86=B5?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=EF=BC=88=E5=BF=85=E5=A1=AB=EF=BC=89=E3=80=81?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=BC=80=E5=B1=95=E5=B7=A5=E4=BD=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/projectInfo/index.ts | 11 ++ src/api/oa/erp/projectInfo/types.ts | 50 ++++++++ src/views/oa/erp/contractChange/edit.vue | 2 +- src/views/oa/erp/projectInfo/index.vue | 154 ++++++++++++++++++++++- 4 files changed, 213 insertions(+), 4 deletions(-) diff --git a/src/api/oa/erp/projectInfo/index.ts b/src/api/oa/erp/projectInfo/index.ts index 5c5030f..280ac4b 100644 --- a/src/api/oa/erp/projectInfo/index.ts +++ b/src/api/oa/erp/projectInfo/index.ts @@ -51,6 +51,17 @@ export const updateProjectInfo = (data: ProjectInfoForm) => { }); }; +/** + * 项目信息维护(产品数量、项目状态、项目阶段、情况说明、需要开展工作) + */ +export const maintainProjectInfo = (data: ProjectInfoForm) => { + return request({ + url: '/oa/erp/projectInfo/maintain', + method: 'put', + data: data + }); +}; + /** * 删除项目信息 * @param projectId diff --git a/src/api/oa/erp/projectInfo/types.ts b/src/api/oa/erp/projectInfo/types.ts index c508e10..78ee151 100644 --- a/src/api/oa/erp/projectInfo/types.ts +++ b/src/api/oa/erp/projectInfo/types.ts @@ -79,11 +79,36 @@ export interface ProjectInfoVO { */ amount: number; + /** + * 产品数量 + */ + productQty?: number; + /** * 项目状态(1暂存 2审批中 3可用) */ projectStatus: string; + /** + * 项目进度状态(文本) + */ + projectProgressStatus?: string; + + /** + * 项目阶段(文本) + */ + projectPhase?: string; + + /** + * 情况说明 + */ + situationDesc?: string; + + /** + * 需要开展工作 + */ + requiredWork?: string; + /** * 流程状态 */ @@ -254,11 +279,36 @@ export interface ProjectInfoForm extends BaseEntity { */ amount?: number; + /** + * 产品数量 + */ + productQty?: number | null; + /** * 项目状态(1暂存 2审批中 3可用) */ projectStatus?: string; + /** + * 项目进度状态(文本) + */ + projectProgressStatus?: string; + + /** + * 项目阶段(文本) + */ + projectPhase?: string; + + /** + * 情况说明 + */ + situationDesc?: string; + + /** + * 需要开展工作 + */ + requiredWork?: string; + /** * 流程状态 */ diff --git a/src/views/oa/erp/contractChange/edit.vue b/src/views/oa/erp/contractChange/edit.vue index 47403a1..1c7b09b 100644 --- a/src/views/oa/erp/contractChange/edit.vue +++ b/src/views/oa/erp/contractChange/edit.vue @@ -219,7 +219,7 @@ @click="handleContractTemplateDownload" style="font-weight: 600" > - 查看模板 + 合同查看 diff --git a/src/views/oa/erp/projectInfo/index.vue b/src/views/oa/erp/projectInfo/index.vue index 1ca7735..c9bf654 100644 --- a/src/views/oa/erp/projectInfo/index.vue +++ b/src/views/oa/erp/projectInfo/index.vue @@ -80,6 +80,17 @@ + + 项目信息维护 + + 删除 @@ -136,6 +147,18 @@ + + + + +