瀏覽代碼

241010-1918-Kim

hokky 1 月之前
父節點
當前提交
b3712015ab
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      resources/views/front/dabory/erp/basic-settings/monthly-settle.blade.php

+ 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 ));