浏览代码

签约清单编辑相关

MaiXinRong 1 年之前
父节点
当前提交
ef52c25c77
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/public/js/ledger.js

+ 2 - 2
app/public/js/ledger.js

@@ -2529,7 +2529,7 @@ $(document).ready(function() {
                  * @param sheet
                  */
                 deletePress: function (sheet) {
-                    if (!sheet.zh_setting || readOnly || sheet.zh_setting.readOnly) return;
+                    if (!sheet.zh_setting || sheet.zh_setting.readOnly) return;
 
                     const sortData = sheet.zh_data;
                     const datas = [];
@@ -2569,7 +2569,7 @@ $(document).ready(function() {
                     }
                 },
                 delete: function (sheet) {
-                    if (!sheet.zh_setting || readOnly || sheet.zh_setting.readOnly) return;
+                    if (!sheet.zh_setting || sheet.zh_setting.readOnly) return;
 
                     const sortData = sheet.zh_data;
                     const datas = [];