<%@ 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="linkRsltCd">${data.linkRsltCd}</td>
                        <th class="th">연계결과상세</th>
                        <td id="linkRsltDtl">${data.linkRsltDtl}</td>
                    </tr>
                    <tr>
                        <th class="th">생산년도</th>
                        <td id="yridnw">${data.yridnw}</td>
                        <th class="th">등록일자</th>
                        <td id="regYmd">${data.regYmd}</td>
                    </tr>
                    <tr>
                        <th class="th">말소등록구분코드</th>
                        <td id="ersrRegSeCd">${data.ersrRegSeCd}</td>
                        <th class="th">말소등록구분명</th>
                        <td id="ersrRegSeNm">${data.ersrRegSeNm}</td>
                    </tr>
                    <tr>
                        <th class="th">말소등록일자</th>
                        <td id="ersrRegYmd">${data.ersrRegYmd}</td>
                        <th class="th">등록상세코드</th>
                        <td id="regDtlCd">${data.regDtlCd}</td>
                    </tr>
                    <tr>
                        <th class="th">배기량</th>
                        <td id="dsplvl">${data.dsplvl}</td>
                        <th class="th">사용본거지법정동코드</th>
                        <td id="usgsrhldStdgCd">${data.usgsrhldStdgCd}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지행정동코드</th>
                        <td id="usgsrhldDongCd">${data.usgsrhldDongCd}</td>
                        <th class="th">사용본거지산</th>
                        <td id="usgsrhldMtnYn">${data.usgsrhldMtnYn}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지번지</th>
                        <td id="usgsrhldLnbr">${data.usgsrhldLnbr}</td>
                        <th class="th">사용본거지호</th>
                        <td id="usgsrhldHo">${data.usgsrhldHo}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지주소명</th>
                        <td id="usgsrhldAddrNm">${data.usgsrhldAddrNm}</td>
                        <th class="th">사용본거지도로명코드</th>
                        <td id="usgsrhldRoadNmCd">${data.usgsrhldRoadNmCd}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지지하건물구분코드</th>
                        <td id="usgsrhldUdgdBldgSeCd">${data.usgsrhldUdgdBldgSeCd}</td>
                        <th class="th">사용본거지건물본번</th>
                        <td id="usgsrhldBmno">${data.usgsrhldBmno}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지건물부번</th>
                        <td id="usgsrhldBsno">${data.usgsrhldBsno}</td>
                        <th class="th">사용본거지우편번호코드</th>
                        <td id="usgsrhldGrcCd">${data.usgsrhldGrcCd}</td>
                    </tr>
                    <tr>
                        <th class="th">사용본거지주소전체</th>
                        <td colspan="3" id="usgsrhldWholAddr">${data.usgsrhldWholAddr}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자구분코드</th>
                        <td id="rprsOwnrMbrSeCd">${data.rprsOwnrMbrSeCd}</td>
                        <th class="th">소유자명</th>
                        <td id="rprsOwnrNm">${data.rprsOwnrNm}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자구분번호</th>
                        <td id="rprsvOwnrIdecno">${data.rprsvOwnrIdecno}</td>
                        <th class="th">전화번호</th>
                        <td id="rprsOwnrTelno">${data.rprsOwnrTelno}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자법정동코드</th>
                        <td id="ownrStdgCd">${data.ownrStdgCd}</td>
                        <th class="th">소유자행정동코드</th>
                        <td id="ownrDongCd">${data.ownrDongCd}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자산</th>
                        <td id="ownrMtnYn">${data.ownrMtnYn}</td>
                        <th class="th">소유자번지</th>
                        <td id="ownrLnbr">${data.ownrLnbr}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자호</th>
                        <td id="ownrHo">${data.ownrHo}</td>
                        <th class="th">소유자주소명</th>
                        <td id="ownrAddrNm">${data.ownrAddrNm}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자도로명코드</th>
                        <td id="ownrRoadNmCd">${data.ownrRoadNmCd}</td>
                        <th class="th">소유자지하건물구분코드</th>
                        <td id="ownrUdgdBldgSeCd">${data.ownrUdgdBldgSeCd}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자건물본번</th>
                        <td id="ownrBmno">${data.ownrBmno}</td>
                        <th class="th">소유자건물부번</th>
                        <td id="ownrBsno">${data.ownrBsno}</td>
                    </tr>
                    <tr>
                        <th class="th">소유자주소전체</th>
                        <td colspan="3" id="ownrWholaddr">${data.ownrWholaddr}</td>
                    </tr>
                    <tr>
                        <th class="th">변경후차량번호</th>
                        <td id="rearVhrno">${data.rearVhrno}</td>
                        <th class="th">사용연료코드</th>
                        <td id="useFuelCd">${data.useFuelCd}</td>
                    </tr>
                    <tr>
                        <th class="th">용도구분코드</th>
                        <td id="usgSeCd">${data.usgSeCd}</td>
                        <th class="th">제작사명</th>
                        <td id="mtrsFomNm">${data.mtrsFomNm}</td>
                    </tr>
                    <tr>
                        <th class="th">변경전차량번호</th>
                        <td id="bfrVhrno">${data.bfrVhrno}</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="atmbNm">${data.atmbNm}</td>
                    </tr>
                    <tr>
                        <th class="th">차량총중량</th>
                        <td id="vhclTotlWt">${data.vhclTotlWt}</td>
                        <th class="th">자동차보험종료일자</th>
                        <td id="veagEndYmd">${data.veagEndYmd}</td>
                    </tr>
                    <tr>
                        <th class="th">변경일자</th>
                        <td id="chgYmd">${data.chgYmd}</td>
                        <th class="th">차종분류코드</th>
                        <td id="carmdlAsortCd">${data.carmdlAsortCd}</td>
                    </tr>
                    <tr>
                        <th class="th">차종유형코드</th>
                        <td id="carmdlTypeCd">${data.carmdlTypeCd}</td>
                        <th class="th">차종구분코드</th>
                        <td id="carmdlSeCd">${data.carmdlSeCd}</td>
                    </tr>
                    <tr>
                        <th class="th">최대적재량</th>
                        <td id="mxmmLdg">${data.mxmmLdg}</td>
                        <th class="th">차종분류명</th>
                        <td id="carmdlAsortNm">${data.carmdlAsortNm}</td>
                    </tr>
                    <tr>
                        <th class="th">차종유형명</th>
                        <td id="carmdlTypeNm">${data.carmdlTypeNm}</td>
                        <th class="th">차종구분명</th>
                        <td id="carmdlClsfNm">${data.carmdlClsfNm}</td>
                    </tr>
                    <tr>
                        <th class="th">최초등록일자</th>
                        <td id="frstRegYmd">${data.frstRegYmd}</td>
                        <th class="th">형식명</th>
                        <td id="fomNm">${data.fomNm}</td>
                    </tr>
                    <tr>
                        <th class="th">취득일자</th>
                        <td id="acqsYmd">${data.acqsYmd}</td>
                        <th class="th">취득종료일자</th>
                        <td id="acqsEndYmd">${data.acqsEndYmd}</td>
                    </tr>
                    <tr>
                        <th class="th">연식월</th>
                        <td id="fbctnYmd">${data.fbctnYmd}</td>
                        <th class="th">이전등록일자</th>
                        <td id="transrRegYmd">${data.transrRegYmd}</td>
                    </tr>
                    <tr>
                        <th class="th">특정등록상태코드</th>
                        <td id="spcfRegSttsCd">${data.spcfRegSttsCd}</td>
                        <th class="th">색상명</th>
                        <td id="colorNm">${data.colorNm}</td>
                    </tr>
                    <tr>
                        <th class="th">저당건수</th>
                        <td id="mrtgCnt">${data.mrtgCnt}</td>
                        <th class="th">압류건수</th>
                        <td id="szrCnt">${data.szrCnt}</td>
                    </tr>
                    <tr>
                        <th class="th">압인건수</th>
                        <td id="strctChgCnt">${data.strctChgCnt}</td>
                        <th class="th">번호판보관여부</th>
                        <td id="nopltCsdyYn">${data.nopltCsdyYn}</td>
                    </tr>
                    <tr>
                        <th class="th">번호판보관반납일자</th>
                        <td id="nopltCsdyAvtsmtYmd">${data.nopltCsdyAvtsmtYmd}</td>
                        <th class="th">원산지구분코드</th>
                        <td id="srcSeCd">${data.srcSeCd}</td>
                    </tr>
                    <tr>
                        <th class="th">번호판규격코드</th>
                        <td id="nopltSpcfctCd">${data.nopltSpcfctCd}</td>
                        <th class="th">취득금액</th>
                        <td id="acqsAmt">${data.acqsAmt}</td>
                    </tr>
                    <tr>
                        <th class="th">검사유효기간시작일자</th>
                        <td id="inspVldPdBgngYmd">${data.inspVldPdBgngYmd}</td>
                        <th class="th">검사유효기간종료일자</th>
                        <td id="inspVldPdEndYmd">${data.inspVldPdEndYmd}</td>
                    </tr>
                    <tr>
                        <th class="th">화물차승차정원수</th>
                        <td id="rdcpctCnt">${data.rdcpctCnt}</td>
                        <th class="th">사양번호</th>
                        <td id="spmnno">${data.spmnno}</td>
                    </tr>
                    <tr>
                        <th class="th">주행거리</th>
                        <td id="drvngDstnc">${data.drvngDstnc}</td>
                        <th class="th">최초등록신청번호</th>
                        <td id="frstRegAplyRcptNo">${data.frstRegAplyRcptNo}</td>
                    </tr>
                    <tr>
                        <th class="th">자진말소예방공지일자</th>
                        <td id="vlntErsrPrvntcAvtsmtYmd">${data.vlntErsrPrvntcAvtsmtYmd}</td>
                        <th class="th">등록기관명</th>
                        <td id="ognzNm">${data.ognzNm}</td>
                    </tr>
                    <tr>
                        <th class="th">처리불가사유코드</th>
                        <td id="prcsImprtyRsnCd">${data.prcsImprtyRsnCd}</td>
                        <th class="th">처리불가사유상세</th>
                        <td id="prcsImprtyRsnDtls">${data.prcsImprtyRsnDtls}</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>
