📄 delivallocatreceiptlist.jsp
字号:
<jsp:useBean id="allocat" class="src.wuyang.Allocat" scope="page"/>
<jsp:useBean id="allocatProduct" class="src.wuyang.AllocatProduct" scope="page"/>
<jsp:useBean id="company" class="src.wuyang.Company" scope="page"/>
<jsp:useBean id="product" class="src.wuyang.Production" scope="page"/>
<jsp:useBean id="inventory" class="src.wuyang.Inventory" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>
<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<% }
%>
<html>
<head>
<title>调拨凭证列表</title>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body bgcolor="#949B93" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="1" height="90%" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" >
<tr>
<td valign="top" >
<br><br><blockquote>
<%
String allocatId = request.getParameter("allocatId");
String mode = request.getParameter("mode");
String receiptType = "1";
allocat.load(allocatId);
String companyId = allocat.getSubCompanyId();
int rtcode = company.load(companyId);
if(mode==null){
}else{
%>
<jsp:setProperty name="inventory" property="*" />
<%
inventory.setGlobal(global);
inventory.setReceiptType(1);
rtcode = inventory.update();
}
%>
<table border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0"> <caption align="center" class="textb"><b>调拨申请信息</b></caption>
<tr bgcolor="#949b93">
<td class="text">
<div align="center"><b>状态</b></div>
</td>
<td class="text">
<div align="center"><b>凭证编码</b></div>
</td>
<td class="text">
<div align="center"><b>子公司编码</b></div>
</td>
<td class="text">
<div align="center"><b>子公司名称</b></div>
</td>
</tr>
<tr>
<td class="textb"> 调拨</td>
<td class="textb"><a href="AllocatReceiptDetail.jsp?allocatId=<%=allocatId%>"><%= allocat.getAllocatId() %></a></td>
<td class="textb"><%= allocat.getSubCompanyId() %></td>
<td class="textb"><%=company.getCompanyName()%></td>
</tr>
</table>
<br>
<p>
<table border="1" bordercolorlight="#000000" bordercolordark="#CCCCCC" cellpadding="0" cellspacing="0"> <caption align="center" class="textb"><b>产品列表</b></caption>
<tr>
<td class="text" bgcolor="#949b93">
<div align="center"><b>产品编码</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>产品名称</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>规格/型号</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>包装</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>数量</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>出入库日期</b></div>
</td>
<td class="text" bgcolor="#949b93">
<div align="center"><b>验证/送货单号</b></div>
</td>
<td></td>
</tr>
<%
allocatProduct.load(allocatId);
do{
String productId = allocatProduct.getProductId();
product.load(productId);
System.out.println("%%");
inventory.load(allocatId,receiptType,productId);
%>
<form method="post" action="DelivAllocatReceiptList.jsp?allocatId=<%=allocatId%>">
<input type="hidden" name="mode" value="insert">
<input type="hidden" name="receiptId" value=<%=allocatId%>>
<input type="hidden" name="productId" value=<%=productId%>>
<tr>
<td class="textb"><%= productId%></td>
<td class="textb"><%= product.getProductName() %></td>
<td class="textb"><%= product.getProductDesc() %></td>
<td class="textb"><%= allocatProduct.getPack() %></td>
<td class="textb"><%= allocatProduct.getActQuantity() %></td>
<td class="textb"><%= inventory.getStringDate(inventory.getInventoryDate(),0)%></td>
<td class="textb">
<input type="text" name="huodanNo" value=<%=inventory.getHuodanNo()%>>
</td>
<td>
<input type="submit" name="insert" value="增加">
</td>
</tr>
</form>
<% } while(allocatProduct.next()>0); %>
</table>
<table width="75%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="20">
<form method="post" action="InsertDelivInfo.jsp?receiptId=<%=allocatId%>&receiptType=1">
<p align="left"> <br>
<input type="submit" name="management" value="货单管理">
</p>
</form>
</td>
</tr>
</table>
<p> </p>
<form method="post" action="InsertDelivInfo.jsp?receiptId=<%=allocatId%>&receiptType=1">
<p> </p>
</form></blockquote>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -