MaiXinRong 3 年之前
父節點
當前提交
a1fc3504fe
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/public/js/ledger.js
  2. 1 1
      app/public/js/revise.js

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

@@ -882,7 +882,7 @@ $(document).ready(function() {
         loadRelaData: function () {
             posOperationObj.loadCurPosData();
             posSearch.search($('#pos-keyword').val());
-            treeOperationObj.loadExprToInput(info.sheet);
+            treeOperationObj.loadExprToInput(ledgerSpread.getActiveSheet());
         },
         selectionChanged: function (e, info) {
             if (!info.oldSelections || !info.oldSelections[0] || info.newSelections[0].row !== info.oldSelections[0].row) {

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

@@ -359,7 +359,7 @@ $(document).ready(() => {
             });
         },
         loadRelaData: function() {
-            billsTreeSpreadObj.refreshOperationValid(info.sheet);
+            billsTreeSpreadObj.refreshOperationValid(billsSheet);
             SpreadJsObj.resetTopAndSelect(posSheet);
             posSpreadObj.loadCurPosData();
             SpreadJsObj.saveTopAndSelect(billsSheet, ckBillsSpread);