刘洋 10 달 전
부모
커밋
8146b498e0
1개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. 14 0
      src/views/sop/sop-manage/sop-step/index.vue

+ 14 - 0
src/views/sop/sop-manage/sop-step/index.vue

@@ -414,6 +414,9 @@ const initFill = async () => {
           let now = Date.now();
           item.value = JSON.stringify({ value: now });
         }
+        if (item.formName == 'region_manager_id_1') {
+          item.writable = false;
+        }
         return item;
       });
     currFlowTaskResultSetup.value = res.currFlowTaskResult.setup;
@@ -465,6 +468,10 @@ const initEdit = async () => {
           if (v.formName === 'third_service_region_cb_1') {
             v.writable = false;
           }
+          //2024-08-26新增需求,填报和编辑时,项目初审里的大区经理置灰
+          if (v.formName == 'region_manager_id_1') {
+            v.writable = false;
+          }
           if (
             props.sop?.status === 'FINISH' &&
             [
@@ -479,6 +486,13 @@ const initEdit = async () => {
           return v;
         });
       }
+      //2024-08-26新增,编辑的时候,内审模块全部置灰
+      if (item.taskKey === 'f_usertask_cloudmark_inside_approve_3') {
+        item.formProperty = item.formProperty.map((v) => {
+          v.writable = false;
+          return v;
+        });
+      }
       return item;
     });
   flowApproveHistoryList.value = getFlowApproveHistoryList(