fullorder_edit.html 36 KB

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