fullorder_readonly.html 22 KB

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