FAISP/src/main/resources/templates/faStatistics/unlawfulFishing/illegalShipInfo/isiEditModal.html

144 lines
10 KiB
HTML
Raw Normal View History

2023-05-25 09:22:21 +00:00
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="modal-header bg-dark">
<h5 class="modal-title text-white" id="isiEditModalLabel" th:text="|불법조업 외국어선 정보 ${shipInfo.fbKey eq null?'작성':'수정'}|"></h5>
2023-05-25 09:22:21 +00:00
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form action="#" method="post" id="isiEditForm">
<input type="hidden" name="fbKey" id="fbKey" th:value="${shipInfo.fbKey}">
<input type="hidden" class="status" name="status" id="infoStatus" th:value="${shipInfo.status}">
<input type="hidden" name="wrtOrgan" th:value="${shipInfo.wrtOrgan}">
<input type="hidden" name="wrtPart" th:value="${shipInfo.wrtPart}">
<input type="hidden" name="wrtUserSeq" th:value="${shipInfo.wrtUserSeq}">
<input type="hidden" name="wrtUserGrd" th:value="${shipInfo.wrtUserGrd}">
<input type="hidden" name="wrtUserNm" th:value="${shipInfo.wrtUserNm}">
<input type="hidden" name="wrtDt" th:value="${#temporals.format(shipInfo.wrtDt, 'yyyy-MM-dd HH:mm')}">
2023-05-25 09:22:21 +00:00
<div class="row mb-1">
<label for="caseNum" class="col-sm-1 col-form-label col-form-label-sm text-center">사건번호</label>
<div class="col-sm-2">
2023-05-26 08:59:32 +00:00
<div class="input-group">
<input type="hidden" id="cdsKey" name="cdsKey" th:value="${shipInfo.cdsKey}">
<input type="text" class="form-control form-control-sm " id="caseNum" name="caseNum" th:value="${shipInfo.caseNum}">
2023-05-26 08:59:32 +00:00
<input type="button" class="btn btn-sm btn-outline-primary w-auto" id="selectCrackdownInfoBtn" value="불러오기">
</div>
2023-05-25 09:22:21 +00:00
</div>
</div>
<div class="row mb-1">
2023-05-26 08:59:32 +00:00
<label for="boatNameCn" class="col-sm-1 col-form-label col-form-label-sm text-center">선명</label>
<div class="col-sm-4">
<div class="input-group w-auto">
<input type="text" class="form-control form-control-sm boatNameKr" name="boatNameKr" placeholder="한글" th:value="${shipInfo.boatNameKr}">
<input type="text" class="form-control form-control-sm " id="boatNameCn" name="boatNameCn" placeholder="중문" th:value="${shipInfo.boatNameCn}">
2023-05-26 08:59:32 +00:00
</div>
</div>
<div class="col-sm-1"></div>
</div>
<div class="row mb-1">
<label for="nationality" class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm " id="nationality" name="nationality" th:value="${shipInfo.nationality}">
2023-05-25 09:22:21 +00:00
</div>
2023-05-26 08:59:32 +00:00
<label for="sailorCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">승선원</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm " id="sailorCnt" name="sailorCnt" placeholder="0인" th:value="${shipInfo.sailorCnt>0?shipInfo.sailorCnt:''}">
2023-05-25 09:22:21 +00:00
</div>
2023-05-26 08:59:32 +00:00
<label for="tonCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">톤수</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm " id="tonCnt" name="tonCnt" placeholder="000.00t" th:value="${shipInfo.tonCnt>0?shipInfo.tonCnt:''}">
2023-05-25 09:22:21 +00:00
</div>
</div>
<div class="row mb-1">
2023-05-26 08:59:32 +00:00
<label for="fisheryType" class="col-sm-1 col-form-label col-form-label-sm text-center">선종</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
2023-05-26 08:59:32 +00:00
<select class="form-select form-select-sm " id="fisheryType" name="fisheryType">
2023-05-25 09:22:21 +00:00
<option value="">선택</option>
<th:block th:each="code:${session.commonCode.get('FT')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq shipInfo.fisheryType}"></option>
2023-05-25 09:22:21 +00:00
</th:block>
</select>
</div>
2023-05-26 08:59:32 +00:00
<label for="boatMaterial" class="col-sm-1 col-form-label col-form-label-sm text-center">선질</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
2023-05-26 08:59:32 +00:00
<select class="form-select form-select-sm " id="boatMaterial" name="boatMaterial">
2023-05-25 09:22:21 +00:00
<option value="">선택</option>
<th:block th:each="code:${session.commonCode.get('BM')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq shipInfo.boatMaterial}"></option>
2023-05-26 08:59:32 +00:00
</th:block>
2023-05-25 09:22:21 +00:00
</select>
</div>
2023-05-26 08:59:32 +00:00
<label for="boatNnySung" class="col-sm-1 col-form-label col-form-label-sm text-center">선적지</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
2023-05-26 08:59:32 +00:00
<div class="input-group w-auto">
<input type="text" class="form-control form-control-sm " id="boatNnySung" name="boatNnySung" placeholder="성" th:value="${shipInfo.boatNnySung}">
<input type="text" class="form-control form-control-sm " id="boatNnySi" name="boatNnySi" placeholder="시" th:value="${shipInfo.boatNnySi}">
2023-05-26 08:59:32 +00:00
</div>
2023-05-25 09:22:21 +00:00
</div>
</div>
2023-05-26 08:59:32 +00:00
2023-05-25 09:22:21 +00:00
<div class="row mb-1">
2023-05-26 08:59:32 +00:00
<label for="offenseType" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물</label>
<div class="col-sm-2">
<div class="input-group w-auto">
<select class="form-select w-30 form-select-sm" id="offenseSelector">
<option value="1" th:selected="${shipInfo.offenseType eq null}">없음</option>
<option value="2" th:selected="${shipInfo.offenseType ne null}">직접입력</option>
2023-05-26 08:59:32 +00:00
</select>
<input type="text" class="form-control w-40 form-control-sm offenseInput" id="offenseType" name="offenseType" placeholder="범칙물" th:value="${shipInfo.offenseType}" th:disabled="${shipInfo.offenseType eq null}">
<input type="text" class="form-control w-30 form-control-sm offenseInput" id="offenseWeight" name="offenseWeight" placeholder="000kg" th:value="${shipInfo.offenseWeight>0?shipInfo.offenseWeight:''}" th:disabled="${shipInfo.offenseType eq null}">
2023-05-26 08:59:32 +00:00
</div>
</div>
<label for="offenseIllegalWasteQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 폐기량</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm offenseInput" id="offenseIllegalWasteQuantity" name="offenseIllegalWasteQuantity" placeholder="000kg" th:value="${shipInfo.offenseIllegalWasteQuantity>0?shipInfo.offenseIllegalWasteQuantity:''}" th:disabled="${shipInfo.offenseType eq null}">
2023-05-26 08:59:32 +00:00
</div>
<label for="offenseQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 위판량</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm offenseInput" id="offenseQuantity" name="offenseQuantity" placeholder="000kg" th:value="${shipInfo.offenseQuantity>0?shipInfo.offenseQuantity:''}" th:disabled="${shipInfo.offenseType eq null}">
2023-05-26 08:59:32 +00:00
</div>
<label for="offenseAmount" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">범칙물 위판금액</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm offenseInput" id="offenseAmount" name="offenseAmount" placeholder="단위: 만원" th:value="${shipInfo.offenseAmount>0?shipInfo.offenseAmount:''}" th:disabled="${shipInfo.offenseType eq null}">
2023-05-26 08:59:32 +00:00
</div>
</div>
<div class="row mb-1">
<label for="damboUnpaidAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 미납액</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm " id="damboUnpaidAmount" name="damboUnpaidAmount" placeholder="단위: 만원" th:value="${shipInfo.damboUnpaidAmount>0?shipInfo.damboUnpaidAmount:''}">
2023-05-26 08:59:32 +00:00
</div>
<label for="damboPayment" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 납부액</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm " id="damboPayment" name="damboPayment" placeholder="단위: 만원" th:value="${shipInfo.damboPayment>0?shipInfo.damboPayment:''}">
2023-05-26 08:59:32 +00:00
</div>
<label for="paymentPaymentDt" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label>
2023-05-26 08:59:32 +00:00
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm dateSelector" id="paymentPaymentDt" name="paymentPaymentDt" placeholder="yyyy-mm-dd" th:value="${#temporals.format(shipInfo.paymentPaymentDt, 'yyyy-MM-dd')}" autocomplete="off">
2023-05-25 09:22:21 +00:00
</div>
2023-05-26 08:59:32 +00:00
</div>
<div class="row mb-1">
<label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label>
2023-05-25 09:22:21 +00:00
<div class="col-sm-5">
2023-05-26 08:59:32 +00:00
<div class="input-group w-auto"
th:with="confiscationFlag=${shipInfo.confiscationFrame ne null ||
shipInfo.confiscationWidth ne null ||
shipInfo.confiscationJo ne null ||
shipInfo.confiscationGae ne null ||
shipInfo.confiscationEtc ne null}">
<select class="form-select form-select-sm" id="confiscationSelector">
2023-05-26 08:59:32 +00:00
<option value="1" th:selected="${!confiscationFlag}">없음</option>
<option value="2" th:selected="${confiscationFlag}">수량기입</option>
</select>
<input type="text" class="form-control form-control-sm confiscationInput" id="confiscationFrame" name="confiscationFrame" placeholder="틀" th:value="${shipInfo.confiscationFrame}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm confiscationInput" id="confiscationWidth" name="confiscationWidth" placeholder="폭" th:value="${shipInfo.confiscationWidth}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm confiscationInput" id="confiscationJo" name="confiscationJo" placeholder="조" th:value="${shipInfo.confiscationJo}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm confiscationInput" id="confiscationGae" name="confiscationGae" placeholder="개" th:value="${shipInfo.confiscationGae}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm confiscationInput" id="confiscationEtc" name="confiscationEtc" placeholder="기타" th:value="${shipInfo.confiscationEtc}" th:disabled="${!confiscationFlag}">
2023-05-25 09:22:21 +00:00
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer bg-light">
<button type="button" class="btn btn-warning saveEditInfoBtn" data-status="DST001">임시저장</button>
<button type="button" class="btn btn-primary saveEditInfoBtn" data-status="DST007">저장</button>
</div>