fullordersmt_readonly.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. {Template header}
  2. <style type="text/css">
  3. .calendar{POSITION:absolute;}
  4. </style>
  5. <body>
  6. <div class="warp">
  7. <div class="packing">
  8. <div class="control">
  9. <a href="javascript:void(0);" class="exptj">添 加</a>
  10. <a href="javascript:void(0);" class="expxg">修 改</a>
  11. <a href="javascript:void(0);" class="expsc">删 除</a>
  12. {if $thfpdata != ''}
  13. <a href="javascript:void(0);" class="ckthfpdata">查看替换内容</a>
  14. {/if}
  15. </div>
  16. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  17. <tr>
  18. <td>商品名称</td>
  19. <td>数量</td>
  20. <td class="none">单价</td>
  21. <td class="none">总价</td>
  22. <td class="none">币种</td>
  23. <td class="none"></td>
  24. <td class="none"></td>
  25. <td class="none"></td>
  26. <td class="none"></td>
  27. <td class="none"></td>
  28. <td>占单</td>
  29. <td>操作</td>
  30. </tr>
  31. </table>
  32. <table class="datatext data" border="0" style="border-collapse:collapse;">
  33. {loop $fpdata as $val}
  34. <tr data-list="{$val['0']}">
  35. <td>{$val['1']}</td>
  36. <td>{$val['2']}</td>
  37. <td class="none">{$val['3']}</td>
  38. <td class="none">{$val['4']}</td>
  39. <td class="none">CNY</td>
  40. <td class="none">{$val['5']}</td>
  41. <td class="none">{$val['6']}</td>
  42. <td class="none">{$val['7']}</td>
  43. <td class="none">{$val['8']}</td>
  44. <td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td>
  45. <td {if isset($val['zd']) && $fullorder['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td>
  46. <td class="czzd">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td>
  47. </tr>
  48. {/loop}
  49. </table>
  50. {if $thfpdata != ''}
  51. <table class="thfpdata data" border="0" style="border-collapse:collapse;margin-top:30px;display: none;">
  52. <tr style="background: #ececec;">
  53. <td>替换详情</td>
  54. <td>数量</td>
  55. <td>说明</td>
  56. </tr>
  57. <tr>
  58. {loop $thfpdata as $val}
  59. <tr>
  60. <td>{$val['0']}</td>
  61. <td>{$val['1']}</td>
  62. <td>{$val['2']}</td>
  63. </tr>
  64. {/loop}
  65. </tr>
  66. </table>
  67. {/if}
  68. </div>
  69. <ul class="setting">
  70. <div class="need">
  71. <li>
  72. <em>发货仓库:</em>
  73. <select name="warehouse" id="warehouse" class="select class">
  74. {loop warehouse(100) as $val}
  75. <option value="{$val['id']}" {if $fullordersmt['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
  76. {/loop}</select>
  77. </li>
  78. <li>
  79. <em>结算币种:</em>
  80. <b>{$fullordersmt['currencytitle']}</b>
  81. </li>
  82. <li>
  83. <em>订单号:</em>
  84. <b>{$fullordersmt['orderinfo']}</b>
  85. {if $fullordersmt['source'] != 1}
  86. <a href="https://trade.aliexpress.com/order_detail.htm?orderId={$fullordersmt['orderinfo']}" target="_blank"><i class="fa fa-send-o" style="margin-left:-26px;color:#39F"></i></a>
  87. {/if}
  88. </li>
  89. <li>
  90. <em>编号:</em>
  91. <b>{$fullordersmt['number']}</b>
  92. </li>
  93. <li>
  94. <em>付款时间:</em>
  95. <b>{date('Y-m-d H:i:s',$fullordersmt['buytime'])}</b>
  96. </li>
  97. <li>
  98. <em>预估到帐金额:</em>
  99. <b class="currencymoney budget">{$fullordersmt['budget']}</b>
  100. </li>
  101. <li>
  102. <em>订单状态:</em>
  103. <select name="state" class="select class">
  104. {loop typeclass(29,1) as $val}
  105. <option value="{$val['id']}" {if $fullordersmt['state'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  106. {/loop}
  107. </select>
  108. </li>
  109. <li>
  110. <em>资金状态:</em>
  111. <b>{$capital}</b>
  112. </li>
  113. <li class="lengthfour">
  114. <em>物流金额:</em>
  115. <b>{$fullordersmt['expressmoney']}</b>
  116. </li>
  117. <li class="lengthfour">
  118. <em>补/退款原额:</em>
  119. <input name="refundy" class="must currencymoney" value="{$fullordersmt['refundy']}" type="text">
  120. </li>
  121. <li class="lengthfour">
  122. <em>补/退净额:</em>
  123. <input name="refundj" class="must currencymoney" value="{$fullordersmt['refundj']}" type="text">
  124. </li>
  125. <li class="lengthfour">
  126. <em>订单金额:</em>
  127. <b>{$fullordersmt['shouldmoney']}</b>
  128. </li>
  129. <div class="refund {if $fullordersmt['refundy'] == 0}none{/if}">
  130. <li>
  131. <em>日 期:</em>
  132. <input name="rtime" id="refundtime" value="{$fullordersmt['rtime']!=0?date('Y-m-d',$fullordersmt['rtime']):''}" type="text">
  133. </li>
  134. <li>
  135. <em>交易号:</em>
  136. <input name="rpaypal" value="{$fullordersmt['rpaypal']}" type="text">
  137. </li>
  138. <li class="length">
  139. <em>原 因:</em>
  140. <textarea name="rtext" style="height:46px;">{$fullordersmt['rtext']}</textarea>
  141. </li>
  142. </div>
  143. <li>
  144. <em>付款方式:</em>
  145. <b>{$fullordersmt['pay']}</b>
  146. </li>
  147. <li>
  148. <em>运单号:</em>
  149. <input name="waybill" value="{$fullordersmt['waybill']}" type="text">
  150. </li>
  151. <li class="length">
  152. <em>交易号:</em>
  153. <b>{$fullordersmt['paypal']}</b>
  154. </li>
  155. <li class="length">
  156. <em>客户留言:</em>
  157. <b style="color:#F00">{$fullordersmt['clientremarks']}</b>
  158. </li>
  159. <li class="length">
  160. <em>商品名称:</em>
  161. <b>{$product}</b>
  162. </li>
  163. <li class="length">
  164. <em>SKU:</em>
  165. <b>{$fullordersmt['sku']}</b>
  166. </li>
  167. <li class="length remark">
  168. <em>订单备注:</em>
  169. <textarea name="orderremarks" style="height:25px;">{$fullordersmt['orderremarks']}</textarea>
  170. </li>
  171. <li class="length remark">
  172. <em>仓库品名:</em>
  173. <b>{$fullordersmt['shipremarks']}</b>
  174. </li>
  175. <li>
  176. <em>买家ID:</em>
  177. <b>{if $fullordersmt['state'] == 1}无{else}{$fullordersmt['fullname']}{/if}</b>
  178. </li>
  179. <li>
  180. <em>国家:</em>
  181. <b>{$country}</b>
  182. </li>
  183. <li>
  184. <em>公司名:</em>
  185. <b>{$fullordersmt['client']}</b>
  186. </li>
  187. <li>
  188. <em>省州:</em>
  189. <b {if (($fullordersmt['city'] == 'Newark' || $fullordersmt['city'] == 'Camden') && ($fullordersmt['province'] == 'New Jersey' || $fullordersmt['province'] == 'NJ')) || $fullordersmt['province'] == 'Jersey'}style="color:#F00"{/if}>{$fullordersmt['province']}</b>
  190. </li>
  191. <li>
  192. <em>收货人姓名:</em>
  193. <b>{$fullordersmt['name']}</b>
  194. </li>
  195. <li>
  196. <em>城市:</em>
  197. <b>{$fullordersmt['city']}</b>
  198. </li>
  199. <li>
  200. <em>联系方式:</em>
  201. <b>{$fullordersmt['phone']}</b>
  202. </li>
  203. <li>
  204. <em>邮编:</em>
  205. <b>{$fullordersmt['zipcode']}</b>
  206. </li>
  207. <li class="length">
  208. <em>地址2:</em>
  209. <b>{$fullordersmt['address2']}</b>
  210. </li>
  211. <li class="length">
  212. <em>地址1:</em>
  213. <b>{$fullordersmt['address']}</b>
  214. </li>
  215. <li class="lengththree">
  216. <em>申报品名:</em>
  217. <b>{$fullordersmt['sbpm']}</b>
  218. </li>
  219. <li class="lengththree">
  220. <em>中文品名:</em>
  221. <b>{$fullordersmt['zwpm']}</b>
  222. </li>
  223. <li class="lengththree">
  224. <em>海关编码:</em>
  225. <b>{$fullordersmt['hgbm']}</b>
  226. </li>
  227. <li class="lengththree">
  228. <em>条数:</em>
  229. <b>{$fullordersmt['ts']}</b>
  230. </li>
  231. <li class="lengththree">
  232. <em>单条申报价:</em>
  233. <b>{$fullordersmt['dtsbjz']}</b>
  234. </li>
  235. <li class="lengththree">
  236. <em>总申报价:</em>
  237. <b>{$fullordersmt['zsbjz']}</b>
  238. </li>
  239. <li class="lengththree">
  240. <em>总重量:</em>
  241. <b>{$fullordersmt['zzl']}</b> <font class="zzldw">{$zzhl}</font>
  242. </li>
  243. <li class="lengththree">
  244. <em>总件数:</em>
  245. <b>{$fullordersmt['zjs']}</b>
  246. </li>
  247. <li class="lengththree">
  248. <em>购买保险:</em>
  249. {if $fullordersmt['print'] != 3}
  250. <input name="bx" class="must" value="{$fullordersmt['bx']}" type="text"> USD
  251. {else}
  252. <b>{$fullordersmt['bx']}</b> USD
  253. {/if}
  254. </li>
  255. <li>
  256. <em>IOSS:</em>
  257. <!--
  258. <select name="ioss" class="select class">
  259. <option value="" {if $fullordersmt['ioss'] == ''}selected="selected"{/if}>未选择</option>
  260. {loop ioss(100) as $val}
  261. <option value="{$val['ioss']}" {if $fullordersmt['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
  262. {/loop}
  263. </select>
  264. -->
  265. <b>{loop ioss(100) as $val}{if $fullordersmt['ioss'] == $val['ioss']}{$val['title']}{/if}{/loop}</b>
  266. </li>
  267. <li>
  268. <em>获取平台信息:</em>
  269. <select name="tb" class="select class">
  270. <option value="0" {if $fullordersmt['tb'] == '0'}selected="selected"{/if}>是</option>
  271. <option value="1" {if $fullordersmt['tb'] == '1'}selected="selected"{/if}>否</option>
  272. </select>
  273. </li>
  274. <li>
  275. <em>快递方式:</em>
  276. <select name="express" class="select class">
  277. {if $user['power'] != 47}
  278. {loop express(100,'smt') as $val}
  279. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  280. {/loop}
  281. {else}
  282. {loop xwexpress(100) as $val}
  283. <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
  284. {/loop}
  285. {/if}
  286. </select>
  287. <font class="expressfa"><i id="tipdata" class="fa fa-question-circle none"></i><font class="expressfa1 none"><font class="expressfa2" style="color:#903"></font></font></font>
  288. </li>
  289. <li>
  290. <em>打印类型:</em>
  291. <select name="printtype" class="printtype select class">
  292. <option value="1" {if $fullordersmt['printtype'] == 1}selected="selected"{/if}>运单</option>
  293. <option value="2" {if $fullordersmt['printtype'] == 2}selected="selected"{/if}>发货单</option>
  294. <option value="3" {if $fullordersmt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
  295. </select>
  296. </li>
  297. <div style="width:100%;float:left">
  298. <li class="qm none">
  299. <em>是否签名:</em>
  300. {if $fullordersmt['print'] != 3}
  301. <select name="qm" class="select class">
  302. <option value="0" {if $fullordersmt['qm'] == '0'}selected="selected"{/if}>不需要</option>
  303. <option value="1" {if $fullordersmt['qm'] == '1'}selected="selected"{/if}>需要</option>
  304. </select>
  305. {else}
  306. <b>{if $fullordersmt['express'] != 24 && $fullordersmt['express'] != 31}{if $fullordersmt['qm'] == 0}不需要{else if $fullordersmt['qm'] == 1}需要{/if}{else}{if $fullordersmt['qm'] == 0}默认{else if $fullordersmt['qm'] == 1}成人签名{else if $fullordersmt['qm'] == 2}必须签名但可代签{/if}{/if}</b>
  307. {/if}
  308. </li>
  309. <li class="usps none">
  310. <em>服务类型:</em>
  311. {if $fullordersmt['express'] == 2 || $fullordersmt['express'] == 64}
  312. <b>{if $fullordersmt['js'] == 0}Ground Advantage
  313. {else if $fullordersmt['js'] == 1}PRIORITY
  314. {else if $fullordersmt['js'] == 2}EXPRESS
  315. {/if}
  316. </b>
  317. {else}
  318. <b>无</b>
  319. {/if}
  320. </li>
  321. </div>
  322. <!--
  323. <li class="productdescription none">
  324. <em>产品描述:</em>
  325. <select name="productdescription" class="select class">
  326. </select>
  327. </li>
  328. <li class="customs none">
  329. <em>海关价值:</em>
  330. <input class="must" value="{$fullordersmt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
  331. </li>
  332. -->
  333. <li>
  334. <em>审核状态:</em>
  335. <b>
  336. {if $fullordersmt['review'] == 1}
  337. 未送审
  338. {else if $fullordersmt['review'] == 2}
  339. 待审核
  340. {else if $fullordersmt['review'] == 3}
  341. 不通过
  342. {else if $fullordersmt['review'] == 4}
  343. 取消重审
  344. {else if $fullordersmt['review'] == 5}
  345. 审核通过
  346. {else if $fullordersmt['review'] == 6}
  347. {date('Y-m-d H:i',$fullordersmt['reviewtime'])}
  348. {/if}
  349. </b>
  350. </li>
  351. <li>
  352. <em>不合格原因</em>
  353. <b>{$fullordersmt['failed']}</b>
  354. </li>
  355. <li class="lengththree">
  356. <em>打印状态:</em>
  357. <b>
  358. {if $fullordersmt['print'] == 1}
  359. 不可打印
  360. {else if $fullordersmt['print'] == 2}
  361. 未打印
  362. {else if $fullordersmt['print'] == 3}
  363. 已打印
  364. {/if}
  365. </b>
  366. </li>
  367. <li class="lengththree">
  368. <em>打印时间:</em>
  369. <b>{if $fullordersmt['printtime'] != 0}{date('Y-m-d H:i',$fullordersmt['printtime'])}{else}无{/if}
  370. </li>
  371. <li class="lengththree">
  372. <em>打印次数:</em>
  373. <b>{$fullordersmt['printnumber']}</b>
  374. </li>
  375. <li class="lengththree">
  376. <em>出库状态:</em>
  377. <b>
  378. {if $fullordersmt['library'] == 1}
  379. 未出库
  380. {else if $fullordersmt['library'] == 2}
  381. 已出库
  382. {else if $fullordersmt['library'] == 3}
  383. 已退库
  384. {/if}
  385. </b>
  386. </li>
  387. <li class="lengththree">
  388. <em>出库时间:</em>
  389. <b>
  390. {if $fullordersmt['librarytime'] != 0}{date('Y-m-d H:i',$fullordersmt['librarytime'])}{else}无{/if}
  391. </b>
  392. </li>
  393. <li class="lengththree">
  394. {if $fullordersmt['library'] == 3}
  395. <em>退库时间:</em>
  396. {else}
  397. <em>允许发货:</em>
  398. {/if}
  399. <b>
  400. {if $fullordersmt['library'] == 3}
  401. {date('Y-m-d H:i',$fullordersmt['retreattime'])}
  402. {else}
  403. {if $fullordersmt['libraryconfirm'] == 1}
  404. 不允许出库
  405. {else if $fullordersmt['libraryconfirm'] == 2}
  406. 允许出库
  407. {/if}
  408. {/if}
  409. </b>
  410. </li>
  411. <li class="length">
  412. <em>不能出库原因:</em>
  413. <b>{$fullordersmt['librarynot']}</b>
  414. </li>
  415. <li class="length">
  416. <em>历史运单号:</em>
  417. <b>{$downwaybill}</b>
  418. </li>
  419. <li class="length">
  420. <em>历史打印时间:</em>
  421. <b>{$printtime}</b>
  422. </li>
  423. <li class="length">
  424. <em>退货信息:</em>
  425. <b class="return">{$fullordersmt['returndata']}</b>
  426. </li>
  427. <li class="length">
  428. <em>生产追踪:</em>
  429. <b class="return">{loop $systemwigsout as $val}{$val}{/loop}</b>
  430. </li>
  431. {if $fullordersmt['waybill2'] != ''}
  432. <li class="length">
  433. <em>GES转DHL单号:</em>
  434. <b>{$fullordersmt['waybill2']}</b>
  435. </li>
  436. {/if}
  437. </div>
  438. <div style="clear:both;"></div>
  439. </ul>
  440. <div class="need"><input type="hidden" name="id" value="{$fullordersmt['id']}" />
  441. <input type="hidden" name="purchase" value="{$fullordersmt['purchase']}" />
  442. <input type="hidden" name="cost" value="{$fullordersmt['cost']}" />
  443. <input type="hidden" name="shop" value="{$fullordersmt['shop']}" />
  444. <input type="hidden" name="pdbcbz" value="{$fullordersmt['orderremarks']}" />
  445. <input type="hidden" name="whlabel" value="{$fullordersmt['whlabel']}" />
  446. <input type="hidden" name="number" value="{$fullordersmt['number']}" />
  447. </div>
  448. <div class="button">{if $username ==1}<font class="power" style="float:left;">重置</font>{/if}<font class="epod" style="float:left;margin-left:20px;">获取DHL签收单</font>{if $returngoods == 0}<font style="float:left;margin-left:20px;"><a href="/returngoods/add/{$fullordersmt['orderinfo']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}{if $fullordersmt['merge'] ==0 || $fullordersmt['merge'] == $fullordersmt['id']}<font class="bcbz">保 存</font> <font class="fullorderdata">提交审核</font> {/if}<font class="fh">关 闭</font></div>
  449. </div>
  450. <select name="warehouse" id="warehouse" class="select class none">
  451. {loop warehouse(100) as $val}
  452. <option value="{$val['id']}" {if $fullordersmt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
  453. {/loop}</select>
  454. <script>
  455. $(document).ready(function() {
  456. if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项
  457. {
  458. $("select[name='qm']").html('<option value="0" {if $fullordersmt["qm"] == "0"}selected="selected"{/if}>默认</option><option value="1" {if $fullordersmt["qm"] == "1"}selected="selected"{/if}>成人签名</option>');
  459. $(".qm").show();
  460. }
  461. else
  462. {
  463. $("select[name='qm']").html('<option value="0" {if $fullordersmt["qm"] == "0"}selected="selected"{/if}>不需要</option><option value="1" {if $fullordersmt["qm"] == "1"}selected="selected"{/if}>需要</option>');
  464. }
  465. if($("select[name='express']").find("option:selected").val() == '2')
  466. {
  467. $(".usps").show();
  468. $(".qm").show();
  469. }
  470. $("#refundtime").calendar();custom();pptskc('2');
  471. });
  472. function custom() {
  473. var num = $('.packing .datatitle tr').children().length;
  474. $('.data tr td').css("width","5%");
  475. $(".data tr").each(function() {
  476. $(this).find('td:eq(0)').css("width","30%");
  477. $(this).find('td:eq(1)').css("width","3%");
  478. $(this).find('td:eq(10)').css("width","10%");
  479. });}
  480. $("input[name=refundy]").bind("input propertychange",function(event){
  481. var refundy = $("input[name=refundy]").val();
  482. if(refundy != 0)
  483. {
  484. $(".refund").show();
  485. $("input[name=rtime]").addClass("must");
  486. $("input[name=rpaypal]").addClass("must");
  487. $("input[name=rtext]").addClass("must");
  488. }
  489. else
  490. {
  491. $("input[name=rtime]").val("");
  492. $("input[name=rpaypal]").val("");
  493. $("input[name=rtext]").val("");
  494. $("input[name=rtime]").removeClass("must");
  495. $("input[name=rpaypal]").removeClass("must");
  496. $("input[name=rtext]").removeClass("must");
  497. $(".refund").hide();
  498. }
  499. });
  500. $('.ckthfpdata').click(function()
  501. {
  502. if($('.thfpdata').is(':hidden'))
  503. {
  504. $('.thfpdata').slideDown(100);
  505. $('.ckthfpdata').text("关闭替换内容");
  506. }
  507. else
  508. {
  509. $('.thfpdata').slideUp(100);
  510. $('.ckthfpdata').text("查看替换内容");
  511. }
  512. })
  513. $(".thfpdata tr").mouseenter(function(event){
  514. var list = $(this).data("tid");
  515. $(".datatext tr").each(function() {
  516. if($(this).data("list") == list)
  517. {
  518. $(this).css("background-color","#f8f094")
  519. }
  520. });
  521. });
  522. $(".thfpdata tr").mouseleave(function(event){
  523. $(".datatext tr").each(function() {
  524. $(this).removeAttr("style")
  525. });
  526. });
  527. </script>
  528. <script type="text/javascript">var addedit="/fullordersmt/readonly/";var fh="/fullordersmt";</script>
  529. <script src="{$theme}js/fullorder-addedit.js?v=202309060001"></script>
  530. <script type="text/javascript" src="{$theme}js/time.js"></script>
  531. {Template footer}