|
@@ -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 {
|