차종 셀렉트박스 disabled 제거

main
이범준 1 year ago
parent cfbe6fc589
commit 96b5f8e4b8

@ -2,7 +2,7 @@
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<div class="d-flex flex-row justify-content-evenly"> <div class="d-flex flex-row justify-content-evenly">
<div class="card" style="max-width:1100px;" title="단속정보"> <div class="card" style="max-width:1100px;">
<form id="frmEdit--${pageName}"> <form id="frmEdit--${pageName}">
<input type="hidden" id="crdnId-${pageName}" name="crdnId" data-map="CRDN_ID" /> <input type="hidden" id="crdnId-${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="rtpyrId-${pageName}" name="rtpyrId" data-map="RTPYR_ID"/> <input type="hidden" id="rtpyrId-${pageName}" name="rtpyrId" data-map="RTPYR_ID"/>
@ -153,8 +153,10 @@
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="pvs bpv"> <template class="pvs bpv">
<slot> <slot>
<label for="ffnlgCarmdlCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">차종</label> <label for="ffnlgCarmdlCd--${pageName}"
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD" class="form-select" disabled> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD"
class="form-select">
<option value=""></option> <option value=""></option>
<c:forEach items="${FIM009List}" var="item"> <c:forEach items="${FIM009List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -528,9 +530,7 @@ $(document).ready(function(){
} else if(vehicle.vhcty_asort_code == "4"){ //특수 } else if(vehicle.vhcty_asort_code == "4"){ //특수
$("#ffnlgCarmdlCd--${pageName}").val("15"); $("#ffnlgCarmdlCd--${pageName}").val("15");
} else { } else {
//$("#ffnlgCarmdlCd--${pageName}").val("21"); //건설기계 $("#ffnlgCarmdlCd--${pageName}").val("");
//$("#ffnlgCarmdlCd--${pageName}").val("31"); //이륜차
} }

@ -192,8 +192,10 @@
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="pvs bpv"> <template class="pvs bpv">
<slot> <slot>
<label for="ffnlgCarmdlCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label> <label for="ffnlgCarmdlCd--${pageName}"
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD" class="form-select" disabled> class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" data-map="FFNLG_CARMDL_CD"
class="form-select">
<option value=""></option> <option value=""></option>
<c:forEach items="${FIM009List}" var="item"> <c:forEach items="${FIM009List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -952,9 +954,7 @@ $(document).ready(function(){
} else if(vehicle.vhcty_asort_code == "4"){ //특수 } else if(vehicle.vhcty_asort_code == "4"){ //특수
$("#ffnlgCarmdlCd--${pageName}").val("15"); $("#ffnlgCarmdlCd--${pageName}").val("15");
} else { } else {
//$("#ffnlgCarmdlCd--${pageName}").val("21"); //건설기계 $("#ffnlgCarmdlCd--${pageName}").val("");
//$("#ffnlgCarmdlCd--${pageName}").val("31"); //이륜차
} }

Loading…
Cancel
Save