fullordertt_edit.html 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  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. <div id="datatext">
  26. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  27. <tr>
  28. <td>商品名称</td>
  29. <td>数量</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 class="none"></td>
  38. <td>占单</td>
  39. <td>操作</td>
  40. </tr>
  41. </table>
  42. </div>
  43. <table class="datatext data" border="0" style="border-collapse:collapse;">
  44. {loop $fpdata as $val}
  45. <tr data-list="{$val['0']}">
  46. <td>{$val['1']}</td>
  47. <td>{$val['2']}</td>
  48. <td class="none">{$val['3']}</td>
  49. <td class="none">{$val['4']}</td>
  50. <td class="none">CNY</td>
  51. <td class="none">{$val['5']}</td>
  52. <td class="none">{$val['6']}</td>
  53. <td class="none">{$val['7']}</td>
  54. <td class="none">{$val['8']}</td>
  55. <td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td>
  56. <td {if isset($val['zd']) && $fullordertt['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td>
  57. <td class="czzd">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td>
  58. </tr>
  59. {/loop}
  60. </table>
  61. {if $thfpdata != ''}
  62. <table class="thfpdata data" border="0" style="border-collapse:collapse;margin-top:30px;display: none;">
  63. <tr style="background: #ececec;">
  64. <td>替换详情</td>
  65. <td>数量</td>
  66. <td>说明</td>
  67. </tr>
  68. <tr>
  69. {loop $thfpdata as $val}
  70. <tr data-tid="{$val['3']}">
  71. <td>{$val['0']}</td>
  72. <td>{$val['1']}</td>
  73. <td>{$val['2']}</td>
  74. </tr>
  75. {/loop}
  76. </tr>
  77. </table>
  78. {/if}
  79. </div>
  80. <ul class="setting">
  81. <div class="need">
  82. <li>
  83. <em>发货仓库:</em>
  84. <select name="warehouse" id="warehouse" class="select class">
  85. {loop warehouse(100) as $val}
  86. <option value="{$val['id']}" {if $fullordertt['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
  87. {/loop}</select>
  88. </li>
  89. <!-- 独立站使用下单时间,平台使用付款时间 -->
  90. {if $is == 1}
  91. <li>
  92. <em>订单时间:</em>
  93. <b>{$dtime}</b>
  94. </li>
  95. {else}
  96. <li>
  97. <em>付款时间:</em>
  98. <b>{date('Y-m-d H:i:s',$fullordertt['buytime'])}</b>
  99. </li>
  100. {/if}
  101. <li class="none">
  102. <em>结算币种:</em>
  103. <select name="currency" id="currency" class="select class">
  104. {loop typeclass(30) as $val}
  105. <option value="{$val['id']}" {if $fullordertt['currency'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  106. {/loop}
  107. </select>
  108. </li>
  109. <li>
  110. <em>订单号:</em>
  111. <b class="orderinfo">{$fullordertt['orderinfo']}</b>
  112. </li>
  113. <li>
  114. <em>编号:</em>
  115. <b>{$fullordertt['number']}</b>
  116. </li>
  117. <li>
  118. <em>订单状态:</em>
  119. {if ($fullordertt['state'] == 214 || $fullordertt['state'] == 217) && $vip != '1'}
  120. {loop typeclass(29,2) as $val}
  121. {if ($val['id'] == $fullordertt['state'])}
  122. <b>{$val['spare']}</b>
  123. {/if}
  124. {/loop}
  125. {else}
  126. <select name="state" class="select class">
  127. {loop typeclass(29,2) as $val}
  128. <option value="{$val['id']}" {if $fullordertt['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
  129. {/loop}
  130. <option value="283" {if $fullordertt['state'] == '283' || $fullordertt['state'] == '0'}selected="selected"{/if}>null</option>
  131. </select>
  132. {/if}
  133. </li>
  134. <li>
  135. <em>资金状态:</em>
  136. <select name="capital" class="select class">
  137. <option value="1" {if $fullordertt['capital'] == 1}selected="selected"{/if}>暂未支付</option>
  138. <option value="2" {if $fullordertt['capital'] == 2}selected="selected"{/if}>部分支付</option>
  139. <option value="3" {if $fullordertt['capital'] == 3}selected="selected"{/if}>全部支付</option>
  140. </select>
  141. </li>
  142. <li class="lengththree">
  143. <em>丢件险:</em>
  144. <b>{$fullordertt['insurance']}</b>
  145. </li>
  146. <li class="lengththree">
  147. <em>收款金额:</em>
  148. <input name="skje" class="must currencymoney" value="{$fullordertt['skje']}" type="text">
  149. <div class="none"><b class="currencymoney budget">{$fullordertt['budget']}</b></div>
  150. </li>
  151. <li class="lengththree">
  152. <em>预估到帐金额:</em>
  153. <input name="newbudget" class="must" value="{$fullordertt['budget']}" type="text">
  154. </li>
  155. <!--
  156. <li class="lengththree">
  157. <em>运费:</em>
  158. <input name="freight" class="must currencymoney" value="{$fullordertt['freight']}" type="text"> <font class="currency">CNY</font>
  159. </li>
  160. <li class="lengthfour">
  161. <em>物流金额:</em>
  162. <input name="expressmoney" class="must currencymoney" value="{$fullordertt['expressmoney']}" type="text">
  163. </li>
  164. -->
  165. <li class="lengththree">
  166. <em>补/退原额:</em>
  167. <input name="refundy" class="must currencymoney" value="{$fullordertt['refundy']}" type="text">
  168. </li>
  169. <li class="lengththree">
  170. <em>补/退净额:</em>
  171. <input name="refundj" class="must currencymoney" value="{$fullordertt['refundj']}" type="text">
  172. </li>
  173. <li class="lengththree">
  174. <em>订单金额:</em>
  175. {if $power ==1}
  176. <input name="shouldmoney" class="must currencymoney" value="{$fullordertt['shouldmoney']}" type="text" {if $fullordertt['shouldmoney'] > 499}style="color:#F00"{/if}>
  177. {else}
  178. <input name="shouldmoney" class="must currencymoney" value="{$fullordertt['shouldmoney']}" type="text" readonly style="background-color: #ebebe4;{if $fullordertt['shouldmoney'] > 499}color:#F00{/if}">
  179. {/if}
  180. </li>
  181. <div class="refund {if $fullordertt['refundy'] == 0}none{/if}">
  182. <li>
  183. <em>日 期:</em>
  184. <input name="rtime" id="refundtime" value="{$fullordertt['rtime']!=0?date('Y-m-d',$fullordertt['rtime']):''}" type="text">
  185. </li>
  186. <li>
  187. <em>交易号:</em>
  188. <input name="rpaypal" value="{$fullordertt['rpaypal']}" type="text">
  189. </li>
  190. <li class="length">
  191. <em>原 因:</em>
  192. <textarea name="rtext" style="height:46px;">{$fullordertt['rtext']}</textarea>
  193. </li>
  194. </div>
  195. <li class="length">
  196. <em>产品标题:</em>
  197. <b>{$product}</b>
  198. </li>
  199. <li class="length">
  200. <em>SKU:</em>
  201. <b>{$fullordertt['issku']}</b>
  202. </li>
  203. <li>
  204. <em>Quantity:</em>
  205. <b {if $qc > 0}style="color:#F00"{/if}>{$fullordertt['quantity']}</b>
  206. </li>
  207. <li>
  208. <em>运单号:</em>
  209. <input name="waybill" value="{$fullordertt['waybill']}" type="text">
  210. </li>
  211. {if $fullordertt['source'] != 1}
  212. <li class="length">
  213. <em>客户留言:</em>
  214. <b style="color:#F00">{$fullordertt['clientremarks']}</b>
  215. </li>
  216. {/if}
  217. <li class="length remark">
  218. <em>订单备注:</em>
  219. <textarea name="orderremarks" style="height:25px;">{$fullordertt['orderremarks']}</textarea>
  220. </li>
  221. <li class="length remark">
  222. <em>仓库品名:</em>
  223. <textarea name="shipremarks">{$fullordertt['shipremarks']}</textarea>
  224. </li>
  225. <li class="length remark">
  226. <em>是否加急:</em>
  227. <select id="is_jiaji_id" name="is_jiaji" class="select" >
  228. <option value="0" {if $fullordertt['is_jiaji'] == 0}selected="selected"{/if}>否</option>
  229. <option value="1" {if $fullordertt['is_jiaji'] == 1}selected="selected"{/if}>是</option>
  230. </select>
  231. <span id="isjiaji_flag" class="isjiaji {if $fullordertt['is_jiaji'] == 0} isjiaji_hid{/if}">*</span>
  232. </li>
  233. {if isset($klarnadata[1]) && $fullordertt['pay'] == 23}
  234. <div class="klarnadata none">
  235. <!--
  236. <li class="length">
  237. <em>Payment:</em>
  238. <b>{$klarnadata[1]}</b>
  239. </li>
  240. -->
  241. <li class="length">
  242. <em>billing:</em>
  243. <b>{$klarnadata[2]}</b>
  244. </li>
  245. <li class="length">
  246. <em>shipping:</em>
  247. <b{if str_replace(' ','',strtoupper($klarnadata['color'])) != str_replace(' ','',strtoupper($fullordertt['saddress']))} style="color:#f00"{/if}>{$klarnadata[3]}</b>
  248. </li>
  249. </div>
  250. {/if}
  251. {if isset($klarnadata[1]) && ($fullordertt['pay'] == 26 || $fullordertt['pay'] == 27 || $fullordertt['pay'] == 28 || $fullordertt['pay'] == 29)}
  252. <div class="klarnadata none">
  253. <li class="length">
  254. <em>Email:</em>
  255. <b>{$klarnadata[0]}</b>
  256. </li>
  257. <li class="length">
  258. <em>billing:</em>
  259. <b>{$klarnadata[1]}</b>
  260. </li>
  261. <li class="length">
  262. <em>shipping:</em>
  263. <b>{$klarnadata[2]}</b>
  264. </li>
  265. </div>
  266. {/if}
  267. {if isset($klarnadata[1]) && $fullordertt['pay'] == 22}
  268. <div class="klarnadata none">
  269. <li class="length">
  270. <em>name:</em>
  271. <b {if str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullordertt['sname'])) || str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullordertt['bname']))}style="color:#f00"{/if}>{$klarnadata[1]['name']}</b>
  272. </li>
  273. <li class="length">
  274. <em>address:</em>
  275. <b {if str_replace(array(' ','.',','),'',strtoupper($fullordertt['saddress'])) != str_replace(array(' ','.',','),'',strtoupper($klarnadata[1]['address']))}style="color:#f00"{/if}>{$klarnadata[1]['address']}</b>
  276. </li>
  277. <li class="length">
  278. <em>email:</em>
  279. <b {if strtoupper($klarnadata[1]['email']) != strtoupper($fullordertt['email'])}style="color:#f00"{/if}>{$klarnadata[1]['email']}</b>
  280. </li>
  281. </div>
  282. {/if}
  283. {if isset($klarnadata[1]) && $fullordertt['pay'] == 1211}
  284. <div class="klarnadata none">
  285. <li class="length">
  286. <em>Stripe Amount:</em>
  287. <b>{$klarnadata[1]['shouldmoney']}</b>
  288. </li>
  289. </div>
  290. {/if}
  291. <li>
  292. <em>邮箱:</em>
  293. <input name="email" value="{$fullordertt['email']}" type="text">
  294. </li>
  295. <li>
  296. <em>国家:</em>
  297. <select name="country" class="select class">
  298. {loop $country as $val}
  299. <option value="{$val['id']}" {if $fullordertt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
  300. {/loop}
  301. </select>
  302. </li>
  303. <li>
  304. <em>联系方式:</em>
  305. <input name="phone" class="must" value="{$fullordertt['phone']}" type="text">
  306. </li>
  307. <li>
  308. <em>省州:</em>
  309. <input value="{$fullordertt['province']}" name="province" type="text" {if (($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')) || $fullordertt['province'] == 'Jersey'}style="color:#F00"{/if}>
  310. </li>
  311. <li>
  312. <em>公司名:</em>
  313. <input name="client" value="{$fullordertt['client']}" type="text">
  314. </li>
  315. <li>
  316. <em>城市:</em>
  317. <input class="must" value="{$fullordertt['city']}" name="city" type="text" {if ($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')}style="color:#F00"{/if}>
  318. </li>
  319. <li>
  320. <em>收货人姓名:</em>
  321. <input name="name" class="must" value="{$fullordertt['name']}" type="text">
  322. </li>
  323. <li>
  324. <em>邮编:</em>
  325. <input value="{$fullordertt['zipcode']}" name="zipcode" type="text">
  326. </li>
  327. {if $is == 5}
  328. <li class="length">
  329. <em>街道:</em>
  330. <input value="{$fullordertt['street']}" name="street" type="text">
  331. </li>
  332. {/if}
  333. <li class="length">
  334. <em>地址2:</em>
  335. <input value="{$fullordertt['address2']}" name="address2" type="text">
  336. </li>
  337. <li class="length">
  338. <em>地址1:</em>
  339. <input value="{$fullordertt['address']}" name="address" type="text">
  340. </li>
  341. <li class="lengththree">
  342. <em>申报品名:</em>
  343. <select name="sbpm" class="select class" style="width:59%">
  344. {loop customsdeclaration(50) as $val}
  345. <option value="{$val['ename']}" {if $fullordertt['sbpm'] == $val['ename']}selected="selected"{/if}>{$val['ename']}</option>
  346. {/loop}
  347. </select>
  348. </li>
  349. <li class="lengththree">
  350. <em>中文品名:</em>
  351. <select name="zwpm" class="select class" style="width:50%">
  352. {loop customsdeclaration(50) as $val}
  353. <option value="{$val['zname']}" {if $fullordertt['zwpm'] == $val['zname']}selected="selected"{/if}>{$val['zname']}</option>
  354. {/loop}
  355. </select>
  356. </li>
  357. <li class="lengththree">
  358. <em>海关编码:</em>
  359. <select name="hgbm" class="select class">
  360. {loop customsdeclaration(50) as $val}
  361. <option value="{$val['bname']}" {if $fullordertt['hgbm'] == $val['bname']}selected="selected"{/if}>{$val['bname']}</option>
  362. {/loop}
  363. </select>
  364. </li>
  365. <li class="lengththree">
  366. <em>条数:</em>
  367. <input name="ts" class="must" value="{$fullordertt['ts']}" type="text">
  368. </li>
  369. <li class="lengththree">
  370. <em>单条申报价:</em>
  371. <input name="dtsbjz" class="must" value="{$fullordertt['dtsbjz']}" type="text">
  372. </li>
  373. <li class="lengththree">
  374. <em>总申报价:</em>
  375. <input name="zsbjz" class="must" value="{$fullordertt['zsbjz']}" type="text" readonly style="background-color: #ebebe4;">
  376. </li>
  377. <li class="lengththree">
  378. <em>总重量:</em>
  379. <input name="zzl" class="must" value="{$fullordertt['zzl']}" type="text"><font class="zzldw">{$zzhl}</font>
  380. </li>
  381. <li class="lengththree">
  382. <em>总件数:</em>
  383. <input name="zjs" class="must" value="{$fullordertt['zjs']}" type="text" readonly style="background-color: #ebebe4;">
  384. </li>
  385. <li class="lengththree" style="position:relative;overflow:visible">
  386. {if $fullordertt["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;{if stripos($fullordertt["shippingmethod"],';') !== false}color:#F66{/if}"></i>{/if}
  387. <em>快递方式:</em>
  388. <select name="express" class="select class">
  389. {loop express(100) as $val}
  390. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordertt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  391. {/loop}
  392. </select>
  393. <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>
  394. </li>
  395. <li class="lengththree">
  396. <em>打印类型:</em>
  397. <select name="printtype" class="printtype select class">
  398. <option value="1" {if $fullordertt['printtype'] == 1}selected="selected"{/if}>运单</option>
  399. <option value="2" {if $fullordertt['printtype'] == 2}selected="selected"{/if}>发货单</option>
  400. <option value="3" {if $fullordertt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
  401. </select>
  402. </li>
  403. <li class="none">
  404. <em>发送留言:</em>
  405. <select name="msg" class="printtype select class">
  406. <option value="1" {if $fullordertt['msg'] == 1}selected="selected"{/if}>1</option>
  407. <option value="2" {if $fullordertt['msg'] == 2}selected="selected"{/if}>2</option>
  408. </select>
  409. </li>
  410. <li class="lengththree">
  411. <em>审核状态:</em>
  412. <b>
  413. {if $fullordertt['review'] == 1}
  414. 未送审
  415. {else if $fullordertt['review'] == 2}
  416. 待审核
  417. {else if $fullordertt['review'] == 3}
  418. 不通过
  419. {else if $fullordertt['review'] == 4}
  420. 取消重审
  421. {else if $fullordertt['review'] == 5}
  422. 审核通过
  423. {else if $fullordertt['review'] == 6 && $fullordertt['reviewtime']!= ''}
  424. {date('Y-m-d H:i',$fullordertt['reviewtime'])}
  425. {/if}
  426. </b>
  427. </li>
  428. <li class="lengththree">
  429. <em>IOSS:</em>
  430. <select name="ioss" class="select class">
  431. <option value="" {if $fullordertt['ioss'] == ''}selected="selected"{/if}>未选择</option>
  432. {loop ioss(100) as $val}
  433. <option value="{$val['ioss']}" {if $fullordertt['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
  434. {/loop}
  435. </select>
  436. </li>
  437. <li class="lengththree">
  438. <em>购买保险:</em>
  439. {if $fullordertt['print'] != 99}
  440. <input name="bx" class="must" value="{$fullordertt['bx']}" type="text"> USD
  441. {else}
  442. <b>{$fullordertt['bx']}</b> USD
  443. {/if}
  444. </li>
  445. <li class="lengththree">
  446. <em>是否签名:</em>
  447. {if ($fullordertt['review'] < 5 || $vip == '1') && ($fullordertt['express'] == 2 || $fullordertt['express'] == 24 || $fullordertt['express'] == 31)}
  448. <select name="qm" class="printtype select class">
  449. <option value="0" {if $fullordertt['qm'] == 0}selected="selected"{/if}>不需要</option>
  450. <option value="1" {if $fullordertt['qm'] == 1}selected="selected"{/if}>需要</option>
  451. </select>
  452. {else}
  453. <select name="qm" class="printtype select class">
  454. <option value="0">无</option>
  455. </select>
  456. <!--
  457. <b>{if $fullordertt['express'] != 24 && $fullordertt['express'] != 31}{if $fullordertt['qm'] == 0}不需要{else if $fullordertt['qm'] == 1}需要{/if}{else}{if $fullordertt['qm'] == 0}默认{else if $fullordertt['qm'] == 1}成人签名{else if $fullordertt['qm'] == 2}必须签名但可代签{/if}{/if}</b>-->
  458. {/if}
  459. </li>
  460. <!--<li class="lengththree">-->
  461. <!--<em>服务类型:</em>-->
  462. <!--{if $fullordertt['print'] != 3 || ($fullordertt['print'] == 3 && $vip == '1')}-->
  463. <!--<select name="js" class="printtype select class">-->
  464. <!--<option value="0" {if $fullordertt['js'] == 0}selected="selected"{/if}>Ground Advantage</option>-->
  465. <!--<option value="1" {if $fullordertt['js'] == 1}selected="selected"{/if}>PRIORITY</option>-->
  466. <!--<option value="2" {if $fullordertt['js'] == 2}selected="selected"{/if}>EXPRESS</option>-->
  467. <!-- <option value="3" {if $fullordertt['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
  468. <!--</select>-->
  469. <!--{else}-->
  470. <!--<b>{if $fullordertt['js'] == 0}Ground Advantage{else if $fullordertt['js'] == 1}PRIORITY{else if $fullordertt['js'] == 2}EXPRESS{/if}</b>-->
  471. <!--{/if}-->
  472. <!--</li>-->
  473. <li class="lengththree">
  474. <em>服务类型: </em>
  475. {if $fullorder['print'] != 3 || ($fullorder['print'] == 3 && $vip == '1')}
  476. {if in_array($fullorder['express'],[24,31])}
  477. <select name="js" class="printtype select class">
  478. <option value="4" {if $fullorder['js'] != 3}selected="selected"{/if}>FICP</option>
  479. <option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>IP</option>
  480. </select>
  481. {else}
  482. <select name="js" class="printtype select class">
  483. <option value="0" {if $fullorder['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
  484. <option value="1" {if $fullorder['js'] == 1}selected="selected"{/if}>PRIORITY</option>
  485. <option value="2" {if $fullorder['js'] == 2}selected="selected"{/if}>EXPRESS</option>
  486. <!-- <option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
  487. </select>
  488. {/if}
  489. {else}
  490. {if in_array($fullorder['express'],[24,31])}
  491. <b>{if ($fullorder['js'] == 3)} IP {else} FICP{/if}</b>
  492. {else}
  493. <b>{if $fullorder['js'] == 0}Ground Advantage{else if $fullorder['js'] == 1}PRIORITY{else if $fullorder['js'] == 2}EXPRESS{/if}</b>
  494. {/if}
  495. {/if}
  496. </li>
  497. <!--
  498. <li class="lengththree">
  499. <em>延迟发货:</em>
  500. {if $fullordertt['print'] != 3}
  501. <select name="yc" class="printtype select class">
  502. <option value="0" {if $fullordertt['yc'] == 0}selected="selected"{/if}>0</option>
  503. <option value="1" {if $fullordertt['yc'] == 1}selected="selected"{/if}>1</option>
  504. <option value="2" {if $fullordertt['yc'] == 2}selected="selected"{/if}>2</option>
  505. <option value="3" {if $fullordertt['yc'] == 3}selected="selected"{/if}>3</option>
  506. <option value="4" {if $fullordertt['yc'] == 4}selected="selected"{/if}>4</option>
  507. <option value="5" {if $fullordertt['yc'] == 5}selected="selected"{/if}>5</option>
  508. <option value="6" {if $fullordertt['yc'] == 6}selected="selected"{/if}>6</option>
  509. <option value="7" {if $fullordertt['yc'] == 7}selected="selected"{/if}>7</option>
  510. </select>
  511. {else}
  512. <b>{$fullordertt['yc']}</b>
  513. {/if}
  514. </li>
  515. -->
  516. <!--
  517. <li class="productdescription none">
  518. <em>产品描述:</em>
  519. <select name="productdescription" class="select class">
  520. </select>
  521. </li>
  522. <li class="customs none">
  523. <em>海关价值:</em>
  524. <input class="must" value="{$fullordertt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  525. </li>
  526. -->
  527. <li class="length">
  528. <em>不合格原因</em>
  529. <b>{$fullordertt['failed']}</b>
  530. </li>
  531. <li class="lengththree">
  532. <em>打印状态:</em>
  533. <b>
  534. {if $fullordertt['print'] == 1}
  535. 不可打印
  536. {else if $fullordertt['print'] == 2}
  537. 未打印
  538. {else if $fullordertt['print'] == 3}
  539. 已打印
  540. {/if}
  541. </b>
  542. </li>
  543. <li class="lengththree">
  544. <em>打印时间:</em>
  545. <b>{if $fullordertt['printtime'] != 0}{date('Y-m-d H:i',$fullordertt['printtime'])}{else}无{/if}
  546. </li>
  547. <li class="lengththree">
  548. <em>打印次数:</em>
  549. <b>{$fullordertt['printnumber']}</b>
  550. </li>
  551. <li class="lengththree">
  552. <em>出库状态:</em>
  553. <b class="clearreturnedit1">
  554. {if $fullordertt['library'] == 1}
  555. 未出库
  556. {else if $fullordertt['library'] == 2}
  557. 已出库
  558. {else if $fullordertt['library'] == 3}
  559. 已退库
  560. {/if}
  561. </b>
  562. </li>
  563. <li class="lengththree">
  564. <em>出库时间:</em>
  565. <b>
  566. {if $fullordertt['librarytime'] != 0}{date('Y-m-d H:i',$fullordertt['librarytime'])}{else}无{/if}
  567. </b>
  568. </li>
  569. <li class="lengththree clearreturnedit2">
  570. {if $fullordertt['library'] == 3}
  571. <em>退库时间:</em>
  572. {else}
  573. <em>允许发货:</em>
  574. {/if}
  575. <b>
  576. {if $fullordertt['library'] == 3}
  577. {date('Y-m-d H:i',$fullordertt['retreattime'])}
  578. {else}
  579. {if $fullordertt['libraryconfirm'] == 1}
  580. 不允许出库
  581. {else if $fullordertt['libraryconfirm'] == 2}
  582. 允许出库
  583. {/if}
  584. {/if}
  585. </b>
  586. </li>
  587. <li class="length">
  588. <em>不能出库原因:</em>
  589. <b>{$fullordertt['librarynot']}</b>
  590. </li>
  591. <li class="length">
  592. <em>历史运单号:</em>
  593. <b>{$downwaybill}</b>
  594. </li>
  595. <li class="length">
  596. <em>历史打印时间:</em>
  597. <b>{$printtime}</b>
  598. </li>
  599. <li class="length">
  600. <em>退货信息:</em>
  601. <b class="return">{$fullordertt['returndata']}</b>
  602. </li>
  603. <li class="length">
  604. <em>生产追踪:</em>
  605. <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
  606. </li>
  607. {if $fullordertt['waybill2'] != ''}
  608. <li class="length">
  609. <em>GES转DHL单号:</em>
  610. <b>{$fullordertt['waybill2']}</b>
  611. </li>
  612. {/if}
  613. </div>
  614. <div style="clear:both;"></div>
  615. </ul>
  616. <div class="need"><input type="hidden" name="id" value="{$fullordertt['id']}" />
  617. <input type="hidden" name="purchase" value="{$fullordertt['purchase']}" />
  618. <input type="hidden" name="cost" value="{$fullordertt['cost']}" /></div>
  619. <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
  620. <input type="hidden" name="shop" value="{$fullordertt['shop']}" />
  621. <input type="hidden" name="whlabel" value="{$fullordertt['whlabel']}" />
  622. <input type="hidden" name="data_shipremarks" value="{$fullordertt['shipremarks']}" />
  623. <input type="hidden" name="number" value="{$fullordertt['number']}" />
  624. <input type="hidden" name="jgyc" value="1" />
  625. <div class="button">{if $power ==1}<font class="power" style="float:left;">重置</font><font class="clearreturn" style="float:left;margin-left:20px;">清除退货信息</font>{/if}<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="javascript:void(0)" onclick="addShouhu(this)" data-uu="/returngoods/add/{$fullordertt['orderinfo']}/{$fullordertt['id']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}<font class="ddcf" data-f="fullordertt" style="float:left;margin-left:20px;">订单拆分</font><font class="yzaddress" style="margin-right:60px;">USPS验证地址</font> <font class="yzxx">保 存</font><font class="fullorderdata-ts" style="display: none;">保 存</font> <font class="fh">关 闭</font></div>
  626. </div>
  627. <div class="none fullorderdata"></div>
  628. <div class="zm none"></div>
  629. <script type="text/javascript">var addedit="/fullordertt/edit/";var fh="/fullordertt";
  630. $(".yzxx").click(function() {
  631. var zsbjz = "{$fullordertt['zsbjz']}";
  632. var data_shipremarks = $("input[name='data_shipremarks']").val();
  633. var shipremarks = $("textarea[name='shipremarks']").val();
  634. if(zsbjz == 0 || data_shipremarks != shipremarks)
  635. {
  636. yzxx();
  637. }
  638. else
  639. {
  640. $(".fullorderdata-ts").click();
  641. }
  642. });
  643. function yzxx() {
  644. $(".addful .addwp").html("<p style='margin:10px 0;font-weight: bold;text-align: center;font-size: 18px;'>请确认商品是否和仓库品名一致"+$("#datatext").html()+"<div><p style='margin:10px 0;font-weight: bold;'>仓库品名:</p>"+$("textarea[name='shipremarks']").val()+"</div><p style='margin-top:20px;text-align: right;'><font class='qdtjxx_fullorderdata' style='cursor: pointer;padding: 0 16px;height: 24px;line-height: normal;color: #000;font-size: 14px;border: 1px solid #adadad;outline: 0;margin-left: 8px;display: inline-block;background-color: #e1e1e1;'>确认提交</font><font class='qxxx' style='cursor: pointer;padding: 0 16px;height: 24px;line-height: normal;color: #000;font-size: 14px;border: 1px solid #adadad;outline: 0;margin-left: 8px;display: inline-block;background-color: #e1e1e1;'>取 消</font></p>");
  645. $(".datatext tr").each(function() {
  646. $(".addful .addwp .datatitle").append("<tr><td>"+$(this).find("td:eq(0)").text()+"</td><td>"+$(this).find("td:eq(1)").text()+"</td></tr>");
  647. });
  648. $(".addful .addwp .data").css("min-width","100%");
  649. $(".addful .addwp").css("max-height","80%");
  650. $(".addful .addwp").css("overflow-y","scroll");
  651. $(".addful .addwp .datatitle tr td:eq(10)").css("display","none");
  652. $(".addful .addwp .datatitle tr td:eq(11)").css("display","none");
  653. $(".addful .addwp .datatext tr td:eq(10)").css("display","none");
  654. $(".addful .addwp .datatext tr td:eq(11)").css("display","none");
  655. $( ".addwp" ).draggable({revert: true,iframeFix:true});// revert: true,axis: "x"
  656. window.setInterval("reinitIframe()", 200);
  657. $(".addful").show();
  658. };
  659. function crcol(){
  660. if( $("select[name=country]").find("option:selected").val() == 192)
  661. {
  662. $("select[name=country]").css("color","#000");
  663. }
  664. else
  665. {
  666. $("select[name=country]").css("color","#F00");
  667. }
  668. };
  669. $("select[name=country]").change(function(){
  670. crcol();
  671. });
  672. $(document).ready(function() {
  673. var eid = $("select[name='express']").children("option:selected").val();
  674. var jsxz = '{$fullordertt["js"]}';
  675. if(eid == '2' || eid == '64')//联邦的话替换签名选项
  676. {
  677. $("select[name='js']").html('<option value="0">Ground Advantage</option><option value="1">PRIORITY</option><option value="2">EXPRESS</option>');
  678. $("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
  679. }
  680. else if(eid == 24 || eid == 31){
  681. //fedex杭州的服务选择
  682. // $("select[name='js']").html('<option value="3">IP</option><option value="4">FICP</option>');
  683. // $("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
  684. //fedex杭州的服务选择
  685. if(jsxz == 3){
  686. $("select[name='js']").html('<option value="4">FICP</option><option value="3">IP</option>');
  687. $("select[name='js']").find('option[value="3"]').prop('selected','selected');
  688. }else{
  689. $("select[name='js']").html('<option value="4">FICP</option>');
  690. $("select[name='js']").find('option[value="4"]').prop('selected','selected');
  691. }
  692. }
  693. else
  694. {
  695. $("select[name='js']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
  696. }
  697. /**
  698. if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项11
  699. {
  700. $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>成人签名</option>');
  701. }
  702. else
  703. {
  704. $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
  705. }
  706. **/
  707. $("#refundtime").calendar();
  708. crcol();
  709. var index = $("#currency").find("option:selected").text();
  710. $(".currency").text(index);
  711. $(".datatext tr").each(function() {
  712. //$(this).find("td:eq(9)").text(index);
  713. //currencymoney需要更改的价格
  714. });
  715. custom();
  716. pptskc('2');
  717. var index = $("select[name='printtype']").find("option:selected").index();
  718. if(index == 0)
  719. {
  720. var e = $("select[name=express]").find("option:selected").val();
  721. var c = $("select[name=country]").find("option:selected").val();
  722. if(c != 192)
  723. {
  724. $("select[name=country]").css("color","#F00");
  725. }
  726. $.ajax({
  727. url: "/fullordertt/customs/",
  728. data: "e="+e+"&c="+c,
  729. type: "POST",
  730. dataType: "json",
  731. success: function(a) {
  732. if (a && a.success) {
  733. $("input[name=customs]").val(a.money);
  734. for(i=0;i<a.msg.length;i++)
  735. {
  736. $("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
  737. }
  738. $(".productdescription").show();
  739. $(".customs").show();
  740. } else {
  741. $(".productdescription").hide();
  742. $(".customs").hide();
  743. }
  744. }
  745. });
  746. }else
  747. {
  748. $(".productdescription").hide();
  749. $(".customs").hide();
  750. }
  751. });
  752. function custom() {
  753. var num = $('.packing .datatitle tr').children().length;
  754. $('.data tr td').css("width","5%");
  755. $(".data tr").each(function() {
  756. $(this).find('td:eq(0)').css("width","30%");
  757. $(this).find('td:eq(1)').css("width","3%");
  758. $(this).find('td:eq(10)').css("width","10%");
  759. });}
  760. //监听input开始
  761. $("input[name=dtsbjz]").bind("input propertychange",function(event){
  762. var ts = $("input[name=ts]").val()*1;
  763. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  764. var num = ts*dtsbjz;
  765. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  766. });
  767. $("input[name=ts]").bind("input propertychange",function(event){
  768. var ts = $("input[name=ts]").val()*1;
  769. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  770. var num = ts*dtsbjz;
  771. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  772. });
  773. $("input[name=refundy]").bind("input propertychange",function(event){
  774. var refundy = $("input[name=refundy]").val();
  775. if(refundy != 0)
  776. {
  777. $(".refund").show();
  778. $("input[name=rtime]").addClass("must");
  779. $("input[name=rpaypal]").addClass("must");
  780. $("input[name=rtext]").addClass("must");
  781. }
  782. else
  783. {
  784. $("input[name=rtime]").val("");
  785. $("input[name=rpaypal]").val("");
  786. $("input[name=rtext]").val("");
  787. $("input[name=rtime]").removeClass("must");
  788. $("input[name=rpaypal]").removeClass("must");
  789. $("input[name=rtext]").removeClass("must");
  790. $(".refund").hide();
  791. }
  792. });
  793. //监听input结束
  794. layx.tip('订单物流类型:{$fullordertt["shippingmethod"]}',document.getElementById('method'),'bottom');
  795. $("#klarnadata").click(function() {
  796. $(".klarnadata").fadeToggle(300);
  797. });
  798. $("#hqklarna").click(function() {
  799. $.ajax({
  800. url: "/fullordertt/klarnadata/",
  801. data: "number="+$("input[name=number]").val(),
  802. type: "POST",
  803. dataType: "json",
  804. success: function(a) {
  805. if (a && a.success) {
  806. $(".ts p").html(a.msg);
  807. $(".ts").show();
  808. setTimeout('$(".ts").fadeOut()', 1000);
  809. } else {
  810. $(".ts p").html(a.msg);
  811. $(".ts").show();
  812. setTimeout('$(".ts").fadeOut()', 1000);
  813. }
  814. }
  815. });
  816. });
  817. $('.ckthfpdata').click(function()
  818. {
  819. if($('.thfpdata').is(':hidden'))
  820. {
  821. $('.thfpdata').slideDown(100);
  822. $('.ckthfpdata').text("关闭替换内容");
  823. }
  824. else
  825. {
  826. $('.thfpdata').slideUp(100);
  827. $('.ckthfpdata').text("查看替换内容");
  828. }
  829. })
  830. $(".thfpdata tr").mouseenter(function(event){
  831. var list = $(this).data("tid");
  832. $(".datatext tr").each(function() {
  833. if($(this).data("list") == list)
  834. {
  835. $(this).css("background-color","#f8f094")
  836. }
  837. });
  838. });
  839. $(".thfpdata tr").mouseleave(function(event){
  840. $(".datatext tr").each(function() {
  841. $(this).removeAttr("style")
  842. });
  843. });
  844. $('.fullorderdata-ts').click(function()
  845. {
  846. var tjje = $("input[name='shouldmoney']").val();
  847. var tjwl = $("select[name='express']").children("option:selected").val();
  848. var tjqm = $("select[name='qm']").children("option:selected").val();
  849. var fwlx = $("select[name='js']").children("option:selected").val();
  850. if(tjje > 750 && (tjwl == 24 || tjwl == 31 || tjwl == 2) && tjqm != 1)
  851. {
  852. layx.confirm('提示','此金额和物流可以选择购买“签名”服务',null,{
  853. buttons:[
  854. {
  855. label:'操作签名',
  856. callback:function(id, button, event){
  857. layx.destroy(id);
  858. }
  859. },
  860. {
  861. label:'保存信息',
  862. callback:function(id, button, event){
  863. $('.fullorderdata').click();
  864. layx.destroy(id);
  865. }
  866. }
  867. ]
  868. });
  869. }
  870. else if(fwlx == 2)
  871. {
  872. layx.confirm('提示','确定要发“收费加急”吗?(请提前收取加急运费)',null,{
  873. buttons:[
  874. {
  875. label:'确定',
  876. callback:function(id, button, event){
  877. $('.fullorderdata').click();
  878. layx.destroy(id);
  879. }
  880. },
  881. {
  882. label:'取消',
  883. callback:function(id, button, event){
  884. layx.destroy(id);
  885. }
  886. }
  887. ]
  888. });
  889. }
  890. else
  891. {
  892. $('.fullorderdata').click();
  893. }
  894. });
  895. function addShouhu(that){
  896. let url = $(that).data("uu")
  897. layx.load('loadId','请求中。。。');
  898. location.href=url
  899. }
  900. $("#is_jiaji_id").on('change',function(){
  901. $("#isjiaji_flag").toggle()
  902. });
  903. </script>
  904. <script src="{$theme}js/fullorder-addedit.js?v=20240115000212"></script>
  905. <script type="text/javascript" src="{$theme}js/time.js"></script>
  906. {Template footer}