소스 검색

计量台账只读相关

MaiXinRong 2 년 전
부모
커밋
79bd800bf5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/view/stage/index.ejs

+ 1 - 1
app/view/stage/index.ejs

@@ -527,7 +527,7 @@
         regExp = new RegExp(FindText, 'g');
         return this.replace(regExp, RepText);
     }
-    const readOnly = <%- stage.readOnly || stage.revising || !!stage.assist || (!!stage.assist && !stage.assist.confirm) %>;
+    const readOnly = <%- stage.readOnly || stage.revising || (stage.assist ? !!stage.assist.confirm : false) %>;
     const ledgerSpreadSetting = JSON.parse('<%- JSON.stringify(ledgerSpread) %>');
     ledgerSpreadSetting.localCache = {
         key: 'stage-bills',