산정률2 오타로 인한 재설정

dev
박성영 3 months ago
parent e8c4e35145
commit 0dec765079

@ -240,7 +240,8 @@
</option>
</c:forEach>
</select><!-- 산정률2 -->
<input type="hidden" id="actCmpttnRt" class="input text-right" value="" readonly/><!-- 산정률2(값) -->
<input type="hidden" id="cmpttnRt2" class="input text-right" value="" readonly/><!-- 산정률2(값) -->
<input type="hidden" id="cmpttnRt2Rate" class="input text-right" value="" readonly/><!-- 산정률2(값) -->
</td>
<td rowspan="2" class="op-cell b-right-0 b-bottom-0">=</td>
<td rowspan="2" class="b-bottom-0"><input type="text" class="input" value=""/><!-- 산정액 --></td>
@ -251,7 +252,7 @@
<input type="text" class="input text-right" id="adsbmtnEnfcRtDisplay" value="100 %" readonly/><!-- 가감산 시행령률, % 표기 -->
</td>
<td class="b-top-0 b-right-0 b-bottom-0">
<input type="text" id="actCmpttnRtDisplay" class="input text-right" value="" readonly/><!-- 산정률2(값) - % 표기 -->
<input type="text" id="cmpttnRt2Display" class="input text-right" value="" readonly/><!-- 산정률2(값) - % 표기 -->
</td>
</tr>
@ -566,8 +567,10 @@
$('#cmpttnRt2Cd').on('change', function () {
var selectedOption = $(this).find('option:selected');
var rateValue = selectedOption.attr('rateValueAttribute');
$('#actCmpttnRt').val(rateValue || '');
$('#actCmpttnRtDisplay').val((rateValue || '') + ' %').trigger('focus');
var rateValue2 = selectedOption.attr('rateValueAttribute2');
$('#cmpttnRt2').val(rateValue || '');
$('#cmpttnRt2Rate').val(rateValue2 || '');
$('#cmpttnRt2Display').val((rateValue || '') + ' %').trigger('focus');
});
// 계산에 사용되는 입력 필드 변경 시 자동 계산 호출

Loading…
Cancel
Save