<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" 
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.WIPManage.WIPInventoryModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	在制品库存
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <%=Html.QPSeach(100,true) %>
    <table id="condiTable" >
        <tr>
            <th align="right">
                <%=Html.QV(p => p.PRODUCTCODE)%>
            </th>
            <td>
                <%=Html.QC(p => p.PRODUCTCODE)%>
            </td>
            <th align="right">
                <%=Html.QV(p => p.PRODUCTTYPE)%>
            </th>
            <td>
                <%=Html.QC(p => p.PRODUCTTYPE)%>
            </td> 
            <th align="right">
                <%=Html.QV(p => p.MACHINECODDE)%>
            </th>
            <td>
                <%=Html.QC(p => p.MACHINECODDE)%>
            </td>
        </tr> 
        <tr>
            <th align="right">
                <%=Html.QV(p => p.CURRENTPROCESS)%>
            </th>
            <td>
                <%=Html.QC(p => p.CURRENTPROCESS)%>
            </td>
        </tr>
    </table>
    <div style="left: 1px; position: relative;"></div>
    
    <%=Html.QPEnd()%>
    <%=Html.QPList() %>
    <%=Html.QDateGrid<QMAPP.FJC.Web.Models.WIPManage.WIPInventoryModel>(Model)%>
    <%=Html.QPEnd() %>
    <%=Html.Hidden("selectKey")%>
    <script language="javascript" type="text/javascript">

        //导出
        function Export() {
            document.getElementById("selectKey").value = getSelectKey();
            submitByButton("ExportExcel");
        } 
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <%=Html.QTButtonSearch("WIPInventory", "List", "List(1)")%> 
                <%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>   
            </td>
        </tr>
    </table>
</asp:Content>