Browse Source

台账修订。计量单元,delete数据

MaiXinRong 5 năm trước cách đây
mục cha
commit
088c0c8114
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/public/js/revise.js

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

@@ -680,7 +680,7 @@ $(document).ready(() => {
                 postData(window.location.pathname + '/update', {postType: 'update', postData: datas}, function (result) {
                 postData(window.location.pathname + '/update', {postType: 'update', postData: datas}, function (result) {
                     const refreshNode = sheet.zh_tree.loadPostData(result);
                     const refreshNode = sheet.zh_tree.loadPostData(result);
                     billsTreeSpreadObj.refreshTree(sheet, refreshNode);
                     billsTreeSpreadObj.refreshTree(sheet, refreshNode);
-                    treeOperationObj.loadExprToInput(sheet);
+                    billsTreeSpreadObj.loadExprToInput(sheet);
                 });
                 });
             }
             }
         },
         },
@@ -1311,7 +1311,7 @@ $(document).ready(() => {
          * @param sheet
          * @param sheet
          */
          */
         deletePress: function (sheet) {
         deletePress: function (sheet) {
-            if (!sheet.zh_settting) return;
+            if (!sheet.zh_setting) return;
 
 
             const sortData = sheet.zh_data;
             const sortData = sheet.zh_data;
             const datas = [], posSelects = [];
             const datas = [], posSelects = [];