From be8a69fc3a65c14741499f3bc4490eb6eecb39e9 Mon Sep 17 00:00:00 2001 From: yinq Date: Fri, 26 Dec 2025 18:03:27 +0800 Subject: [PATCH] =?UTF-8?q?1.0.45=20=E5=90=88=E5=90=8C=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/erp/contractInfo/index.vue | 11 +- .../oa/erp/contractInfo/orderActivate.vue | 256 +++++++++--------- src/views/oa/erp/projectInfo/index.vue | 3 + 3 files changed, 139 insertions(+), 131 deletions(-) diff --git a/src/views/oa/erp/contractInfo/index.vue b/src/views/oa/erp/contractInfo/index.vue index d6ca986..b8d2780 100644 --- a/src/views/oa/erp/contractInfo/index.vue +++ b/src/views/oa/erp/contractInfo/index.vue @@ -201,7 +201,7 @@ - + { return row.contractCategory === '2'; }; +/** 判断是否可以激活合同订单上传终版合同附件 */ +const showUploadButton = (row: ContractInfoVO) => { + return ( + !row.signatureAppendix && + row.contractStatus === '3' && + row.contractCategory === '1' + ) +}; + /** 订单激活按钮操作 */ const handleOrderActivate = (row?: ContractInfoVO) => { const _contractId = row?.contractId; diff --git a/src/views/oa/erp/contractInfo/orderActivate.vue b/src/views/oa/erp/contractInfo/orderActivate.vue index 5f26ab1..cff4a2b 100644 --- a/src/views/oa/erp/contractInfo/orderActivate.vue +++ b/src/views/oa/erp/contractInfo/orderActivate.vue @@ -6,7 +6,7 @@ @approvalVerifyOpen="approvalVerifyOpen" @handleApprovalRecord="handleApprovalRecord" :buttonLoading="buttonLoading" - :id="form.contractId" + :id="form.projectId" :status="form.flowStatus" :pageType="routeParams.type" :mode="false" @@ -14,13 +14,7 @@ - + @@ -29,7 +23,7 @@ - + @@ -61,24 +55,25 @@ :props="{ value: 'projectTypeId', label: 'typeName', children: 'children', emitPath: false }" placeholder="请选择项目类型" style="width: 100%" + :disabled="isFormDisabled" /> - - - - - + + + + + - + - + @@ -99,7 +94,7 @@ - + @@ -109,7 +104,7 @@ - + @@ -132,7 +127,7 @@ - + @@ -154,9 +149,9 @@ @@ -195,18 +186,14 @@ value-format="YYYY-MM-DD" placeholder="选择日期" style="width: 100%" + :disabled="!isFormDisabled" /> @@ -219,20 +206,22 @@ :precision="2" controls-position="right" style="width: 100%" + :disabled="!isFormDisabled" /> - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -288,7 +274,6 @@ - @@ -297,7 +282,7 @@