fullordertt_zw.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. {Template header}
  2. <style type="text/css">
  3. .calendar{POSITION:absolute;}
  4. </style>
  5. <body>
  6. <div class="warp">
  7. <div class="packing">
  8. <table class="datatitle data" border="0" style="border-collapse:collapse;margin-top:10px;">
  9. <tr>
  10. <td>商品名称</td>
  11. <td>数量</td>
  12. <td class="none">单价</td>
  13. <td class="none">总价</td>
  14. <td class="none">币种</td>
  15. <td class="none"></td>
  16. <td class="none"></td>
  17. <td class="none"></td>
  18. <td class="none"></td>
  19. <td class="none"></td>
  20. <td class="none">占单</td>
  21. <td class="none">操作</td>
  22. </tr>
  23. </table>
  24. <table class="datatext data" border="0" style="border-collapse:collapse;">
  25. {loop $fpdata as $val}
  26. <tr data-list="{$val['0']}">
  27. <td>{$val['1']}</td>
  28. <td>{$val['2']}</td>
  29. <td class="none">{$val['3']}</td>
  30. <td class="none">{$val['4']}</td>
  31. <td class="none">CNY</td>
  32. <td class="none">{$val['5']}</td>
  33. <td class="none">{$val['6']}</td>
  34. <td class="none">{$val['7']}</td>
  35. <td class="none">{$val['8']}</td>
  36. <td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td>
  37. <td class="none" {if isset($val['zd']) && $fullordertt['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td>
  38. <td class="czzd none">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td>
  39. </tr>
  40. {/loop}
  41. </table>
  42. </div>
  43. <ul class="setting">
  44. <div class="need">
  45. <li>
  46. <em>发货仓库:</em>
  47. <b>
  48. {loop warehouse(100) as $val}
  49. {if $fullordertt['type'] == $val['id']}{$val['title']}{/if}
  50. {/loop}
  51. </b>
  52. </li>
  53. <!-- 独立站使用下单时间,平台使用付款时间 -->
  54. {if $is == 1}
  55. <li>
  56. <em>订单时间:</em>
  57. <b>{date('Y-m-d H:i:s',$fullordertt['dtime'])}</b>
  58. </li>
  59. {else}
  60. <li>
  61. <em>付款时间:</em>
  62. <b>{date('Y-m-d H:i:s',$fullordertt['buytime'])}</b>
  63. </li>
  64. {/if}
  65. <li class="none">
  66. <em>结算币种:</em>
  67. <b>{$fullordertt['currencytitle']}</b>
  68. </li>
  69. <li>
  70. <em>订单号:</em>
  71. <b class="orderinfo">{$fullordertt['orderinfo']}</b>
  72. </li>
  73. <li>
  74. <em>编号:</em>
  75. <b>{$fullordertt['number']}</b>
  76. </li>
  77. <li>
  78. <em>订单状态:</em>
  79. <b>
  80. {loop typeclass(29,2) as $val}
  81. {if $fullordertt['state'] == $val['id']}{$val['spare']}{/if}
  82. {/loop}
  83. </b>
  84. </li>
  85. <li>
  86. <em>资金状态:</em>
  87. <b>{$capital}</b>
  88. </li>
  89. <li>
  90. <em>丢件险:</em>
  91. <b>{$fullordertt['insurance']}</b>
  92. </li>
  93. <li>
  94. <em>预估到帐金额:</em>
  95. <b class="currencymoney budget">{$fullordertt['budget']}</b>
  96. </li>
  97. <!--
  98. <li class="lengthfour">
  99. <em>物流金额:</em>
  100. <b>{$fullordertt['expressmoney']}</b>
  101. </li>
  102. -->
  103. <li class="lengththree">
  104. <em>补/退款原额:</em>
  105. <b>{$fullordertt['refundy']}</b>
  106. </li>
  107. <li class="lengththree">
  108. <em>补/退净额:</em>
  109. <b>{$fullordertt['refundj']}</b>
  110. </li>
  111. <li class="lengththree">
  112. <em>订单金额:</em>
  113. <b {if $fullordertt['shouldmoney'] > 499}style="color:#F00"{/if}>{$fullordertt['shouldmoney']}</b>
  114. </li>
  115. <div class="refund {if $fullordertt['refundy'] == 0}none{/if}">
  116. <li>
  117. <em>日 期:</em>
  118. <b>{$fullordertt['rtime']!=0?date('Y-m-d',$fullordertt['rtime']):''}</b>
  119. </li>
  120. <li>
  121. <em>交易号:</em>
  122. <b>{$fullordertt['rpaypal']}</b>
  123. </li>
  124. <li class="length">
  125. <em>原 因:</em>
  126. <b>{$fullordertt['rtext']}</b>
  127. </li>
  128. </div>
  129. {if $is == 1}
  130. <li class="length">
  131. <em>产品标题:</em>
  132. <b>{$product}</b>
  133. </li>
  134. {if $fullordertt['source'] != 1}
  135. <li class="length">
  136. <em>商品属性:</em>
  137. <b>{$fullordertt['parameter']}</b>
  138. </li>
  139. <li class="length">
  140. <em>SKU:</em>
  141. <b>{$fullordertt['issku']}</b>
  142. </li>
  143. {/if}
  144. <li>
  145. <em>Quantity:</em>
  146. <b {if $fullordertt['quantity'] > 1}style="color:#F00"{/if}>{$fullordertt['quantity']}</b>
  147. </li>
  148. <li>
  149. <em>运单号:</em>
  150. <b>{$fullordertt['waybill']}</b>
  151. </li>
  152. {/if}
  153. {if $fullordertt['source'] != 1}
  154. <li class="length">
  155. <em>客户留言:</em>
  156. <b>{$fullordertt['clientremarks']}</b>
  157. </li>
  158. {/if}
  159. <li class="length remark">
  160. <em>订单备注:</em>
  161. <b>{$fullordertt['orderremarks']}</b>
  162. </li>
  163. <li class="length remark">
  164. <em>仓库品名:</em>
  165. <b>{$fullordertt['shipremarks']}</b>
  166. </li>
  167. <li>
  168. <em>邮箱:</em>
  169. <b>{$fullordertt['email']}</b>
  170. </li>
  171. <li>
  172. <em>国家:</em>
  173. <b>{$country}</b>
  174. </li>
  175. <li>
  176. <em>联系方式:</em>
  177. <b>{$fullordertt['phone']}</b>
  178. </li>
  179. <li>
  180. <em>省州:</em>
  181. <b {if ($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')}style="color:#F00"{/if}>{$fullordertt['province']}</b>
  182. </li>
  183. <li>
  184. <em>公司名:</em>
  185. <b>{$fullordertt['client']}</b>
  186. </li>
  187. <li>
  188. <em>城市:</em>
  189. <b {if ($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')}style="color:#F00"{/if}>{$fullordertt['city']}</b>
  190. </li>
  191. <li>
  192. <em>收货人姓名:</em>
  193. <b>{$fullordertt['name']}</b>
  194. </li>
  195. <li>
  196. <em>邮编:</em>
  197. <b>{$fullordertt['zipcode']}</b>
  198. </li>
  199. {if $is == 5}
  200. <li class="length">
  201. <em>街道:</em>
  202. <b>{$fullordertt['street']}</b>
  203. </li>
  204. {/if}
  205. <li class="length">
  206. <em>地址2:</em>
  207. <b>{$fullordertt['address2']}</b>
  208. </li>
  209. <li class="length">
  210. <em>地址:</em>
  211. <b>{$fullordertt['address']}</b>
  212. </li>
  213. <li class="lengththree">
  214. <em>申报品名:</em>
  215. <b style="width:50%">{$fullordertt['sbpm']}</b>
  216. </li>
  217. <li class="lengththree">
  218. <em>中文品名:</em>
  219. <b style="width:50%">{$fullordertt['zwpm']}</b>
  220. </li>
  221. <li class="lengththree">
  222. <em>海关编码:</em>
  223. <b>{$fullordertt['hgbm']}</b>
  224. </li>
  225. <li class="lengththree">
  226. <em>条数:</em>
  227. <b>{$fullordertt['ts']}</b>
  228. </li>
  229. <li class="lengththree">
  230. <em>单条申报价:</em>
  231. <b>{$fullordertt['dtsbjz']}</b>
  232. </li>
  233. <li class="lengththree">
  234. <em>总申报价:</em>
  235. <b>{$fullordertt['zsbjz']}</b>
  236. </li>
  237. <li class="lengththree">
  238. <em>总重量:</em>
  239. <b>{$fullordertt['zzl']}</b>
  240. </li>
  241. <li class="lengththree">
  242. <em>总件数:</em>
  243. <b>{$fullordertt['zjs']}</b>
  244. </li>
  245. <li class="lengththree" style="position:relative;overflow:visible">
  246. {if $fullordertt["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;"></i>{/if}
  247. <em>快递公司:</em>
  248. <b>
  249. {loop express(100) as $val}
  250. {if $fullordertt['express'] == $val['id']}{$val['servicename']}{/if}
  251. {/loop}
  252. </b>
  253. </li>
  254. <li>
  255. <em>打印类型:</em>
  256. <b>
  257. {if $fullordertt['printtype'] == 1}运单{elseif $fullordertt['printtype'] == 2}发货单{elseif $fullordertt['printtype'] == 3}不打印单据运单{/if}
  258. </b>
  259. </li>
  260. <li class="lengththree">
  261. <em>审核状态:</em>
  262. <b>
  263. {if $fullordertt['review'] == 1}
  264. 未送审
  265. {else if $fullordertt['review'] == 2}
  266. 待审核
  267. {else if $fullordertt['review'] == 3}
  268. 不通过
  269. {else if $fullordertt['review'] == 4}
  270. 取消重审
  271. {else if $fullordertt['review'] == 5}
  272. 审核通过
  273. {else if $fullordertt['review'] == 6}
  274. {date('Y-m-d H:i',$fullordertt['reviewtime'])}
  275. {/if}
  276. </b>
  277. </li>
  278. <li class="lengththree">
  279. <em>IOSS:</em>
  280. <!--
  281. <select name="ioss" class="select class">
  282. <option value="" {if $fullordertt['ioss'] == ''}selected="selected"{/if}>未选择</option>
  283. {loop ioss(100) as $val}
  284. <option value="{$val['ioss']}" {if $fullordertt['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
  285. {/loop}
  286. </select>
  287. -->
  288. <b>{loop ioss(100) as $val}{if $fullordertt['ioss'] == $val['ioss']}{$val['title']}{/if}{/loop}</b>
  289. </li>
  290. <li class="lengththree">
  291. <em>购买保险:</em>
  292. <b>{$fullordertt['bx']}</b> USD
  293. </li>
  294. <li class="lengththree">
  295. <em>是否签名:</em>
  296. <b>{if $fullordertt['express'] != 24 && $fullordertt['express'] != 31}{if $fullordertt['qm'] == 0}不需要{else if $fullordertt['qm'] == 1}需要{/if}{else}{if $fullordertt['qm'] == 0}默认{else if $fullordertt['qm'] == 1}成人签名{else if $fullordertt['qm'] == 2}必须签名但可代签{/if}{/if}</b>
  297. </li>
  298. <li class="lengththree">
  299. <em>服务类型:</em>
  300. {if $fullordertt['print'] != 3}
  301. <b>
  302. {if $fullordertt['js'] == 0}FIRST CLASS{elseif $fullordertt['js'] == 1}PRIORITY{elseif $fullordertt['js'] == 2}EXPRESS{/if}
  303. </b>
  304. {else}
  305. <b>{if $fullordertt['js'] == 0}FIRST CLASS{else if $fullordertt['js'] == 1}PRIORITY{else if $fullordertt['js'] == 2}EXPRESS{/if}</b>
  306. {/if}
  307. </li>
  308. <!-- <li class="lengthfour">
  309. <em>延迟发货:</em>
  310. {if $fullordertt['print'] != 3}
  311. <select name="yc" class="printtype select class">
  312. <option value="0" {if $fullordertt['yc'] == 0}selected="selected"{/if}>0</option>
  313. <option value="1" {if $fullordertt['yc'] == 1}selected="selected"{/if}>1</option>
  314. <option value="2" {if $fullordertt['yc'] == 2}selected="selected"{/if}>2</option>
  315. <option value="3" {if $fullordertt['yc'] == 3}selected="selected"{/if}>3</option>
  316. <option value="4" {if $fullordertt['yc'] == 4}selected="selected"{/if}>4</option>
  317. <option value="5" {if $fullordertt['yc'] == 5}selected="selected"{/if}>5</option>
  318. <option value="6" {if $fullordertt['yc'] == 6}selected="selected"{/if}>6</option>
  319. <option value="7" {if $fullordertt['yc'] == 7}selected="selected"{/if}>7</option>
  320. </select>
  321. {else}
  322. <b>{$fullordertt['yc']}</b>
  323. {/if}
  324. </li>
  325. -->
  326. <!--
  327. <li class="productdescription none">
  328. <em>产品描述:</em>
  329. <select name="productdescription" class="select class">
  330. </select>
  331. </li>
  332. <li class="customs none">
  333. <em>海关价值:</em>
  334. <input class="must" value="{$fullordertt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  335. </li>
  336. -->
  337. <li class="length">
  338. <em>不合格原因</em>
  339. <b>{$fullordertt['failed']}</b>
  340. </li>
  341. <li class="lengththree">
  342. <em>打印状态:</em>
  343. <b>
  344. {if $fullordertt['print'] == 1}
  345. 不可打印
  346. {else if $fullordertt['print'] == 2}
  347. 未打印
  348. {else if $fullordertt['print'] == 3}
  349. 已打印
  350. {/if}
  351. </b>
  352. </li>
  353. <li class="lengththree">
  354. <em>打印时间:</em>
  355. <b>{if $fullordertt['printtime'] != 0}{date('Y-m-d H:i',$fullordertt['printtime'])}{else}无{/if}
  356. </li>
  357. <li class="lengththree">
  358. <em>打印次数:</em>
  359. <b>{$fullordertt['printnumber']}</b>
  360. </li>
  361. <li class="lengththree">
  362. <em>出库状态:</em>
  363. <b>
  364. {if $fullordertt['library'] == 1}
  365. 未出库
  366. {else if $fullordertt['library'] == 2}
  367. 已出库
  368. {else if $fullordertt['library'] == 3}
  369. 已退库
  370. {/if}
  371. </b>
  372. </li>
  373. <li class="lengththree">
  374. <em>出库时间:</em>
  375. <b>
  376. {if $fullordertt['librarytime'] != 0}{date('Y-m-d H:i',$fullordertt['librarytime'])}{else}无{/if}
  377. </b>
  378. </li>
  379. <li class="lengththree">
  380. {if $fullordertt['library'] == 3}
  381. <em>退库时间:</em>
  382. {else}
  383. <em>允许发货:</em>
  384. {/if}
  385. <b>
  386. {if $fullordertt['library'] == 3}
  387. {date('Y-m-d H:i',$fullordertt['retreattime'])}
  388. {else}
  389. {if $fullordertt['libraryconfirm'] == 1}
  390. 不允许出库
  391. {else if $fullordertt['libraryconfirm'] == 2}
  392. 允许出库
  393. {/if}
  394. {/if}
  395. </b>
  396. </li>
  397. <li class="length">
  398. <em>不能出库原因:</em>
  399. <b>{$fullordertt['librarynot']}</b>
  400. </li>
  401. <li class="length">
  402. <em>历史运单号:</em>
  403. <b>{$downwaybill}</b>
  404. </li>
  405. <li class="length">
  406. <em>历史打印时间:</em>
  407. <b>{$printtime}</b>
  408. </li>
  409. <li class="length">
  410. <em>退货信息:</em>
  411. <b class="return">{$fullordertt['returndata']}</b>
  412. </li>
  413. <li class="length">
  414. <em>生产追踪:</em>
  415. <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
  416. </li>
  417. {if $fullordertt['waybill2'] != ''}
  418. <li class="length">
  419. <em>GES转DHL单号:</em>
  420. <b>{$fullordertt['waybill2']}</b>
  421. </li>
  422. {/if}
  423. </div>
  424. <div style="clear:both;"></div>
  425. </ul>
  426. <div class="need"><input type="hidden" name="id" value="{$fullordertt['id']}" />
  427. <input type="hidden" name="purchase" value="{$fullordertt['purchase']}" />
  428. <input type="hidden" name="cost" value="{$fullordertt['cost']}" />
  429. <input type="hidden" name="shop" value="{$fullordertt['shop']}" />
  430. <input type="hidden" name="whlabel" value="{$fullordertt['whlabel']}" />
  431. <input type="hidden" name="number" value="{$fullordertt['number']}" />
  432. <input type="hidden" name="jgyc" value="1" />
  433. </div>
  434. <div class="button"><font class="fh">关 闭</font></div>
  435. </div>
  436. <select name="warehouse" id="warehouse" class="select class none">
  437. {loop warehouse(100) as $val}
  438. <option value="{$val['id']}" {if $fullordertt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  439. {/loop}</select>
  440. <script>
  441. $(document).ready(function() {
  442. custom();
  443. pptskc('2');
  444. if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项11
  445. {
  446. $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>成人签名</option>');
  447. }
  448. else
  449. {
  450. $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
  451. }
  452. });
  453. function custom() {
  454. $(".data tr").each(function() {
  455. $(this).find('td:eq(0)').css("width","80%");
  456. $(this).find('td:eq(1)').css("width","20%");
  457. });}
  458. $("input[name=refundy]").bind("input propertychange",function(event){
  459. var refundy = $("input[name=refundy]").val();
  460. if(refundy != 0)
  461. {
  462. $(".refund").show();
  463. $("input[name=rtime]").addClass("must");
  464. $("input[name=rpaypal]").addClass("must");
  465. $("input[name=rtext]").addClass("must");
  466. }
  467. else
  468. {
  469. $("input[name=rtime]").val("");
  470. $("input[name=rpaypal]").val("");
  471. $("input[name=rtext]").val("");
  472. $("input[name=rtime]").removeClass("must");
  473. $("input[name=rpaypal]").removeClass("must");
  474. $("input[name=rtext]").removeClass("must");
  475. $(".refund").hide();
  476. }
  477. });
  478. layx.tip('订单物流类型:{$fullordertt["shippingmethod"]}',document.getElementById('method'),'bottom');
  479. $("#klarnadata").click(function() {
  480. $(".klarnadata").fadeToggle(300);
  481. });
  482. $("#hqklarna").click(function() {
  483. $.ajax({
  484. url: "/fullordertt/klarnadata/",
  485. data: "number="+$("input[name=number]").val(),
  486. type: "POST",
  487. dataType: "json",
  488. success: function(a) {
  489. if (a && a.success) {
  490. $(".ts p").html(a.msg);
  491. $(".ts").show();
  492. setTimeout('$(".ts").fadeOut()', 1000);
  493. } else {
  494. $(".ts p").html(a.msg);
  495. $(".ts").show();
  496. setTimeout('$(".ts").fadeOut()', 1000);
  497. }
  498. }
  499. });
  500. });
  501. $('.ckthfpdata').click(function()
  502. {
  503. if($('.thfpdata').is(':hidden'))
  504. {
  505. $('.thfpdata').slideDown(100);
  506. $('.ckthfpdata').text("关闭替换内容");
  507. }
  508. else
  509. {
  510. $('.thfpdata').slideUp(100);
  511. $('.ckthfpdata').text("查看替换内容");
  512. }
  513. })
  514. $(".thfpdata tr").mouseenter(function(event){
  515. var list = $(this).data("tid");
  516. $(".datatext tr").each(function() {
  517. if($(this).data("list") == list)
  518. {
  519. $(this).css("background-color","#f8f094")
  520. }
  521. });
  522. });
  523. $(".thfpdata tr").mouseleave(function(event){
  524. $(".datatext tr").each(function() {
  525. $(this).removeAttr("style")
  526. });
  527. });
  528. </script>
  529. <script type="text/javascript">var addedit="/fullordertt/readonly/";var fh="/fullordertt";</script>
  530. <script src="{$theme}js/fullorder-addedit.js?v=202207060002"></script>
  531. <script type="text/javascript" src="{$theme}js/time.js"></script>
  532. {Template footer}