fullordertt_edit.html 38 KB

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