fullordersmt.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 店铺名称:<select name="shop" class="select">
  8. <option value="">请选择</option>
  9. {loop usershop() as $val}
  10. <option value="{$val['id']}">{$val['shopname']}</option>
  11. {/loop}</select>
  12. </li>
  13. <li>
  14. 订单类型:<select name="source" class="select">
  15. <option value="">请选择</option>
  16. <option value="1">线下订单</option>
  17. <option value="2">PC订单</option>
  18. <option value="3">手机订单</option>
  19. </select>
  20. </li>
  21. <li>
  22. 审核状态:<select name="review" class="select">
  23. <option value="">请选择</option>
  24. <option value="1">未送审</option>
  25. <option value="2">待审核</option>
  26. <option value="3">不通过</option>
  27. <option value="4">取消重审</option>
  28. <option value="5">审核通过</option>
  29. <option value="6">自动通过</option>
  30. </select>
  31. </li>
  32. <li>
  33. 发货仓库:<select name="warehouse" class="select">
  34. <option value="">请选择</option>
  35. {loop warehouse(100) as $val}
  36. <option value="{$val['id']}">{$val['title']}</option>
  37. {/loop}</select>
  38. </li>
  39. <li>
  40. 快递公司:
  41. <select name="express" class="select">
  42. <option value="">请选择</option>
  43. {if $user['power'] != 47}
  44. {loop express(100,'smt') as $val}
  45. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  46. {/loop}
  47. {else}
  48. {loop xwexpress(100) as $val}
  49. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  50. {/loop}
  51. {/if}
  52. </select>
  53. </li>
  54. <li>订单状态:<select name="state" class="select">
  55. <option value="">请选择</option>
  56. {loop typeclass(29,1) as $val}
  57. <option value="{$val['id']}">{$val['title']}</option>
  58. {/loop}
  59. </select>
  60. </li>
  61. <li>
  62. 收货国家:<select name="country" class="select class">
  63. <option value="">请选择</option>
  64. {loop $country as $val}
  65. <option value="{$val['id']}" {if $fullorder['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
  66. {/loop}
  67. </select>
  68. </li>
  69. <li>订单号:<input value="" name="orderinfo" type="text" ></li>
  70. <li>买家名称:<input value="" name="fullname" type="text" ></li>
  71. <li>编号:<input value="" name="number" type="text" ></li>
  72. <li>运单号:<input value="" name="waybill" type="text" ></li>
  73. <li>交易号:<input value="" name="paypal" type="text" ></li>
  74. <li>产品编号:<input value="" name="sku" type="text" ></li>
  75. <li>发货声明:<select name="dlz" class="select">
  76. <option value="">请选择</option>
  77. <option value="0">未声明</option>
  78. <option value="1">声明成功</option>
  79. <option value="2">声明失败</option>
  80. <option value="3">不需要声明</option>
  81. </select>
  82. </li>
  83. <li>打印状态:<select name="print" class="select">
  84. <option value="">请选择</option>
  85. <option value="1">不可打印</option>
  86. <option value="2">未打印</option>
  87. <option value="3">已打印</option>
  88. </select>
  89. </li>
  90. <li>发货状态:<select name="library" class="select">
  91. <option value="">请选择</option>
  92. <option value="1">未出库</option>
  93. <option value="2">已出库</option>
  94. <option value="3">已退库</option>
  95. </select>
  96. </li>
  97. <!--
  98. <li>
  99. 订单状态:<select name="state" class="select">
  100. <option value="">请选择</option>
  101. {loop typeclass(29) as $val}
  102. <option value="{$val['id']}">{$val['title']}</option>
  103. {/loop}</select>
  104. </li>
  105. -->
  106. <li>选择时间条件:<select name="xztime" class="select">
  107. <option value="buytime">付款时间</option>
  108. <option value="librarytime">出库时间</option>
  109. <option value="printtime">打印时间</option>
  110. <option value="reviewtime">审核时间</option>
  111. <option value="dtime">订单时间</option>
  112. </select></li>
  113. <li><input id="timetk" value="{date('Y-m-d',time()-30*24*3600)} 0:00" name="timetkk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
  114. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d',time()+24*3600)} 0:00" name="timetjj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
  115. <li>排序:<select name="px" class="select">
  116. <option value="numberpx">编号</option>
  117. <option value="dtime">订单时间</option>
  118. </select>
  119. </li>
  120. <input type="hidden" name="pl" value="" />
  121. <li><span>确 定</span></li>
  122. </ul>
  123. <div class="control">
  124. <!-- <a href="javascript:void(0);" class="tae">同步速卖通订单</a> -->
  125. <!-- <a href="javascript:void(0);" class="change">批量发货声明</a> -->
  126. {if $power > 0}<a href="/fullorderexcel/">设置导出模板</a>{/if}<a href="javascript:void(0);" class="plcx">批量查询</a>
  127. <select name="fexcel" class="dcmb">
  128. <option value="">选择导出模板</option>
  129. {loop $fullorderexcel as $val}
  130. <option value="{$val['id']}">{$val['title']}</option>
  131. {/loop}</select>
  132. <select name="wlshop" class="dcmb dryd">
  133. <option value="">选择导入运单店铺</option>
  134. {loop usershop() as $val}
  135. <option value="{$val['id']}">{$val['shopname']}</option>
  136. {/loop}</select>
  137. {if $error > 0}
  138. <a href="/fullordersmt/error/" style="background-color:#F00">打印异常订单({$error})</a>
  139. {/if}
  140. <a href="javascript:void(0);" class="xxpl">QM批量导入</a>
  141. </div>
  142. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  143. <tr>
  144. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  145. <td>店铺名称</td>
  146. <td>发货仓库</td>
  147. <!--<td>订单类型</td>-->
  148. <!--<td>负责人</td>-->
  149. <td>订单号</td>
  150. <td>编号</td>
  151. <td>买家名称</td>
  152. <td>订单状态</td>
  153. <td>付款时间</td>
  154. <!--<td>客户留言</td>-->
  155. <td>审核状态</td>
  156. <!--<td>打印状态</td>
  157. <td>出库状态</td>-->
  158. <td>物流方式</td>
  159. <td>运单号</td>
  160. <td>订单备注</td>
  161. <td>发货状态</td>
  162. <td>操作</td>
  163. </tr>
  164. </table>
  165. </div>
  166. <table class="datatext data" border="0" style="border-collapse:collapse;">
  167. </table>
  168. <div class="bomf"></div>
  169. </div>
  170. <div style="display:none;">
  171. <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
  172. </div>
  173. <script>
  174. var dataurl = "/fullordersmt"; var operate = "/fullordersmt";var excel = "/fullorderexcel/excel/";
  175. var customon = 1;
  176. function custom(){
  177. $(".data tr").each(function() {
  178. $(this).find('td:eq(0)').css("width","1%");
  179. $(this).find('td:eq(1)').css("width","7%");
  180. $(this).find('td:eq(5)').css("width","9%");
  181. $(this).find('td:eq(6)').css("width","9%");
  182. $(this).find('td:eq(8)').css("width","5%");
  183. $(this).find('td:eq(9)').css("width","6%");
  184. $(this).find('td:eq(13)').css("width","6%");
  185. });}
  186. </script>
  187. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  188. {Template footer}