소스 검색

计量台账,不允许父项调用变更令

MaiXinRong 5 년 전
부모
커밋
e96146e56f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/public/js/stage.js

+ 2 - 0
app/public/js/stage.js

@@ -447,6 +447,8 @@ $(document).ready(() => {
         }
     };
     ledgerSpreadSetting.imageClick = function (data) {
+        if (data.children && data.children.length > 0) return;
+
         const nodePos = stagePos.getLedgerPos(data.id);
         if (nodePos && nodePos.length > 0) return;