ERP-node/WebContent/WEB-INF/view/materMgmt/surtaxDetail.jsp

110 lines
3.9 KiB
Plaintext
Raw Normal View History

2025-08-21 09:41:46 +09:00
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="com.pms.common.utils.*"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page import="java.util.*" %>
<%@include file= "/init.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%=Constants.SYSTEM_NAME%></title>
<script>
$(document).ready(function() {
//닫기
$("#btnClose").click(function(){
self.close(0);
});
});
function fn_surTaxDetail(objId){
var _width = '300';
var _height = '370';
var _left = Math.ceil(( window.screen.width - _width )/2);
var _top = Math.ceil(( window.screen.width - _height )/2);
window.open("/materMgmt/surtaxInfoSave.do?objId="+objId, "", 'width=470, height=370, left=' + _left);
}
</script>
</head>
<body>
<form name="form1" id="form1" action="" method="post">
<section sytle="">
<div class="plm_menu_name">
<h2>
<span>부가세 작성 리스트</span>
</h2>
</div>
<section class="contents_page_basic_margin">
<div style="height:400px; overflow-y: scroll; margin-top:10px;">
<div class="plm_table_wrap" style="margin-top:10px;">
<!-- <span class="r_title_back">공통</span> -->
<%-- <span class="r_title_back btnGanttChart" style="cursor:pointer;" data-PROJECT_OBJID="${param.objId}" data-GATE="1">Gantt Chart</span> --%>
<table class="plm_table wbs_left_align">
<colgroup>
<col width="3%">
<col width="4%">
<col width="7%">
<col width="8%">
<col width="8%">
<col width="*">
<col width="4%">
<col width="10%">
<col width="10%">
<col width="10%">
<col width="10%">
</colgroup>
<thead>
<tr class="plm_sub_thead">
<td>순</td>
<td>구분</td>
<td>Project No.</td>
<td>고객사명</td>
<td>Date</td>
<td>제목</td>
<td>수량</td>
<td>단가</td>
<td>공급금액</td>
<td>세액</td>
<td>합계</td>
</tr>
</thead>
<tbody class="font_white">
<c:choose>
<c:when test="${empty LIST}">
<tr style="text-align:center;">
<td align="center" colspan="12">조회된 데이터가 없습니다.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach var="item" items="${LIST}" varStatus="status">
<tr>
<td class='align_c'>${status.count}</td>
<td class='align_c' title="${item.REGION_CD}">${item.REGION_CD}</td>
<td class='align_c' title="${item.PROJECT_NO}">${item.PROJECT_NO}</td>
<td class='align_c' title="${item.CUSTOMER_CD}">${item.CUSTOMER_CD}</td>
<td class='align_c' title="${item.REG_DATE}">${item.REG_DATE}</td>
<td class='align_c' title="${item.TITLE}"><a href="#" onclick="javascript:fn_surTaxDetail('${item.OBJID}')">${item.TITLE}</a></td>
<td class='align_c' title="${item.QTY}">${item.QTY}</td>
<td class="align_r" title="${item.PRICE}"><fmt:formatNumber value="${item.PRICE}" pattern="#,###" type="number" /></td>
<td class="align_r" title="${item.SUP_PRICE}"><fmt:formatNumber value="${item.SUP_PRICE}" pattern="#,###" type="number" /></td>
<td class="align_r" title="${item.SUR_PRICE}"><fmt:formatNumber value="${item.SUR_PRICE}" pattern="#,###" type="number" /></td>
<td class="align_r" title="${item.TOTAL_PRICE}"><fmt:formatNumber value="${item.TOTAL_PRICE}" pattern="#,###" type="number" /></td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
</section>
<div class="btn_wrap">
<div class="plm_btn_wrap_center">
<input type="button" value="닫기" id="btnClose" class="plm_btns">
</div>
</div>
</section>
</form>
</body>
</html>