123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- {Template header}
- <body>
- <div class="warp">
- <div class="fixed">
- <ul class="search">
- <li><input id="timetk" value="{date('Y-m-d',time()-12*3600)} 0:00" name="timetk" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
- 至 <input id="timetj" value="{date('Y-m-d',time()-12*3600)} 23:59" name="timetj" type="text" onclick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
- <input name="data" value="" type="hidden"> (美国时间)
- </ul>
- <div class="control">
- <a href="/fullorder/error/" style="background-color:#F00">待修改订单({$error})</a>
- <ul>
- <a href="javascript:void(0);" data-x="1">等待打印(<font></font>)</a>
- <a href="javascript:void(0);" data-x="2">等待出库(<font></font>)</a>
- <a href="javascript:void(0);" data-x="3" class="xz">已出库(<font></font>)</a>
- <a href="javascript:void(0);" data-x="4">已退库(<font></font>)</a>
- </ul>
- </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>
- <!--<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>
- <div style="display:none;">
- <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
- </div>
- <script>
- var dataurl = "/ahc/hcd";var operate = "/ahc/hcd";var excel = "/ahc/excel/";
- var customon = 1;
- function custom(){
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","1%");
- $(this).find('td:eq(1)').css("width","7%");
- $(this).find('td:eq(5)').css("width","9%");
- $(this).find('td:eq(6)').css("width","9%");
- $(this).find('td:eq(8)').css("width","5%");
- $(this).find('td:eq(9)').css("width","6%");
- $(this).find('td:eq(13)').css("width","6%");
- });}
- $(document).ready(function() {
- xx(3);
- });
- $(".control ul a").click(function() {
- $(".control ul a").removeClass("xz");
- $(this).addClass("xz");
- $("input[name=data]").val($(this).data("x"))
- xx($(this).data("x"));
- });
- function xx(djtj) {
- $(".page").val(1);
- $(".datatext").html("");
- layx.load('loadId','数据加载中');
- var f = "";
- $(".select").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
- });
- $("input:text").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- $("input:hidden").each(function() {
- f = f + $(this).attr("name") + "=" + $(this).val() + "&";
- });
- f = f + "data="+djtj
- $.ajax({
- url: dataurl,
- data: f,
- type: "POST",
- dataType: "json",
- success: function(c) {
- $('.control ul a:eq(0) font').text(c.xx[1]);
- $('.control ul a:eq(1) font').text(c.xx[2]);
- $('.control ul a:eq(2) font').text(c.xx[3]);
- $('.control ul a:eq(3) font').text(c.xx[4]);
- if (c.rows != "") {
-
- for (i = 0; i < c.rows.length; i++) {
- $(".datatext").append("<tr id=" + c.rows[i]["id"] + ">");
- $.each(c.rows[i], function(d, e) {
- if (d == "phone") {
- $(".datatext #" + c.rows[i]["id"]).append("<td class='" + e + "'>" + e + "</td>");
- } else if (d == "id") {
- $(".datatext #" + c.rows[i]["id"]).append("<td><input name='check' type='checkbox' value=" + e + "></td>");
- } else if (d == "classid") {
-
- } else if (d == "productweight") {
-
- } else if (d == "hl") {
-
- }
- else if (d == "libraryconfirm") {
-
- }
- else if (d == "clientremarks") {
-
- }else {
- $(".datatext #" + c.rows[i]["id"]).append("<td>" + e + "</td>");
- }
- });
- $(".datatext").append("</tr>");
- }
- if($("input[name=page]").val() == 1)
- {
- $(".bomf .sl").hide();
- $(".bomf .nl").show();
- }
- else
- {
- $(".bomf .sl").show();
- $(".bomf .nl").hide();
- }
- if (c.over < 1) {
- $(".bomf .sr").hide();
- $(".bomf .nr").show();
- } else {
- $(".bomf .sr").show();
- $(".bomf .nr").hide();
- }
- $(".bomf font").html(c.pagenum);
- $(".bomf .fnumber").text(' '+c.total+' 条记录');
- layx.destroy('loadId');
- datasort();
- win();//列表增点击窗口项
- if(c.money)
- {
- money(c.money);
- }
- } else {
- $(".save").hide();
- layx.destroy('loadId');
- layx.msg('没有更多内容了',{dialogIcon:'warn', position:'cc'});
- }
- }
- });
- }
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|