📄 orderadd_sub.jsp
字号:
</tr>
<tr >
<td align="right">提货人:</td>
<td><html:radio styleClass="check" property="equals" onclick="javascript:changeOrder('true')" value="true"/>
订货人
<html:radio styleClass="check" property="equals" onclick="javascript:changeOrder('false')" value="false"/>
其他人</td>
</tr>
<tr >
<td align="right" valign="top">邮箱:</td>
<td><html:text property="bean.orderAddress.emailAddress" styleClass="i03" maxlength="80" size="24"/>
<br>
(如填写此项,我们将取“@”前面的信息为您在商城使用的用户名,您使用的密码由系统自动生成;用户名、密码将发送到此信箱,请保持邮箱的用效性。)
</td>
</tr>
</table>
<%
if(!fgorderForm.isEquals()) {
%>
<table width="70%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" align="center"><table width="98%" border="0" cellpadding="0" cellspacing="0" class="gwcIndex_tub01">
<tr>
<td></td>
</tr>
</table></td>
<td width="85%"><span class=LoginFast_WordTitle>送货信息</span></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr >
<td width="11%" align="right" >收货人:</td>
<td width="89%">
<html:text property="bean.orderConsigneeAddress.name" styleClass="i03" maxlength="32" size="20"/>
</td>
</tr>
<tr >
<td align="right">性别:</td>
<td>
<html:radio property="bean.orderConsigneeAddress.sex" styleClass="check" value="true"/>
男
<html:radio property="bean.orderConsigneeAddress.sex" styleClass="check" value="false"/>
女
</td>
</tr>
<tr >
<td align="right">地址:</td>
<td>
<html:text property="bean.orderConsigneeAddress.address" styleClass="i03" maxlength="180" size="56"/>
</td>
</tr>
<tr >
<td align="right">邮编:</td>
<td>
<html:text property="bean.orderConsigneeAddress.zipCode" styleClass="i03" maxlength="6" size="8"/>
</td>
</tr>
<tr >
<td align="right">电话:</td>
<td>
<html:text property="bean.orderConsigneeAddress.areaNo" styleClass="i03" maxlength="6"size="6"/>
-
<html:text property="bean.orderConsigneeAddress.telephone" styleClass="i03" maxlength="16" size="16"/>
手机:
<html:text property="bean.orderConsigneeAddress.mobileTelephone" styleClass="i03" maxlength="16" size="20"/>
</td>
</tr>
<tr >
<td align="right" valign="top">邮箱:</td>
<td><html:text property="bean.orderConsigneeAddress.emailAddress" styleClass="i03" maxlength="80" size="24"/>
</td>
</tr>
</table>
<%
}
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td width="14%" align="center">
<table width="98%" border="0" cellpadding="0" cellspacing="0"
class="gwcIndex_tub01">
<tr>
<td align="center">★</td>
</tr>
</table></td>
<td width="86%" class="gwIndex_txt">送货方式</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="1" cellspacing="1" class="order02Index_bg">
<tr >
<td>配送方式名称</td>
<td>配送费用</td>
<td>配送方式描述</td>
</tr>
<%
List shipTypes = OrderHelper.getShipTypes();
if(shipTypes != null) {
for(int i=0; i<shipTypes.size(); i++) {
ShipType shipType = (ShipType)shipTypes.get(i);
%>
<tr>
<td><html:radio property="bean.shipType" styleClass="check" onclick="javascript:changeOrder()" value="<%=shipType.getId()%>"/>
<%=shipType.getName()%> </td>
<td>
<%
double shipAmount = 0;
double totalCost = SESSION_USER.getCartManager().getTotalAmount(SESSION_USER);
if ("rate".equals(shipType.getChargeType())) {
shipAmount = totalCost * (shipType.getAmount() / 100.0);
}
else {
shipAmount = shipType.getAmount();
}
%>
<%=shipAmount%>
<%
if (com.keyshop.shop.user.util.UserConst.ADVANCEUSERTYPE.equals(SESSION_USER.getUsertype())) {
%>
<font color="red">高级用户免费</font>
<%
}
%>
</td>
<td><%=shipType.getNote()%> </td>
</tr>
<%
}
}
%>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td width="14%" align="center"><table width="98%" border="0" cellpadding="0" cellspacing="0" class="gwcIndex_tub01">
<tr>
<td align="center">★</td>
</tr>
</table></td>
<td width="86%" class="gwIndex_txt">支付方式</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr >
<td width="35%">支付方式名称 <br></td>
<td width="65%">支付方式描述</td>
</tr>
<%
List payTypes = OrderHelper.getPayTypes();
List relationpayTypes = OrderHelper.getPayTypesByShipTypeId(bean.getShipType());
bean.setPayType("");
if(payTypes != null) {
for(int i=0; i<payTypes.size(); i++) {
PayType payType = (PayType)payTypes.get(i);
%>
<tr >
<td>
<%
if(OrderHelper.isInPayType(relationpayTypes, payType.getId())) {
%>
<html:radio property="bean.payType" value="<%=payType.getId()%>"/>
<%
} else {
%>
<html:radio property="bean.payType" disabled="true" value="<%=payType.getId()%>"/>
<%
}
%>
<%=payType.getName()%>
</td>
<td>
<%=payType.getNote()%>
</td>
</tr>
<%
}
}
%>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td>备注 </td>
<td><html:textarea styleClass="i03" property="bean.note" cols="50" rows="5"/></td>
</tr>
</table>
<p align="center">
<input type="button" onclick="javascript:submitOrderForm()" name="Submit3222" value="提交订单" class="i05">
</p>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</html:form>
</table>
</td>
<td background="<%=CONTEXT%>/img/QQ/i05.gif"></td>
</tr>
<tr>
<td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i06.gif" width="10" height="10"></td>
<td background="<%=CONTEXT%>/img/QQ/i08.gif"></td>
<td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i07.gif" width="10" height="10"></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -