123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li>
- 优先级:<select name="type" class="select" style="width:90px">
- <option value="">请选择</option>
- <option value="1">A-必须发</option>
- <option value="2">B-如果发不完可先发走一部分</option>
- <option value="3">C-拼箱用,可发可不发</option>
- </select>
- </li>
- <li>货物名称:<input value="" name="title" type="text" style="width:380px"></li>
- <li>提交人:<input value="" name="name" type="text"></li>
- <li>提交时间:<input id="timetk" value="{date('Y-m-d',time()-29*24*3600)} 0:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" style="width:130px">
- 至 <input id="timetj" value="{date('Y-m-d',time()+24*3600)} 0:00" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" style="width:130px"></li>
- <li><span>确 定</span></li>
- </ul>
- <div class="control">
- <a href="javascript:void(0);" class="window" data-h="/container/add/" data-t="货柜物品 - 添加">添 加</a>
- <a href="javascript:void(0);" class="check">删 除</a>
- <a href="javascript:void(0);" class="dccontainer">导出</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>
- <td>提交时间</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <script>
- var dataurl = "/container";
- var editurl = "{if $see == 'see'}/container/see/{else}/container/edit/{/if}";
- var editdj = 1;
- var editt = "货柜物品 - 修改";
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","1%");
- $(this).find('td:eq(1)').css("width","11%");
- $(this).find('td:eq(2)').css("width","6%");
- $(this).find('td:eq(3)').css("width","6%");
- $(this).find('td:eq(4)').css("width","6%");
- $(this).find('td:eq(5)').css("width","6%");
- $(this).find('td:eq(6)').css("width","11%");
- $(this).find('td:eq(8)').css("width","6%");
- $(this).find('td:eq(9)').css("width","8%");
- });}
- $(".dccontainer").click(function() {
- var f = "";
- var a = "";
- $(".datatext input[name='check']:checked").each(function() {
- a = a + $(this).val()+",";
- });
- f = f + "a=" + a + "&";
- $(".select").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
- });
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- var a = "";
- $(".datatext input[name='check']:checked").each(function() {
- a = a + $(this).val()+",";
- });
- f = f + "excel=1&a="+a;
- window.location.href = "/container/excel?excel=1&"+f;
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|