<%@ page language="C#" autoeventwireup="true" inherits="eckcx, App_Web_ml12ysap" %>

<!DOCTYPE html>
<html lang="en">
<head >
 <title>出库查询-<%Response.Write(titlestr);%></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="zh-CN" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <script src="/content/js/jquery-2.1.5.min.js" type="text/javascript"></script>
    <script src="/content/layer/layer.js" type="text/javascript"></script>
    <script type="text/javascript">
        layer.config({
            extend: "extend/layer.ext.js"
        });
    </script>
    <link href="/content/css/bootstrap.css" rel="stylesheet" />
    <link href="/content/css/custom.min.css" rel="stylesheet" />
    <link href="/content/css/contextMenu.css" rel="stylesheet" />
     <link rel="stylesheet" href="/content/font/iconfont.css" />
     <link rel="stylesheet" href="/content/css/main.css"/>
    <script src="/content/js/contextMenu.js" type="text/javascript"></script>
    <script src="/content/js/xggbf.js" type="text/javascript"></script>
    <script src="/content/js/eckcx.js" type="text/javascript"></script>
    <script type="text/javascript" src="/content/laydate/laydate.js"></script>
</head>
   <body>
   <!-- 左侧菜单内容 -->
         <%Response.Write(tempnavmenu); %>
      <!-- 左侧菜单内容结束 -->

 <!-- 右页面内容 -->
 <div class="bg-danger pagebody">
<div class="right_col" role="main"   id="right1"  >
<script type="text/javascript">
    var var2 = window.innerHeight - 58;
    right1.style.setProperty('min-height', var2 + 'px', 'important');
</script>
        <div class="page-title">
            <div class="title_left">
                <h3>出库查询</h3>
                <h4> &nbsp;&nbsp;&nbsp;&nbsp;</h4>
            </div>
        </div>
        <div class="clearfix"></div>
    <!--替换内容-->
        <div class="row">
            <div class="clearfix"></div>
            <div class="col-md-12 col-sm-12 col-xs-12">
                  <div class="x_content">
                       <!-- 开始 -->
                       <form id="form1" runat="server">
                          <input type="hidden" name="act" id="act" value="<%Response.Write(WebAct); %>"    />
                       <table class="table"  width="100%"  >
                              <tr>
                                    <td colspan="<%Response.Write(fiyhlx == "0" ? "13" : "14");%>" align="left">
                                        <asp:Button ID="Button1" runat="server" class="btn btn-primary" Text="出库EXCEL" OnClick="Button1_Click" />
                                    </td>
                                </tr>
                 <tr>
               <% if (fiyhlx == "1") {%>
            <td width="5%" height="22"  align="center" valign="middle">序号</td>
            <td width="5%" height="22"  align="center" valign="middle">ID</td>
            <td width="10%" height="22" align="center" valign="middle" >货品名称</td>
            <td width="10%" height="22" align="center" valign="middle" >入库编码</td>
            <td width="10%" height="22" align="center" valign="middle" >出库编码</td>
            <td width="5%" height="22" align="center" valign="middle" >数量</td>
            <td width="5%" height="22" align="center" valign="middle" >单价</td>
            <td width="10%" height="22" align="center" valign="middle" >金额</td>
            <td width="5%" height="22" align="center" valign="middle">有效期</td>
            <td width="5%" height="22" align="center" valign="middle">食堂</td>
            <td width="5%" height="22" align="center" valign="middle">类型</td>
            <td width="5%" height="22" align="center" valign="middle">出库人</td>
            <td width="10%" height="22" align="center" valign="middle">备注</td>
            <td width="5%" height="22" align="center" valign="middle" >回库</td>
                     <%}
                       else{ %>
            <td width="5%" height="22"  align="center" valign="middle">序号</td>
            <td width="5%" height="22"  align="center" valign="middle">ID</td>
            <td width="10%" height="22" align="center" valign="middle" >货品名称</td>
            <td width="10%" height="22" align="center" valign="middle" >入库编码</td>
            <td width="10%" height="22" align="center" valign="middle" >出库编码</td>
            <td width="5%" height="22" align="center" valign="middle" >出库数量</td>
            <td width="5%" height="22" align="center" valign="middle" >单价</td>
            <td width="10%" height="22" align="center" valign="middle" >金额</td>
            <td width="5%" height="22" align="center" valign="middle">有效期</td>
            <td width="7%" height="22" align="center" valign="middle">食堂</td>
            <td width="8%" height="22" align="center" valign="middle">出库类型</td>
            <td width="5%" height="22" align="center" valign="middle">出库人</td>
            <td width="10%" height="22" align="center" valign="middle">备注</td>
             <%}%>
            </tr>
          <%Response.Write(flist()); %>
        </table>
               <div class="ln_solid"></div> 
                       </form>  
                       <!-- 结束 -->         
                   </div>
            </div>
        </div>
     <!--替换内容-->
    </div>
</div> 
 <!-- 右页面内容完成 -->
    <!-- 底部内容 -->    
      <% Response.Write(copystr);%>
         <!-- 底部内容完成 -->
   <script src="/content/js/zmain.js" charset="utf-8" type="text/javascript"></script>
</body>
    <script type="text/javascript">
        laydate.render({
            elem: '#fvckbm1' //指定元素
        });
        laydate.render({
            elem: '#fvckbm2' //指定元素  
        });
</script>
</html>
