158 lines
12 KiB
HTML
158 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="isiEditModalLabel" th:text="|불법조업 외국어선 정보 ${shipInfo.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="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')}">
|
|
<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="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}">
|
|
<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-2">
|
|
<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}">
|
|
</div>
|
|
</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="${shipInfo.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="${shipInfo.sailorCnt>0?shipInfo.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="${shipInfo.tonCnt>0?shipInfo.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:${session.commonCode.get('FT')}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq shipInfo.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:${session.commonCode.get('BM')}">
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq shipInfo.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="${shipInfo.boatNnySung}">
|
|
<input type="text" class="form-control form-control-sm " id="boatNnySi" name="boatNnySi" placeholder="시" th:value="${shipInfo.boatNnySi}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="napoDate" 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="hidden" name="napoDt" id="napoDt" th:value="${#temporals.format(shipInfo.napoDt, 'yyyy-MM-dd HH:mm')}">
|
|
<input type="text" class="form-control form-control-sm dateSelector" id="napoDate" placeholder="yyyy-mm-dd" th:value="${#temporals.format(shipInfo.napoDt, 'yyyy-MM-dd')}" autocomplete="off">
|
|
<input type="text" class="form-control form-control-sm timeInputer" id="napoTime" placeholder="hh:mm" th:value="${#temporals.format(shipInfo.napoDt, 'HH:mm')}" autocomplete="off">
|
|
</div>
|
|
</div>
|
|
<label for="napoSeaPointLon" 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">
|
|
<input type="text" class="form-control form-control-sm w-25 " id="napoSeaPointLon" name="napoSeaPointLon" placeholder="00 . 00 . 00N" th:value="${shipInfo.napoSeaPointLon}">
|
|
<input type="text" class="form-control form-control-sm w-25 " id="napoSeaPointLat" name="napoSeaPointLat" placeholder="000-00.00E" th:value="${shipInfo.napoSeaPointLat}">
|
|
<input type="text" class="form-control form-control-sm w-50 " id="napoSeaPointDetail" name="napoSeaPointDetail" placeholder="00도 00방 00해리, 어업협정선 내측 00해리" th:value="${shipInfo.napoSeaPointDetail}">
|
|
</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" id="offenseSelector">
|
|
<option value="1" th:selected="${shipInfo.offenseType eq null}">없음</option>
|
|
<option value="2" th:selected="${shipInfo.offenseType ne null}">직접입력</option>
|
|
</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}">
|
|
</div>
|
|
</div>
|
|
<label for="offenseDisposal" 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="offenseDisposal" name="offenseDisposal" placeholder="000kg" th:value="${shipInfo.offenseDisposal>0?shipInfo.offenseDisposal:''}" th:disabled="${shipInfo.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 offenseInput" id="offenseQuantity" name="offenseQuantity" placeholder="000kg" th:value="${shipInfo.offenseQuantity>0?shipInfo.offenseQuantity:''}" th:disabled="${shipInfo.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 offenseInput" id="offenseAmount" name="offenseAmount" placeholder="단위: 원" th:value="${shipInfo.offenseAmount>0?shipInfo.offenseAmount:''}" th:disabled="${shipInfo.offenseType eq null}">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="depositUnpaid" 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="depositUnpaid" name="depositUnpaid" placeholder="단위: 원" th:value="${shipInfo.depositUnpaid>0?shipInfo.depositUnpaid:''}">
|
|
</div>
|
|
<label for="depositPayment" 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="depositPayment" name="depositPayment" placeholder="단위: 원" th:value="${shipInfo.depositPayment>0?shipInfo.depositPayment:''}">
|
|
</div>
|
|
<label for="depositPaymentDt" 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 dateSelector" id="depositPaymentDt" name="depositPaymentDt" placeholder="yyyy-mm-dd" th:value="${#temporals.format(shipInfo.depositPaymentDt, 'yyyy-MM-dd')}" autocomplete="off">
|
|
</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=${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">
|
|
<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}">
|
|
</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> |