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

📄 billadddepitem.jsp

📁 海鲜超市管理 登录 修改 增加 等功能jsp+servlet
💻 JSP
字号:
<%@ include file="/jsp/include/ceil.jsp"%>
<%@ page import="java.util.List,dto.DeptDto,module.bill.dto.AddBillDto" %>
<%	AddBillDto aDto = (AddBillDto)request.getAttribute("AddBillDto");%>
    <TD vAlign=top width=567 height="291" rowspan="7">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <form method="POST" action="/ConfirmItem">
      <!--webbot bot="SaveResults" u-file="E:\ij&#39033;&#30446;1\UI\_private\form_results.txt" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><p align="center"><b><font color="#993333">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bill
      date:<%=aDto.getBillDate()%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vendor:<%=aDto.getVendorName()</font></b></p>
      <div align="center">
        <center>
        <table border="1" width="80%" bordercolor="#800000">
          <tr>
            <td width="50%" bgcolor="#FDCC64">
              <p align="center"><b><font color="#800000">Department Name</font></b></td>
            <td width="50%" bgcolor="#FDCC64">
              <p align="center"><b><font color="#800000">Amount</font></b></td>
            <td width="50%" bgcolor="#FDCC64">
              <p align="center"><font color="#800000"><b>Confirm</b></font></td>
          </tr>
          
<%
	List list = (List)request.getAttribute("deptList");

	DeptDto dDto = new DeptDto();
	String deptName = null;
	String deptId = null;
	for (int i = 0; i < list.size(); i++){
		dDto = (DeptDto)list.get(i);
		deptName = dDto.getName();
		deptId = dDto.getId();
%>
          
          <tr>
            <td width="50%" align="center"><%=deptName%></td>
            <td width="50%" align="center">
            <input type="text" name="<%=deptId%>" size="12">$</td>
            <input type="hidden" name="n<%=deptId%>" value="<%=deptName%>"/>
            <td width="50%" align="center">
            <input type="checkbox" name="deptId" value="<%=deptId%>"></td>
          </tr>
<%
	}
%>			

			<input type="hidden" name="vendorName" value="<%=aDto.getVendorName()%>"/>
			<input type="hidden" name="vendorId" value="<%=aDto.getVendorId()%>"/>
			<input type="hidden" name="billDate" value="<%=aDto.getBillDate()%>"/>
			<input type="hidden" name="dueDate" value="<%=aDto.getDueDate()%>"/>



        </table>
        </center>
      </div>
      <p align="center"><font color="#993333"><b>&nbsp;&nbsp;
      </b></font><input type="submit" value="Submit" name="B1" style="color: #800000; font-weight: bold; background-color: #FDCC64">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="reset" value="Reset" name="B2" style="color: #800000; font-weight: bold; background-color: #FDCC64"></p>
    </form>
    </TD>
  </TR>
  
<%@ include file="/jsp/include/side.jsp"%>

  <TR>
    <TD vAlign=bottom width=746 height="1" colspan="2">
    </TD>
  </TR>
  
<%@ include file="/jsp/include/floor.jsp"%>

⌨️ 快捷键说明

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