|
@@ -42,11 +42,12 @@ $(document).ready(() => {
|
|
|
|
|
|
const preUrl = window.location.pathname.split('/').slice(0, 4).join('/');
|
|
|
let changeListData;
|
|
|
+ let gclGatherData;
|
|
|
postData(preUrl + '/defaultBills', {}, function (result) {
|
|
|
gclGatherModel.loadLedgerData(result.bills);
|
|
|
gclGatherModel.loadPosData(result.pos);
|
|
|
|
|
|
- const gclGatherData = gclGatherModel.gatherGclData();
|
|
|
+ gclGatherData = gclGatherModel.gatherGclData();
|
|
|
for (const ggd in gclGatherData) {
|
|
|
gclGatherData[ggd].code = gclGatherData[ggd].b_code;
|
|
|
}
|