fullorderxw_readonly.html 20 KB

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