[BO] 임산물현황 등록 작업

This commit is contained in:
kangsunlee
2025-06-26 14:24:12 +09:00
parent 063c9018e4
commit f1aad02b70
21 changed files with 401 additions and 25 deletions

View File

@@ -3,6 +3,8 @@
layout:decorate="~{layout/layout}">
<div class="layer-wrap" th:fragment="tabFragment">
<input type="hidden" name="monthlyInputStatusId">
<div class="tab-content forest-product" data-tab-value="tab2">
<div class="content-inner">
<section class="table-group">
@@ -68,12 +70,15 @@
},
(response) => { // 성공
console.log("임산물 현황 리스트 조회 : ", response);
// 임산물 현황 등록 상태 id set
f.monthlyInputStatusId.value = response.monthlyStatus.id;
const tbody = $('.tab-content.forest-product tbody');
tbody.empty();
if(response.forestProducts.length === 0) {
noDataMonthly(tbody, response.status, 15);
noDataMonthly(tbody, response.monthlyStatus.status, 15);
return;
}