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 @@ + + + + +