Jelajahi Sumber

Bug #2877,另一个页面

MaiXinRong 5 tahun lalu
induk
melakukan
9b518ff2ec
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      app/public/js/revise.js

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

@@ -40,7 +40,7 @@ $(document).ready(() => {
     const posSpread = SpreadJsObj.createNewSpread($('#pos-spread')[0]);
     const posSheet = posSpread.getActiveSheet();
     sjsSettingObj.setGridSelectStyle(posSpreadSetting);
-    if (thousandth) sjsSettingObj.setTpThousandthFormat(posSpreadSetting);
+    if (thousandth) sjsSettingObj.setTpThousandthFormat(SpreadSetting);
     SpreadJsObj.initSheet(posSheet, posSpreadSetting);
 
     const posSearch = $.posSearch({selector: '#pos-search', searchSpread: posSpread});
@@ -1956,6 +1956,7 @@ $(document).ready(() => {
                             const result = billsTree.loadPostData(data.ledger);
                             billsTreeSpreadObj.refreshTree(billsSheet, result);
                             billsTreeSpreadObj.refreshOperationValid(billsSheet, selection);
+                            posSpreadObj.loadCurPosData();
                             self.obj.modal('hide');
                         }, null, true);
                     } else {