From adf2d3eab32d1831f1bd4b8697c0db786fd7ac1c Mon Sep 17 00:00:00 2001 From: syc0123 Date: Thu, 26 Mar 2026 12:12:29 +0900 Subject: [PATCH] =?UTF-8?q?[RAPID]=20=EC=88=98=EC=A3=BC=ED=86=B5=ED=95=A9?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=ED=92=88=EB=AA=A9=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=86=8C=EC=88=98=EC=A0=90=202=EC=9E=90=EB=A6=AC=20=ED=8F=AC?= =?UTF-8?q?=EB=A7=B7=20=EB=B0=8F=20=EC=9A=B0=EC=B8=A1=EC=A0=95=EB=A0=AC=20?= =?UTF-8?q?=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- .../estimateAndOrderRegistFormPopup.jsp | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/WebContent/WEB-INF/view/contractMgmt/estimateAndOrderRegistFormPopup.jsp b/WebContent/WEB-INF/view/contractMgmt/estimateAndOrderRegistFormPopup.jsp index 5ee83ec..4956b59 100644 --- a/WebContent/WEB-INF/view/contractMgmt/estimateAndOrderRegistFormPopup.jsp +++ b/WebContent/WEB-INF/view/contractMgmt/estimateAndOrderRegistFormPopup.jsp @@ -68,7 +68,7 @@ // 숫자만 입력 처리 $("input:text[numberOnly]").on("keyup", function() { - if($(this).hasClass("item-order-quantity") || $(this).attr("id") === "facility_qty") { + if($(this).attr("id") === "facility_qty") { $(this).val(formatInteger($(this).val().replace(/[^0-9]/g, ""))); } else { $(this).val(fnc_addComma($(this).val().replace(/[^0-9.]/g, ""))); @@ -77,7 +77,7 @@ $("input:text[numberOnly]").on("blur", function() { var val = $(this).val(); if(val && val !== '') { - if($(this).hasClass("item-order-quantity") || $(this).attr("id") === "facility_qty") { + if($(this).attr("id") === "facility_qty") { $(this).val(formatInteger(removeComma(val))); } else { $(this).val(formatMoney(removeComma(val))); @@ -338,30 +338,30 @@ // 수주수량 (Machine이고 프로젝트가 있으면 readonly) html += ''; if(isMachine && hasProject) { - html += ''; + html += ''; } else { - html += ''; + html += ''; } html += ''; - + // 수주단가 html += ''; - html += ''; + html += ''; html += ''; - + // 수주공급가액 (자동계산 + 수정가능) html += ''; - html += ''; + html += ''; html += ''; - + // 수주부가세 (자동계산 + 수정가능) html += ''; - html += ''; + html += ''; html += ''; - + // 수주총액 (자동계산 + 수정가능) html += ''; - html += ''; + html += ''; html += ''; // 삭제 버튼 @@ -450,7 +450,7 @@ } // 수주 정보 설정 - if(existingData.orderQuantity) $("#" + itemId + " .item-order-quantity").val(formatInteger(existingData.orderQuantity)); + if(existingData.orderQuantity) $("#" + itemId + " .item-order-quantity").val(addComma(existingData.orderQuantity)); if(existingData.orderUnitPrice) $("#" + itemId + " .item-order-unit-price").val(addComma(existingData.orderUnitPrice)); if(existingData.orderSupplyPrice) $("#" + itemId + " .item-order-supply-price").val(addComma(existingData.orderSupplyPrice)); if(existingData.orderVat) $("#" + itemId + " .item-order-vat").val(addComma(existingData.orderVat)); @@ -551,22 +551,22 @@ // 수주 정보 (Machine이고 프로젝트가 있으면 수량 readonly) html += ''; if(isMachine && hasProject) { - html += ''; + html += ''; } else { - html += ''; + html += ''; } html += ''; html += ''; - html += ''; + html += ''; html += ''; html += ''; - html += ''; + html += ''; html += ''; html += ''; - html += ''; + html += ''; html += ''; html += ''; - html += ''; + html += ''; html += ''; html += ''; @@ -703,7 +703,7 @@ totalVat += parseFloat(removeComma($(this).find(".item-order-vat").val())) || 0; totalAmount += parseFloat(removeComma($(this).find(".item-order-total-amount").val())) || 0; }); - $("#totalOrderQuantity").text(addCommaInt(totalQty)); + $("#totalOrderQuantity").text(addComma(totalQty)); $("#totalOrderSupplyPrice").text(addComma(totalSupply)); $("#totalOrderVat").text(addComma(totalVat)); $("#totalOrderTotalAmount").text(addComma(totalAmount));