fullorder_smt_readonly.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. {Template header}
  2. <style type="text/css">
  3. .calendar{POSITION:absolute;}
  4. </style>
  5. <body>
  6. <div class="warp">
  7. <div class="title">修改订单</div>
  8. <div class="packing">
  9. <div class="control">
  10. <a href="javascript:void(0);" class="exptj">添 加</a>
  11. <a href="javascript:void(0);" class="expxg">修 改</a>
  12. <a href="javascript:void(0);" class="expsc">删 除</a>
  13. </div>
  14. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  15. <tr>
  16. <td>商品名称</td>
  17. <td>数量</td>
  18. <td>单价</td>
  19. <td>总价</td>
  20. <td>币种</td>
  21. </tr>
  22. </table>
  23. <table class="datatext data" border="0" style="border-collapse:collapse;">
  24. {loop $fpdata as $val}
  25. <tr data-list="{$val['0']}">
  26. <td>{$val['1']}</td>
  27. <td>{$val['2']}</td>
  28. <td>{$val['3']}</td>
  29. <td>{$val['4']}</td>
  30. <td>CNY</td>
  31. <td class="none">{$val['5']}</td>
  32. <td class="none">{$val['6']}</td>
  33. <td class="none">{$val['7']}</td>
  34. </tr>
  35. {/loop}
  36. </table>
  37. </div>
  38. <ul class="setting">
  39. <div class="need">
  40. <li>
  41. <em>发货仓库:</em>
  42. <b>{loop warehouse(100) as $val}
  43. {if $fullorder['type'] == $val['id']}{$val['title']}{/if}
  44. {/loop}</b>
  45. </li>
  46. <li>
  47. <em>结算币种:</em>
  48. <b>{$fullorder_smt['currencytitle']}</b>
  49. </li>
  50. <li>
  51. <em>订单号:</em>
  52. <b>{$fullorder_smt['orderinfo']}</b>
  53. </li>
  54. <li>
  55. <em>编号:</em>
  56. <b>{$fullorder_smt['number']}</b>
  57. </li>
  58. <!-- 独立站使用下单时间,平台使用付款时间 -->
  59. {if $is == 1}
  60. <li>
  61. <em>订单时间:</em>
  62. <b>{date('Y-m-d H:i:s',$fullorder_smt['dtime'])}</b>
  63. </li>
  64. {else}
  65. <li>
  66. <em>付款时间:</em>
  67. <b>{date('Y-m-d H:i:s',$fullorder_smt['buytime'])}</b>
  68. </li>
  69. {/if}
  70. <li>
  71. <em>预估到帐金额:</em>
  72. <b class="currencymoney budget">{$fullorder_smt['budget']}</b>
  73. </li>
  74. <li>
  75. <em>订单状态:</em>
  76. <select name="state" class="select class">
  77. {loop typeclass(29,en) as $val}
  78. <option value="{$val['id']}" {if $fullorder_smt['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
  79. {/loop}
  80. <option value="283" {if $fullorder_smt['state'] == '283'}selected="selected"{/if}>null</option>
  81. </select>
  82. </li>
  83. <li>
  84. <em>资金状态:</em>
  85. <b>{$capital}</b>
  86. </li>
  87. <li class="lengthfour">
  88. <em>物流金额:</em>
  89. <b>{$fullorder_smt['expressmoney']}</b>
  90. </li>
  91. <li class="lengthfour">
  92. <em>补/退原额:</em>
  93. <b>{$fullorder['refundy']}</b>
  94. </li>
  95. <li class="lengthfour">
  96. <em>补/退净额:</em>
  97. <b>{$fullorder['refundj']}</b>
  98. </li>
  99. <li class="lengthfour">
  100. <em>订单金额:</em>
  101. <b>{$fullorder_smt['shouldmoney']}</b>
  102. </li>
  103. <div class="refund {if $fullorder_smt['refundy'] == 0}none{/if}">
  104. <li>
  105. <em>日 期:</em>
  106. <input name="rtime" id="refundtime" value="{$fullorder_smt['rtime']!=0?date('Y-m-d',$fullorder_smt['rtime']):''}" type="text">
  107. </li>
  108. <li>
  109. <em>交易号:</em>
  110. <input name="rpaypal" value="{$fullorder_smt['rpaypal']}" type="text">
  111. </li>
  112. <li class="length">
  113. <em>原 因:</em>
  114. <input name="rtext" value="{$fullorder_smt['rtext']}" type="text">
  115. </li>
  116. </div>
  117. <li>
  118. <em>Bill Name:</em>
  119. <b>{$fullorder_smt['client']}</b>
  120. </li>
  121. <li>
  122. <em>Ship Name:</em>
  123. <b>{$fullorder_smt['name']}</b>
  124. </li>
  125. {if $is == 1}
  126. <!-- 独立站显示内容 -->
  127. <li class="length">
  128. <em>Bill Address:</em>
  129. <b {if $fullorder_smt['baddress'] != $fullorder_smt['saddress']}style="color:#09F"{/if}>{$fullorder_smt['baddress']}</b>
  130. </li>
  131. <li class="length">
  132. <em>Ship Address:</em>
  133. <b>{$fullorder_smt['saddress']}</b>
  134. </li>
  135. <li class="length">
  136. <em>商品名称:</em>
  137. <b>{$fullorder_smt['product']}</b>
  138. </li>
  139. {if $fullorder_smt['source'] != 1}
  140. <li class="length">
  141. <em>商品属性:</em>
  142. <b>{$fullorder_smt['parameter']}</b>
  143. </li>
  144. <li class="length">
  145. <em>SKU:</em>
  146. <b>{$fullorder_smt['issku']}</b>
  147. </li>
  148. {/if}
  149. <li>
  150. <em>Paypal:</em>
  151. <b>{$fullorder_smt['paypal']}</b>
  152. </li>
  153. <li>
  154. <em>卖家保障:</em>
  155. <b>{$fullorder_smt['guarantee']}</b>
  156. </li>
  157. <li>
  158. <em>Quantity:</em>
  159. <b {if $fullorder_smt['quantity'] > 1}style="color:#F00"{/if}>{$fullorder_smt['quantity']}</b>
  160. </li>
  161. <li>
  162. <em>运单号:</em>
  163. <b>{$fullorder_smt['waybill']}</b>
  164. </li>
  165. {/if}
  166. {if $fullorder_smt['source'] != 1}
  167. <li class="length">
  168. <em>客户留言:</em>
  169. <b>{$fullorder_smt['clientremarks']}</b>
  170. </li>
  171. {/if}
  172. <li class="length remark">
  173. <em>订单备注:</em>
  174. <textarea name="orderremarks">{$fullorder_smt['orderremarks']}</textarea>
  175. </li>
  176. <li class="length remark">
  177. <em>仓库品名:</em>
  178. <b>{$fullorder_smt['shipremarks']}</b>
  179. </li>
  180. <li>
  181. <em>邮箱:</em>
  182. <b>{$fullorder_smt['email']}</b>
  183. </li>
  184. <li>
  185. <em>国家:</em>
  186. <b>{$country}</b>
  187. </li>
  188. <li>
  189. <em>联系方式:</em>
  190. <b>{$fullorder_smt['phone']}</b>
  191. </li>
  192. <li>
  193. <em>省州:</em>
  194. <b>{$fullorder_smt['province']}</b>
  195. </li>
  196. <li>
  197. <em>公司名:</em>
  198. <b>{$fullorder_smt['client']}</b>
  199. </li>
  200. <li>
  201. <em>城市:</em>
  202. <b>{$fullorder_smt['city']}</b>
  203. </li>
  204. <li>
  205. <em>收货人姓名:</em>
  206. <b>{$fullorder_smt['name']}</b>
  207. </li>
  208. <li>
  209. <em>邮编:</em>
  210. <b>{$fullorder_smt['zipcode']}</b>
  211. </li>
  212. {if $is != 1}
  213. <li class="length">
  214. <em>街道:</em>
  215. <b>{$fullorder_smt['street']}</b>
  216. </li>
  217. <li class="length">
  218. <em>地址2:</em>
  219. <b>{$fullorder_smt['address2']}</b>
  220. </li>
  221. {/if}
  222. <li class="length">
  223. <em>地址:</em>
  224. <b>{$fullorder_smt['address']}</b>
  225. </li>
  226. <li>
  227. <em>申报品名:</em>
  228. <b>{$fullorder_smt['sbpm']}</b>
  229. </li>
  230. <li>
  231. <em>中文品名:</em>
  232. <b>{$fullorder_smt['zwpm']}</b>
  233. </li>
  234. <li class="lengththree">
  235. <em>条数:</em>
  236. <b>{$fullorder_smt['ts']}</b>
  237. </li>
  238. <li class="lengththree">
  239. <em>单条申报价:</em>
  240. <b>{$fullorder_smt['dtsbjz']}</b>
  241. </li>
  242. <li class="lengththree">
  243. <em>总申报价:</em>
  244. <b>{$fullorder_smt['zsbjz']}</b>
  245. </li>
  246. <li class="lengththree">
  247. <em>总重量:</em>
  248. <b>{$fullorder_smt['zzl']}</b>
  249. </li>
  250. <li class="lengththree">
  251. <em>总件数:</em>
  252. <b>{$fullorder_smt['zjs']}</b>
  253. </li>
  254. <li class="lengththree">
  255. <em>快递方式:</em>
  256. <b>{loop express(100) as $val}{if $fullorder['express'] == $val['id']}{$val['servicename']}{/if}
  257. {/loop}</b>
  258. </li>
  259. <li class="lengththree">
  260. <em>打印类型:</em>
  261. <b>{if $fullorder['printtype'] == 1}运单{else if $fullorder['printtype'] == 2}发货单{else if $fullorder['printtype'] == 3}不打印单据{/if}</b>
  262. </b>
  263. </li>
  264. <li class="lengththree">
  265. <em>发送留言:</em>
  266. <b>{if $fullorder['msg'] == 1}1{else if $fullorder['msg'] == 2}2{/if}</b>
  267. </li>
  268. <li class="lengththree">
  269. <em>购买保险:</em>
  270. <b>{$fullorder['bx']}</b> USD
  271. </li>
  272. <li class="lengththree">
  273. <em>是否签名:</em>
  274. <b>{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}</b>
  275. </li>
  276. <li class="lengththree">
  277. <em>服务类型:</em>
  278. <b>{if $fullorder['js'] == 0}FIRST CLASS{else if $fullorder['js'] == 1}PRIORITY{/if}</b>
  279. </li>
  280. <li class="lengththree">
  281. <em>延迟发货:</em>
  282. <b>{$fullorder['yc']}</b>
  283. </li>
  284. <!--
  285. <li class="productdescription none">
  286. <em>产品描述:</em>
  287. <select name="productdescription" class="select class">
  288. </select>
  289. </li>
  290. <li class="customs none">
  291. <em>海关价值:</em>
  292. <input class="must" value="{$fullorder_smt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  293. </li>
  294. -->
  295. <li>
  296. <em>审核状态:</em>
  297. <b>
  298. {if $fullorder_smt['review'] == 1}
  299. 未送审
  300. {else if $fullorder_smt['review'] == 2}
  301. 待审核
  302. {else if $fullorder_smt['review'] == 3}
  303. 不通过
  304. {else if $fullorder_smt['review'] == 4}
  305. 取消重审
  306. {else if $fullorder_smt['review'] == 5}
  307. 审核通过
  308. {else if $fullorder_smt['review'] == 6}
  309. {date('Y-m-d H:i',$fullorder_smt['reviewtime'])}
  310. {/if}
  311. </b>
  312. </li>
  313. <li>
  314. <em>不合格原因</em>
  315. <b>{$fullorder_smt['failed']}</b>
  316. </li>
  317. <li class="lengththree">
  318. <em>打印状态:</em>
  319. <b>
  320. {if $fullorder_smt['print'] == 1}
  321. 不可打印
  322. {else if $fullorder_smt['print'] == 2}
  323. 未打印
  324. {else if $fullorder_smt['print'] == 3}
  325. 已打印
  326. {/if}
  327. </b>
  328. </li>
  329. <li class="lengththree">
  330. <em>打印时间:</em>
  331. <b>{if $fullorder_smt['printtime'] != 0}{date('Y-m-d H:i',$fullorder_smt['printtime'])}{else}无{/if}
  332. </li>
  333. <li class="lengththree">
  334. <em>打印次数:</em>
  335. <b>{$fullorder_smt['printnumber']}</b>
  336. </li>
  337. <li class="lengththree">
  338. <em>出库状态:</em>
  339. <b>
  340. {if $fullorder_smt['library'] == 1}
  341. 未出库
  342. {else if $fullorder_smt['library'] == 2}
  343. 已出库
  344. {else if $fullorder_smt['library'] == 3}
  345. 已退库
  346. {/if}
  347. </b>
  348. </li>
  349. <li class="lengththree">
  350. <em>出库时间:</em>
  351. <b>
  352. {if $fullorder_smt['librarytime'] != 0}{date('Y-m-d H:i',$fullorder_smt['librarytime'])}{else}无{/if}
  353. </b>
  354. </li>
  355. <li class="lengththree">
  356. <em>允许发货:</em>
  357. <b>
  358. {if $fullorder_smt['libraryconfirm'] == 1}
  359. 不允许出库
  360. {else if $fullorder_smt['libraryconfirm'] == 2}
  361. 允许出库
  362. {/if}
  363. </b>
  364. </li>
  365. <li class="length">
  366. <em>不能出库原因:</em>
  367. <b>{$fullorder_smt['librarynot']}</b>
  368. </li>
  369. <li class="length">
  370. <em>历史运单号:</em>
  371. <b>{$downwaybill}</b>
  372. </li>
  373. </div>
  374. <div style="clear:both;"></div>
  375. </ul>
  376. <div class="need"><input type="hidden" name="id" value="{$fullorder_smt['id']}" />
  377. <input type="hidden" name="purchase" value="{$fullorder_smt['purchase']}" />
  378. <input type="hidden" name="cost" value="{$fullorder_smt['cost']}" /></div>
  379. <div class="button"><font class="fullorderdata">提 交</font> <font class="fh">关 闭</font></div>
  380. </div>
  381. <select name="warehouse" id="warehouse" class="select class none">
  382. {loop warehouse(100) as $val}
  383. <option value="{$val['id']}" {if $fullorder_smt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  384. {/loop}</select>
  385. <script>
  386. $(document).ready(function() {
  387. $("#refundtime").calendar();custom();
  388. });
  389. function custom() {
  390. var num = $('.packing .datatitle tr').children().length;
  391. $('.data tr td').css("width","5%");
  392. $(".data tr").each(function() {
  393. $(this).find('td:eq(0)').css("width","30%");
  394. });}
  395. $("input[name=refundy]").bind("input propertychange",function(event){
  396. var refundy = $("input[name=refundy]").val();
  397. if(refundy != 0)
  398. {
  399. $(".refund").show();
  400. $("input[name=rtime]").addClass("must");
  401. $("input[name=rpaypal]").addClass("must");
  402. $("input[name=rtext]").addClass("must");
  403. }
  404. else
  405. {
  406. $("input[name=rtime]").val("");
  407. $("input[name=rpaypal]").val("");
  408. $("input[name=rtext]").val("");
  409. $("input[name=rtime]").removeClass("must");
  410. $("input[name=rpaypal]").removeClass("must");
  411. $("input[name=rtext]").removeClass("must");
  412. $(".refund").hide();
  413. }
  414. });
  415. </script>
  416. <script type="text/javascript">var addedit="/fullorder_smt/readonly/";</script>
  417. <script src="{$theme}js/fullorder-addedit.js?v=202002060002"></script>
  418. <script type="text/javascript" src="{$theme}js/time.js"></script>
  419. {Template footer}