DreamLM36 2017-04-12 09:57 采纳率: 0%
浏览 843

怎样使订单显示和实际的一样,求帮忙解决

图片说明

这是servlet中的代码
List list=orderBiz.queryAll();
request.setAttribute("listOrder", list);
request.getRequestDispatcher("manage/order.jsp").forward(request, response);
这是JSP中代码


                <tr>
                <th colspan="2">单号:${listorder.order.eo_id} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:${listorder.order.eo_create_time}</th>

                <th colspan="2">状态:<select name="status" id="status">   
                            <option value="1" <c:if test="${listorder.order.eo_status==1}">selected="selected"</c:if>>待审核</option>
                            <option  value="2" <c:if test="${listorder.order.eo_status==2}">selected="selected"</c:if>>审核通过</option>
                            <option  value="3" <c:if test="${listorder.order.eo_status==3}">selected="selected"</c:if> >配货</option>
                            <option  value="4" <c:if test="${listorder.order.eo_status==4}">selected="selected"</c:if> >发货</option>
                            <option value="5"  <c:if test="${listorder.order.eo_status==5}">selected="selected" </c:if> >收货确认</option>
                    </select>
                        <input type="hidden" value="${listorder.order.eo_id}" name="eoid"/>
                        </th>
            </tr>
                <td class="first w4 c"><img src="images/product/${listorder.product.ep_file_name}" width="100px" height="100px"/>${listorder.product.ep_name}</td>
                <td >${listorder.product.ep_price}</td>
                <td>${listorder.detail.eod_quantity}</td>
                <td class="w1 c" >总计:${listorder.detail.eod_cost}</td>                    
            </tr>   
            </c:forEach>            
        </table>

  • 写回答

1条回答 默认 最新

  • iioioioioioio 2017-04-12 10:05
    关注

    什么叫 使订单显示和实际的一样

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog