<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="dateUtil" uri="http://egovframework.go.kr/functions/date-util" %>

<div class="popup_wrap">
    <div class="popup_inner">
        <div class="popup_tit">
            <h2 class="tit">자동차 기본사항 정보</h2>
            <a href="#" class="pop-x-btn modalclose"></a>
        </div>
        <div class="popup_con">
            <div class="forms_table_non">
                <table>
                    <colgroup>
                        <col style="width: 20%;" />
                        <col style="width: 30%;" />
                        <col style="width: 20%;" />
                        <col style="width: 30%;" />
                    </colgroup>
                    <tr>
                        <th class="th">연계결과코드</th>
                        <td id="cntcResultCode">${data.cntcResultCode}</td>
                        <th class="th">연계결과상세</th>
                        <td id="cntcResultDtls">${data.cntcResultDtls}</td>
                    </tr>
                    <tr>
                        <th class="th">생산년도</th>
                        <td id="prye">${data.prye}</td>
                        <th class="th">등록일자</th>
                        <td id="registDe">${data.registDe}</td>
                    </tr>
                    <tr>
                        <th class="th">말소등록구분코드</th>
                        <td id="ersrRegistSeCode">${data.ersrRegistSeCode}</td>
                        <th class="th">말소등록구분명</th>
                        <td id="ersrRegistSeNm">${data.ersrRegistSeNm}</td>
                    </tr>
                    <tr>
                        <th class="th">말소등록일자</th>
                        <td id="ersrRegistDe">${data.ersrRegistDe}</td>
                        <th class="th">등록상세코드</th>
                        <td id="registDetailCode">${data.registDetailCode}</td>
                    </tr>
                    <tr>
                        <th class="th">배기량</th>
                        <td id="dsplvl">${data.dsplvl}</td>
                        <th class="th">사용본거지법정동코드</th>
                        <td id="useStrnghldLegaldongCode">${data.useStrnghldLegaldongCode}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지행정동코드</th>
                        <td id="useStrnghldAdstrdCode">${data.useStrnghldAdstrdCode}</td>
                        <th class="th">사용본거지산</th>
                        <td id="useStrnghldMntn">${data.useStrnghldMntn}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지번지</th>
                        <td id="useStrnghldLnbr">${data.useStrnghldLnbr}</td>
                        <th class="th">사용본거지호</th>
                        <td id="useStrnghldHo">${data.useStrnghldHo}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지주소명</th>
                        <td id="useStrnghldAdresNm">${data.useStrnghldAdresNm}</td>
                        <th class="th">사용본거지도로명코드</th>
                        <td id="useStrnghldRoadNmCode">${data.useStrnghldRoadNmCode}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지지하건물구분코드</th>
                        <td id="usgsrhldUndgrndBuldSeCode">${data.usgsrhldUndgrndBuldSeCode}</td>
                        <th class="th">사용본거지건물본번</th>
                        <td id="useStrnghldBuldMainNo">${data.useStrnghldBuldMainNo}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지건물부번</th>
                        <td id="useStrnghldBuldSubNo">${data.useStrnghldBuldSubNo}</td>
                        <th class="th">사용본거지우편번호코드</th>
                        <td id="useStrnghldGrcCode">${data.useStrnghldGrcCode}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지주소전체</th>
                        <td colspan="3" id="usgsrhldAdresFull">${data.usgsrhldAdresFull}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자구분코드</th>
                        <td id="mberSeCode">${data.mberSeCode}</td>
                        <th class="th">소유자명</th>
                        <td id="mberNm">${data.mberNm}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자구분번호</th>
                        <td id="mberSeNo">${data.mberSeNo}</td>
                        <th class="th">전화번호</th>
                        <td id="telno">${data.telno}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자법정동코드</th>
                        <td id="ownerLegaldongCode">${data.ownerLegaldongCode}</td>
                        <th class="th">소유자행정동코드</th>
                        <td id="ownerAdstrdCode">${data.ownerAdstrdCode}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자산</th>
                        <td id="ownerMntn">${data.ownerMntn}</td>
                        <th class="th">소유자번지</th>
                        <td id="ownerLnbr">${data.ownerLnbr}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자호</th>
                        <td id="ownerHo">${data.ownerHo}</td>
                        <th class="th">소유자주소명</th>
                        <td id="ownerAdresNm">${data.ownerAdresNm}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자도로명코드</th>
                        <td id="ownerRoadNmCode">${data.ownerRoadNmCode}</td>
                        <th class="th">소유자지하건물구분코드</th>
                        <td id="ownerUndgrndBuldSeCode">${data.ownerUndgrndBuldSeCode}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자건물본번</th>
                        <td id="ownerBuldMainNo">${data.ownerBuldMainNo}</td>
                        <th class="th">소유자건물부번</th>
                        <td id="ownerBuldSubNo">${data.ownerBuldSubNo}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자주소전체</th>
                        <td colspan="3" id="ownrWholaddr">${data.ownrWholaddr}</td>
                    </tr>
                    <tr>
                        <th class="th">변경후차량번호</th>
                        <td id="aftrVhrno">${data.aftrVhrno}</td>
                        <th class="th">사용연료코드</th>
                        <td id="useFuelCode">${data.useFuelCode}</td>
                    </tr>
                    <tr>
                        <th class="th">용도구분코드</th>
                        <td id="prposSeCode">${data.prposSeCode}</td>
                        <th class="th">제작사명</th>
                        <td id="mtrsFomNm">${data.mtrsFomNm}</td>
                    </tr>
                    <tr>
                        <th class="th">변경전차량번호</th>
                        <td id="frntVhrno">${data.frntVhrno}</td>
                        <th class="th">차량번호</th>
                        <td id="vhrno">${data.vhrno}</td>
                    </tr>
                    <tr>
                        <th class="th">차대번호</th>
                        <td id="vin">${data.vin}</td>
                        <th class="th">차명</th>
                        <td id="cnm">${data.cnm}</td>
                    </tr>
                    <tr>
                        <th class="th">차량총중량</th>
                        <td id="vhcleTotWt">${data.vhcleTotWt}</td>
                        <th class="th">자동차보험종료일자</th>
                        <td id="caagEndde">${data.caagEndde}</td>
                    </tr>
                    <tr>
                        <th class="th">변경일자</th>
                        <td id="changeDe">${data.changeDe}</td>
                        <th class="th">차종분류코드</th>
                        <td id="vhctyAsortCode">${data.vhctyAsortCode}</td>
                    </tr>
                    <tr>
                        <th class="th">차종유형코드</th>
                        <td id="vhctyTyCode">${data.vhctyTyCode}</td>
                        <th class="th">차종구분코드</th>
                        <td id="vhctySeCode">${data.vhctySeCode}</td>
                    </tr>
                    <tr>
                        <th class="th">최대적재량</th>
                        <td id="mxmmLdg">${data.mxmmLdg}</td>
                        <th class="th">차종분류명</th>
                        <td id="vhctyAsortNm">${data.vhctyAsortNm}</td>
                    </tr>
                    <tr>
                        <th class="th">차종유형명</th>
                        <td id="vhctyTyNm">${data.vhctyTyNm}</td>
                        <th class="th">차종구분명</th>
                        <td id="vhctySeNm">${data.vhctySeNm}</td>
                    </tr>
                    <tr>
                        <th class="th">최초등록일자</th>
                        <td id="frstRegistDe">${data.frstRegistDe}</td>
                        <th class="th">형식명</th>
                        <td id="fomNm">${data.fomNm}</td>
                    </tr>
                    <tr>
                        <th class="th">취득일자</th>
                        <td id="acqsDe">${data.acqsDe}</td>
                        <th class="th">취득종료일자</th>
                        <td id="acqsEndDe">${data.acqsEndDe}</td>
                    </tr>
                    <tr>
                        <th class="th">연식월</th>
                        <td id="yblMd">${data.yblMd}</td>
                        <th class="th">이전등록일자</th>
                        <td id="transrRegistDe">${data.transrRegistDe}</td>
                    </tr>
                    <tr>
                        <th class="th">특정등록상태코드</th>
                        <td id="spcfRegistSttusCode">${data.spcfRegistSttusCode}</td>
                        <th class="th">색상명</th>
                        <td id="colorNm">${data.colorNm}</td>
                    </tr>
                    <tr>
                        <th class="th">저당건수</th>
                        <td id="mrtgCo">${data.mrtgCo}</td>
                        <th class="th">압류건수</th>
                        <td id="seizrCo">${data.seizrCo}</td>
                    </tr>
                    <tr>
                        <th class="th">압인건수</th>
                        <td id="stmdCo">${data.stmdCo}</td>
                        <th class="th">번호판보관여부</th>
                        <td id="nmplCsdyAt">${data.nmplCsdyAt}</td>
                    </tr>
                    <tr>
                        <th class="th">번호판보관반납일자</th>
                        <td id="nmplCsdyRemnrDe">${data.nmplCsdyRemnrDe}</td>
                        <th class="th">원산지구분코드</th>
                        <td id="originSeCode">${data.originSeCode}</td>
                    </tr>
                    <tr>
                        <th class="th">번호판규격코드</th>
                        <td id="nmplStndrdCode">${data.nmplStndrdCode}</td>
                        <th class="th">취득금액</th>
                        <td id="acqsAmount">${data.acqsAmount}</td>
                    </tr>
                    <tr>
                        <th class="th">검사유효기간시작일자</th>
                        <td id="insptValidPdBgnde">${data.insptValidPdBgnde}</td>
                        <th class="th">검사유효기간종료일자</th>
                        <td id="insptValidPdEndde">${data.insptValidPdEndde}</td>
                    </tr>
                    <tr>
                        <th class="th">화물차승차정원수</th>
                        <td id="tkcarPscapCo">${data.tkcarPscapCo}</td>
                        <th class="th">사양번호</th>
                        <td id="spmnno">${data.spmnno}</td>
                    </tr>
                    <tr>
                        <th class="th">주행거리</th>
                        <td id="trvlDstnc">${data.trvlDstnc}</td>
                        <th class="th">최초등록신청번호</th>
                        <td id="frstRegistRqrcno">${data.frstRegistRqrcno}</td>
                    </tr>
                    <tr>
                        <th class="th">자진말소예방공지일자</th>
                        <td id="vlntErsrPrvntcNticeDe">${data.vlntErsrPrvntcNticeDe}</td>
                        <th class="th">등록기관명</th>
                        <td id="registInsttNm">${data.registInsttNm}</td>
                    </tr>
                    <tr>
                        <th class="th">처리불가사유코드</th>
                        <td id="processImprtyResnCode">${data.processImprtyResnCode}</td>
                        <th class="th">처리불가사유상세</th>
                        <td id="processImprtyResnDtls">${data.processImprtyResnDtls}</td>
                    </tr>
                    <tr>
                        <th class="th">차체길이</th>
                        <td id="cbdLt">${data.cbdLt}</td>
                        <th class="th">차체너비</th>
                        <td id="cbdBt">${data.cbdBt}</td>
                    </tr>
                    <tr>
                        <th class="th">차체높이</th>
                        <td id="cbdHg">${data.cbdHg}</td>
                        <th class="th">최초최대적재량</th>
                        <td id="frstMxmmLdg">${data.frstMxmmLdg}</td>
                    </tr>
                    <tr>
                        <th class="th">연료소비율</th>
                        <td id="fuelCnsmpRt">${data.fuelCnsmpRt}</td>
                        <th class="th">전기복합연료소비율</th>
                        <td id="elctyCmpndFuelCnsmpRt">${data.elctyCmpndFuelCnsmpRt}</td>
                    </tr>
                </table>
            </div>
        </div>

        <!-- 팝업 버튼 -->
        <div class="popup_foot">
            <a href="#" class="newbtns bg2 modalclose">닫기</a>
        </div>
    </div>
</div>

<script type="text/javascript">
    (function(window, $) {
        'use strict';

        var BasicInfoPopup = {
            /**
             * 이벤트 바인딩
             */
            bindEvents: function() {
                // 팝업 닫기
                $(".modalclose").on('click', function(e) {
                    e.preventDefault();
                    window.close();
                });
            },

            /**
             * 초기화
             */
            init: function() {
                this.bindEvents();
            }
        };

        // DOM 준비 완료 시 초기화
        $(document).ready(function() {
            BasicInfoPopup.init();
        });

    })(window, jQuery);
</script>
