<%--
  Created by IntelliJ IDEA.
  User: 1
  Date: 2024/5/29
  Time: 15:43
  To change this template use File | Settings | File Templates.
--%>
<!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}"/>
<script>
    var ctx = "${ctx}";
</script>
<EF:EFPage title="调拨单详情">
    <EF:EFRegion id="inqu" title="查询条件">
        <div class="row">
            <EF:EFInput blockId="inqu_status" row="0" ename="calloutWhName" cname="调出仓库名称" colWidth="3" readonly="true"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="callinWhName" cname="调入仓库名称" colWidth="3" readonly="true"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="calloutWhCode" cname="调出仓库编码" colWidth="3" type="hidden" readonly="true"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="callinWhCode" cname="调入仓库编码" colWidth="3" type="hidden" readonly="true"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="inventName" cname="存货名称" colWidth="3" placeholder="模糊查询"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="status" cname="状态"  colWidth="3" type="hidden"/>
            <EF:EFInput blockId="inqu_status" row="0" ename="parentId" cname="上级ID"  colWidth="3" type="hidden"/>
        </div>
    </EF:EFRegion>

    <EF:EFRegion id="result" title="记录集">
        <EF:EFGrid blockId="result" autoDraw="override"  isFloat="true">
            <EF:EFColumn ename="id" cname="主键" hidden="true"/>
            <%--<EF:EFComboColumn ename="inventCode" cname="存货名称" enable="true" width="120" align="center"
                              blockName="invent_code_box_block_id" textField="textField" valueField="valueField"
                              columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false" filter="contains" />--%>
            <EF:EFColumn ename="inventCode" cname="存货名称" enable="true" required="true" readonly="false" width="200" align="center"/>
            <EF:EFComboColumn ename="inventType" cname="存货类型" enable="true" width="120" align="center" required="true"
                              blockName="invent_type_box_block_id" textField="textField" valueField="valueField"
                              columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
                              filter="contains">
            </EF:EFComboColumn>
            <EF:EFColumn ename="inventTypeDetail" cname="存货类型大类" hidden="true"/>
            <EF:EFComboColumn ename="spec" cname="规格" enable="true" width="120" align="center" required="true"
                              blockName="spec_box_block_id" textField="textField" valueField="valueField"
                              columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
                              filter="contains">
            </EF:EFComboColumn>
            <%--defaultValue="0"--%>
            <EF:EFColumn ename="inventRecordId" cname="规格ID" width="120" enable="true" readonly="true" align="center" hidden="true" maxLength="50"/>
            <EF:EFColumn ename="length" cname="长度(MM)" enable="true" readonly="false" width="100" align="right" format="{0:N3}" maxLength="10"/>
            <EF:EFColumn ename="width" cname="宽度(MM)" enable="true" readonly="false" width="100" align="right" format="{0:N3}" maxLength="10"/>
            <EF:EFColumn ename="thick" cname="厚度(MM)" enable="true" readonly="false" width="100" align="right" format="{0:N3}" maxLength="10"/>
            <EF:EFColumn ename="quantity" cname="数量" width="120" enable="true" format="{0:N3}" editType="text"
                         displayType="0.000" sort="true" align="right"
                         data-regex="/^-?[0-9]{1,20}([.][0-9]{1,3})?$/" maxLength="20" required="true"
                         data-errorprompt="请输入数字,该值最大可设置15位整数和3位小数!"/>
            <EF:EFColumn ename="unitWeight" cname="单重(KG)" width="120" enable="false" format="{0:N3}" editType="text"
                         displayType="0.000" sort="true" align="right"
                         data-regex="/^-?[0-9]{1,15}([.][0-9]{1,3})?$/" maxLength="15" required="true"
                         data-errorprompt="请输入数字,该值最大可设置15位整数和3位小数!"/>
            <EF:EFColumn ename="weight" cname="重量" width="120" enable="false" format="{0:N3}" editType="text"
                         displayType="0.000" sort="true" align="right"
                         data-regex="/^-?[0-9]{1,15}([.][0-9]{1,3})?$/" maxLength="15" required="true"
                         data-errorprompt="请输入数字,该值最大可设置15位整数和3位小数!"/>
        </EF:EFGrid>
    </EF:EFRegion>
    <EF:EFWindow id="openFile">
        <EF:EFRegion id="upload" title="文件导入区">
            <div id="button"></div>
            <EF:EFUpload ename="fileUpload" cname="导入" docTag="HGPZ005" path="pz"/>
        </EF:EFRegion>
    </EF:EFWindow>
</EF:EFPage>