瀏覽代碼

计量台账,只读判断

MaiXinRong 2 年之前
父節點
當前提交
ca77953997
共有 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.confirm) %>;
+    const readOnly = <%- stage.readOnly || stage.revising || !!stage.assist || (!!stage.assist && !stage.assist.confirm) %>;
     const ledgerSpreadSetting = JSON.parse('<%- JSON.stringify(ledgerSpread) %>');
     ledgerSpreadSetting.localCache = {
         key: 'stage-bills',