177 lines
12 KiB
HTML
177 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
<div class="modal-header bg-dark">
|
|
<h5 class="modal-title text-white" id="issEditModalLabel" th:text="|불법조업 외국어선 정보 ${illegalShipInfo.fbKey eq null?'작성':'수정'}|"></h5>
|
|
<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="fbEditForm">
|
|
<input type="hidden" name="fbKey" id="fbKey" th:value="${illegalShipInfo.fbKey}">
|
|
<input type="hidden" class="status" name="status" id="infoStatus" th:value="${illegalShipInfo.status}">
|
|
<input type="hidden" name="wrtOrgan" th:value="${illegalShipInfo.wrtOrgan}">
|
|
<input type="hidden" name="wrtPart" th:value="${illegalShipInfo.wrtPart}">
|
|
<input type="hidden" name="wrtUserSeq" th:value="${illegalShipInfo.wrtUserSeq}">
|
|
<input type="hidden" name="wrtUserGrd" th:value="${illegalShipInfo.wrtUserGrd}">
|
|
<input type="hidden" name="wrtUserNm" th:value="${illegalShipInfo.wrtUserNm}">
|
|
<input type="hidden" name="wrtDt" th:value="${#temporals.format(illegalShipInfo.wrtDt, 'yyyy-MM-dd HH:mm:ss')}">
|
|
<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">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control form-control-sm " id="caseNum" name="caseNum">
|
|
<input type="button" class="btn btn-sm btn-outline-primary w-auto" id="selectCrackdownInfoBtn" value="불러오기">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<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" placeholder="한글" th:value="${illegalShipInfo.boatNameKr}">
|
|
<input type="text" class="form-control form-control-sm " id="boatNameCn" name="boatNameCn" placeholder="중문" th:value="${illegalShipInfo.boatNameCn}">
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-1"></div>
|
|
<!--<label for="violationSelector" class="col-sm-1 col-form-label col-form-label-sm text-center">위반사항</label>
|
|
<div class="col-sm-1">
|
|
<select class="form-select form-select-sm" id="violationSelector">
|
|
<option value="">선택</option>
|
|
<th:block th:each="code:${vtList}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="row" id="violationDiv">
|
|
<th:block th:each="violation:${violationList}">
|
|
<div class="col-6 violation">
|
|
<input type="hidden" class="form-control form-control-sm violationCd" th:value="${violation.violation}">
|
|
<div class="input-group w-auto">
|
|
<th:block th:each="code:${vtList}">
|
|
<input type="text" class="form-control form-control-sm" th:if="${code.itemCd eq violation.violation}" th:value="${code.itemValue}">
|
|
</th:block>
|
|
<button type="button" class="btn btn-sm btn-outline-secondary opacity-75 violationRemoveBtn">
|
|
<i class="bi bi-dash-square text-danger"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</th:block>
|
|
</div>
|
|
</div>-->
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="permitNum" 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="permitNum" name="permitNum" th:value="${illegalShipInfo.permitNum}">
|
|
</div>
|
|
<label for="nationality" 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="nationality" name="nationality" th:value="${illegalShipInfo.nationality}">
|
|
</div>
|
|
<label for="sailorCnt" 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="sailorCnt" name="sailorCnt" placeholder="0인" th:value="${illegalShipInfo.sailorCnt>0?illegalShipInfo.sailorCnt:''}">
|
|
</div>
|
|
<label for="tonCnt" 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="tonCnt" name="tonCnt" placeholder="000.00t" th:value="${illegalShipInfo.tonCnt>0?illegalShipInfo.tonCnt:''}">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="fisheryType" class="col-sm-1 col-form-label col-form-label-sm text-center">선종</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-select form-select-sm " id="fisheryType" name="fisheryType">
|
|
<option value="">선택</option>
|
|
<th:block th:each="code:${ftList}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq illegalShipInfo.fisheryType}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<label for="boatMaterial" class="col-sm-1 col-form-label col-form-label-sm text-center">선질</label>
|
|
<div class="col-sm-2">
|
|
<select class="form-select form-select-sm " id="boatMaterial" name="boatMaterial">
|
|
<option value="">선택</option>
|
|
<th:block th:each="code:${bmList}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq illegalShipInfo.boatMaterial}"></option>
|
|
</th:block>
|
|
</select>
|
|
</div>
|
|
<label for="boatNnySung" 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">
|
|
<input type="text" class="form-control form-control-sm " id="boatNnySung" name="boatNnySung" placeholder="성" th:value="${illegalShipInfo.boatNnySung}">
|
|
<input type="text" class="form-control form-control-sm " id="boatNnySi" name="boatNnySi" placeholder="시" th:value="${illegalShipInfo.boatNnySi}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row mb-1">
|
|
<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 oxSelector" id="offenseSelector">
|
|
<option value="1" th:selected="${illegalShipInfo.offenseType eq null}">없음</option>
|
|
<option value="2" th:selected="${illegalShipInfo.offenseType ne null}">직접입력</option>
|
|
</select>
|
|
<input type="text" class="form-control w-40 form-control-sm " id="offenseType" name="offenseType" placeholder="범칙물" th:value="${illegalShipInfo.offenseType}" th:disabled="${illegalShipInfo.offenseType eq null}">
|
|
<input type="text" class="form-control w-30 form-control-sm " id="offenseWeight" name="offenseWeight" placeholder="000kg" th:value="${illegalShipInfo.offenseWeight>0?illegalShipInfo.offenseWeight:''}" th:disabled="${illegalShipInfo.offenseType eq null}">
|
|
</div>
|
|
</div>
|
|
<label for="offenseIllegalWasteQuantity" 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="offenseIllegalWasteQuantity" name="offenseIllegalWasteQuantity" placeholder="000kg" th:value="${illegalShipInfo.offenseIllegalWasteQuantity>0?illegalShipInfo.offenseIllegalWasteQuantity:''}" th:disabled="${illegalShipInfo.offenseType eq null}">
|
|
</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 " id="offenseQuantity" name="offenseQuantity" placeholder="000kg" th:value="${illegalShipInfo.offenseQuantity>0?illegalShipInfo.offenseQuantity:''}" th:disabled="${illegalShipInfo.offenseType eq null}">
|
|
</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 " id="offenseAmount" name="offenseAmount" placeholder="단위: 만원" th:value="${illegalShipInfo.offenseAmount>0?illegalShipInfo.offenseAmount:''}" th:disabled="${illegalShipInfo.offenseType eq null}">
|
|
</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="${illegalShipInfo.damboUnpaidAmount>0?illegalShipInfo.damboUnpaidAmount:''}">
|
|
</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="${illegalShipInfo.damboPayment>0?illegalShipInfo.damboPayment:''}">
|
|
</div>
|
|
<label for="paymentPaymentDate" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label>
|
|
<div class="col-sm-2">
|
|
<input type="hidden" id="paymentPaymentDt" name="paymentPaymentDt" th:value="${#temporals.format(illegalShipInfo.paymentPaymentDt, 'yyyy-MM-dd hh:mm')}">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control form-control-sm dateSelector" id="paymentPaymentDate" placeholder="yyyy-mm-dd" th:value="${#temporals.format(illegalShipInfo.paymentPaymentDt, 'yyyy-MM-dd')}" autocomplete="off">
|
|
<input type="text" class="form-control form-control-sm timeInputer" id="paymentPaymentTime" placeholder="hh:mm" th:value="${#temporals.format(illegalShipInfo.paymentPaymentDt, 'HH:mm')}" autocomplete="off">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label>
|
|
<div class="col-sm-5">
|
|
<div class="input-group w-auto"
|
|
th:with="confiscationFlag=${illegalShipInfo.confiscationFrame ne null ||
|
|
illegalShipInfo.confiscationWidth ne null ||
|
|
illegalShipInfo.confiscationJo ne null ||
|
|
illegalShipInfo.confiscationGae ne null ||
|
|
illegalShipInfo.confiscationEtc ne null}">
|
|
<select class="form-select form-select-sm oxSelector">
|
|
<option value="1" th:selected="${!confiscationFlag}">없음</option>
|
|
<option value="2" th:selected="${confiscationFlag}">수량기입</option>
|
|
</select>
|
|
<input type="text" class="form-control form-control-sm " id="confiscationFrame" name="confiscationFrame" placeholder="틀" th:value="${illegalShipInfo.confiscationFrame}" th:disabled="${!confiscationFlag}">
|
|
<input type="text" class="form-control form-control-sm " id="confiscationWidth" name="confiscationWidth" placeholder="폭" th:value="${illegalShipInfo.confiscationWidth}" th:disabled="${!confiscationFlag}">
|
|
<input type="text" class="form-control form-control-sm " id="confiscationJo" name="confiscationJo" placeholder="조" th:value="${illegalShipInfo.confiscationJo}" th:disabled="${!confiscationFlag}">
|
|
<input type="text" class="form-control form-control-sm " id="confiscationGae" name="confiscationGae" placeholder="개" th:value="${illegalShipInfo.confiscationGae}" th:disabled="${!confiscationFlag}">
|
|
<input type="text" class="form-control form-control-sm " id="confiscationEtc" name="confiscationEtc" placeholder="기타" th:value="${illegalShipInfo.confiscationEtc}" th:disabled="${!confiscationFlag}">
|
|
</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> |