설비model 품명이랑 동일하게 표시

This commit is contained in:
2026-03-05 16:34:40 +09:00
parent c7c465e0cf
commit 82e43a2def

View File

@@ -768,6 +768,7 @@ function fn_loadData() {
$("#recipient").val(data.estimate.RECIPIENT || "").trigger('change');
$("#part_name").val(data.estimate.PART_NAME || "");
$("#part_objid").val(data.estimate.PART_OBJID || "");
$("#model_code").val(data.estimate.PART_NAME || "");
// 환종 표시
if(data.estimate.CONTRACT_CURRENCY_NAME) {
@@ -1239,7 +1240,7 @@ function fn_generateAndUploadPdf(callback) {
<!-- 설비 Model 헤더 -->
<div class="model-header">
설비 Model : <span class="editable" style="display: inline-block; min-width: 200px;">
<input type="text" id="model_code" value="RUV-RA500S" style="text-align: center; font-weight: bold;">
<input type="text" id="model_code" value="${not empty items[0] ? items[0].PART_NAME : ''}" style="text-align: center; font-weight: bold;">
</span>
</div>