瀏覽代碼

Bug #2877,另一个页面

MaiXinRong 5 年之前
父節點
當前提交
9b518ff2ec
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 {