12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>SKU:<input value="" name="sku" type="text" ></li>
- <li>品类:<input value="" name="classtitle" type="text" ></li>
- <li>产品名称:<input value="" name="title" type="text" ></li>
- <li>状态:<select name="state" class="select">
- <option value="">请选择</option>
- <option value="0">入库</option>
- <option value="1">出库</option>
- </select></li>
- <li>统计时间:<input id="ktime" value="{date('Y-m-d',time()-30*24*3600)}" name="ktime" type="text" >
- 至 <input id="jtime" value="{date('Y-m-d',time()+24*3600)}" name="jtime" type="text" ></li>
- <li><span>确 定</span></li>
- </ul>
- <div class="control">
- <a href="/warehouseyl/drmb/" target="_blank" class="window">下载导入模板</a>
- <a href="javascript:void(0);" class="whlabeldr">导入库存数据</a>
- <a href="javascript:void(0);" class="warehouseyldc">导出库存数据</a>
- <a href="javascript:void(0);" class="window" data-h="/warehouseyl/add/" data-t="添加">添 加</a>
- </div>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
- <td>编码</td>
- <td>产品名称</td>
- <td>规格</td>
- <td>尺寸</td>
- <td>描述</td>
- <td>入库</td>
- <td>出库</td>
- <td>结余</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <script>
- var dataurl = "/warehouseyl";var fdataurl = "/warehouseyl/";var excel = "/warehouseyl/";
- $(function () { $("#ktime").calendar();$("#jtime").calendar();});
- var editurl = "/warehouseyl/edit/";
- var editdj = 2;
- var editt = "修改";
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(3)').css("width","25%");
- });}
- $(".warehouseyldc").click(function() {
- var f = "";
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- window.location.href = "/warehouseyl/dcexcel?excel=1"+"&"+f;
- });
- </script>
- <script type="text/javascript" src="{$theme}js/time.js"></script>
- <div style="display:none;">
- <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
- </div>
- {Template footer}
|