fullorder_readonly.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  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. <div class="control">
  9. <a href="javascript:void(0);" class="exptj">添 加</a>
  10. <a href="javascript:void(0);" class="expxg">修 改</a>
  11. <a href="javascript:void(0);" class="expsc">删 除</a>
  12. {if $thfpdata != ''}
  13. <a href="javascript:void(0);" class="ckthfpdata">查看替换内容</a>
  14. {/if}
  15. </div>
  16. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  17. <tr>
  18. <td>商品名称</td>
  19. <td>数量</td>
  20. <td class="none">单价</td>
  21. <td class="none">总价</td>
  22. <td class="none">币种</td>
  23. <td class="none"></td>
  24. <td class="none"></td>
  25. <td class="none"></td>
  26. <td class="none"></td>
  27. <td class="none"></td>
  28. <td>占单</td>
  29. <td>操作</td>
  30. </tr>
  31. </table>
  32. <table class="datatext data" border="0" style="border-collapse:collapse;">
  33. {loop $fpdata as $val}
  34. <tr data-list="{$val['0']}">
  35. <td>{$val['1']}</td>
  36. <td>{$val['2']}</td>
  37. <td class="none">{$val['3']}</td>
  38. <td class="none">{$val['4']}</td>
  39. <td class="none">CNY</td>
  40. <td class="none">{$val['5']}</td>
  41. <td class="none">{$val['6']}</td>
  42. <td class="none">{$val['7']}</td>
  43. <td class="none">{$val['8']}</td>
  44. <td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td>
  45. <td {if isset($val['zd']) && $fullorder['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td>
  46. <td class="czzd">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td>
  47. </tr>
  48. {/loop}
  49. </table>
  50. {if $thfpdata != ''}
  51. <table class="thfpdata data" border="0" style="border-collapse:collapse;margin-top:30px;display: none;">
  52. <tr style="background: #ececec;">
  53. <td>替换详情</td>
  54. <td>数量</td>
  55. <td>说明</td>
  56. </tr>
  57. <tr>
  58. {loop $thfpdata as $val}
  59. <tr>
  60. <td>{$val['0']}</td>
  61. <td>{$val['1']}</td>
  62. <td>{$val['2']}</td>
  63. </tr>
  64. {/loop}
  65. </tr>
  66. </table>
  67. {/if}
  68. </div>
  69. <ul class="setting">
  70. <div class="need">
  71. <li>
  72. <em>发货仓库:</em>
  73. <select name="warehouse" id="warehouse" class="select class">
  74. {loop warehouse(100) as $val}
  75. <option value="{$val['id']}" {if $fullorder['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
  76. {/loop}</select>
  77. </li>
  78. <!-- 独立站使用下单时间,平台使用付款时间 -->
  79. {if $is == 1}
  80. <li>
  81. <em>订单时间:</em>
  82. <b>{date('Y-m-d H:i:s',$fullorder['dtime'])}</b>
  83. </li>
  84. {else}
  85. <li>
  86. <em>付款时间:</em>
  87. <b>{date('Y-m-d H:i:s',$fullorder['buytime'])}</b>
  88. </li>
  89. {/if}
  90. <li class="none">
  91. <em>结算币种:</em>
  92. <b>{$fullorder['currencytitle']}</b>
  93. </li>
  94. <li>
  95. <em>订单号:</em>
  96. <b class="orderinfo">{$fullorder['orderinfo']}</b>
  97. </li>
  98. <li>
  99. <em>编号:</em>
  100. <b>{$fullorder['number']}</b>
  101. </li>
  102. <li>
  103. <em>订单状态:</em>
  104. {if ($fullorder['state'] == 214 || $fullorder['state'] == 217) && $vip != '1'}
  105. {loop typeclass(29,2) as $val}
  106. {if ($val['id'] == $fullorder['state'])}
  107. <b>{$val['spare']}</b>
  108. {/if}
  109. {/loop}
  110. {else}
  111. <select name="state" class="select class">
  112. {loop typeclass(29,2) as $val}
  113. <option value="{$val['id']}" {if $fullorder['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
  114. {/loop}
  115. <option value="283" {if $fullorder['state'] == '283'}selected="selected"{/if}>null</option>
  116. </select>
  117. {/if}
  118. </li>
  119. <li>
  120. <em>资金状态:</em>
  121. <b>{$capital}</b>
  122. </li>
  123. <li>
  124. <em>丢件险:</em>
  125. <b>{$fullorder['insurance']}</b>
  126. </li>
  127. <li>
  128. <em>预估到帐金额:</em>
  129. <b class="currencymoney budget">{$fullorder['budget']}</b>
  130. </li>
  131. <!--
  132. <li class="lengthfour">
  133. <em>物流金额:</em>
  134. <b>{$fullorder['expressmoney']}</b>
  135. </li>
  136. -->
  137. <li class="lengththree">
  138. <em>补/退款原额:</em>
  139. <input name="refundy" class="must currencymoney" value="{$fullorder['refundy']}" type="text">
  140. </li>
  141. <li class="lengththree">
  142. <em>补/退净额:</em>
  143. <input name="refundj" class="must currencymoney" value="{$fullorder['refundj']}" type="text">
  144. </li>
  145. <li class="lengththree">
  146. <em>订单金额:</em>
  147. <b {if $fullorder['shouldmoney'] > 499}style="color:#F00"{/if}>{$fullorder['shouldmoney']}</b>
  148. </li>
  149. <div class="refund {if $fullorder['refundy'] == 0}none{/if}">
  150. <li>
  151. <em>日 期:</em>
  152. <input name="rtime" id="refundtime" value="{$fullorder['rtime']!=0?date('Y-m-d',$fullorder['rtime']):''}" type="text">
  153. </li>
  154. <li>
  155. <em>交易号:</em>
  156. <input name="rpaypal" value="{$fullorder['rpaypal']}" type="text">
  157. </li>
  158. <li class="length">
  159. <em>原 因:</em>
  160. <textarea name="rtext" style="height:46px;">{$fullorder['rtext']}</textarea>
  161. </li>
  162. </div>
  163. {if $is == 1}
  164. <li class="length">
  165. <em>产品标题:</em>
  166. <b>{$product}</b>
  167. </li>
  168. {if $fullorder['source'] != 1}
  169. <li class="length">
  170. <em>商品属性:</em>
  171. <b>{$fullorder['parameter']}</b>
  172. </li>
  173. <li class="length">
  174. <em>SKU:</em>
  175. <b>{$fullorder['issku']}</b>
  176. </li>
  177. {/if}
  178. <li>
  179. <em>Quantity:</em>
  180. <b {if $qc > 0}style="color:#F00"{/if}>{$fullorder['quantity']}</b>
  181. </li>
  182. <li>
  183. <em>运单号:</em>
  184. <b>{$fullorder['waybill']}</b>
  185. </li>
  186. {/if}
  187. {if $fullorder['source'] != 1}
  188. <li class="length">
  189. <em>客户留言:</em>
  190. <b>{$fullorder['clientremarks']}</b>
  191. </li>
  192. {/if}
  193. <li class="length remark">
  194. <em>订单备注:</em>
  195. <textarea name="orderremarks" style="height:25px;">{$fullorder['orderremarks']}</textarea>
  196. </li>
  197. <li class="length remark">
  198. <em>仓库品名:</em>
  199. <b>{$fullorder['shipremarks']}</b>
  200. </li>
  201. <li style="position:relative;overflow:visible">
  202. <em>交易号:</em>
  203. <b {$klarnacolor}>{$fullorder['paypal']}</b>
  204. {if $fullorder['pay'] == 22 || $fullorder['pay'] == 23 || $fullorder['pay'] == 26 || $fullorder['pay'] == 27 || $fullorder['pay'] == 1211 || $fullorder['pay'] == 7}
  205. {if $klarnadata == '' && ($fullorder['pay'] == 22 || $fullorder['pay'] == 23 || $fullorder['pay'] == 26 || $fullorder['pay'] == 27) || $fullorder['pay'] == 1211 || $fullorder['pay'] == 7}
  206. <i class="fa fa-random fa-rotate-90" id="hqklarna" style="position:absolute;z-index:1;right:60px;top:8px;"></i>
  207. {else}
  208. <i class="fa fa-plus" id="klarnadata" style="position:absolute;z-index:1;right:60px;top:8px;"></i>
  209. {/if}
  210. {/if}
  211. </li>
  212. <li class="lengthfour">
  213. <em>支付方式:</em>
  214. <b>{loop typeclass(4,3,100) as $val}{if $fullorder['pay'] == $val['id']}{$val['title']}{/if}{/loop}</b>
  215. </li>
  216. <li class="lengthfour">
  217. <em>卖家保障:</em>
  218. <b style="width:38%;">{$fullorder['guarantee']}</b>
  219. </li>
  220. {if isset($klarnadata[1]) && $fullorder['pay'] == 23}
  221. <div class="klarnadata none">
  222. <!--
  223. <li class="length">
  224. <em>Payment:</em>
  225. <b>{$klarnadata[1]}</b>
  226. </li>
  227. -->
  228. <li class="length">
  229. <em>billing:</em>
  230. <b>{$klarnadata[2]}</b>
  231. </li>
  232. <li class="length">
  233. <em>shipping:</em>
  234. <b{if str_replace(' ','',strtoupper($klarnadata['color'])) != str_replace(' ','',strtoupper($fullorder['saddress']))} style="color:#f00"{/if}>{$klarnadata[3]}</b>
  235. </li>
  236. </div>
  237. {/if}
  238. {if isset($klarnadata[1]) && ($fullorder['pay'] == 26 || $fullorder['pay'] == 27)}
  239. <div class="klarnadata none">
  240. <li class="length">
  241. <em>Email:</em>
  242. <b>{$klarnadata[0]}</b>
  243. </li>
  244. <li class="length">
  245. <em>billing:</em>
  246. <b>{$klarnadata[1]}</b>
  247. </li>
  248. <li class="length">
  249. <em>shipping:</em>
  250. <b>{$klarnadata[2]}</b>
  251. </li>
  252. </div>
  253. {/if}
  254. {if isset($klarnadata[1]) && ($fullorder['pay'] == 22 || $fullorder['pay'] == 7)}
  255. <div class="klarnadata none">
  256. <li class="length">
  257. <em>name:</em>
  258. <b {if str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorder['sname'])) || str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorder['bname']))}style="color:#f00"{/if}>{$klarnadata[1]['name']}</b>
  259. </li>
  260. <li class="length">
  261. <em>address:</em>
  262. <b {if str_replace(array(' ','.',','),'',strtoupper($fullorder['saddress'])) != str_replace(array(' ','.',','),'',strtoupper($klarnadata[1]['address']))}style="color:#f00"{/if}>{$klarnadata[1]['address']}</b>
  263. </li>
  264. <li class="length">
  265. <em>email:</em>
  266. <b {if strtoupper($klarnadata[1]['email']) != strtoupper($fullorder['email'])}style="color:#f00"{/if}>{$klarnadata[1]['email']}</b>
  267. </li>
  268. </div>
  269. {/if}
  270. {if isset($klarnadata[1]) && $fullorder['pay'] == 1211}
  271. <div class="klarnadata none">
  272. <li class="length">
  273. <em>Stripe Amount:</em>
  274. <b>{$klarnadata[1]['shouldmoney']}</b>
  275. </li>
  276. </div>
  277. {/if}
  278. <li>
  279. <em>Bill Name:</em>
  280. <b>{$fullorder['bname']}</b>
  281. </li>
  282. <li>
  283. <em>Ship Name:</em>
  284. <b>{$fullorder['sname']}</b>
  285. </li>
  286. <li class="length">
  287. <em>Bill Address:</em>
  288. <b {if strcasecmp($fullorder['baddress'],$fullorder['saddress']) != 0}style="color:#09F"{/if}>{$fullorder['baddress']}</b>
  289. </li>
  290. <li class="length">
  291. <em>Ship Address:</em>
  292. <b>{$fullorder['saddress']}</b>
  293. </li>
  294. <li>
  295. <em>邮箱:</em>
  296. <b>{$fullorder['email']}</b>
  297. </li>
  298. <li>
  299. <em>国家:</em>
  300. <b>{$country}</b>
  301. </li>
  302. <li>
  303. <em>联系方式:</em>
  304. <b>{$fullorder['phone']}</b>
  305. </li>
  306. <li>
  307. <em>省州:</em>
  308. <b {if (($fullorder['city'] == 'Newark' || $fullorder['city'] == 'Camden') && ($fullorder['province'] == 'New Jersey' || $fullorder['province'] == 'NJ')) || $fullorder['province'] == 'Jersey'}style="color:#F00"{/if}>{$fullorder['province']}</b>
  309. </li>
  310. <li>
  311. <em>公司名:</em>
  312. <b>{$fullorder['client']}</b>
  313. </li>
  314. <li>
  315. <em>城市:</em>
  316. <b {if ($fullorder['city'] == 'Newark' || $fullorder['city'] == 'Camden') && ($fullorder['province'] == 'New Jersey' || $fullorder['province'] == 'NJ')}style="color:#F00"{/if}>{$fullorder['city']}</b>
  317. </li>
  318. <li>
  319. <em>收货人姓名:</em>
  320. <b>{$fullorder['name']}</b>
  321. </li>
  322. <li>
  323. <em>邮编:</em>
  324. <b>{$fullorder['zipcode']}</b>
  325. </li>
  326. {if $is == 5}
  327. <li class="length">
  328. <em>街道:</em>
  329. <b>{$fullorder['street']}</b>
  330. </li>
  331. {/if}
  332. <li class="length">
  333. <em>地址2:</em>
  334. <b>{$fullorder['address2']}</b>
  335. </li>
  336. <li class="length">
  337. <em>地址1:</em>
  338. <b>{$fullorder['address']}</b>
  339. </li>
  340. <li class="lengththree">
  341. <em>申报品名:</em>
  342. <b style="width:55%">{$fullorder['sbpm']}</b>
  343. </li>
  344. <li class="lengththree">
  345. <em>中文品名:</em>
  346. <b style="width:50%">{$fullorder['zwpm']}</b>
  347. </li>
  348. <li class="lengththree">
  349. <em>海关编码:</em>
  350. <b>{$fullorder['hgbm']}</b>
  351. </li>
  352. <li class="lengththree">
  353. <em>条数:</em>
  354. <b>{$fullorder['ts']}</b>
  355. </li>
  356. <li class="lengththree">
  357. <em>单条申报价:</em>
  358. <b>{$fullorder['dtsbjz']}</b>
  359. </li>
  360. <li class="lengththree">
  361. <em>总申报价:</em>
  362. <b>{$fullorder['zsbjz']}</b>
  363. </li>
  364. <li class="lengththree">
  365. <em>总重量:</em>
  366. <b>{$fullorder['zzl']}</b> <font class="zzldw">{$zzhl}</font>
  367. </li>
  368. <li class="lengththree">
  369. <em>总件数:</em>
  370. <b>{$fullorder['zjs']}</b>
  371. </li>
  372. <li class="lengththree" style="position:relative;overflow:visible">
  373. {if $fullorder["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;"></i>{/if}
  374. <em>快递方式:</em>
  375. <select name="express" class="select class">
  376. {loop express(100) as $val}
  377. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullorder['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  378. {/loop}
  379. </select>
  380. <font class="expressfa"><i id="tipdata" class="fa fa-question-circle none"></i><font class="expressfa1 none"><font class="expressfa2" style="color:#903"></font></font></font>
  381. </li>
  382. <li class="lengththree">
  383. <em>打印类型:</em>
  384. <select name="printtype" class="printtype select class">
  385. <option value="1" {if $fullorder['printtype'] == 1}selected="selected"{/if}>运单</option>
  386. <option value="2" {if $fullorder['printtype'] == 2}selected="selected"{/if}>发货单</option>
  387. <option value="3" {if $fullorder['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
  388. </select>
  389. </li>
  390. <li class="none">
  391. <em>发送留言:</em>
  392. <select name="msg" class="printtype select class">
  393. <option value="1" {if $fullorder['msg'] == 1}selected="selected"{/if}>1</option>
  394. <option value="2" {if $fullorder['msg'] == 2}selected="selected"{/if}>2</option>
  395. </select>
  396. </li>
  397. <li class="lengththree">
  398. <em>审核状态:</em>
  399. <b>
  400. {if $fullorder['review'] == 1}
  401. 未送审
  402. {else if $fullorder['review'] == 2}
  403. 待审核
  404. {else if $fullorder['review'] == 3}
  405. 不通过
  406. {else if $fullorder['review'] == 4}
  407. 取消重审
  408. {else if $fullorder['review'] == 5}
  409. 审核通过
  410. {else if $fullorder['review'] == 6}
  411. {date('Y-m-d H:i',$fullorder['reviewtime'])}
  412. {/if}
  413. </b>
  414. </li>
  415. <li class="lengththree">
  416. <em>IOSS:</em>
  417. <!--
  418. <select name="ioss" class="select class">
  419. <option value="" {if $fullorder['ioss'] == ''}selected="selected"{/if}>未选择</option>
  420. {loop ioss(100) as $val}
  421. <option value="{$val['ioss']}" {if $fullorder['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
  422. {/loop}
  423. </select>
  424. -->
  425. <b>{loop ioss(100) as $val}{if $fullorder['ioss'] == $val['ioss']}{$val['title']}{/if}{/loop}</b>
  426. </li>
  427. <li class="lengththree">
  428. <em>购买保险:</em>
  429. {if $fullorder['print'] != 3}
  430. <input name="bx" class="must" value="{$fullorder['bx']}" type="text"> USD
  431. {else}
  432. <b>{$fullorder['bx']}</b> USD
  433. {/if}
  434. </li>
  435. <li class="lengththree">
  436. <em>是否签名:</em>
  437. {if $fullorder['review'] < 5 || $vip == '1'}
  438. <select name="qm" class="printtype select class">
  439. <option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>不需要</option>
  440. <option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>需要</option>
  441. </select>
  442. {else}
  443. <b>{if $fullorder['express'] != 24 && $fullorder['express'] != 31}{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}{else}{if $fullorder['qm'] == 0}默认{else if $fullorder['qm'] == 1}成人签名{else if $fullorder['qm'] == 2}必须签名但可代签{/if}{/if}</b>
  444. {/if}
  445. </li>
  446. <li class="lengththree">
  447. <em>服务类型:</em>
  448. {if $fullorder['express'] == 2 || $fullordersmt['express'] == 64}
  449. <b>{if $fullorder['js'] == 0}Ground Advantage
  450. {else if $fullorder['js'] == 1}PRIORITY
  451. {else if $fullorder['js'] == 2}EXPRESS
  452. {/if}
  453. </b>
  454. {else}
  455. <b>无</b>
  456. {/if}
  457. </li>
  458. <!-- <li class="lengthfour">
  459. <em>延迟发货:</em>
  460. {if $fullorder['print'] != 3}
  461. <select name="yc" class="printtype select class">
  462. <option value="0" {if $fullorder['yc'] == 0}selected="selected"{/if}>0</option>
  463. <option value="1" {if $fullorder['yc'] == 1}selected="selected"{/if}>1</option>
  464. <option value="2" {if $fullorder['yc'] == 2}selected="selected"{/if}>2</option>
  465. <option value="3" {if $fullorder['yc'] == 3}selected="selected"{/if}>3</option>
  466. <option value="4" {if $fullorder['yc'] == 4}selected="selected"{/if}>4</option>
  467. <option value="5" {if $fullorder['yc'] == 5}selected="selected"{/if}>5</option>
  468. <option value="6" {if $fullorder['yc'] == 6}selected="selected"{/if}>6</option>
  469. <option value="7" {if $fullorder['yc'] == 7}selected="selected"{/if}>7</option>
  470. </select>
  471. {else}
  472. <b>{$fullorder['yc']}</b>
  473. {/if}
  474. </li>
  475. -->
  476. <!--
  477. <li class="productdescription none">
  478. <em>产品描述:</em>
  479. <select name="productdescription" class="select class">
  480. </select>
  481. </li>
  482. <li class="customs none">
  483. <em>海关价值:</em>
  484. <input class="must" value="{$fullorder['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  485. </li>
  486. -->
  487. <li class="length">
  488. <em>不合格原因</em>
  489. <b>{$fullorder['failed']}</b>
  490. </li>
  491. <li class="lengththree">
  492. <em>打印状态:</em>
  493. <b>
  494. {if $fullorder['print'] == 1}
  495. 不可打印
  496. {else if $fullorder['print'] == 2}
  497. 未打印
  498. {else if $fullorder['print'] == 3}
  499. 已打印
  500. {/if}
  501. </b>
  502. </li>
  503. <li class="lengththree">
  504. <em>打印时间:</em>
  505. <b>{if $fullorder['printtime'] != 0}{date('Y-m-d H:i',$fullorder['printtime'])}{else}无{/if}
  506. </li>
  507. <li class="lengththree">
  508. <em>打印次数:</em>
  509. <b>{$fullorder['printnumber']}</b>
  510. </li>
  511. <li class="lengththree">
  512. <em>出库状态:</em>
  513. <b>
  514. {if $fullorder['library'] == 1}
  515. 未出库
  516. {else if $fullorder['library'] == 2}
  517. 已出库
  518. {else if $fullorder['library'] == 3}
  519. 已退库
  520. {/if}
  521. </b>
  522. </li>
  523. <li class="lengththree">
  524. <em>出库时间:</em>
  525. <b>
  526. {if $fullorder['librarytime'] != 0}{date('Y-m-d H:i',$fullorder['librarytime'])}{else}无{/if}
  527. </b>
  528. </li>
  529. <li class="lengththree">
  530. {if $fullorder['library'] == 3}
  531. <em>退库时间:</em>
  532. {else}
  533. <em>允许发货:</em>
  534. {/if}
  535. <b>
  536. {if $fullorder['library'] == 3}
  537. {date('Y-m-d H:i',$fullorder['retreattime'])}
  538. {else}
  539. {if $fullorder['libraryconfirm'] == 1}
  540. 不允许出库
  541. {else if $fullorder['libraryconfirm'] == 2}
  542. 允许出库
  543. {/if}
  544. {/if}
  545. </b>
  546. </li>
  547. <li class="length">
  548. <em>不能出库原因:</em>
  549. <b>{$fullorder['librarynot']}</b>
  550. </li>
  551. <li class="length">
  552. <em>历史运单号:</em>
  553. <b>{$downwaybill}</b>
  554. </li>
  555. <li class="length">
  556. <em>历史打印时间:</em>
  557. <b>{$printtime}</b>
  558. </li>
  559. <li class="length">
  560. <em>退货信息:</em>
  561. <b class="return">{$fullorder['returndata']}</b>
  562. </li>
  563. <li class="length">
  564. <em>生产追踪:</em>
  565. <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
  566. </li>
  567. {if $fullorder['waybill2'] != ''}
  568. <li class="length">
  569. <em>GES转DHL单号:</em>
  570. <b>{$fullorder['waybill2']}</b>
  571. </li>
  572. {/if}
  573. </div>
  574. <div style="clear:both;"></div>
  575. </ul>
  576. <div class="need"><input type="hidden" name="id" value="{$fullorder['id']}" />
  577. <input type="hidden" name="purchase" value="{$fullorder['purchase']}" />
  578. <input type="hidden" name="cost" value="{$fullorder['cost']}" />
  579. <input type="hidden" name="shop" value="{$fullorder['shop']}" />
  580. <input type="hidden" name="whlabel" value="{$fullorder['whlabel']}" />
  581. <input type="hidden" name="number" value="{$fullorder['number']}" />
  582. <input type="hidden" name="jgyc" value="1" />
  583. </div>
  584. <div class="button"><font class="return" style="float:left;margin-left:20px;">生成退货标签</font><font class="epod" style="float:left;margin-left:20px;">获取DHL签收单</font>{if $returngoods == 0}<font style="float:left;margin-left:20px;"><a href="/returngoods/add/{$fullorder['orderinfo']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}<font class="fullorderdata">保 存</font> <font class="fh">关 闭</font></div>
  585. </div>
  586. <select name="warehouse" id="warehouse" class="select class none">
  587. {loop warehouse(100) as $val}
  588. <option value="{$val['id']}" {if $fullorder['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  589. {/loop}</select>
  590. <script>
  591. $(document).ready(function() {
  592. $("#refundtime").calendar();custom();pptskc('2');
  593. if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项11
  594. {
  595. $("select[name='qm']").html('<option value="0" {if $fullorder["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullorder["qm"] == 1}selected="selected"{/if}>成人签名</option>');
  596. }
  597. else
  598. {
  599. $("select[name='qm']").html('<option value="0" {if $fullorder["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullorder["qm"] == 1}selected="selected"{/if}>需要</option>');
  600. }
  601. });
  602. function custom() {
  603. var num = $('.packing .datatitle tr').children().length;
  604. $('.data tr td').css("width","5%");
  605. $(".data tr").each(function() {
  606. $(this).find('td:eq(0)').css("width","30%");
  607. $(this).find('td:eq(1)').css("width","3%");
  608. $(this).find('td:eq(10)').css("width","10%");
  609. });}
  610. $("input[name=refundy]").bind("input propertychange",function(event){
  611. var refundy = $("input[name=refundy]").val();
  612. if(refundy != 0)
  613. {
  614. $(".refund").show();
  615. $("input[name=rtime]").addClass("must");
  616. $("input[name=rpaypal]").addClass("must");
  617. $("input[name=rtext]").addClass("must");
  618. }
  619. else
  620. {
  621. $("input[name=rtime]").val("");
  622. $("input[name=rpaypal]").val("");
  623. $("input[name=rtext]").val("");
  624. $("input[name=rtime]").removeClass("must");
  625. $("input[name=rpaypal]").removeClass("must");
  626. $("input[name=rtext]").removeClass("must");
  627. $(".refund").hide();
  628. }
  629. });
  630. layx.tip('订单物流类型:{$fullorder["shippingmethod"]}',document.getElementById('method'),'bottom');
  631. $("#klarnadata").click(function() {
  632. $(".klarnadata").fadeToggle(300);
  633. });
  634. $("#hqklarna").click(function() {
  635. $.ajax({
  636. url: "/fullorder/klarnadata/",
  637. data: "number="+$("input[name=number]").val(),
  638. type: "POST",
  639. dataType: "json",
  640. success: function(a) {
  641. if (a && a.success) {
  642. $(".ts p").html(a.msg);
  643. $(".ts").show();
  644. setTimeout('$(".ts").fadeOut()', 1000);
  645. } else {
  646. $(".ts p").html(a.msg);
  647. $(".ts").show();
  648. setTimeout('$(".ts").fadeOut()', 1000);
  649. }
  650. }
  651. });
  652. });
  653. $('.ckthfpdata').click(function()
  654. {
  655. if($('.thfpdata').is(':hidden'))
  656. {
  657. $('.thfpdata').slideDown(100);
  658. $('.ckthfpdata').text("关闭替换内容");
  659. }
  660. else
  661. {
  662. $('.thfpdata').slideUp(100);
  663. $('.ckthfpdata').text("查看替换内容");
  664. }
  665. })
  666. $(".thfpdata tr").mouseenter(function(event){
  667. var list = $(this).data("tid");
  668. $(".datatext tr").each(function() {
  669. if($(this).data("list") == list)
  670. {
  671. $(this).css("background-color","#f8f094")
  672. }
  673. });
  674. });
  675. $(".thfpdata tr").mouseleave(function(event){
  676. $(".datatext tr").each(function() {
  677. $(this).removeAttr("style")
  678. });
  679. });
  680. </script>
  681. <script type="text/javascript">var addedit="/fullorder/readonly/";var fh="/fullorder";</script>
  682. <script src="{$theme}js/fullorder-addedit.js?v=202312060001"></script>
  683. <script type="text/javascript" src="{$theme}js/time.js"></script>
  684. {Template footer}