From f2674814bbbe93b845d6f959f56bb35ea982a91e Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 14 Jan 2026 18:05:42 +0800 Subject: [PATCH 1/6] =?UTF-8?q?1.0.48=20=E5=90=88=E5=90=8C=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/contractInfo/contractOrderIndex.vue | 88 ++++++++++--------- 1 file changed, 48 insertions(+), 40 deletions(-) diff --git a/src/views/oa/erp/contractInfo/contractOrderIndex.vue b/src/views/oa/erp/contractInfo/contractOrderIndex.vue index 1c2c43f..6dcc49f 100644 --- a/src/views/oa/erp/contractInfo/contractOrderIndex.vue +++ b/src/views/oa/erp/contractInfo/contractOrderIndex.vue @@ -10,6 +10,12 @@ + + + + + + @@ -45,41 +51,41 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -90,11 +96,11 @@ - + + + + + @@ -250,6 +256,8 @@ const data = reactive<{ queryParams: ProjectInfoQuery }>({ sortOrder: undefined, contractId: undefined, activeFlag: undefined, + contractCode: undefined, + contractName: undefined, params: {} } }); From 0293f185b4df4648368618ee86ec2f1007cf7215 Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 14 Jan 2026 18:07:45 +0800 Subject: [PATCH 2/6] =?UTF-8?q?1.0.49=20=E5=90=88=E5=90=8C=E6=8C=89?= =?UTF-8?q?=E7=85=A7=E9=80=89=E6=8B=A9=E7=9A=84=E9=83=A8=E9=97=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E9=83=A8=E9=97=A8=E7=BB=8F=E7=90=86=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/projectInfo/types.ts | 20 ++++++++++++++++++++ src/views/oa/erp/contractInfo/edit.vue | 6 ++++-- src/views/oa/erp/contractInfo/index.vue | 2 +- src/views/oa/erp/projectInfo/preEdit.vue | 2 +- 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/api/oa/erp/projectInfo/types.ts b/src/api/oa/erp/projectInfo/types.ts index a0a600b..5e37266 100644 --- a/src/api/oa/erp/projectInfo/types.ts +++ b/src/api/oa/erp/projectInfo/types.ts @@ -261,6 +261,16 @@ export interface ProjectInfoForm extends BaseEntity { chargeName?: string; deputyName?: string; + + /** + * 合同编号 + */ + contractCode?: string; + + /** + * 合同名称 + */ + contractName?: string; } export interface ProjectInfoQuery extends PageQuery { @@ -371,4 +381,14 @@ export interface ProjectInfoQuery extends PageQuery { chargeName?: string; deputyName?: string; + + /** + * 合同编号 + */ + contractCode?: string; + + /** + * 合同名称 + */ + contractName?: string; } diff --git a/src/views/oa/erp/contractInfo/edit.vue b/src/views/oa/erp/contractInfo/edit.vue index 71a4030..75b9364 100644 --- a/src/views/oa/erp/contractInfo/edit.vue +++ b/src/views/oa/erp/contractInfo/edit.vue @@ -455,7 +455,7 @@ const approvalRecordRef = ref>(); // 流程相关数据 const submitFormData = ref({ businessId: '', - flowCode: 'OAC', + flowCode: '', variables: {}, bizExt: {} }); @@ -701,6 +701,7 @@ const submitForm = (status: string, mode: boolean) => { contractName: form.value.contractName, totalPrice: form.value.totalPrice, businessDirection: form.value.businessDirection, + contractDeptId: form.value.contractDeptId, contractCode: form.value.contractCode }; // 流程实例业务扩展字段 @@ -739,7 +740,7 @@ const submitForm = (status: string, mode: boolean) => { // 提交申请 const handleStartWorkFlow = async (data: ContractInfoForm) => { try { - submitFormData.value.flowCode = 'OAC'; + submitFormData.value.flowCode = FlowCodeEnum.CONTRACT_CODE; submitFormData.value.businessId = data.contractId; // 流程变量 @@ -748,6 +749,7 @@ const handleStartWorkFlow = async (data: ContractInfoForm) => { contractName: data.contractName, totalPrice: data.totalPrice, businessDirection: data.businessDirection, + contractDeptId: data.contractDeptId, contractCode: data.contractCode }; diff --git a/src/views/oa/erp/contractInfo/index.vue b/src/views/oa/erp/contractInfo/index.vue index 703749d..5615eaf 100644 --- a/src/views/oa/erp/contractInfo/index.vue +++ b/src/views/oa/erp/contractInfo/index.vue @@ -321,7 +321,7 @@ const columns = ref([ { key: 15, label: `乙方授权代表`, visible: true }, { key: 16, label: `乙方签字日期`, visible: true }, { key: 17, label: `合同状态`, visible: true }, - { key: 18, label: `流程状态`, visible: true }, + { key: 18, label: `流程状态`, visible: false }, { key: 19, label: `合同模板ID`, visible: false }, { key: 20, label: `附件ID`, visible: false }, { key: 21, label: `付款方式`, visible: true }, diff --git a/src/views/oa/erp/projectInfo/preEdit.vue b/src/views/oa/erp/projectInfo/preEdit.vue index 78f776f..18660fa 100644 --- a/src/views/oa/erp/projectInfo/preEdit.vue +++ b/src/views/oa/erp/projectInfo/preEdit.vue @@ -568,7 +568,7 @@ onMounted(async () => { form.value.deptId = userVO.deptId; form.value.managerId = userVO.userId; form.value.chargeId = userVO.chargeId; - form.value.deputyId = userVO.deputyId; + // form.value.deputyId = userVO.deputyId; } } catch (error) { console.error('获取用户信息失败:', error); From 5ad10ddfb409560ae6811e65963c720b666ae6b9 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 15 Jan 2026 16:36:00 +0800 Subject: [PATCH 3/6] =?UTF-8?q?1.0.50=20=E6=8A=A5=E4=BB=B7=E5=8D=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96=E7=BC=96=E5=8F=B7=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/crm/crmQuoteInfo/edit.vue | 32 +++++----- src/views/oa/crm/crmQuoteInfo/index.vue | 84 ++++++++++++------------- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/src/views/oa/crm/crmQuoteInfo/edit.vue b/src/views/oa/crm/crmQuoteInfo/edit.vue index 3f1fbaf..68854a1 100644 --- a/src/views/oa/crm/crmQuoteInfo/edit.vue +++ b/src/views/oa/crm/crmQuoteInfo/edit.vue @@ -19,10 +19,10 @@ - - + + + + @@ -766,18 +766,18 @@ const onSupplierChanged = (supplierId: any) => { } }; // 生成报价单编号(codeRuleCode=1004) -const generateQuoteCode = async () => { - if (isCodeGenerated.value) return; - try { - const params = { codeRuleCode: '1004' } as any; - const res = await getRuleGenerateCode(params); - form.quoteCode = res.msg; - isCodeGenerated.value = true; - proxy?.$modal.msgSuccess('报价单编号生成成功'); - } catch (error) { - proxy?.$modal.msgError('报价单编号生成失败'); - } -}; +// const generateQuoteCode = async () => { +// if (isCodeGenerated.value) return; +// try { +// const params = { codeRuleCode: '1004' } as any; +// const res = await getRuleGenerateCode(params); +// form.quoteCode = res.msg; +// isCodeGenerated.value = true; +// proxy?.$modal.msgSuccess('报价单编号生成成功'); +// } catch (error) { +// proxy?.$modal.msgError('报价单编号生成失败'); +// } +// }; // 附件ID字符串转换(用于FileUpload组件) const ossIdString = computed({ diff --git a/src/views/oa/crm/crmQuoteInfo/index.vue b/src/views/oa/crm/crmQuoteInfo/index.vue index b1d5da6..e6b22fc 100644 --- a/src/views/oa/crm/crmQuoteInfo/index.vue +++ b/src/views/oa/crm/crmQuoteInfo/index.vue @@ -180,83 +180,83 @@ - - - - - + + + + + - + - + - + + - + - - - + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - - + +