Browse Source

签约清单编辑相关

MaiXinRong 1 year ago
parent
commit
ef52c25c77
1 changed files with 2 additions and 2 deletions
  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 = [];