⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ordercheckop.jsp

📁 电子商城
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %> 
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %>
<c:if test="${orderList==null}">
	<c:redirect url="/servlet/OrderCheckServlet" />
</c:if>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
		<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
		<title>订单审核</title>
	</head>

<body>
	<c:set value="${ob}" var="oib" />		
	<c:if test="${empty oib}">
 	<table width="90%" border="1" align="center">
                  <tr>
                    <td align="center" scope="row"><strong>未查到该用户的订单信息!无法处理该订单</strong></td>
              </table>
	</c:if>
	<c:if test="${oib!=null}">
	<table width="100%" border="1">
	  <tr>
 	   <th scope="row">
		<form action="<c:url value='/servlet/OrderCheckServlet' />"  method="get" name="orderForm" id="orderForm">
		<input type="hidden" name="orderCheckOP" id="orderCheckOP" value="ok" >
		  <table width="90%" border="1">
            <tr>
              <td colspan="2" align="left" style="font-size:24px"><strong>下单用户信息</strong></td>
            </tr>
            <tr>
              <td width="51%" align="right">用户名:</td>
              <td width="49%" colspan="-4">${oib.scuser}</td>
            </tr>
            <tr>
              <td align="right">收货人姓名:</td>
              <td colspan="-4">${oib.ssname}</td>
            </tr>
            <tr>
              <td align="right">收货人电话:</td>
              <td colspan="-4">${oib.ssphone}</td>
            </tr>
            <tr>
              <td align="right">收货人邮编:</td>
              <td colspan="-4">${oib.sscode}</td>
            </tr>
            <tr>
              <td align="right">收货人地址:</td>
              <td colspan="-4">${oib.ssaddress}</td>
            </tr>
            <tr>
              <td align="right">收货人邮箱:</td>
              <td colspan="-4">${oib.ssemail}</td>
            </tr>
            <tr>
              <td align="right">下单时间:</td>
              <td align="left">${oib.dgdate}</td>
            </tr>
            
            <tr>
              <td align="right">发货方式:</td>
              <td colspan="-4">${oib.ssendtype}</td>
            </tr>
            <tr>
              <td align="right">汇款方式:</td>
              <td colspan="-4">${oib.spaytype}</td>
            </tr>
            <tr>
              <td align="right">审核情况:</td>
              <td colspan="-4">
			    	<c:if test="${ob.sstatus==1}">未审核</c:if>
					<c:if test="${ob.sstatus==2}">已通过</c:if>
					<c:if test="${ob.sstatus==3}">未通过</c:if>
			  </td>
            </tr>
            <tr>
              <td align="right">审核人:</td>
              <td colspan="-4">
			  	  	<c:if test="${empty ob.sauser||ob.sauser==null}">&nbsp;</c:if>
					<c:if test="${!empty ob.sauser||ob.sauser!=null}">${ob.sauser}</c:if>
			  </td>
            </tr>
            <tr>
              <td align="right">审核时间:</td>
              <td colspan="-4">
			  	<c:if test="${empty  ob.dadate}">&nbsp;</c:if>
				<c:if test="${ob.sstatus!=1}">
					<c:if test="${!empty ob.dadate}">${ob.dadate}</c:if>
				</c:if>
			  </td>
            </tr>
			 <tr>
              <td align="right">订单反馈:</td>
              <td colspan="-4">
			 		<c:if test="${empty ob.smsg}"></c:if>
			 		<textarea name="textarea" disabled="disabled" cols="50" rows="8" id="textarea">${ob.smsg}
</textarea>
					<c:if test="${!empty  ob.smsg}"></c:if></td>
            </tr>
          </table>
		<table width="90%" border="1">
                  <tr>
                    <th width="10%" scope="row">订单号 </th>
                    <th width="11%" scope="row">商品编号</th>
                    <th width="26%" scope="row">商品名称</th>
                    <th width="23%" scope="row">单价</th>
                    <th width="11%" scope="row">数量</th>
                    <th width="19%" scope="row">小计</th>
                  </tr>
               
				  <c:forEach items="${orderItemList}" var="oib">
				   <c:if test="${oib.norderid==ob.nid}">
                    <tr>
                      <th scope="row">${oib.norderid}
					  	<input type="hidden" name="norderID" id="norderID" value="${oib.norderid}" >
					  </th>
                      <th scope="row">${oib.nmcid}</th>
                      <th scope="row">${oib.smcname}</th>
                      <th scope="row">${oib.nprice}</th>
                      <th scope="row">${oib.ncount}</th>
                      <th scope="row">${oib.ntotalprice}</th>
                    </tr>
						 </c:if>
                  </c:forEach>
		
				  <tr>
                    <td colspan="7" align="right" scope="row">合计: ${ob.ntotalprice} &nbsp;  &nbsp;&nbsp;&nbsp;&nbsp; </td>
                  </tr>
          </table>
			  <table width="90%" border="1">
                  <tr>
                    <th width="44%" align="right" scope="row">审核人:</th>
                    <th width="56%" align="left" scope="row">
                   ${ob.scuser}
					<input name="sauser" type="hidden" id="sauser" value="${ob.scuser}">
					</th>
                  </tr>
                    <tr>
                     <th align="right" scope="row">审核情况:</th>
                     <th align="left" scope="row">			
						<input type="radio" name="sstatus" id="sstatus" value="1" ${ob.sstatus=="1"?"checked":""} >
  						未审核
					 	<input type="radio" name="sstatus" id="sstatus" value="2" ${ob.sstatus=="2"?"checked":""} >
                     	通过
                        <input type="radio" name="sstatus" id="sstatus" value="3" ${ob.sstatus=="3"?"checked":""} >
                        不通过
						</th>
                    </tr>

				  <tr>
                    <th align="right" scope="row">订单反馈:</th>
                    <th align="left" scope="row"><textarea name="smsg" cols="50" rows="8" id="smsg"></textarea></th>
                  </tr>
				  
				  
				  <tr>
                    <th colspan="2" align="center" scope="row"><input type="submit" name="Submit" value="提交">
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                      <input name="checkReset" type="reset" id="checkReset" value="重置"></th>
                  </tr>
              </table>
		</form>		</th>
  	</tr>
</table>
</c:if>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -