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. </li>
  557. -->
  558. <!--
  559. <li class="productdescription none">
  560. <em>产品描述:</em>
  561. <select name="productdescription" class="select class">
  562. </select>
  563. </li>
  564. <li class="customs none">
  565. <em>海关价值:</em>
  566. <input class="must" value="{$fullordertt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  567. </li>
  568. -->
  569. <li class="length">
  570. <em>不合格原因</em>
  571. <b>{$fullordertt['failed']}</b>
  572. </li>
  573. <li class="lengththree">
  574. <em>打印状态:</em>
  575. <b>
  576. {if $fullordertt['print'] == 1}
  577. 不可打印
  578. {else if $fullordertt['print'] == 2}
  579. 未打印
  580. {else if $fullordertt['print'] == 3}
  581. 已打印
  582. {/if}
  583. </b>
  584. </li>
  585. <li class="lengththree">
  586. <em>打印时间:</em>
  587. <b>{if $fullordertt['printtime'] != 0}{date('Y-m-d H:i',$fullordertt['printtime'])}{else}无{/if}
  588. </li>
  589. <li class="lengththree">
  590. <em>打印次数:</em>
  591. <b>{$fullordertt['printnumber']}</b>
  592. </li>
  593. <li class="lengththree">
  594. <em>出库状态:</em>
  595. <b class="clearreturnedit1">
  596. {if $fullordertt['library'] == 1}
  597. 未出库
  598. {else if $fullordertt['library'] == 2}
  599. 已出库
  600. {else if $fullordertt['library'] == 3}
  601. 已退库
  602. {/if}
  603. </b>
  604. </li>
  605. <li class="lengththree">
  606. <em>出库时间:</em>
  607. <b>
  608. {if $fullordertt['librarytime'] != 0}{date('Y-m-d H:i',$fullordertt['librarytime'])}{else}无{/if}
  609. </b>
  610. </li>
  611. <li class="lengththree clearreturnedit2">
  612. {if $fullordertt['library'] == 3}
  613. <em>退库时间:</em>
  614. {else}
  615. <em>允许发货:</em>
  616. {/if}
  617. <b>
  618. {if $fullordertt['library'] == 3}
  619. {date('Y-m-d H:i',$fullordertt['retreattime'])}
  620. {else}
  621. {if $fullordertt['libraryconfirm'] == 1}
  622. 不允许出库
  623. {else if $fullordertt['libraryconfirm'] == 2}
  624. 允许出库
  625. {/if}
  626. {/if}
  627. </b>
  628. </li>
  629. <li class="length">
  630. <em>不能出库原因:</em>
  631. <b>{$fullordertt['librarynot']}</b>
  632. </li>
  633. <li class="length">
  634. <em>历史运单号:</em>
  635. <b>{$downwaybill}</b>
  636. </li>
  637. <li class="length">
  638. <em>历史打印时间:</em>
  639. <b>{$printtime}</b>
  640. </li>
  641. <li class="length">
  642. <em>退货信息:</em>
  643. <b class="return">{$fullordertt['returndata']}</b>
  644. </li>
  645. <li class="length">
  646. <em>生产追踪:</em>
  647. <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
  648. </li>
  649. {if $fullordertt['waybill2'] != ''}
  650. <li class="length">
  651. <em>GES转DHL单号:</em>
  652. <b>{$fullordertt['waybill2']}</b>
  653. </li>
  654. {/if}
  655. </div>
  656. <div style="clear:both;"></div>
  657. </ul>
  658. <div class="need"><input type="hidden" name="id" value="{$fullordertt['id']}" />
  659. <input type="hidden" name="purchase" value="{$fullordertt['purchase']}" />
  660. <input type="hidden" name="cost" value="{$fullordertt['cost']}" /></div>
  661. <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
  662. <input type="hidden" name="shop" value="{$fullordertt['shop']}" />
  663. <input type="hidden" name="whlabel" value="{$fullordertt['whlabel']}" />
  664. <input type="hidden" name="data_shipremarks" value="{$fullordertt['shipremarks']}" />
  665. <input type="hidden" name="number" value="{$fullordertt['number']}" />
  666. <input type="hidden" name="jgyc" value="1" />
  667. <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>
  668. </div>
  669. <div class="none fullorderdata"></div>
  670. <div class="zm none"></div>
  671. <script type="text/javascript">var addedit="/fullordertt/edit/";var fh="/fullordertt";
  672. $(".yzxx").click(function() {
  673. let source = "{$fullordertt['source']}"
  674. let shop = "{$fullordertt['shop']}"
  675. shop = shop*1
  676. if(source == 2){
  677. if([39,40,41,46,58].includes(shop)){
  678. let express = $("select[name='express']").find("option:selected").val();
  679. if(express != 83){
  680. layx.confirm('提示','确定CBT发货模式店铺不走cbt吗?',null,{
  681. buttons:[
  682. {
  683. label:'确定',
  684. callback:function(id, button, event){
  685. layx.destroy(id);
  686. doyzxx_next()
  687. }
  688. },
  689. {
  690. label:'取消',
  691. callback:function(id, button, event){
  692. return layx.destroy(id);
  693. }
  694. }
  695. ]
  696. });
  697. }else{
  698. doyzxx_next()
  699. }
  700. }else if([35,38,44].includes(shop)){
  701. let express = $("select[name='express']").find("option:selected").val();
  702. if(express != 85 && express != 87){
  703. layx.confirm('提示','确定shipping发货模式店铺不走shipping吗?',null,{
  704. buttons:[
  705. {
  706. label:'确定',
  707. callback:function(id, button, event){
  708. layx.destroy(id);
  709. doyzxx_next()
  710. }
  711. },
  712. {
  713. label:'取消',
  714. callback:function(id, button, event){
  715. return layx.destroy(id);
  716. }
  717. }
  718. ]
  719. });
  720. }else{
  721. doyzxx_next()
  722. }
  723. }else{
  724. doyzxx_next()
  725. }
  726. }else{
  727. doyzxx_next()
  728. }
  729. });
  730. function doyzxx_next(){
  731. var zsbjz = "{$fullordertt['zsbjz']}";
  732. var data_shipremarks = $("input[name='data_shipremarks']").val();
  733. var shipremarks = $("textarea[name='shipremarks']").val();
  734. if (zsbjz == 0 || data_shipremarks != shipremarks) {
  735. yzxx();
  736. } else {
  737. $(".fullorderdata-ts").click();
  738. }
  739. }
  740. function yzxx() {
  741. $(".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>");
  742. $(".datatext tr").each(function() {
  743. $(".addful .addwp .datatitle").append("<tr><td>"+$(this).find("td:eq(0)").text()+"</td><td>"+$(this).find("td:eq(1)").text()+"</td></tr>");
  744. });
  745. $(".addful .addwp .data").css("min-width","100%");
  746. $(".addful .addwp").css("max-height","80%");
  747. $(".addful .addwp").css("overflow-y","scroll");
  748. $(".addful .addwp .datatitle tr td:eq(10)").css("display","none");
  749. $(".addful .addwp .datatitle tr td:eq(11)").css("display","none");
  750. $(".addful .addwp .datatext tr td:eq(10)").css("display","none");
  751. $(".addful .addwp .datatext tr td:eq(11)").css("display","none");
  752. $( ".addwp" ).draggable({revert: true,iframeFix:true});// revert: true,axis: "x"
  753. window.setInterval("reinitIframe()", 200);
  754. $(".addful").show();
  755. };
  756. function crcol(){
  757. if( $("select[name=country]").find("option:selected").val() == 192)
  758. {
  759. $("select[name=country]").css("color","#000");
  760. }
  761. else
  762. {
  763. $("select[name=country]").css("color","#F00");
  764. }
  765. };
  766. $("select[name=country]").change(function(){
  767. crcol();
  768. });
  769. $(document).ready(function() {
  770. var eid = $("select[name='express']").children("option:selected").val();
  771. var jsxz = '{$fullordertt["js"]}';
  772. if(eid == '2' || eid == '64')//联邦的话替换签名选项
  773. {
  774. $("select[name='js']").html('<option value="0">Ground Advantage</option><option value="1">PRIORITY</option><option value="2">EXPRESS</option>');
  775. $("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
  776. }
  777. else if(eid == 24 || eid == 31){
  778. //fedex杭州的服务选择
  779. // $("select[name='js']").html('<option value="3">IP</option><option value="4">FICP</option>');
  780. // $("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
  781. //fedex杭州的服务选择
  782. if(jsxz == 3){
  783. $("select[name='js']").html('<option value="4">FICP</option><option value="3">IP</option>');
  784. $("select[name='js']").find('option[value="3"]').prop('selected','selected');
  785. }else{
  786. $("select[name='js']").html('<option value="4">FICP</option>');
  787. $("select[name='js']").find('option[value="4"]').prop('selected','selected');
  788. }
  789. }
  790. else if(eid == 1){
  791. $("select[name='js']").html('<option value="5">无</option><option value="6">从发件方付税</option>');
  792. if(jsxz == 6){
  793. $("select[name='js']").find('option[value="6"]').prop('selected','selected');
  794. }else{
  795. $("select[name='js']").find('option[value="5"]').prop('selected','selected');
  796. }
  797. }
  798. else
  799. {
  800. $("select[name='js']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
  801. }
  802. if(eid*1 > 0 ){
  803. //$('#tipdata').attr('title', a.msg);
  804. let msg = $("select[name='express']").children("option:selected").data('ts')
  805. $("#show_express").css("display","inline-block")
  806. showExpressTiShi(msg)
  807. }
  808. // let kdfws_content_text = $("select[name=ttsp_xz]").text().toLocaleLowerCase()
  809. // if(kdfws_content_text.includes("usps")){
  810. // alert(1)
  811. // }
  812. // if(kdfws_content_text.includes("fedex")){
  813. // alert(2)
  814. // }
  815. // if(kdfws_content_text.includes("ups")){
  816. // alert(3)
  817. // }
  818. // $(".express_tips").click(function(){
  819. // let msg = $(this).data('ts')
  820. // showExpressTiShi(msg)
  821. // })
  822. // $(".express_tips").hover(function(){
  823. /**
  824. if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项11
  825. {
  826. $("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>');
  827. }
  828. else
  829. {
  830. $("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>');
  831. }
  832. **/
  833. $("#refundtime").calendar();
  834. crcol();
  835. var index = $("#currency").find("option:selected").text();
  836. $(".currency").text(index);
  837. $(".datatext tr").each(function() {
  838. //$(this).find("td:eq(9)").text(index);
  839. //currencymoney需要更改的价格
  840. });
  841. custom();
  842. pptskc('2');
  843. var index = $("select[name='printtype']").find("option:selected").index();
  844. if(index == 0)
  845. {
  846. var e = $("select[name=express]").find("option:selected").val();
  847. var c = $("select[name=country]").find("option:selected").val();
  848. if(c != 192)
  849. {
  850. $("select[name=country]").css("color","#F00");
  851. }
  852. $.ajax({
  853. url: "/fullordertt/customs/",
  854. data: "e="+e+"&c="+c,
  855. type: "POST",
  856. dataType: "json",
  857. success: function(a) {
  858. if (a && a.success) {
  859. $("input[name=customs]").val(a.money);
  860. for(i=0;i<a.msg.length;i++)
  861. {
  862. $("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
  863. }
  864. $(".productdescription").show();
  865. $(".customs").show();
  866. } else {
  867. $(".productdescription").hide();
  868. $(".customs").hide();
  869. }
  870. }
  871. });
  872. }else
  873. {
  874. $(".productdescription").hide();
  875. $(".customs").hide();
  876. }
  877. let printtype = "{$fullordertt['printtype']}";
  878. console.log("=====================")
  879. if(printtype*1 == 0){
  880. let tmp_express = $("select[name=express]").find("option:selected").val();
  881. console.log(tmp_express)
  882. if(tmp_express){
  883. $("select[name=printtype]").val($("select[name=express]").find("option:selected").data('type'))
  884. }else{
  885. let tmp_first_express = $("select[name=express] option")[0].data('type');
  886. console.log(tmp_first_express)
  887. $("select[name=printtype]").val(tmp_first_express)
  888. }
  889. }
  890. let sbpm = "{$fullordertt['sbpm']}";
  891. if(sbpm.length == 0){
  892. let tmp_express = $("select[name=express]").find("option:selected").val();
  893. console.log(tmp_express)
  894. let tmp_sbpm = ""
  895. if(tmp_express){
  896. tmp_sbpm = $("select[name=express]").find("option:selected").data('sbpm');
  897. }else{
  898. tmp_sbpm = $("select[name=express] option")[0].data('sbpm');
  899. }
  900. if(tmp_sbpm.length > 0){
  901. $("select[name=sbpm]").val(tmp_sbpm).trigger('change')
  902. }
  903. }
  904. console.log("--------------------------")
  905. });
  906. function custom() {
  907. var num = $('.packing .datatitle tr').children().length;
  908. $('.data tr td').css("width","5%");
  909. $(".data tr").each(function() {
  910. $(this).find('td:eq(0)').css("width","30%");
  911. $(this).find('td:eq(1)').css("width","3%");
  912. $(this).find('td:eq(10)').css("width","10%");
  913. });}
  914. //监听input开始
  915. $("input[name=dtsbjz]").bind("input propertychange",function(event){
  916. var ts = $("input[name=ts]").val()*1;
  917. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  918. var num = ts*dtsbjz;
  919. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  920. });
  921. $("input[name=ts]").bind("input propertychange",function(event){
  922. var ts = $("input[name=ts]").val()*1;
  923. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  924. var num = ts*dtsbjz;
  925. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  926. });
  927. $("input[name=refundy]").bind("input propertychange",function(event){
  928. var refundy = $("input[name=refundy]").val();
  929. if(refundy != 0)
  930. {
  931. $(".refund").show();
  932. $("input[name=rtime]").addClass("must");
  933. $("input[name=rpaypal]").addClass("must");
  934. $("input[name=rtext]").addClass("must");
  935. }
  936. else
  937. {
  938. $("input[name=rtime]").val("");
  939. $("input[name=rpaypal]").val("");
  940. $("input[name=rtext]").val("");
  941. $("input[name=rtime]").removeClass("must");
  942. $("input[name=rpaypal]").removeClass("must");
  943. $("input[name=rtext]").removeClass("must");
  944. $(".refund").hide();
  945. }
  946. });
  947. $("select[name=ttsp_xz]").on('change',function(){
  948. let text = $(this).find("option:selected").text();
  949. text = text.toLowerCase();
  950. if(text.includes("usps")){
  951. $("select[name=express]").val(85).trigger('change')
  952. }
  953. if(text.includes("fedex")){
  954. $("select[name=express]").val(87).trigger('change')
  955. }
  956. })
  957. //监听input结束
  958. layx.tip('订单物流类型:{$fullordertt["shippingmethod"]}',document.getElementById('method'),'bottom');
  959. $("#klarnadata").click(function() {
  960. $(".klarnadata").fadeToggle(300);
  961. });
  962. $("#hqklarna").click(function() {
  963. $.ajax({
  964. url: "/fullordertt/klarnadata/",
  965. data: "number="+$("input[name=number]").val(),
  966. type: "POST",
  967. dataType: "json",
  968. success: function(a) {
  969. if (a && a.success) {
  970. $(".ts p").html(a.msg);
  971. $(".ts").show();
  972. setTimeout('$(".ts").fadeOut()', 1000);
  973. } else {
  974. $(".ts p").html(a.msg);
  975. $(".ts").show();
  976. setTimeout('$(".ts").fadeOut()', 1000);
  977. }
  978. }
  979. });
  980. });
  981. $('.ckthfpdata').click(function()
  982. {
  983. if($('.thfpdata').is(':hidden'))
  984. {
  985. $('.thfpdata').slideDown(100);
  986. $('.ckthfpdata').text("关闭替换内容");
  987. }
  988. else
  989. {
  990. $('.thfpdata').slideUp(100);
  991. $('.ckthfpdata').text("查看替换内容");
  992. }
  993. })
  994. $(".thfpdata tr").mouseenter(function(event){
  995. var list = $(this).data("tid");
  996. $(".datatext tr").each(function() {
  997. if($(this).data("list") == list)
  998. {
  999. $(this).css("background-color","#f8f094")
  1000. }
  1001. });
  1002. });
  1003. $(".thfpdata tr").mouseleave(function(event){
  1004. $(".datatext tr").each(function() {
  1005. $(this).removeAttr("style")
  1006. });
  1007. });
  1008. $('.fullorderdata-ts').click(function()
  1009. {
  1010. var tjje = $("input[name='shouldmoney']").val();
  1011. var tjwl = $("select[name='express']").children("option:selected").val();
  1012. var tjqm = $("select[name='qm']").children("option:selected").val();
  1013. var fwlx = $("select[name='js']").children("option:selected").val();
  1014. if(tjje > 750 && (tjwl == 24 || tjwl == 31 || tjwl == 2) && tjqm != 1)
  1015. {
  1016. layx.confirm('提示','此金额和物流可以选择购买“签名”服务',null,{
  1017. buttons:[
  1018. {
  1019. label:'操作签名',
  1020. callback:function(id, button, event){
  1021. layx.destroy(id);
  1022. }
  1023. },
  1024. {
  1025. label:'保存信息',
  1026. callback:function(id, button, event){
  1027. $('.fullorderdata').click();
  1028. layx.destroy(id);
  1029. }
  1030. }
  1031. ]
  1032. });
  1033. }
  1034. else if(fwlx == 2)
  1035. {
  1036. layx.confirm('提示','确定要发“收费加急”吗?(请提前收取加急运费)',null,{
  1037. buttons:[
  1038. {
  1039. label:'确定',
  1040. callback:function(id, button, event){
  1041. $('.fullorderdata').click();
  1042. layx.destroy(id);
  1043. }
  1044. },
  1045. {
  1046. label:'取消',
  1047. callback:function(id, button, event){
  1048. layx.destroy(id);
  1049. }
  1050. }
  1051. ]
  1052. });
  1053. }
  1054. else
  1055. {
  1056. $('.fullorderdata').click();
  1057. }
  1058. });
  1059. function addShouhu(that){
  1060. let url = $(that).data("uu")
  1061. layx.load('loadId','请求中。。。');
  1062. location.href=url
  1063. }
  1064. $("#is_jiaji_id").on('change',function(){
  1065. $("#isjiaji_flag").toggle()
  1066. });
  1067. {if ($ts_msg_flag == 1) && (empty($fullordertt['librarytime']))}
  1068. alert("{$ts_msg_msg}")
  1069. {/if}
  1070. </script>
  1071. <script src="{$theme}js/fullorder-addedit.js?v=20240115000222215"></script>
  1072. <script type="text/javascript" src="{$theme}js/time.js"></script>
  1073. {Template footer}