Compare commits

..

1 Commits

Author SHA1 Message Date
leeheejin
03e59664ab auto commit 2025-11-11 13:52:56 +09:00
2 changed files with 13 additions and 13 deletions

View File

@@ -139,18 +139,6 @@
<script type="text/javascript">
// 새로운 테이블 구조에 맞게 컬럼 정의 수정
var columns = [
{
formatter: "rowSelection",
titleFormatter: "rowSelection",
headerHozAlign: 'center',
hozAlign: 'center',
width: 50,
frozen: true,
headerSort: false,
cellClick: function(e, cell){
e.stopPropagation();
}
},
{headerHozAlign : 'center', hozAlign : 'center', width : '120', title : '프로젝트번호', field : 'PROJECT_NO', frozen : true,
formatter: fnc_createGridAnchorTag,
cellClick: function(e, cell){

View File

@@ -33,6 +33,18 @@
// 판매환종 초기값 설정 (견적환종과 동기화)
initializeSalesCurrency();
// 페이지 로드 시 금액 자동 계산 (수주 데이터가 있을 때)
setTimeout(function() {
var quantity = parseFloat($("#salesQuantity").val()) || 0;
var unitPrice = parseFloat($("#salesUnitPrice").val()) || 0;
// 수주 데이터가 있으면 자동 계산
if(quantity > 0 || unitPrice > 0) {
fn_calculateSupplyPrice();
console.log("페이지 로드 시 금액 자동 계산 완료");
}
}, 500);
// S/N 필드 클릭 이벤트
$("#serialNo").click(function() {
fn_openSnManagePopup();
@@ -681,7 +693,7 @@
<tr>
<td class="input_title"><label for="salesVat">판매부가세</label></td>
<td>
<input type="number" name="salesVat" id="salesVat" value="${saleInfo.SALES_VAT}" readonly style="background-color:#f5f5f5;" />
<input type="number" name="salesVat" id="salesVat" value="${saleInfo.SALES_VAT}" onchange="fn_calculateTotalAmount()" />
</td>
<td class="input_title"><label for="salesTotalAmount">판매총액</label></td>
<td>