HGCG003.jsp 6.22 KB
Newer Older
宋祥 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!DOCTYPE html>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" tagdir="/WEB-INF/tags/EF" %>

<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<EF:EFPage title="采购收货">
	<EF:EFRegion id="inqu" title="查询条件">
		<div class="row">
			<EF:EFDatePicker cname="收货日期" blockId="inqu_status" ename="receiveDate" row="0" colWidth="3"
			                 role="date" format="yyyy-MM-dd" readonly="true"/>
			<EF:EFInput cname="收货单号" blockId="inqu_status" ename="receiveNo" row="0" colWidth="3"/>
			<EF:EFInput cname="合同号" blockId="inqu_status" ename="contractNo" row="0" colWidth="3"/>
			<EF:EFSelect cname="状态" blockId="inqu_status" ename="status" row="0" colWidth="3" optionLabel="全部"
			             defultValue="">
				<EF:EFCodeOption codeName="hggp.hgcg.receiveStatus"/>
			</EF:EFSelect>
			<EF:EFSelect cname="公司名称" blockId="inqu_status" ename="companyCode" row="0" colWidth="3"
20 21
						 filter="contains" optionLabel="全部" defultValue="">
				<EF:EFOptions blockId="roleCompany" valueField="companyCode" textField="companyName"/>
宋祥 committed
22
			</EF:EFSelect>
liuyang committed
23
			<EF:EFInput cname="项目名称" blockId="inqu_status" ename="projName" row="0" colWidth="3" placeholder="模糊查询项目名称"/>
宋祥 committed
24 25 26 27
			<EF:EFSelect cname="供应商名称" blockId="inqu_status" ename="supCode" row="0" colWidth="3"
			             filter="contains" optionLabel="全部" defultValue="">
				<EF:EFOptions blockId="sup_record_block_id" textField="textField" valueField="valueField"/>
			</EF:EFSelect>
28 29 30 31
			<EF:EFSelect cname="数据来源" blockId="inqu_status" ename="source" row="0" colWidth="3" optionLabel="全部"
						 defultValue="">
				<EF:EFCodeOption codeName="hggp.hpcg.receiveSource"/>
			</EF:EFSelect>
宋祥 committed
32
			<EF:EFDateSpan startCname="创建时间(从)" endCname="至" blockId="inqu_status"
33 34
						   startName="createdTimeFrom" endName="createdTimeTo" row="0" role="datetime"
						   format="yyyy-MM-dd HH:mm:ss" ratio="3:3" satrtRatio="4:8" endRatio="4:8" readonly="true">
宋祥 committed
35 36 37 38 39
			</EF:EFDateSpan>
		</div>
	</EF:EFRegion>

	<EF:EFRegion id="result" title="明细信息">
宋祥 committed
40
		<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row" copyToAdd="false" height="63vh">
宋祥 committed
41
			<EF:EFColumn ename="id" cname="内码" hidden="true"/>
42 43 44 45 46
			<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="120" align="center"/>
			<EF:EFComboColumn ename="source" cname="数据来源" enable="false" width="80" align="center">
				<EF:EFCodeOption codeName="hggp.hpcg.receiveSource"/>
			</EF:EFComboColumn>
			<EF:EFComboColumn ename="companyCode" cname="公司编码"
47 48 49 50
			                  columnTemplate="#=companyName#" itemTemplate="#=companyName#"
			                  textField="companyName" valueField="companyCode"
			                  maxLength="16" readonly="false" width="100" required="true"
			                  align="center" filter="contains" sort="true">
51 52
				<EF:EFOptions blockId="roleCompany" textField="companyName" valueField="companyCode"/>
			</EF:EFComboColumn>
53 54
			<EF:EFColumn ename="companyName" cname="公司名称" enable="false" width="200" align="left"/>
			<EF:EFColumn ename="projCode" cname="项目编码" width="140" align="center" required="true"/>
江和松 committed
55
			<EF:EFColumn ename="projName" cname="项目名称" width="120" align="center" enable="false"/>
56
			<EF:EFColumn ename="contractNo" cname="合同号" width="120" align="center" enable="false"/>
57 58
			<EF:EFColumn ename="receiveDate" cname="收货日期" width="100" align="center" editType="date"
			             dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
宋祥 committed
59 60 61 62
			<EF:EFColumn ename="receiveNo" cname="收货单号" enable="false" width="120" align="center"/>
			<EF:EFComboColumn ename="status" cname="状态" enable="false" width="80" align="center">
				<EF:EFCodeOption codeName="hggp.hgcg.receiveStatus"/>
			</EF:EFComboColumn>
63
			<EF:EFComboColumn ename="supCode" cname="供应商名称" width="120" align="left" defaultValue=""
64
			                  filter="contains" required="true">
65 66
				<EF:EFOptions blockId="sup_record_block_id" valueField="valueField" textField="textField"/>
			</EF:EFComboColumn>
67
			<EF:EFColumn ename="supName" cname="供应商名称" enable="false" width="120" align="center" hidden="true"/>
68 69 70 71 72 73
			<EF:EFComboColumn ename="purUserId" cname="采购员" width="120" align="left" defaultValue=""
			                  filter="contains" required="true" columnTemplate="#=valueField# - #=textField#"
			                  itemTemplate="#=valueField# - #=textField#">
				<EF:EFOptions blockId="user_block_id" valueField="valueField" textField="textField"/>
			</EF:EFComboColumn>
			<EF:EFColumn ename="purUserName" cname="采购员姓名" enable="false" width="120" align="center" hidden="true"/>
74
			<EF:EFColumn ename="receiveQty" cname="收货数量" enable="false" width="120" align="right" format="{0:N3}"
75
			             sumType="page"/>
76
			<EF:EFColumn ename="deliverQty" cname="退货数量" enable="false" width="120" align="right" format="{0:N3}"
77
			             sumType="page"/>
78
			<EF:EFColumn ename="depositQty" cname="入库数量" enable="false" width="120" align="right" format="{0:N3}"
79 80 81
			             sumType="page"/>
			<EF:EFColumn ename="receiveWeight" cname="收货重量" enable="false" width="120" align="right" format="{0:N3}"
			             sumType="page"/>
liuyang committed
82
			<EF:EFColumn ename="amount" cname="金额" enable="false" width="120" align="right" format="{0:C2}"
83
			             sumType="page"/>
liuyang committed
84
			<EF:EFColumn ename="taxAmount" cname="税额" enable="false" width="120" align="right" format="{0:C2}"
85
			             sumType="page"/>
liuyang committed
86
			<EF:EFColumn ename="taxIncludeAmount" cname="含税金额" enable="false" width="120" align="right" format="{0:C2}"
87
			             sumType="page"/>
宋祥 committed
88 89 90 91 92
			<EF:EFColumn ename="createdName" cname="创建人" enable="false" width="100" align="center"/>
			<EF:EFColumn ename="createdTime" cname="创建时间" enable="false" width="140" align="center"
			             editType="datetime" parseFormats="['yyyyMMddHHmmss']"/>
		</EF:EFGrid>
	</EF:EFRegion>
93 94 95
<%--	<EF:EFRegion title="提示">--%>
<%--		<span style="color: red">1."待确认"状态时,仅能修改收货数量。</span><br/>--%>
<%--	</EF:EFRegion>--%>
宋祥 committed
96 97

</EF:EFPage>