fullorderamz_readonly.html 21 KB

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