Browse Source

241010-1918-Kim

hokky 1 month ago
parent
commit
b3712015ab

+ 6 - 6
resources/views/front/dabory/erp/basic-settings/monthly-settle.blade.php

@@ -122,13 +122,13 @@
         MonthlySettleForm.btn_re_cal = async function () {
             const parameters = MonthlySettleForm.parameter();
             let data;
-            const yymmdd =parameters['BalYyyyMm'];
+            const yymmdd =parameters[''];
             console.log('yymmdd : ', yymmdd);
-            // for (const parameter of parameters) {
-            //     data = parameter;
-            //     const response = await get_api_data('monthly-settle', data);
-            //     console.log(response);
-            // }
+            for (const parameter of parameters) {
+                data = parameter;
+                const response = await get_api_data('monthly-settle', data);
+                console.log(response);
+            }
         }
 
     }( window.MonthlySettleForm = window.MonthlySettleForm || {}, jQuery ));