fullorder_smt_edit.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. {Template header}
  2. <style type="text/css">
  3. .calendar{POSITION:absolute;}
  4. </style>
  5. <body>
  6. <div class="warp">
  7. <div class="title">修改订单</div>
  8. <div class="packing">
  9. <div class="control">
  10. <a href="javascript:void(0);" class="exptj">添 加</a>
  11. <a href="javascript:void(0);" class="expxg">修 改</a>
  12. <a href="javascript:void(0);" class="expsc">删 除</a>
  13. </div>
  14. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  15. <tr>
  16. <td>商品名称</td>
  17. <td>数量</td>
  18. <td>单价</td>
  19. <td>总价</td>
  20. <td>币种</td>
  21. </tr>
  22. </table>
  23. <table class="datatext data" border="0" style="border-collapse:collapse;">
  24. {loop $fpdata as $val}
  25. <tr data-list="{$val['0']}">
  26. <td>{$val['1']}</td>
  27. <td>{$val['2']}</td>
  28. <td>{$val['3']}</td>
  29. <td>{$val['4']}</td>
  30. <td>CNY</td>
  31. <td class="none">{$val['5']}</td>
  32. <td class="none">{$val['6']}</td>
  33. <td class="none">{$val['7']}</td>
  34. </tr>
  35. {/loop}
  36. </table>
  37. </div>
  38. <ul class="setting">
  39. <div class="need">
  40. <li>
  41. <em>发货仓库:</em>
  42. <select name="warehouse" id="warehouse" class="select class">
  43. {loop warehouse(100) as $val}
  44. <option value="{$val['id']}" {if $fullorder_smt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  45. {/loop}</select>
  46. </li>
  47. <li>
  48. <em>结算币种:</em>
  49. <select name="currency" id="currency" class="select class">
  50. {loop typeclass(30) as $val}
  51. <option value="{$val['id']}" {if $fullorder_smt['currency'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  52. {/loop}
  53. </select>
  54. </li>
  55. <li>
  56. <em>订单号:</em>
  57. <b class="orderinfo">{$fullorder_smt['orderinfo']}</b>
  58. </li>
  59. <li>
  60. <em>编号:</em>
  61. <b>{$fullorder_smt['number']}</b>
  62. </li>
  63. <!-- 独立站使用下单时间,平台使用付款时间 -->
  64. {if $is == 1}
  65. <li>
  66. <em>订单时间:</em>
  67. <b>{$dtime}</b>
  68. </li>
  69. {else}
  70. <li>
  71. <em>付款时间:</em>
  72. <b>{date('Y-m-d H:i:s',$fullorder_smt['buytime'])}</b>
  73. </li>
  74. {/if}
  75. <li>
  76. <em>预估到帐金额:</em>
  77. <b class="currencymoney budget">{$fullorder_smt['budget']}</b>
  78. </li>
  79. <li>
  80. <em>订单状态:</em>
  81. <select name="state" class="select class">
  82. {loop typeclass(29,en) as $val}
  83. <option value="{$val['id']}" {if $fullorder_smt['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
  84. {/loop}
  85. <option value="283" {if $fullorder_smt['state'] == '283' || $fullorder_smt['state'] == '0'}selected="selected"{/if}>null</option>
  86. </select>
  87. </li>
  88. <li>
  89. <em>资金状态:</em>
  90. <select name="capital" class="select class">
  91. <option value="1" {if $fullorder_smt['capital'] == 1}selected="selected"{/if}>暂未支付</option>
  92. <option value="2" {if $fullorder_smt['capital'] == 2}selected="selected"{/if}>部分支付</option>
  93. <option value="3" {if $fullorder_smt['capital'] == 3}selected="selected"{/if}>全部支付</option>
  94. </select>
  95. </li>
  96. <!--
  97. <li class="lengththree">
  98. <em>运费:</em>
  99. <input name="freight" class="must currencymoney" value="{$fullorder_smt['freight']}" type="text"> <font class="currency">CNY</font>
  100. </li>
  101. -->
  102. <li class="lengthfour">
  103. <em>物流金额:</em>
  104. <input name="expressmoney" class="must currencymoney" value="{$fullorder_smt['expressmoney']}" type="text">
  105. </li>
  106. <li class="lengthfour">
  107. <em>补/退原额:</em>
  108. <input name="refundy" class="must currencymoney" value="{$fullorder_smt['refundy']}" type="text">
  109. </li>
  110. <li class="lengthfour">
  111. <em>补/退净额:</em>
  112. <input name="refundj" class="must currencymoney" value="{$fullorder_smt['refundj']}" type="text">
  113. </li>
  114. <li class="lengthfour">
  115. <em>订单金额:</em>
  116. <input name="shouldmoney" class="must currencymoney" value="{$fullorder_smt['shouldmoney']}" type="text" {if $fullorder_smt['shouldmoney'] > 200}style="color:#F00"{/if}>
  117. </li>
  118. <div class="refund {if $fullorder_smt['refundy'] == 0}none{/if}">
  119. <li>
  120. <em>日 期:</em>
  121. <input name="rtime" id="refundtime" value="{$fullorder_smt['rtime']!=0?date('Y-m-d',$fullorder_smt['rtime']):''}" type="text">
  122. </li>
  123. <li>
  124. <em>交易号:</em>
  125. <input name="rpaypal" value="{$fullorder_smt['rpaypal']}" type="text">
  126. </li>
  127. <li class="length">
  128. <em>原 因:</em>
  129. <input name="rtext" value="{$fullorder_smt['rtext']}" type="text">
  130. </li>
  131. </div>
  132. <li>
  133. <em>Bill Name:</em>
  134. <b>{$fullorder_smt['bname']}</b>
  135. </li>
  136. <li>
  137. <em>Ship Name:</em>
  138. <b>{$fullorder_smt['sname']}</b>
  139. </li>
  140. {if $is == 1}
  141. <!-- 独立站显示内容 -->
  142. <li class="length">
  143. <em>Bill Address:</em>
  144. <b {if $fullorder_smt['baddress'] != $fullorder_smt['saddress']}style="color:#09F"{/if}>{$fullorder_smt['baddress']}</b>
  145. </li>
  146. <li class="length">
  147. <em>Ship Address:</em>
  148. <b>{$fullorder_smt['saddress']}</b>
  149. </li>
  150. <li class="length">
  151. <em>商品名称:</em>
  152. <b>{$fullorder_smt['product']}</b>
  153. </li>
  154. {if $fullorder_smt['source'] != 1}
  155. <li class="length">
  156. <em>商品属性:</em>
  157. <b>{$fullorder_smt['parameter']}</b>
  158. </li>
  159. <li class="length">
  160. <em>SKU:</em>
  161. <b>{$fullorder_smt['issku']}</b>
  162. </li>
  163. {/if}
  164. <li>
  165. <em>Paypal交易号:</em>
  166. <b>{$fullorder_smt['paypal']}</b>
  167. </li>
  168. <li>
  169. <em>卖家保障:</em>
  170. <b style="color:#F00">{$fullorder_smt['guarantee']}</b>
  171. </li>
  172. <li>
  173. <em>Quantity:</em>
  174. <b {if $fullorder_smt['quantity'] > 1}style="color:#F00"{/if}>{$fullorder_smt['quantity']}</b>
  175. </li>
  176. <li>
  177. <em>运单号:</em>
  178. <input name="waybill" value="{$fullorder_smt['waybill']}" type="text">
  179. </li>
  180. <li class="length">
  181. <em>客户留言:</em>
  182. <b style="color:#F00">{$fullorder_smt['clientremarks']}</b>
  183. </li>
  184. {else}
  185. <li class="length">
  186. <em>运单号:</em>
  187. <input name="waybill" value="{$fullorder_smt['waybill']}" type="text">
  188. </li>
  189. {/if}
  190. <li class="length remark">
  191. <em>订单备注:</em>
  192. <textarea name="orderremarks">{$fullorder_smt['orderremarks']}</textarea>
  193. </li>
  194. <li class="length remark">
  195. <em>仓库品名:</em>
  196. <textarea name="shipremarks">{$fullorder_smt['shipremarks']}</textarea>
  197. </li>
  198. <li>
  199. <em>邮箱:</em>
  200. <input name="email" value="{$fullorder_smt['email']}" type="text">
  201. </li>
  202. <li>
  203. <em>国家:</em>
  204. <select name="country" class="select class">
  205. {loop $country as $val}
  206. <option value="{$val['id']}" {if $fullorder_smt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
  207. {/loop}
  208. </select>
  209. </li>
  210. <li>
  211. <em>联系方式:</em>
  212. <input name="phone" class="must" value="{$fullorder_smt['phone']}" type="text">
  213. </li>
  214. <li>
  215. <em>省州:</em>
  216. <input value="{$fullorder_smt['province']}" name="province" type="text">
  217. </li>
  218. <li>
  219. <em>公司名:</em>
  220. <input name="client" value="{$fullorder_smt['client']}" type="text">
  221. </li>
  222. <li>
  223. <em>城市:</em>
  224. <input class="must" value="{$fullorder_smt['city']}" name="city" type="text">
  225. </li>
  226. <li>
  227. <em>收货人姓名:</em>
  228. <input name="name" class="must" value="{$fullorder_smt['name']}" type="text">
  229. </li>
  230. <li>
  231. <em>邮编:</em>
  232. <input value="{$fullorder_smt['zipcode']}" name="zipcode" type="text">
  233. </li>
  234. {if $is != 1}
  235. <li class="length">
  236. <em>街道:</em>
  237. <input value="{$fullorder_smt['street']}" name="street" type="text">
  238. </li>
  239. <li class="length">
  240. <em>地址2:</em>
  241. <input value="{$fullorder_smt['address2']}" name="address2" type="text">
  242. </li>
  243. {/if}
  244. <li class="length">
  245. <em>地址:</em>
  246. <input value="{$fullorder_smt['address']}" name="address" type="text">
  247. </li>
  248. <li>
  249. <em>申报品名:</em>
  250. <select name="sbpm" class="select class">
  251. <option value="Hair Sample" {if $fullorder_smt['sbpm'] == 'Hair Sample'}selected="selected"{/if}>Hair Sample</option>
  252. <option value="Synthetic Hair" {if $fullorder_smt['sbpm'] == 'Synthetic Hair'}selected="selected"{/if}>Synthetic Hair</option>
  253. </select>
  254. </li>
  255. <li>
  256. <em>中文品名:</em>
  257. <select name="zwpm" class="select class">
  258. <option value="假发" {if $fullorder_smt['zwpm'] == '假发'}selected="selected"{/if}>假发</option>
  259. <option value="化纤发" {if $fullorder_smt['zwpm'] == '化纤发'}selected="selected"{/if}>化纤发</option>
  260. </select>
  261. </li>
  262. <li class="lengththree">
  263. <em>条数:</em>
  264. <input name="ts" class="must" value="{$fullorder_smt['ts']}" type="text">
  265. </li>
  266. <li class="lengththree">
  267. <em>单条申报价:</em>
  268. <input name="dtsbjz" class="must" value="{$fullorder_smt['dtsbjz']}" type="text">
  269. </li>
  270. <li class="lengththree">
  271. <em>总申报价:</em>
  272. <input name="zsbjz" class="must" value="{$fullorder_smt['zsbjz']}" type="text" readonly style="background-color: #ebebe4;">
  273. </li>
  274. <li class="lengththree">
  275. <em>总重量:</em>
  276. <input name="zzl" class="must" value="{$fullorder_smt['zzl']}" type="text">
  277. </li>
  278. <li class="lengththree">
  279. <em>总件数:</em>
  280. <input name="zjs" class="must" value="{$fullorder_smt['zjs']}" type="text">
  281. </li>
  282. <li class="lengththree">
  283. <em>快递公司:</em>
  284. <select name="express" class="select class">
  285. {loop express(100) as $val}
  286. <option value="{$val['id']}" {if $fullorder_smt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  287. {/loop}
  288. </select>
  289. </li>
  290. <li class="lengththree">
  291. <em>打印类型:</em>
  292. <select name="printtype" class="printtype select class">
  293. <option value="1" {if $fullorder_smt['printtype'] == 1}selected="selected"{/if}>运单</option>
  294. <option value="2" {if $fullorder_smt['printtype'] == 2}selected="selected"{/if}>发货单</option>
  295. <option value="3" {if $fullorder_smt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
  296. </select>
  297. </li>
  298. <li class="lengththree">
  299. <em>发送留言:</em>
  300. <select name="msg" class="printtype select class">
  301. <option value="1" {if $fullorder_smt['msg'] == 1}selected="selected"{/if}>1</option>
  302. <option value="2" {if $fullorder_smt['msg'] == 2}selected="selected"{/if}>2</option>
  303. </select>
  304. </li>
  305. <li class="lengththree">
  306. <em>购买保险:</em>
  307. {if $fullorder_smt['print'] != 3}
  308. <input name="bx" class="must" value="{$fullorder_smt['bx']}" type="text"> USD
  309. {else}
  310. <b>{$fullorder_smt['bx']}</b> USD
  311. {/if}
  312. </li>
  313. <li class="lengththree">
  314. <em>是否签名:</em>
  315. {if $fullorder_smt['print'] != 3}
  316. <select name="qm" class="printtype select class">
  317. <option value="0" {if $fullorder_smt['qm'] == 0}selected="selected"{/if}>不需要</option>
  318. <option value="1" {if $fullorder_smt['qm'] == 1}selected="selected"{/if}>需要</option>
  319. </select>
  320. {else}
  321. <b>{if $fullorder_smt['qm'] == 0}不需要{else if $fullorder_smt['qm'] == 1}需要{/if}</b>
  322. {/if}
  323. </li>
  324. <li class="lengththree">
  325. <em>服务类型:</em>
  326. {if $fullorder_smt['print'] != 3}
  327. <select name="js" class="printtype select class">
  328. <option value="0" {if $fullorder_smt['js'] == 0}selected="selected"{/if}>FIRST CLASS</option>
  329. <option value="1" {if $fullorder_smt['js'] == 1}selected="selected"{/if}>PRIORITY</option>
  330. </select>
  331. {else}
  332. <b>{if $fullorder_smt['js'] == 0}FIRST CLASS{else if $fullorder_smt['js'] == 1}PRIORITY{/if}</b>
  333. {/if}
  334. </li>
  335. <li class="lengththree">
  336. <em>延迟发货:</em>
  337. {if $fullorder_smt['print'] != 3}
  338. <select name="yc" class="printtype select class">
  339. <option value="0" {if $fullorder_smt['yc'] == 0}selected="selected"{/if}>0</option>
  340. <option value="1" {if $fullorder_smt['yc'] == 1}selected="selected"{/if}>1</option>
  341. <option value="2" {if $fullorder_smt['yc'] == 2}selected="selected"{/if}>2</option>
  342. <option value="3" {if $fullorder_smt['yc'] == 3}selected="selected"{/if}>3</option>
  343. <option value="4" {if $fullorder_smt['yc'] == 4}selected="selected"{/if}>4</option>
  344. <option value="5" {if $fullorder_smt['yc'] == 5}selected="selected"{/if}>5</option>
  345. <option value="6" {if $fullorder_smt['yc'] == 6}selected="selected"{/if}>6</option>
  346. <option value="7" {if $fullorder_smt['yc'] == 7}selected="selected"{/if}>7</option>
  347. </select>
  348. {else}
  349. <b>{$fullorder_smt['yc']}</b>
  350. {/if}
  351. </li>
  352. <!--
  353. <li class="productdescription none">
  354. <em>产品描述:</em>
  355. <select name="productdescription" class="select class">
  356. </select>
  357. </li>
  358. <li class="customs none">
  359. <em>海关价值:</em>
  360. <input class="must" value="{$fullorder_smt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  361. </li>
  362. -->
  363. <li>
  364. <em>审核状态:</em>
  365. <b>
  366. {if $fullorder_smt['review'] == 1}
  367. 未送审
  368. {else if $fullorder_smt['review'] == 2}
  369. 待审核
  370. {else if $fullorder_smt['review'] == 3}
  371. 不通过
  372. {else if $fullorder_smt['review'] == 4}
  373. 取消重审
  374. {else if $fullorder_smt['review'] == 5}
  375. 审核通过
  376. {else if $fullorder_smt['review'] == 6 && $fullorder_smt['reviewtime']!= ''}
  377. {date('Y-m-d H:i',$fullorder_smt['reviewtime'])}
  378. {/if}
  379. </b>
  380. </li>
  381. <li>
  382. <em>不合格原因</em>
  383. <b>{$fullorder_smt['failed']}</b>
  384. </li>
  385. <li class="lengththree">
  386. <em>打印状态:</em>
  387. <b>
  388. {if $fullorder_smt['print'] == 1}
  389. 不可打印
  390. {else if $fullorder_smt['print'] == 2}
  391. 未打印
  392. {else if $fullorder_smt['print'] == 3}
  393. 已打印
  394. {/if}
  395. </b>
  396. </li>
  397. <li class="lengththree">
  398. <em>打印时间:</em>
  399. <b>{if $fullorder_smt['printtime'] != 0}{date('Y-m-d H:i',$fullorder_smt['printtime'])}{else}无{/if}
  400. </li>
  401. <li class="lengththree">
  402. <em>打印次数:</em>
  403. <b>{$fullorder_smt['printnumber']}</b>
  404. </li>
  405. <li class="lengththree">
  406. <em>出库状态:</em>
  407. <b>
  408. {if $fullorder_smt['library'] == 1}
  409. 未出库
  410. {else if $fullorder_smt['library'] == 2}
  411. 已出库
  412. {else if $fullorder_smt['library'] == 3}
  413. 已退库
  414. {/if}
  415. </b>
  416. </li>
  417. <li class="lengththree">
  418. <em>出库时间:</em>
  419. <b>
  420. {if $fullorder_smt['librarytime'] != 0}{date('Y-m-d H:i',$fullorder_smt['librarytime'])}{else}无{/if}
  421. </b>
  422. </li>
  423. <li class="lengththree">
  424. {if $fullorder_smt['library'] == 3}
  425. <em>退库时间:</em>
  426. {else}
  427. <em>允许发货:</em>
  428. {/if}
  429. <b>
  430. {if $fullorder_smt['library'] == 3}
  431. {date('Y-m-d H:i',$fullorder_smt['retreattime'])}
  432. {else}
  433. {if $fullorder_smt['libraryconfirm'] == 1}
  434. 不允许出库
  435. {else if $fullorder_smt['libraryconfirm'] == 2}
  436. 允许出库
  437. {/if}
  438. {/if}
  439. </b>
  440. </li>
  441. <li class="length">
  442. <em>不能出库原因:</em>
  443. <b>{$fullorder_smt['librarynot']}</b>
  444. </li>
  445. <li class="length">
  446. <em>历史运单号:</em>
  447. <b>{$downwaybill}</b>
  448. </li>
  449. <li class="length">
  450. <em>退货信息:</em>
  451. <b class="return">{$fullorder_smt['return']}</b>
  452. </li>
  453. </div>
  454. <div style="clear:both;"></div>
  455. </ul>
  456. <div class="need"><input type="hidden" name="id" value="{$fullorder_smt['id']}" />
  457. <input type="hidden" name="purchase" value="{$fullorder_smt['purchase']}" />
  458. <input type="hidden" name="cost" value="{$fullorder_smt['cost']}" /></div>
  459. <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
  460. <input type="hidden" name="shop" value="{$fullorder_smt['shop']}" />
  461. <div class="button">{if $power ==1}<font class="power" style="float:left;">重置此单打印、出库信息</font><font class="return" style="float:left;margin-left:20px;">生成退货信息</font>{/if}<font class="fullorderdata">提 交</font> <font class="fh">关 闭</font></div>
  462. </div>
  463. <div class="zm none"></div>
  464. <script type="text/javascript">var addedit="/fullorder_smt/edit/";var fh="/fullorder_smt/data/";
  465. function crcol(){
  466. if( $("select[name=country]").find("option:selected").val() == 192)
  467. {
  468. $("select[name=country]").css("color","#000");
  469. }
  470. else
  471. {
  472. $("select[name=country]").css("color","#F00");
  473. }
  474. };
  475. $("select[name=country]").change(function(){
  476. crcol();
  477. });
  478. $(document).ready(function() {
  479. $("#refundtime").calendar();
  480. crcol();
  481. var index = $("#currency").find("option:selected").text();
  482. $(".currency").text(index);
  483. $(".datatext tr").each(function() {
  484. //$(this).find("td:eq(9)").text(index);
  485. //currencymoney需要更改的价格
  486. });
  487. custom();
  488. var index = $("select[name='printtype']").find("option:selected").index();
  489. if(index == 0)
  490. {
  491. var e = $("select[name=express]").find("option:selected").val();
  492. var c = $("select[name=country]").find("option:selected").val();
  493. if(c != 192)
  494. {
  495. $("select[name=country]").css("color","#F00");
  496. }
  497. $.ajax({
  498. url: "/fullorder_smt/customs/",
  499. data: "e="+e+"&c="+c,
  500. type: "POST",
  501. dataType: "json",
  502. success: function(a) {
  503. if (a && a.success) {
  504. $("input[name=customs]").val(a.money);
  505. for(i=0;i<a.msg.length;i++)
  506. {
  507. $("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
  508. }
  509. $(".productdescription").show();
  510. $(".customs").show();
  511. } else {
  512. $(".productdescription").hide();
  513. $(".customs").hide();
  514. }
  515. }
  516. });
  517. }else
  518. {
  519. $(".productdescription").hide();
  520. $(".customs").hide();
  521. }
  522. });
  523. function custom() {
  524. var num = $('.packing .datatitle tr').children().length;
  525. $('.data tr td').css("width","5%");
  526. $(".data tr").each(function() {
  527. $(this).find('td:eq(0)').css("width","30%");
  528. });}
  529. //监听input开始
  530. $("input[name=dtsbjz]").bind("input propertychange",function(event){
  531. var ts = $("input[name=ts]").val()*1;
  532. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  533. var num = ts*dtsbjz;
  534. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  535. });
  536. $("input[name=ts]").bind("input propertychange",function(event){
  537. var ts = $("input[name=ts]").val()*1;
  538. var dtsbjz = $("input[name=dtsbjz]").val()*1;
  539. var num = ts*dtsbjz;
  540. console.log($("input[name=zsbjz]").val(num.toFixed(2)))
  541. });
  542. $("input[name=refundy]").bind("input propertychange",function(event){
  543. var refundy = $("input[name=refundy]").val();
  544. if(refundy != 0)
  545. {
  546. $(".refund").show();
  547. $("input[name=rtime]").addClass("must");
  548. $("input[name=rpaypal]").addClass("must");
  549. $("input[name=rtext]").addClass("must");
  550. }
  551. else
  552. {
  553. $("input[name=rtime]").val("");
  554. $("input[name=rpaypal]").val("");
  555. $("input[name=rtext]").val("");
  556. $("input[name=rtime]").removeClass("must");
  557. $("input[name=rpaypal]").removeClass("must");
  558. $("input[name=rtext]").removeClass("must");
  559. $(".refund").hide();
  560. }
  561. });
  562. //监听input结束
  563. </script>
  564. <script src="{$theme}js/fullorder-addedit.js?v=202002060002"></script>
  565. <script type="text/javascript" src="{$theme}js/time.js"></script>
  566. {Template footer}