Browse Source

节点基础数据修改

duy 2 weeks ago
parent
commit
f5b1c293c3
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/data-fill/wbs.vue

+ 7 - 2
src/views/data-fill/wbs.vue

@@ -3619,6 +3619,7 @@ const getnodeBaseData = async ()=>{
     const { error, code, msg, data } = await nodeBaseApi.getNodeData(
         {
             pKeyId: primaryKeyId.value,
+            classify: authBtnTabKey.value,
         
         },
     )
@@ -3669,8 +3670,12 @@ const resetForm = ()=>{
     getOrSaveNodeBaseInfo()
 }
 const nodeBaseDataModalSave = async ()=>{
-
-    nodeBaseDataLoad.value = true
+   
+     if (autoFormData.value?.isDisable === 1) {
+        window?.$message?.warning('待审批和已审批不能修改基础数据')
+        return
+    }
+     nodeBaseDataLoad.value = true
     const { error, code, msg } = await nodeBaseApi.save(
         {
             nodeId: primaryKeyId.value,