Explorar o código

签约清单编辑相关

MaiXinRong hai 1 ano
pai
achega
ef52c25c77
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 = [];