📄 ordermodify.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" language="java" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="shop" prefix="shop"%>
<%@ page import="com.publish.shop.util.javabeans.Utility" %>
<%
String contextPath = request.getContextPath();
String confirmMsg = Utility.getMessage("label.delete.Confirm");
%>
<html:html>
<HEAD>
<TITLE>
</TITLE>
<script language="JavaScript" src="<%=contextPath%>/js/Utility.js"></script>
<script language="javaScript">
function confirm()
{
document.forms[1].action = "/shop/order/confirm.do";
document.forms[1].submit();
}
function send(){
document.forms[1].action="/shop/order/send.do";
document.forms[1].submit();
}
function search(){
document.forms[1].strutsAction.value="0";
document.forms[1].action="/shop/order/search.do";
document.forms[1].submit();
}
</script>
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK
href="<%=contextPath%>/css/pub.css" rel=stylesheet type=TEXT/CSS>
<META content="MSHTML 5.00.3819.300" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<shop:menu/>
<table>
<td vAlign=top>
<%@ include file="../side.jsp"%>
</td>
<TD vAlign="top" align="left" width=100%>
<!-- middle-top part begin -->
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TD WIDTH=100% VALIGN=top CLASS=txt> <BR>
1、最大订购数不能超过当前剩余库存数;<BR>
2、当订购数超过订购线时,将由后台进行确认。<BR>
<HR SIZE=1>
</TD>
</TABLE>
<html:form name="form2" action="/order/search.do" type="com.publish.shop.order.javabeans.LineItemForm">
<html:hidden property="strutsAction"/>
<html:hidden property="pagerOffSet"/>
<logic:present name="LineItemList">
<TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH=100%>
<tr>
<td colspan="7" class="DetailDescription-TdCN">
<shop:pager/>
</td>
</tr>
<TR BGCOLOR=#558BFF>
<TD ALIGN=center CLASS=txt width="10%" height="25"><FONT COLOR=#ffffff>序号</FONT></TD>
<TD ALIGN=center CLASS=txt width="38%" height="25"><FONT COLOR=#ffffff>订购物品名称</FONT></TD>
<TD ALIGN=center CLASS=txt width="30%" height="25"><FONT COLOR=#ffffff>订购数量</FONT></TD>
<TD ALIGN=center CLASS=txt width="22%" height="25"><FONT COLOR=#ffffff>剩余库存数</FONT></TD>
</TR>
<logic:iterate id="LineItemForm01" name="LineItemList" type="com.publish.shop.order.javabeans.LineItemModel">
<TR>
<TD ALIGN=center CLASS=txt width="10%" height="25"><bean:write name="LineItemForm01" property="showId"/></td>
<TD ALIGN=center CLASS=txt width="38%" height="25"><bean:write name="LineItemForm01" property="productName"/> </td>
<TD ALIGN=center CLASS=txt width="30%" height="25"><bean:write name="LineItemForm01" property="quantity"/> </td>
<TD ALIGN=center CLASS=txt width="22%" height="25"><bean:write name="LineItemForm01" property="productCount"/> </td>
</TR>
</logic:iterate>
</TABLE>
</logic:present>
</html:form>
<HR SIZE=1>
<html:form action="/order/search.do">
<TABLE WIDTH=100% BORDER=1 cellspacing="0" cellpadding="3" bordercolordark="#ffffff" bordercolorlight="#666666">
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">接收人姓名:</font></TD>
<TD width="77%">
<html:text property="orderRecName" styleClass="Standard-InputCN" size="13" maxlength="20" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" height="20" bgcolor="#E1E1E1"><font color="#000000">订单用户名:</font></TD>
<TD width="77%" height="20">
<html:text property="userName" styleClass="Standard-InputCN" size="40" maxlength="100" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">接收人邮件:</font></TD>
<TD width="77%">
<html:text property="orderRecMail" styleClass="Standard-InputCN" size="30" maxlength="30" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">接收人地址:</font></TD>
<TD width="77%">
<html:text property="orderRecAddress" styleClass="Standard-InputCN" size="40" maxlength="100" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">接收人邮编:</font></TD>
<TD width="77%">
<html:text property="orderRecZip" styleClass="Standard-InputCN" size="10" maxlength="20" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">订单发送状态:</font></TD>
<TD width="77%">
<html:text property="orderSendState" styleClass="Standard-InputCN" size="10" maxlength="20" readonly="true"/>
</TD>
</TR>
<TR>
<TD ALIGN=right CLASS=txt width="23%" bgcolor="#E1E1E1"><font color="#000000">订购单状态:</font></TD>
<TD width="77%">
<html:text property="orderStatus" styleClass="Standard-InputCN" size="10" maxlength="20" readonly="true"/>
</TD>
</TR>
</TABLE>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<hr size=1>
<input type="button" name="confirm" value="订单确认" onclick="return confirm();">
<input type="button" name="send" value="订单发送" onclick="return send();">
<input type="button" name="back" value="返回" onclick="return search();">
</td>
</tr>
</table>
<BR>
</html:form>
<HR SIZE=1>
<BR>
</td>
<!-- foot begin -->
<CENTER><TABLE>
<TR>
<TD class=txt>版权所有| 法律声明| 联系我们 </TD>
</TR>
</TABLE></CENTER>
<BR>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -