fullordersmt_editoff.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="title">修改订单</div>
  5. <div class="packing">
  6. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  7. <tr>
  8. <td>产品ID</td>
  9. <td>产品编码</td>
  10. <td>主图</td>
  11. <td>商品名称</td>
  12. <td>每包条数</td>
  13. <td>数量</td>
  14. <td>每包单价</td>
  15. <td>总条数</td>
  16. <td>总金额</td>
  17. <td>币种</td>
  18. </tr>
  19. </table>
  20. <table class="datatext data" border="0" style="border-collapse:collapse;">
  21. {loop $fpdata as $val}
  22. <tr data-list="{$val['0']}">
  23. <td>{$val['1']}</td>
  24. <td>{$val['2']}</td>
  25. <td>{$val['3']}</td>
  26. <td>{$val['4']}</td>
  27. <td>{$val['5']}</td>
  28. <td>{$val['6']}</td>
  29. <td>{$val['7']}</td>
  30. <td>{$val['8']}</td>
  31. <td>{$val['9']}</td>
  32. <td>{$fullordersmt['currencytitle']}</td>
  33. </tr>
  34. {/loop}
  35. </table>
  36. </div>
  37. <ul class="setting">
  38. <div class="need">
  39. <li>
  40. <em>发货仓库:</em>
  41. <b>{loop warehouse(100) as $val}{if $fullordersmt['type'] == $val['id']}{$val['title']}{/if}{/loop}</b>
  42. </li>
  43. <li>
  44. <em>结算币种:</em>
  45. <b>{loop typeclass(30) as $val}{if $fullordersmt['currency'] == $val['id']}{$val['title']}{/if}{/loop}</b>
  46. </li>
  47. <li>
  48. <em>订单号:</em>
  49. <b>{$fullordersmt['orderinfo']}</b>
  50. </li>
  51. <li>
  52. <em>编号:</em>
  53. <b>{$fullordersmt['number']}</b>
  54. </li>
  55. <li>
  56. <em>付款时间:</em>
  57. <b>{date('Y-m-d H:i:s',$fullordersmt['buytime'])}</b>
  58. </li>
  59. <li>
  60. <em>预估到帐金额:</em>
  61. <b class="currencymoney budget">{$fullordersmt['budget']}</b> {$fullordersmt['currencytitle']}
  62. </li>
  63. <li>
  64. <em>订单状态:</em>
  65. <b>
  66. {loop typeclass(29) as $val}
  67. {if $fullordersmt['state'] == $val['id']}
  68. {$val['title']}
  69. {/if}
  70. {/loop}
  71. </b>
  72. </li>
  73. <li>
  74. <em>资金状态:</em>
  75. <b>
  76. {if $fullordersmt['capital']==1}暂未支付
  77. {else if $fullordersmt['capital']==2}部分支付
  78. {else if $fullordersmt['capital']==3}全部支付
  79. {else}无{/if}
  80. </b>
  81. </li>
  82. <li class="lengththree">
  83. <em>运费:</em>
  84. <b>{$fullordersmt['freight']}</b>
  85. {$fullordersmt['currencytitle']}
  86. </li>
  87. <li class="lengththree">
  88. <em>物流金额:</em>
  89. <b>{$fullordersmt['expressmoney']}</b>
  90. {$fullordersmt['currencytitle']}
  91. </li>
  92. <li class="lengththree">
  93. <em>订单金额:</em>
  94. <b>{$fullordersmt['shouldmoney']}</b>
  95. {$fullordersmt['currencytitle']}
  96. </li>
  97. <li class="length">
  98. <em>客户备注:</em>
  99. <b>{$fullordersmt['clientremarks']}</b>
  100. </li>
  101. <li class="length remark">
  102. <em>订单备注:</em>
  103. <b>{$fullordersmt['orderremarks']}</b>
  104. </li>
  105. <li class="length remark">
  106. <em>发货备注:</em>
  107. <b>{$fullordersmt['shipremarks']}</b>
  108. </li>
  109. <li>
  110. <em>客户姓名:</em>
  111. <b>{$fullordersmt['client']}</b>
  112. </li>
  113. <li>
  114. <em>邮箱:</em>
  115. <b>{$fullordersmt['email']}</b>
  116. </li>
  117. <li>
  118. <em>收货人姓名:</em>
  119. <b>{$fullordersmt['name']}</b>
  120. </li>
  121. <li>
  122. <em>联系方式:</em>
  123. <b>{$fullordersmt['phone']}</b>
  124. </li>
  125. <li>
  126. <em>国家:</em>
  127. <b>{loop $country as $val}{if $fullordersmt['country'] == $val['id']}{$val['name']}{/if}{/loop}</b>
  128. </li>
  129. <li>
  130. <em>省州:</em>
  131. <b>{$fullordersmt['province']}</b>
  132. </li>
  133. <li>
  134. <em>城市:</em>
  135. <b>{$fullordersmt['city']}</b>
  136. </li>
  137. <li>
  138. <em>邮编:</em>
  139. <b>{$fullordersmt['zipcode']}</b>
  140. </li>
  141. <li class="length">
  142. <em>街道:</em>
  143. <b>{$fullordersmt['street']}</b>
  144. </li>
  145. <li class="length">
  146. <em>地址2:</em>
  147. <b>{$fullordersmt['address2']}</b>
  148. </li>
  149. <li class="length">
  150. <em>地址:</em>
  151. <b>{$fullordersmt['address']}</b>
  152. </li>
  153. <li>
  154. <em>快递公司:</em>
  155. <b>{loop express(100) as $val}{if $fullordersmt['express'] == $val['id']}{$val['title']}{/if}{/loop}</b>
  156. </li>
  157. <li>
  158. <em>打印类型:</em>
  159. <b>
  160. {if $fullordersmt['printtype'] == 1}运单
  161. {else if $fullordersmt['printtype'] == 2}发货单
  162. {else if $fullordersmt['printtype'] == 3}不打印单据
  163. {/if}
  164. </b>
  165. </li>
  166. <li class="productdescription none">
  167. <em>产品描述:</em>
  168. <b>{$fullordersmt['productdescription']}</b>
  169. </li>
  170. <li class="customs none">
  171. <em>海关价值:</em>
  172. <b>{$fullordersmt['customs']}</b>
  173. {$fullordersmt['currencytitle']}
  174. </li>
  175. <li>
  176. <em>审核状态:</em>
  177. <b>
  178. {if $fullordersmt['review'] == 1}
  179. 未送审
  180. {else if $fullordersmt['review'] == 2}
  181. 待审核
  182. {else if $fullordersmt['review'] == 3}
  183. 不通过
  184. {else if $fullordersmt['review'] == 4}
  185. 取消重审
  186. {else if $fullordersmt['review'] == 5}
  187. 审核通过
  188. {else if $fullordersmt['review'] == 6}
  189. 自动通过
  190. {/if}
  191. </b>
  192. </li>
  193. <li>
  194. <em>审核备注</em>
  195. <b>{$fullordersmt['reviewremarks']}</b>
  196. </li>
  197. <li class="length">
  198. <em>不合格原因:</em>
  199. <b>{$fullordersmt['failed']}</b>
  200. </li>
  201. <li class="lengththree">
  202. <em>打印状态:</em>
  203. <b>
  204. {if $fullordersmt['print'] == 1}
  205. 不可打印
  206. {else if $fullordersmt['print'] == 2}
  207. 未打印
  208. {else if $fullordersmt['print'] == 3}
  209. 已打印
  210. {/if}
  211. </b>
  212. </li>
  213. <li class="lengththree">
  214. <em>打印时间:</em>
  215. <b>{if $fullordersmt['printtime'] != 0}{date('Y-m-d',$fullordersmt['printtime'])}{else}无{/if}
  216. </li>
  217. <li class="lengththree">
  218. <em>打印次数:</em>
  219. <b>{$fullordersmt['printnumber']}</b>
  220. </li>
  221. <li class="lengththree">
  222. <em>出库状态:</em>
  223. <b>
  224. {if $fullordersmt['library'] == 1}
  225. 未出库
  226. {else if $fullordersmt['library'] == 2}
  227. 已出库
  228. {/if}
  229. </b>
  230. </li>
  231. <li class="lengththree">
  232. <em>出库时间:</em>
  233. <b>
  234. {if $fullordersmt['librarytime'] != 0}{date('Y-m-d',$fullordersmt['librarytime'])}{else}无{/if}
  235. </b>
  236. </li>
  237. <li class="lengththree">
  238. <em>允许发货:</em>
  239. <b>
  240. {if $fullordersmt['library'] == 1}
  241. 不允许出库
  242. {else if $fullordersmt['library'] == 2}
  243. 允许已出库
  244. {/if}
  245. </b>
  246. </li>
  247. <li class="length">
  248. <em>不能出库原因:</em>
  249. <b>{$fullordersmt['librarynot']}</b>
  250. </li>
  251. </div>
  252. <div style="clear:both;"></div>
  253. </ul>
  254. <div class="need"><input type="hidden" name="id" value="{$fullordersmt['id']}" /><input type="hidden" name="cost" value="{$fullordersmt['cost']}" /></div>
  255. <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
  256. <div class="button"><font class="fh" onclick="javascript:history.back(-1);">返 回</font></div>
  257. </div>
  258. <div class="zm none"></div>
  259. <script type="text/javascript">var addedit="/fullordersmt/editoff/";var fh="/fullordersmt/data/";
  260. $(document).ready(function() {
  261. datasort();
  262. var index = $("select[name='printtype']").find("option:selected").index();
  263. if(index == 0)
  264. {
  265. var e = $("select[name=express]").find("option:selected").val();
  266. var c = $("select[name=country]").find("option:selected").val();
  267. $.ajax({
  268. url: "/fullordersmt/customs/",
  269. data: "e="+e+"&c="+c,
  270. type: "POST",
  271. dataType: "json",
  272. success: function(a) {
  273. if (a && a.success) {
  274. $("input[name=customs]").val(a.money);
  275. for(i=0;i<a.msg.length;i++)
  276. {
  277. $("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
  278. }
  279. $(".productdescription").show();
  280. $(".customs").show();
  281. } else {
  282. $(".productdescription").hide();
  283. $(".customs").hide();
  284. }
  285. }
  286. });
  287. }else
  288. {
  289. $(".productdescription").hide();
  290. $(".customs").hide();
  291. }
  292. });
  293. function datasort() {
  294. var num = $('.packing .datatitle tr').children().length;
  295. $('.data tr td').css("width","5%");
  296. $(".data tr").each(function() {
  297. $(this).find('td:eq(0)').css("width","8%");
  298. $(this).find('td:eq(1)').css("width","8%");
  299. $(this).find('td:eq(3)').css("width","35%");
  300. });}
  301. </script>
  302. <script src="{$theme}js/fullordersmt-addedit.js?v=2018010190001"></script>
  303. {Template footer}