orderDetail.jsp 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp" %>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  4. <html>
  5. <head>
  6. <title>订单列表</title>
  7. <meta name="decorator" content="default"/>
  8. <style type="text/css">
  9. * {
  10. margin: 0;
  11. padding: 0
  12. }
  13. a {
  14. list-style: none;
  15. text-decoration: none
  16. }
  17. body {
  18. background-color: rgb(255, 255, 255)
  19. }
  20. h3 {
  21. line-height: 20px;
  22. padding: 20px 0 20px 15px;
  23. border-bottom: 1px solid #CCCCCC
  24. }
  25. .now-status p {
  26. padding: 20px
  27. }
  28. .now-status span {
  29. display: inline-block;
  30. width: 160px;
  31. line-height: 35px;
  32. margin-right: 15px;
  33. cursor: pointer;
  34. border: 1px solid #CCCCCC;
  35. text-align: center;
  36. border-radius: 5px
  37. }
  38. .buyInfo p {
  39. padding: 15px 5px 0
  40. }
  41. .buyInfo p label {
  42. width: 60px;
  43. display: inline-block
  44. }
  45. .buyInfo p span {
  46. padding-left: 10px
  47. }
  48. .table th {
  49. background-color: #CCCCCC
  50. }
  51. .table th, .table td {
  52. font-weight: normal;
  53. border: 1px solid #CCCCCC;
  54. height: 35px;
  55. text-align: center
  56. }
  57. .table td .div-img {
  58. box-sizing: border-box
  59. }
  60. .table td .div-img img {
  61. width: 100px;
  62. height: 100px;
  63. vertical-align: middle
  64. }
  65. .table td .div-img span {
  66. }
  67. .div-order span {
  68. width: 260px;
  69. display: inline-block;
  70. margin-right: 50px
  71. }
  72. .text-result p {
  73. padding-top: 15px
  74. }
  75. .text-cost p {
  76. padding: 20px 0
  77. }
  78. .moeny-cost p {
  79. padding: 10px 0 0 0;
  80. text-align: left
  81. }
  82. .moeny-cost p label {
  83. display: inline-block
  84. }
  85. .Staging table {
  86. width: 100%;
  87. border-collapse: collapse;
  88. margin-top: 20px
  89. }
  90. .Staging table th, .Staging table td {
  91. font-weight: normal;
  92. border: 1px solid #000;
  93. height: 35px;
  94. text-align: center;
  95. width: 10%
  96. }
  97. .change-info {
  98. position: fixed;
  99. top: 0%;
  100. left: 50%;
  101. transform: translateX(-50%);
  102. z-index: 999;
  103. width: 800px;
  104. background-color: #fff;
  105. box-shadow: 0px 0px 15px #ccc
  106. }
  107. .item-div label {
  108. width: 260px;
  109. text-align: right;
  110. display: inline-block;
  111. margin-right: 50px
  112. }
  113. .item-div input {
  114. width: 300px;
  115. line-height: 35px;
  116. height: 35px;
  117. box-sizing: border-box;
  118. border: 1px solid #CCCCCC;
  119. display: inline-block
  120. }
  121. .item-div select {
  122. width: 90px;
  123. height: 35px;
  124. margin-right: 10px
  125. }
  126. .item-div textarea {
  127. border: 1px solid #CCCCCC;
  128. margin-top: 20px;
  129. width: 300px;
  130. height: 80px;
  131. resize: none;
  132. display: block
  133. }
  134. .layer-status span {
  135. display: inline-block;
  136. width: 80px;
  137. line-height: 35px;
  138. background-color: #00A6C7;
  139. text-align: center;
  140. color: #fff;
  141. cursor: pointer
  142. }
  143. .layer-status span:nth-of-type(1) {
  144. }
  145. .layer-status span:nth-of-type(2) {
  146. margin-left: 72px
  147. }
  148. .same-style {
  149. position: fixed;
  150. top: 20%;
  151. left: 50%;
  152. transform: translateX(-50%);
  153. width: 500px;
  154. background-color: #fff;
  155. z-index: 999;
  156. box-shadow: 0 0 15px #666
  157. }
  158. .reason-cancel label {
  159. margin-right: 20px
  160. }
  161. .reason-cancel textarea {
  162. width: 270px;
  163. height: 80px;
  164. resize: none;
  165. vertical-align: text-top;
  166. border: 1px solid #CCCCCC
  167. }
  168. .order-details-heading {
  169. background: #eee
  170. }
  171. .order-details-heading td {
  172. white-space: nowrap;
  173. padding: 0 10px
  174. }
  175. .order-rows, .order-details-heading {
  176. width: 100%;
  177. border-bottom: 1px solid #ccc;
  178. border-left: 1px solid #ccc;
  179. border-right: 1px solid #ccc;
  180. color: #666;
  181. padding: 10px;
  182. line-height: 30px
  183. }
  184. .order-details-heading {
  185. border-top: 1px solid #ccc
  186. }
  187. .order-details-heading span, .order-rows span {
  188. margin-right: 80px
  189. }
  190. .order-details-heading span {
  191. width: 230px;
  192. margin-right: 0px;
  193. display: inline-block
  194. }
  195. .order-details-heading span label, .order-rows span label {
  196. font-weight: bold
  197. }
  198. .order-rows .supplier-img {
  199. width: 100px
  200. }
  201. .operation-wrapper {
  202. position: relative
  203. }
  204. .operation-btn {
  205. cursor: pointer
  206. }
  207. .operation-block {
  208. background: #fff;
  209. width: 125px;
  210. position: absolute;
  211. left: 35px;
  212. top: 30px;
  213. padding: 10px;
  214. border: 1px solid #666;
  215. -webkit-border-radius: 5px;
  216. -moz-border-radius: 5px;
  217. border-radius: 5px;
  218. z-index: 100001;
  219. display: none
  220. }
  221. .operation-block a {
  222. display: block;
  223. padding: 3px 0
  224. }
  225. .print-wrapper {
  226. display: inline-block
  227. }
  228. .supplier-product-name, .supplier-product-alias {
  229. width: 200px;
  230. line-height: 20px
  231. }
  232. .supplier-product-info {
  233. width: 55%;
  234. display: inline-block;
  235. position: relative;
  236. top: 50%;
  237. transform: translateY(30%)
  238. }
  239. .supplier-product-promotionInfo {
  240. width: 20%;
  241. display: inline-block;
  242. position: relative;
  243. top: 50%;
  244. transform: translateY(30%)
  245. }
  246. .supplier-product-item {
  247. margin-bottom: 10px
  248. }
  249. .supplier-product-alias {
  250. display: inline-block;
  251. margin-top: 5px
  252. }
  253. .supplier-name {
  254. display: inline-block;
  255. vertical-align: middle;
  256. margin: 0 10px
  257. }
  258. #auditBox {
  259. padding: 20px;
  260. line-height: 30px
  261. }
  262. #auditBox p {
  263. font-size: 16px;
  264. margin: 0 0 0 0
  265. }
  266. #auditBox .note-div {
  267. font-size: 16px
  268. }
  269. .downSpan {
  270. display: block;
  271. margin-left: 5px;
  272. margin-bottom: -8px
  273. }
  274. .upSpan {
  275. display: block;
  276. margin-left: 5px;
  277. margin-top: -8px
  278. }
  279. .promotionsName {
  280. margin: 2px
  281. }
  282. .ladderPrice > span {
  283. text-decoration: underline;
  284. color: red
  285. }
  286. .ladderPrice .list {
  287. display: none;
  288. position: absolute;
  289. z-index: 999;
  290. background: #FFF;
  291. white-space: nowrap;
  292. border: 1px solid #EEE;
  293. padding: 10px 0;
  294. color: #333
  295. }
  296. .ladderPrice:hover .list {
  297. display: block
  298. }
  299. .ladderPrice .list span {
  300. margin: 0 20px;
  301. width: 60px;
  302. text-align: center;
  303. display: inline-block
  304. }
  305. .ladderPrice .list span.price {
  306. color: red
  307. }
  308. .weishaIcon {
  309. background: darkorange;
  310. color: white;
  311. margin: 0 0px;
  312. padding: 0 3px;
  313. font-style: normal;
  314. font-size: 12px;
  315. display: inline-block;
  316. border-radius: 2px
  317. }
  318. </style>
  319. <script type="text/javascript" src="${ctxStatic}/QRCode/jquery.qrcode.min.js"></script>
  320. <script type="text/javascript" src="static/common/clipboard.min.js"></script>
  321. </head>
  322. <body>
  323. <ul class="nav nav-tabs">
  324. <li class="active"><a href="${ctx}/order/detail?id=${order.orderID}">订单详情</a></li>
  325. <shiro:hasPermission name="order:order:view">
  326. <li><a href="${ctx}/order/orderList">订单列表</a></li>
  327. </shiro:hasPermission>
  328. <shiro:hasPermission name="order:order:form">
  329. <li><a href="${ctx}/order/form">添加订单</a></li>
  330. </shiro:hasPermission>
  331. <shiro:hasPermission name="order:order:postageOrderForm">
  332. <li><a href="${ctx}/order/postageOrderForm">添加运费订单</a></li>
  333. </shiro:hasPermission>
  334. <shiro:hasPermission name="order:order:secondhandOrder">
  335. <li><a href="${ctx}/order/secondhandOrderList">二手订单列表</a></li>
  336. </shiro:hasPermission>
  337. <shiro:hasPermission name="order:order:secondeProductOrderForm">
  338. <li><a href="${ctx}/order/secondeProductOrderForm">添加二手订单</a></li>
  339. </shiro:hasPermission>
  340. </ul>
  341. <sys:message content="${message}"/>
  342. <table class="order-details-heading">
  343. <tr>
  344. <td>下单时间: ${order.orderTime}</td>
  345. <td>订单号(ID): ${order.orderNo}(${order.orderID})</td>
  346. <td>返佣订单: ${(order.rebateOrder ne '0' || order.rebateFlag eq '1')?'是':'否'}</td>
  347. </tr>
  348. <tr>
  349. <c:if test="${order.organizeID != 4}">
  350. <td>订单类型: <c:if test="${order.orderType == 1}">自主订单</c:if><c:if
  351. test="${order.orderType == 0}">协销订单</c:if></td>
  352. </c:if>
  353. <td>订单来源: ${fns:getDictLabel(order.orderSource,"bp_orderSource","" )}</td>
  354. <td>订单状态:
  355. <c:if test="${order.status eq 11 || order.status eq 12 || order.status eq 13 ||order.status eq 21 ||order.status eq 22 ||
  356. order.status eq 23 || order.status eq 31 ||order.status eq 32 ||order.status eq 33}">
  357. 交易中
  358. </c:if>
  359. <c:if test="${order.status eq 0 || order.status eq 4 || order.status eq 5 || order.status eq 6 || order.status eq 7}">
  360. ${fns:getDictLabel(order.status,"order_status","" )}
  361. <c:if test="${order.status eq 0}">
  362. <span id="time" style="color: red"></span>
  363. </c:if>
  364. <c:if test="${order.status eq 6}">
  365. <font color="red">(
  366. <c:if test="${order.closeTime ne null}">
  367. ${order.closeTime}
  368. </c:if>
  369. <c:if test="${order.closeReason ne null}">
  370. , ${order.closeReason}
  371. </c:if>
  372. )</font>
  373. </c:if>
  374. </c:if>
  375. </td>
  376. </tr>
  377. <tr>
  378. <c:if test="${order.status ne 0}">
  379. <td>
  380. 收款状态:
  381. <c:if test="${order.receiptStatus == 1}">
  382. <font color="red">待收款</font>
  383. </c:if>
  384. <c:if test="${order.receiptStatus == 2}">
  385. <font color="#ff8c00">部分收款</font>
  386. </c:if>
  387. <c:if test="${order.receiptStatus == 3}">
  388. <font color="green">已收款</font>
  389. </c:if>
  390. <%--抹平明细--%>
  391. <c:if test="${order.confirmType eq 1}">
  392. <c:if test="${order.receiptOrderFlag}">
  393. <font color="red">(一款多单:少收抹平金额未知)</font>
  394. </c:if>
  395. <c:if test="${!order.receiptOrderFlag}">
  396. <font color="red">(少收抹平:
  397. ¥<fmt:formatNumber
  398. value="${order.payableAmount - (empty order.orderReceivedAmount ? 0 : order.orderReceivedAmount)}"
  399. pattern="#0.00"/>)
  400. </font>
  401. </c:if>
  402. </c:if>
  403. <c:if test="${order.confirmType eq 2}">
  404. <c:if test="${order.receiptOrderFlag}">
  405. <font color="red">(一款多单:多收抹平金额未知)</font>
  406. </c:if>
  407. <c:if test="${!order.receiptOrderFlag}">
  408. <font color="red">(多收抹平:
  409. ¥<fmt:formatNumber
  410. value="${(empty order.orderReceivedAmount ? 0 : order.orderReceivedAmount) - order.payableAmount}"
  411. pattern="#0.00"/>)
  412. </font>
  413. </c:if>
  414. </c:if>
  415. <c:if test="${order.confirmType eq 3}">
  416. <c:if test="${order.receiptOrderFlag}">
  417. <font color="red">(一款多单:多收退余额)</font>
  418. </c:if>
  419. <c:if test="${!order.receiptOrderFlag}">
  420. <font color="red">(多收退余额&nbsp;&nbsp;${order.associationType eq 2 ? "(自动)" : ""}:
  421. ¥<fmt:formatNumber
  422. value="${(empty order.returnBalanceAmount ? 0 : order.returnBalanceAmount)}"
  423. pattern="#0.00"/>)
  424. </font>
  425. </c:if>
  426. </c:if>
  427. </td>
  428. <td>发货状态:
  429. <c:if test="${order.sendOutStatus == 1}">
  430. <font color="red">待发货</font>
  431. </c:if>
  432. <c:if test="${order.sendOutStatus == 2}">
  433. <font color="#ff8c00">部分发货</font>
  434. </c:if>
  435. <c:if test="${order.sendOutStatus == 3}">
  436. <font color="green">已发货</font>
  437. </c:if></td>
  438. <td>付款状态:
  439. <c:if test="${order.payStatus == 1}">
  440. <font color="red">待付款</font>
  441. </c:if>
  442. <c:if test="${order.payStatus == 2}">
  443. <font color="#ff8c00">部分付款</font>
  444. </c:if>
  445. <c:if test="${order.payStatus == 3}">
  446. <font color="green">已付款</font>
  447. </c:if></td>
  448. </td>
  449. </c:if>
  450. </tr>
  451. <tr>
  452. <c:if test="${order.status ne 0}">
  453. <td>
  454. 退款状态:
  455. <c:if test="${order.refundType == 0}">
  456. <font>无退款</font>
  457. </c:if>
  458. <c:if test="${order.refundType == 1}">
  459. <font>部分退款</font>
  460. </c:if>
  461. <c:if test="${order.refundType == 2}">
  462. <font>已退款</font>
  463. </c:if>
  464. </td>
  465. </c:if>
  466. <td>机构:${order.buyer}
  467. <font id="svipFlagLabel" style="margin-left:0px" color="red">
  468. <c:if test="${order.bpOrderUserinfo.firstClubType eq 1 and order.bpOrderUserinfo.svipFlag eq 1}">
  469. (医美机构,超级会员)
  470. </c:if>
  471. <c:if test="${order.bpOrderUserinfo.firstClubType eq 1 and order.bpOrderUserinfo.svipFlag eq null}">
  472. ${order.bpOrderUserinfo.firstClubType eq 1?'(医美机构)':''}
  473. </c:if>
  474. <c:if test="${order.bpOrderUserinfo.firstClubType eq null and order.bpOrderUserinfo.svipFlag eq 1}">
  475. ${order.bpOrderUserinfo.svipFlag eq 1?'(超级会员)':''}
  476. </c:if>
  477. <c:if test="${order.organizeID == 4}">(联合丽格)</c:if>
  478. </font>
  479. </td>
  480. <td>收货人: ${order.bpOrderUserinfo.shouHuoRen}</td>
  481. </tr>
  482. <tr>
  483. <td>手机: ${order.bpOrderUserinfo.mobile}</td>
  484. <td>
  485. 地址: ${fns:appendLast(fns:appendLast1(order.bpOrderUserinfo.province,order.bpOrderUserinfo.city,order.bpOrderUserinfo.town), order.bpOrderUserinfo.address)}</td>
  486. <fmt:setLocale value="zh_CN" scope="session"/>
  487. <td>
  488. 订单金额:<fmt:formatNumber value="${order.payTotalFee}" type="currency"/>&nbsp;
  489. <c:if test="${not empty order.couponOrderRecord}">
  490. <c:if test="${order.couponOrderRecord.couponType eq 0}">
  491. <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font
  492. color="red">(活动券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
  493. </c:if>
  494. <c:if test="${order.couponOrderRecord.couponType eq 1}">
  495. <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font
  496. color="red">(品类券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
  497. </c:if>
  498. <c:if test="${order.couponOrderRecord.couponType eq 2}">
  499. <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(用户专享券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
  500. </c:if>
  501. <c:if test="${order.couponOrderRecord.couponType eq 3}">
  502. <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font
  503. color="red">(店铺券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
  504. </c:if>
  505. <c:if test="${order.couponOrderRecord.couponType eq 4}">
  506. <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font
  507. color="red">(新用户券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
  508. </c:if>
  509. </c:if>
  510. </td>
  511. </tr>
  512. <tr>
  513. <td>
  514. 应收金额:<fmt:formatNumber value="${order.payableAmount}" type="currency"/>
  515. <c:if test="${order.organizeID != 4}">
  516. <span style="color: red">
  517. <c:if test="${order.balancePayFee gt 0}">
  518. <a href="${ctx}/user/cmUserBalanceRecord/userBalanceRecord?userId=${order.userID}"
  519. style="color: red;text-decoration: underline">
  520. (账户余额抵扣: <fmt:formatNumber value="${order.balancePayFee}" type="currency"/>)
  521. </a>
  522. </c:if>
  523. <c:if test="${order.balancePayFee le 0}">
  524. (账户余额抵扣: <fmt:formatNumber value="${order.balancePayFee}" type="currency"/>)
  525. </c:if>
  526. </span>
  527. </c:if>
  528. </td>
  529. <td>
  530. 已收金额:
  531. <c:if test="${order.receiptStatus eq 1}">
  532. ¥0.00
  533. </c:if>
  534. <c:if test="${order.receiptStatus ne 1}">
  535. <fmt:formatNumber value="${receiptAmount}" type="currency"/>
  536. </c:if>
  537. <c:if test="${order.receiptStatus == 3 && order.confirmType != null && order.confirmType != ''}">
  538. <%-- <span style='color:#FF0000'>(已抹平收款)</span>--%>
  539. </c:if>
  540. </td>
  541. <td>
  542. 退款金额(已完成):<fmt:formatNumber value="${returnValue}" type="currency"/>
  543. <c:if test="${order.organizeID != 4}">
  544. <span style="color: red">
  545. (原<fmt:formatNumber value="${returnedPurchaseFee}" type="currency"/>,折扣取消
  546. <c:if test="${order.discountFee gt returnedPurchaseFee}"><fmt:formatNumber
  547. value="${returnedPurchaseFee}" type="currency"/></c:if>
  548. <c:if test="${order.discountFee le returnedPurchaseFee}"><fmt:formatNumber
  549. value="${order.discountFee}" type="currency"/></c:if>)
  550. </span>
  551. </c:if>
  552. </td>
  553. </tr>
  554. <tr>
  555. <c:if test="${order.organizeID != 4}">
  556. <td>
  557. 经理折扣:
  558. <c:if test="${order.discountFee gt 0}">
  559. <c:if test="${order.discountFee gt returnedPurchaseFee}">
  560. <fmt:formatNumber value="${order.discountFee - returnedPurchaseFee}" type="currency"/>
  561. </c:if>
  562. <c:if test="${order.discountFee le returnedPurchaseFee}">
  563. ¥0.00
  564. </c:if>
  565. <span style="color: red">
  566. (原<fmt:formatNumber value="${order.discountFee}" type="currency"/>,折扣取消
  567. <c:if test="${order.discountFee gt returnedPurchaseFee}">
  568. <fmt:formatNumber value="${returnedPurchaseFee}" type="currency"/>
  569. </c:if>
  570. <c:if test="${order.discountFee le returnedPurchaseFee}">
  571. <fmt:formatNumber value="${order.discountFee}" type="currency"/>
  572. </c:if>)
  573. </span>
  574. </c:if>
  575. <c:if test="${order.discountFee le 0}">¥0.00</c:if>
  576. </td>
  577. </c:if>
  578. <td>运费:
  579. <c:if test="${order.organizeID != 4}">
  580. <c:if test="${order.freePostFlag == 0}">
  581. 包邮
  582. </c:if>
  583. <c:if test="${order.freePostFlag == -1}">
  584. 到付
  585. </c:if>
  586. <c:if test="${order.freePostFlag == -2}">
  587. 仪器到付-产品包邮
  588. </c:if>
  589. <c:if test="${order.freePostFlag != -1 && order.freePostFlag != 0 && order.freePostFlag != -2}">
  590. <fmt:formatNumber value="${order.freight}" type="currency"/>
  591. </c:if>
  592. <c:if test="${order.userBeans > 0}">
  593. <font color="red">(采美豆抵用:${order.userBeans})</font>
  594. </c:if>
  595. </c:if>
  596. <c:if test="${order.organizeID == 4}">
  597. ${postageInfo}
  598. </c:if>
  599. </td>
  600. <td style="position: relative;"><a class="operation-btn btn">功能</a>
  601. <div class="operation-block">
  602. <shiro:hasPermission name="order:order:edit">
  603. <%--包含订单充值商品就不显示--%>
  604. <c:if test="${order.rechargeGoods ne 1 and order.rechargeGoods ne 2}">
  605. <c:if test="${order.status == 11 || order.status == 12 || order.status == 21 || order.status == 22 || order.status == 31 || order.status == 32}">
  606. <a href="${ctx}/order/toDeliveryPage?id=${order.orderID}">发货</a>
  607. </c:if>
  608. <c:if test="${order.receiptStatus == 2 && order.status != 6 && order.status != 7&& order.organizeID != 4}">
  609. <a href="javascript:void(0);" onclick="collection(${order.orderID})">抹平收款</a>
  610. </c:if>
  611. </c:if>
  612. <c:if test="${order.organizeID != 4}">
  613. <c:if test="${order.organizeID == 0}">
  614. <c:if test="${order.status == 0}">
  615. <a href="${ctx}/order/confirmOrder?orderID=${order.orderID}"
  616. onclick="return confirmx('是否确认订单?', this.href)">确认订单</a>
  617. </c:if>
  618. <c:if test="${order.status == 0 || order.status == 11}">
  619. <a href="${ctx}/order/cancelOrder?orderID=${order.orderID}"
  620. onclick="return confirmx('是否取消订单?', this.href)">取消订单</a>
  621. </c:if>
  622. <c:if test="${order.status eq 11 || order.status eq 12 || order.status eq 13 ||order.status eq 21 ||order.status eq 22 ||
  623. order.status eq 23 || order.status eq 0}">
  624. <c:if test="${order.rechargeGoods ne 1 && order.rechargeGoods ne 2 && (order.ableUserMoney > 0 || order.status eq 0)}">
  625. <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag != 1}">
  626. <a href="${ctx}/order/form?id=${order.orderID}">修改订单</a>
  627. </c:if>
  628. <c:if test="${order.postageOrderFlag == 0 && order.secondHandOrderFlag == 1}">
  629. <a href="${ctx}/order/secondeProductOrderForm?id=${order.orderID}">修改订单</a>
  630. </c:if>
  631. </c:if>
  632. </c:if>
  633. <c:if test="${order.status == 0}">
  634. <c:if test="${order.postageOrderFlag == 1}">
  635. <a href="${ctx}/order/postageOrderForm?id=${order.orderID}">修改邮费订单</a>
  636. </c:if>
  637. </c:if>
  638. </c:if>
  639. <c:if test="${(order.organizeID == 0 or order.organizeID > 2) && order.status == 11 && order.payStatus == 1}">
  640. <a href="javascript:void(0);"
  641. onclick="modelShow('${order.orderID}')">编辑经理折扣</a>
  642. </c:if>
  643. <c:if test="${order.secondHandOrderFlag ne 1 && order.rebateFlag ne 1 && order.status != 0 && order.status != 6 && order.status != 7 && empty order.rechargeGoods}">
  644. <a href="javascript:void(0);"
  645. onclick="rebateFeeEdit('${order.orderID}')">编辑返佣服务费</a>
  646. </c:if>
  647. <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag ne 1 && order.rechargeGoods ne 1 && order.rechargeGoods ne 3}">
  648. <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
  649. onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为返佣订单</a>
  650. </c:if>
  651. <c:if test="${order.orderType != 1 && order.rebateFlag eq 0 && order.receiptStatus eq 1 && order.payStatus eq 1 && order.secondHandOrderFlag eq 1}">
  652. <a href="${ctx}/order/modifyRebate?orderId=${order.orderID}"
  653. onclick="return confirmx('确定将订单转为返佣订单吗?', this.href)">转为二手返佣订单</a>
  654. </c:if>
  655. </c:if>
  656. </shiro:hasPermission>
  657. <shiro:hasPermission name="order:order:applyrefound">
  658. <%--线下订单以主订单为单位退款--%>
  659. <c:if test="${order.onlinePayFlag == 1}">
  660. <c:if test="${order.status == 12 || order.status == 13 || order.status == 21 || order.status == 22 || order.status == 23 || order.status == 31 || order.status == 32 || order.status == 33 || order.status == 4 || order.status == 5}">
  661. <%-- 返佣订单不能申请退款(退货) --%>
  662. <c:if test="${order.rebateOrder == '0'}">
  663. <c:if test="${order.toAudit eq 1}">
  664. <%--如果存在审核收款则不允许申请:1不能申请,其它可以申请--%>
  665. <c:if test="${order.toAudit eq 1}">
  666. <%--弹窗提示--%>
  667. <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>
  668. </c:if>
  669. </c:if>
  670. <c:if test="${order.toAudit ne 1}">
  671. <c:if test="${order.applyReturnedPurchaseFlag eq 1}">
  672. <a href="${ctx}/bulkpurchase/cmRefundsProduct/applyRefound.rpc?orderID=${order.orderID}&refundType=1&returnGoodsStutas=${order.returnGoodsStutas}"
  673. <c:if test="${order.status == 21 || order.status == 22 || order.status == 23}">onclick="return confirmx('部分收款的订单、申请退款只能申请全部退款!', this.href)"
  674. </c:if>
  675. >申请退款</a>
  676. </c:if>
  677. <c:if test="${order.applyReturnedPurchaseFlag ne 1}">
  678. <font title="存在未处理完的申请,请前往退款列表处理!">申请退款</font>
  679. </c:if>
  680. </c:if>
  681. </c:if>
  682. </c:if>
  683. </c:if>
  684. </shiro:hasPermission>
  685. <shiro:hasPermission name="order:order:edit">
  686. <c:if test="${order.organizeID != 4}">
  687. <c:if test="${(order.rebateOrder == '1' ) && (brokerage == 0) && (order.status != 0)}">
  688. <a href="${ctx}/order/toChangePay?orderId=${order.orderID}"
  689. onclick="return confirmx('确定将该返佣订单直接置为已收款和已付款状态吗?', this.href)">置为已收款已付款</a>
  690. </c:if>
  691. <c:if test="${order.organizeID == 0}">
  692. <c:if test="${order.status == 11}">
  693. <c:if test="${order.splitFlag == 1}">
  694. <a href="${ctx}/order/toSplit?id=${order.orderID}">
  695. 拆分订单
  696. </a>
  697. </c:if>
  698. </c:if>
  699. <a href="javascript:" onclick="QRCodewin(${order.orderID},'${order.orderNo}')">分享二维码</a>
  700. <c:if test="${order.status ne 6 && order.status ne 7}">
  701. <a href="${ctx}/order/editclausecontent?id=${order.orderID}">修改售后条款</a>
  702. </c:if>
  703. </c:if>
  704. <c:if test="${order.status ne 0}">
  705. <a href="${ctx}/order/printOrder?orderID=${order.orderID}">打印发货单</a>
  706. </c:if>
  707. <a href="${ctx}/order/exportOrder?id=${order.orderID}">订单导出</a>
  708. <%-- <a href="javascript:void(0);" onclick="remarks('${order.orderID}','')">备注</a>--%>
  709. <c:if test="${order.orderType ==0}">
  710. <a href="${ctx}/bulkpurchase/commissions?orderId=${order.orderID}">销售提成记录</a>
  711. </c:if>
  712. <c:if test="${order.orderType !=0}">
  713. <c:if test="${order.spID!=null}">
  714. <a href="${ctx}/bulkpurchase/commissions?orderId=${order.orderID}">销售提成记录</a>
  715. </c:if>
  716. </c:if>
  717. </c:if>
  718. <%--包含订单充值商品就不显示--%>
  719. <c:if test="${order.rechargeGoods ne 1 and order.rechargeGoods ne 2}">
  720. <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 21 && order.status ne 6}">
  721. <a href="${ctx}/order/logisticsDetails?orderID=${order.orderID}">发货记录</a>
  722. </c:if>
  723. <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">
  724. <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRefundRecord.rpc?orderID=${order.orderID}&from=2">收付款记录
  725. </a>
  726. </c:if>
  727. <c:if test="${order.status ne 0 && order.status ne 11 && order.status ne 6}">
  728. <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRecturnRecordByOrderID.rpc?orderID=${order.orderID}">退款(退货)记录
  729. </a>
  730. </c:if>
  731. </c:if>
  732. <a href="${ctx}/order/cmOrderRemark/remarksViewNew.rpc?orderID=${order.orderID}&source=2">订单备注</a>
  733. </shiro:hasPermission>
  734. </div>
  735. </td>
  736. </tr>
  737. <c:if test="${order.svipFullReduction gt 0}">
  738. <tr>
  739. <td>超级会员优惠:¥${order.svipFullReduction}</td>
  740. </tr>
  741. </c:if>
  742. <c:if test="${order.promotionFullReduction gt 0 || order.promotionalGiftsCount gt 0}">
  743. <tr>
  744. <c:if test="${order.promotionFullReduction gt 0}">
  745. <td>促销满减:¥${order.promotionFullReduction}</td>
  746. </c:if>
  747. <c:if test="${order.promotionalGiftsCount gt 0}">
  748. <td>赠品总数:${order.promotionalGiftsCount}</td>
  749. </c:if>
  750. </tr>
  751. </c:if>
  752. <c:if test="${order.discountFee gt 0 and returnedPurchaseFee gt 0}">
  753. <tr>
  754. <td style="color: red">说明:因退货,经理折扣收回,用于抵扣退款。</td>
  755. </tr>
  756. </c:if>
  757. </table>
  758. <textarea id="copyValue" style="display: none"></textarea>
  759. <c:forEach items="${order.newShopOrders}" var="shopOrder">
  760. <div class="order-rows">
  761. <span><label>下单时间:</label>${order.orderTime}</span>
  762. <span><label>子订单号(ID):</label>${shopOrder.shopOrderNo}(${shopOrder.shopOrderID})</span>
  763. <span><label>子订单金额:</label><fmt:formatNumber value="${order.onlinePayFlag eq 0?shopOrder.realPay:shopOrder.needPayAmount}" type="currency"/></span>
  764. <c:if test="${shopOrder.postFeeCos eq '0'}">
  765. <div class="print-wrapper">
  766. <a href="${ctx}/order/printOrder?shopOrderID=${shopOrder.shopOrderID}">打印</a>
  767. <a href="${ctx}/order/exportSubOrder?shopOrderID=${shopOrder.shopOrderID}">导出</a>
  768. <c:if test="${order.status ne '0'}">
  769. <a onclick="copyText('${shopOrder.shopOrderID}')" style="cursor:pointer;">供应商订单二维码</a>
  770. </c:if>
  771. <c:if test="${order.onlinePayFlag eq 0}">
  772. <c:if test="${order.status == 12 || order.status == 13 || order.status == 21 || order.status == 22 || order.status == 23 || order.status == 31 || order.status == 32 || order.status == 33 || order.status == 4 || order.status == 5}">
  773. <%-- 返佣订单不能申请退款(退货) --%>
  774. <c:if test="${order.rebateOrder == '0'}">
  775. <c:if test="${order.toAudit eq 1}">
  776. <%--如果存在审核收款则不允许申请:1不能申请,其它可以申请--%>
  777. <c:if test="${order.toAudit eq 1}">
  778. <%--弹窗提示--%>
  779. <a href="#" onclick="return alertx('订单存在未审核的收款,暂不能退款。请将收款审核通过后再操作退款。')">申请退款</a>
  780. </c:if>
  781. </c:if>
  782. <c:if test="${order.toAudit ne 1}">
  783. <c:if test="${order.applyReturnedPurchaseFlag eq 1}">
  784. <a href="${ctx}/bulkpurchase/cmRefundsProduct/applyRefound.rpc?orderID=${order.orderID}&onlineShopOrderId=${shopOrder.shopOrderID}&refundType=1&returnGoodsStutas=${order.returnGoodsStutas}"
  785. <c:if test="${order.status == 21 || order.status == 22 || order.status == 23}">onclick="return confirmx('部分收款的订单、申请退款只能申请全部退款!', this.href)"
  786. </c:if>
  787. >申请退款</a>
  788. </c:if>
  789. <c:if test="${order.applyReturnedPurchaseFlag ne 1}">
  790. <font title="存在未处理完的申请,请前往退款列表处理!">申请退款</font>
  791. </c:if>
  792. </c:if>
  793. </c:if>
  794. </c:if>
  795. </c:if>
  796. <c:if test="${shopOrder.orderArchiveId ne null}">
  797. <a href="${ctx}/archive/cmOrderArchive/form?id=${shopOrder.orderArchiveId}">查看订单资料</a>
  798. </c:if>
  799. </div>
  800. </c:if>
  801. <c:if test="${order.onlinePayFlag eq 0}">
  802. <br/>
  803. <span>商品总额:<fmt:formatNumber value="${shopOrder.needPayAmount}" type="currency"/></span>
  804. <span>优惠:<fmt:formatNumber value="${shopOrder.eachDiscount}" type="currency"/></span>
  805. <span>应付金额:<fmt:formatNumber value="${shopOrder.realPay}" type="currency"/></span>
  806. <span>
  807. 已付金额:<fmt:formatNumber value="${shopOrder.receiptAmount}" type="currency"/>
  808. <c:if test="${order.organizeID != 4&&shopOrder.commercialCode eq 'E1807059160' && (order.receiptStatus == 2 || order.receiptStatus == 3)}">
  809. <font color="red">(采美信息线上收款)</font>
  810. </c:if>
  811. <c:if test="${order.organizeID == 4}">
  812. <c:if test="${order.organizeID == 4&& voucherVo eq null }">
  813. <font color="red">(联合丽格线上收款)</font>
  814. </c:if>
  815. <c:if test="${order.organizeID == 4&& voucherVo ne null }">
  816. <font color="red">(联合丽格线下收款)</font>
  817. </c:if>
  818. </c:if>
  819. </span>
  820. <span>待付金额:<fmt:formatNumber value="${shopOrder.restAmount}" type="currency"/></span>
  821. <br/>
  822. <span>收款状态:
  823. <c:if test="${shopOrder.shopReceiptStatus == 1}">
  824. <font color="red">待收款</font>
  825. </c:if>
  826. <c:if test="${shopOrder.shopReceiptStatus == 2}">
  827. <font color="#ff8c00">部分收款</font>
  828. </c:if>
  829. <c:if test="${shopOrder.shopReceiptStatus == 3}">
  830. <font color="green">已收款</font>
  831. </c:if>
  832. </span>
  833. <span>付款状态:
  834. <c:if test="${shopOrder.payStatus == 1}">
  835. <font color="red">待付款</font>
  836. </c:if>
  837. <c:if test="${shopOrder.payStatus == 2}">
  838. <font color="#ff8c00">部分付款</font>
  839. </c:if>
  840. <c:if test="${shopOrder.payStatus == 3}">
  841. <font color="green">已付款</font>
  842. </c:if>
  843. </span>
  844. <span>发货状态:
  845. <c:if test="${shopOrder.sendOutStatus == 1}">
  846. <font color="red">待发货</font>
  847. </c:if>
  848. <c:if test="${shopOrder.sendOutStatus == 2}">
  849. <font color="#ff8c00">部分发货</font>
  850. </c:if>
  851. <c:if test="${shopOrder.sendOutStatus == 3}">
  852. <font color="green">已发货</font>
  853. </c:if>
  854. </span>
  855. <c:if test="${not empty shopOrder.note}">
  856. <span>留言:${shopOrder.note}</span>
  857. </c:if>
  858. </c:if>
  859. <c:if test="${order.onlinePayFlag eq 1}">
  860. <c:if test="${shopOrder.postFeeCos eq '0'}">
  861. <c:if test="${order.status ne 0 && order.status ne 11}">
  862. <div class="delivery-wrapper">
  863. <span>发货状态:
  864. <c:if test="${shopOrder.sendOutStatus == 1}">
  865. <font color="red">待发货</font>
  866. </c:if>
  867. <c:if test="${shopOrder.sendOutStatus == 2}">
  868. <font color="#ff8c00">部分发货</font>
  869. </c:if>
  870. <c:if test="${shopOrder.sendOutStatus == 3}">
  871. <font color="green">已发货</font>
  872. </c:if>
  873. </span>
  874. <span>付款状态:<c:if test="${shopOrder.payStatus == 1}">
  875. <font color="red">待付款</font>
  876. </c:if>
  877. <c:if test="${shopOrder.payStatus == 2}">
  878. <font color="#ff8c00">部分付款</font>
  879. </c:if>
  880. <c:if test="${shopOrder.payStatus == 3}">
  881. <font color="green">已付款</font>
  882. </c:if></span>
  883. <c:if test="${shopOrder.payStatus == 3 or shopOrder.payStatus == 2}">
  884. <span>
  885. 已付金额: <fmt:formatNumber value="${shopOrder.payed}" type="currency"/>
  886. <c:if test="${order.organizeID == 4&& voucherVo eq null }">
  887. <font color="red">(联合丽格线上收款)</font>
  888. </c:if>
  889. <c:if test="${order.organizeID == 4&& voucherVo ne null }">
  890. <font color="red">(联合丽格线下收款)</font>
  891. </c:if>
  892. </span>
  893. </c:if>
  894. </div>
  895. </c:if>
  896. <c:if test="${not empty shopOrder.note}">
  897. <div><label>留言:</label>${shopOrder.note}</div>
  898. </c:if>
  899. </c:if>
  900. </c:if>
  901. </div>
  902. <div class="order-rows">
  903. <span><label>供应商:</label>${shopOrder.shopName}</span>
  904. <c:if test="${shopOrder.contactName ne null}">
  905. <span><label>供应商联系人:</label>${shopOrder.contactName}</span>
  906. </c:if>
  907. <c:if test="${shopOrder.dockingPeopleName ne null}">
  908. <span><label>采美对接人:</label>${shopOrder.dockingPeopleName}</span>
  909. </c:if>
  910. <c:if test="${shopOrder.shopPromotion ne null && shopOrder.shopPromotion.type eq 3}">
  911. <c:if test="${shopOrder.shopPromotion.mode eq 2}">
  912. <span><label
  913. style="background-color: #F60;color: white">${shopOrder.shopPromotion.name}</label> 满<fmt:formatNumber
  914. value="${shopOrder.shopPromotion.touchPrice}" pattern="#,##0.00"
  915. maxFractionDigits="2"/>,减<fmt:formatNumber value="${shopOrder.shopPromotion.reducedPrice}"
  916. pattern="#,##0.00" maxFractionDigits="2"/></span>
  917. </c:if>
  918. <c:if test="${shopOrder.shopPromotion.mode eq 3}">
  919. <span><label
  920. style="background-color: purple;color: white">${shopOrder.shopPromotion.name}</label> 满<fmt:formatNumber
  921. value="${shopOrder.shopPromotion.touchPrice}" pattern="#,##0.00"
  922. maxFractionDigits="2"/>,赠送商品</span>
  923. </c:if>
  924. </c:if>
  925. <div>
  926. <c:forEach items="${shopOrder.newOrderProducts}" var="op" varStatus="varIndex">
  927. <c class="supplier-product-item" style="z-index:${100000 - varIndex.index};position:relative;">
  928. <%--二手订单详情--%>
  929. <c:if test="${order.secondHandOrderFlag eq 1}">
  930. <a href="${fns:getConfig('wwwServer')}flea-market-${op.productID}.html" target="_blank">
  931. <img class="supplier-img" src="${op.image}" style="width: 100px"/>
  932. </a>
  933. </c:if>
  934. <%--正常订单详情--%>
  935. <c:if test="${order.secondHandOrderFlag ne 1}">
  936. <a href="${fns:getConfig('wwwServer')}product-${op.productID}.html" target="_blank">
  937. <img class="supplier-img" src="${op.image}" style="width: 100px"/>
  938. </a>
  939. </c:if>
  940. <c:if test="${order.organizeID != 4}">
  941. <div class="supplier-name">
  942. <c:if test="${op.name eq op.aliasName || op.productID eq 6060}">
  943. <div class="supplier-product-name">${op.name}</div>
  944. </c:if>
  945. <c:if test="${op.name ne op.aliasName && op.productID ne 6060}">
  946. <div class="supplier-product-name">${op.name}</div>
  947. <div class="supplier-product-alias">${op.aliasName}</div>
  948. </c:if>
  949. <c:if test="${op.productType eq 1}">
  950. <div class="supplier-product-name"><label style="color: red">协商赠品</label></div>
  951. </c:if>
  952. <c:if test="${op.productType eq 2}">
  953. <div class="supplier-product-name"><label style="color: red">促销赠品</label></div>
  954. </c:if>
  955. <c:if test="${op.includedTax eq 1}">
  956. <div class="supplier-product-name"><label style="color: red">(含税)</label></div>
  957. </c:if>
  958. <c:if test="${op.includedTax ne '' and op.includedTax eq 0}">
  959. <c:if test="${op.invoiceType eq 3 }">
  960. <div class="supplier-product-name"><label style="color: red">(不含税-不能开票)</label></div>
  961. </c:if>
  962. <c:if test="${op.invoiceType eq 2 or op.invoiceType eq 1}">
  963. <div class="supplier-product-name"><label style="color: red">(不含税-能开票)</label></div>
  964. </c:if>
  965. </c:if>
  966. <%-- <c:if test="${order.returnGoodsStutas==2}">--%>
  967. <%-- <div class="supplier-product-name"><label style="color: red">(不能退货)</label></div>--%>
  968. <%-- </c:if>--%>
  969. <%-- <c:if test="${order.returnGoodsStutas==1}">--%>
  970. <%-- <div class="supplier-product-name"><label style="color: red">(能退货)</label></div>--%>
  971. <%-- </c:if>--%>
  972. <c:if test="${op.machineType eq 3}">
  973. <div class="supplier-product-name"><font style="font-size: 16px" color="red">械字号三类</font></div>
  974. </c:if>
  975. </div>
  976. </c:if>
  977. <c:if test="${op.productID ne 999}">
  978. <div class="supplier-product-info">
  979. <span>
  980. 规格:
  981. <label>${op.unit}</label>
  982. </span>
  983. <span>单价:
  984. <c:if test="${op.svipPriceFlag eq 1 or op.productPromotion.mode eq 1}">
  985. <label style="text-decoration: line-through"><fmt:formatNumber value="${op.price}"
  986. type="currency"/></label>
  987. </c:if>
  988. <c:if test="${op.svipPriceFlag ne 1 and op.productPromotion.mode ne 1}">
  989. <fmt:formatNumber value="${op.price}" type="currency"/>
  990. </c:if>
  991. <c:if test="${op.svipPriceFlag eq 1}">
  992. <label style="margin-left:5px"><fmt:formatNumber value="${op.discountPrice}"
  993. type="currency"/></label>
  994. <font color="red">(超级会员价)</font></span>
  995. </c:if>
  996. <c:if test="${op.ladderPriceFlag eq 1 || op.isActProduct eq 2}">
  997. <a href="javascript:;" class="ladderPrice"><span> (阶梯价格)</span>
  998. <c:if test="${not empty op.orderProductLadderPriceList}">
  999. <div class="list">
  1000. <p><span>起订量</span><span>价格</span></p>
  1001. <c:forEach items="${op.orderProductLadderPriceList}" var="ladderPrice">
  1002. <p data-num="${ladderPrice.buyNum}">
  1003. <span>${ladderPrice.buyNumRangeShow}</span><span
  1004. class="price">${ladderPrice.buyPrice}</span></p>
  1005. </c:forEach>
  1006. </div>
  1007. </c:if>
  1008. </a>
  1009. </c:if>
  1010. </span>
  1011. <c:if test="${order.organizeID != 4}">
  1012. <span>折扣: ${op.discount}%</span>
  1013. <span>折后单价:
  1014. <c:if test="${op.productPromotion.mode eq 1}">
  1015. <label style="text-decoration: line-through"><fmt:formatNumber
  1016. value="${op.discountPrice}" type="currency"/></label></span>
  1017. </c:if>
  1018. <c:if test="${op.productPromotion.mode ne 1}">
  1019. <fmt:formatNumber value="${op.discountPrice}" type="currency"/></span>
  1020. </c:if>
  1021. </c:if>
  1022. <span>数量: x${op.num}</span>
  1023. <br>
  1024. <c:if test="${order.organizeID != 4}">
  1025. <span>税率: ${(op.includedTax != '' and op.includedTax eq 0 and op.invoiceType eq 3)?'---': op.taxRate ne null?op.taxRate:0.0}%</span>
  1026. <span>税费: ${(op.includedTax eq 1 or (op.includedTax != '' and op.includedTax eq 0 and op.invoiceType eq 3))?'---': empty op.totalAddedValueTax ?0.00:(op.totalAddedValueTax)}</span>
  1027. </c:if>
  1028. <span>总额: <fmt:formatNumber value="${op.totalFee}" type="currency"/></span>
  1029. <c:if test="${order.sendOutStatus == 2 || order.sendOutStatus == 3}">
  1030. <span>已发/已收 ${(op.num == null ? 0 : op.num)+ (op.presentNum == null ? 0 : op.presentNum)- (op.notOutStore == null ? 0 : op.notOutStore)}/${op.receivedNum}</span>
  1031. </c:if>
  1032. <c:if test="${fns:hasReturn(order.status)}">
  1033. <span>退款(退货)中/已完成 ${op.returningNum}/${op.returnedNum}</span>
  1034. </c:if>
  1035. </div>
  1036. <c:if test="${op.productPromotion ne null}">
  1037. <c:if test="${op.productPromotion.type eq 2}">
  1038. <div class="supplier-product-promotionInfo">
  1039. <table>
  1040. <tr>
  1041. <td rowspan="2">
  1042. <c:if test="${op.productPromotion.mode eq 2}">
  1043. <label style="background-color: #F60;color: white"><label
  1044. class="promotionsName">${op.productPromotion.name}</label></label>
  1045. </c:if>
  1046. <c:if test="${op.productPromotion.mode eq 3}">
  1047. <label style="background-color: purple;color: white"><label
  1048. class="promotionsName">${op.productPromotion.name}</label></label>
  1049. </c:if>
  1050. </td>
  1051. <td>
  1052. <span class="downSpan">${op.productPromotion.description}</span>
  1053. <c:if test="${op.productPromotion.mode eq 2}">
  1054. <span class="upSpan"> 满<fmt:formatNumber
  1055. value="${op.productPromotion.touchPrice}" pattern="#,##0.00"
  1056. maxFractionDigits="2"/>,减<fmt:formatNumber
  1057. value="${op.productPromotion.reducedPrice}"
  1058. pattern="#,##0.00" maxFractionDigits="2"/></span>
  1059. </c:if>
  1060. <c:if test="${op.productPromotion.mode eq 3}">
  1061. <span class="upSpan"> 满<fmt:formatNumber
  1062. value="${op.productPromotion.touchPrice}" pattern="#,##0.00"
  1063. maxFractionDigits="2"/>,赠送商品</span>
  1064. </c:if>
  1065. </td>
  1066. </tr>
  1067. </table>
  1068. </div>
  1069. </c:if>
  1070. <c:if test="${op.productPromotion.type eq 1}">
  1071. <div class="supplier-product-promotionInfo">
  1072. <table>
  1073. <tr>
  1074. <c:if test="${op.productPromotion.mode eq 1}">
  1075. <td><label style="background-color: green;color: white"><label
  1076. class="promotionsName">${op.productPromotion.name}</label></label>
  1077. </td>
  1078. <td> 优惠价: <label style="color: red"><fmt:formatNumber
  1079. value="${op.productPromotion.touchPrice}" pattern="#,##0.00"
  1080. maxFractionDigits="2"/></label></td>
  1081. </c:if>
  1082. <c:if test="${op.productPromotion.mode eq 2}">
  1083. <td><label style="background-color: #F60;color: white"><label
  1084. class="promotionsName">${op.productPromotion.name}</label></label>
  1085. </td>
  1086. <td> 满<fmt:formatNumber value="${op.productPromotion.touchPrice}"
  1087. pattern="#,##0.00"
  1088. maxFractionDigits="2"/>,减<fmt:formatNumber
  1089. value="${op.productPromotion.reducedPrice}" pattern="#,##0.00"
  1090. maxFractionDigits="2"/></td>
  1091. </c:if>
  1092. <c:if test="${op.productPromotion.mode eq 3}">
  1093. <td><label style="background-color: purple;color: white"><label
  1094. class="promotionsName">${op.productPromotion.name}</label></label>
  1095. </td>
  1096. <td> 满<fmt:formatNumber value="${op.productPromotion.touchPrice}"
  1097. pattern="#,##0.00" maxFractionDigits="2"/>,赠送商品
  1098. </td>
  1099. </c:if>
  1100. </tr>
  1101. </table>
  1102. </div>
  1103. </c:if>
  1104. </c:if>
  1105. </c:if>
  1106. <c:if test="${op.productID eq 999}">
  1107. <span>数量: x${op.num}</span>
  1108. </c:if>
  1109. <br>
  1110. </c:forEach>
  1111. </div>
  1112. </div>
  1113. </c:forEach>
  1114. <%--组织订单暂时不显示发票和条款信息--%>
  1115. <%--<c:if test="${order.organizeID == 0}">--%>
  1116. <c:if test="${order.organizeID != 4}">
  1117. <div class="order-rows">
  1118. <label>订单对机构是否可见:</label>
  1119. <c:if test="${order.orderSeen eq 1}">
  1120. <label>可见</label>
  1121. </c:if>
  1122. <c:if test="${order.orderSeen eq 2}">
  1123. <label>不可见</label>
  1124. </c:if>
  1125. <c:if test="${order.orderSeen ne 1 and order.orderSeen ne 2}">
  1126. <label>未定义</label>
  1127. </c:if>
  1128. </div>
  1129. </c:if>
  1130. <div class="order-rows">
  1131. <label>发票信息:</label>
  1132. <c:if test="${order.orderInvoice.type eq 0}">
  1133. <%-- <input name="invoice" type="radio" checked="checked">--%>
  1134. <label>不需要发票</label>
  1135. </c:if>
  1136. <c:if test="${order.orderInvoice.type eq 1}">
  1137. <%-- <input name="invoice" type="radio" checked="checked">--%>
  1138. <label>增值税普通发票</label>
  1139. </c:if>
  1140. <c:if test="${order.orderInvoice.type eq 2}">
  1141. <%-- <input name="invoice" type="radio" checked="checked">--%>
  1142. <label>增值税专用发票</label>
  1143. </c:if>
  1144. <c:if test="${order.orderInvoice.type eq null}">
  1145. <%-- <input name="invoice" type="radio" checked="checked">--%>
  1146. <label>不需要发票</label>
  1147. </c:if>
  1148. <c:if test="${order.orderInvoice.type == 1}">
  1149. <br>
  1150. <div>
  1151. <span>
  1152. <c:if test="${order.orderInvoice.invoiceTitleType eq 0}">
  1153. 个人抬头:
  1154. <span>${order.orderInvoice.invoiceTitle}</span>
  1155. </c:if>
  1156. <c:if test="${order.orderInvoice.invoiceTitleType eq 1}">
  1157. 企业抬头:
  1158. <span>${order.orderInvoice.invoiceTitle}</span>
  1159. &nbsp;&nbsp;&nbsp;&nbsp;
  1160. 纳税人识别号:
  1161. <span>${order.orderInvoice.corporationTaxNum}</span>
  1162. </c:if>
  1163. </span>
  1164. </div>
  1165. </c:if>
  1166. <c:if test="${order.orderInvoice.type == 2}">
  1167. <table>
  1168. <tr>
  1169. <td><span>单位名称:${order.orderInvoice.invoiceTitle}</span></td>
  1170. <td><span>纳税人识别号:${order.orderInvoice.corporationTaxNum}</span></td>
  1171. <td><span>注册地址:${order.orderInvoice.registeredAddress}</span></td>
  1172. </tr>
  1173. <tr>
  1174. <td><span>注册电话:${order.orderInvoice.registeredPhone}</span></td>
  1175. <td><span>开户银行:${order.orderInvoice.openBank}</span></td>
  1176. <td><span>银行账号:${order.orderInvoice.bankAccountNo}</span></td>
  1177. </tr>
  1178. </table>
  1179. </c:if>
  1180. </div>
  1181. <c:if test="${order.organizeID != 4}">
  1182. <div class="order-rows">
  1183. <label>售后条款:</label>
  1184. <c:forEach items="${bpClauses}" var="items" varStatus="index">
  1185. <c:if test="${items.clauseType ne 0 }">
  1186. <span>
  1187. <input id="clauseId${index.index+1}" class="clauseId" name="clauseID" type="radio"
  1188. value="${items.id}"${(order.clauseID)==(items.id)?'checked="checked"':''}
  1189. class="required" class="clauseId" disabled="disabled">
  1190. <input type="hidden" class="clauseContent" id="clauseContent${index.index+1}"
  1191. value="${fns:escapeHtml(items.content)}">
  1192. <input type="hidden" class="clauseName" id="clauseName${index.index+1}" value="${items.name}">
  1193. <a href="javascript:void(0);"
  1194. onclick="openClauseInfo(${index.index+1});"><label>${items.name}</label></a>
  1195. </span>
  1196. </c:if>
  1197. </c:forEach>
  1198. </div>
  1199. </c:if>
  1200. <%--</c:if>--%>
  1201. <c:if test="${order.organizeID == 4&& voucherVo ne null }">
  1202. <div class="order-rows">
  1203. <label>线下支付凭证:</label>
  1204. <c:forEach items="${voucherVo}" var="voucher">
  1205. <div>
  1206. <p><fmt:formatDate value="${voucher.addTime}" pattern="yyyy-MM-dd HH:mm:ss"/></p>
  1207. <c:if test="${voucher.images ne null }">
  1208. <div>
  1209. <c:forEach items="${voucher.images}" var="items" varStatus="index">
  1210. <c:if test="${items.image ne null }">
  1211. <a href="${items.image}" target="_blank">
  1212. <img class="supplier-img" src="${items.image}" style="width: 120px;height: 120px"/>
  1213. </a>
  1214. </c:if>
  1215. </c:forEach>
  1216. </div>
  1217. </c:if>
  1218. <p>备注: ${voucher.remarks}</p>
  1219. </div>
  1220. </c:forEach>
  1221. </div>
  1222. </c:if>
  1223. <script type="text/javascript">
  1224. (function () {
  1225. $('body').click(function (e) {
  1226. var target = $(e.target),
  1227. $block = $('.operation-block');
  1228. if (target.is('.operation-btn')) {
  1229. if ($block.css('display') === 'none') {
  1230. $block.show();
  1231. } else {
  1232. $block.hide();
  1233. }
  1234. }
  1235. if (!target.is('.operation-block') && !target.is('.operation-btn')) {
  1236. $block.hide();
  1237. }
  1238. });
  1239. $('.clauseId').each(function () {
  1240. var self = $(this);
  1241. if (!self.prop("checked")) {
  1242. self.parent().hide();
  1243. } else {
  1244. self.hide();
  1245. }
  1246. });
  1247. $('#invoice1, #invoice2, #invoice3').each(function () {
  1248. var self = $(this);
  1249. if (!self.prop("checked")) {
  1250. self.next().remove();
  1251. self.remove();
  1252. } else {
  1253. self.remove();
  1254. }
  1255. })
  1256. })();
  1257. function openClauseInfo(index) {
  1258. var content = $("#clauseContent" + index).val();
  1259. if (content == '') {
  1260. return false;
  1261. }
  1262. $.jBox(content, {
  1263. title: $("#clauseName" + index).val(),
  1264. width: $(top.document).width() - 440,
  1265. height: $(top.document).height() - 240,
  1266. buttons: {'关闭': true}
  1267. });
  1268. }
  1269. //编辑经理折扣
  1270. function modelShow(orderID) {
  1271. top.$.jBox("iframe:${ctx}/order/DiscountFee?orderID=" + orderID, {
  1272. iframeScrolling: 'yes',
  1273. top: 150,
  1274. width: 480,
  1275. height: 250,
  1276. persistent: true,
  1277. title: "编辑经理折扣",
  1278. buttons: {"确认": '1', "取消": '-1'},
  1279. submit: function (v, h, f) {
  1280. //确定
  1281. var $jboxFrame = top.$('#jbox-iframe');
  1282. var $mainFrame = top.$('#mainFrame');
  1283. if ('1' == v && 1 == $jboxFrame.size() && 1 == $mainFrame.size()) {
  1284. var rechargeInfo = $jboxFrame[0].contentWindow.submit();
  1285. var split = rechargeInfo.split(",");
  1286. var payTotalFee = split[0];
  1287. var discountFee = split[1];
  1288. //取值,然后调用后台接口传入参数,最后刷新页面
  1289. if (payTotalFee <= 0) {
  1290. return false;
  1291. }
  1292. $.post("${ctx}/order/saveDiscountFee", {
  1293. 'discountFee': discountFee,
  1294. 'orderID': orderID,
  1295. 'payTotalFee': payTotalFee
  1296. }, function (data) {
  1297. if (true == data.success) {
  1298. refresh(data.msg);
  1299. } else {
  1300. alertx(data.msg, 1000);
  1301. }
  1302. }, "JSON");//这里返回的类型有:json,html,xml,text
  1303. }
  1304. return true;
  1305. }, closed: function () {/* 窗口关闭后执行的函数 */
  1306. }
  1307. });
  1308. }
  1309. function rebateFeeEdit(orderID) {
  1310. top.$.jBox("iframe:${ctx}/order/RebateFee?orderID=" + orderID, {
  1311. iframeScrolling: 'yes',
  1312. top: 150,
  1313. width: 480,
  1314. height: 250,
  1315. persistent: true,
  1316. title: "编辑返佣服务费",
  1317. buttons: {"确认": '1', "取消": '-1'},
  1318. submit: function (v, h, f) {
  1319. //确定
  1320. var $jboxFrame = top.$('#jbox-iframe');
  1321. var $mainFrame = top.$('#mainFrame');
  1322. if ('1' == v && 1 == $jboxFrame.size() && 1 == $mainFrame.size()) {
  1323. var rebateFee = $jboxFrame[0].contentWindow.submit();
  1324. if (!rebateFee) {
  1325. return false;
  1326. }
  1327. $.post("${ctx}/order/saveRebateFee", {
  1328. 'rebateFee': rebateFee,
  1329. 'orderID': orderID
  1330. }, function (data) {
  1331. if (true == data.success) {
  1332. refresh(data.msg);
  1333. } else {
  1334. alertx(data.msg, 1000);
  1335. }
  1336. }, "JSON");//这里返回的类型有:json,html,xml,text
  1337. }
  1338. return true;
  1339. }, closed: function () {/* 窗口关闭后执行的函数 */
  1340. }
  1341. });
  1342. }
  1343. //订单商品备注
  1344. function remarks(orderID, shopOrderID) {
  1345. top.$.jBox("iframe:${ctx}/order/cmOrderRemark/remarksView?orderID=" + orderID + "&shopOrderID=" + shopOrderID, {
  1346. iframeScrolling: 'yes',
  1347. top: 150,
  1348. width: 400,
  1349. height: 480,
  1350. persistent: true,
  1351. title: "订单备注信息",
  1352. buttons: {"确认": '1', "关闭": '-1'},
  1353. submit: function (v, h, f) {
  1354. //确定
  1355. var $jboxFrame = top.$('#jbox-iframe');
  1356. var $mainFrame = top.$('#mainFrame');
  1357. if ('1' == v && 1 == $jboxFrame.size() && 1 == $mainFrame.size()) {
  1358. var remarks = $jboxFrame[0].contentWindow.submit();
  1359. // var arr = item.split(",");
  1360. // var remarks = arr[0];
  1361. if ('' == remarks) {
  1362. alertx("备注信息不能为空!!!")
  1363. return false;
  1364. }
  1365. saveRemarks(remarks, orderID, shopOrderID);
  1366. return true;
  1367. }
  1368. return true;
  1369. },
  1370. loaded: function (h) { //隐藏滚动条
  1371. $(".jbox-content", top.document).css("overflow-y", "hidden");
  1372. }
  1373. });
  1374. }
  1375. function saveRemarks(remarks, orderID, shopOrderID) {
  1376. $.post("${ctx}/order/cmOrderRemark/addRemarks", {
  1377. "remarks": remarks, "orderID": orderID, "shopOrderID": shopOrderID
  1378. }, function (data) {
  1379. if (true == data.success) {
  1380. refresh(data.msg);
  1381. } else {
  1382. $.jBox.tip(data.msg, 'error');
  1383. }
  1384. }, "JSON");//这里返回的类型有:json,html,xml,text
  1385. }
  1386. // 二维码分享
  1387. function QRCodewin(orderId, orderNo) {
  1388. var html = '<div style="padding:10px;">订单号:' + orderNo + '' +
  1389. '<div class="code" style="text-align: center;"></div>' +
  1390. '</div>';
  1391. $.jBox(html, {
  1392. title: "订单二维码分享",
  1393. width: $(top.document).width() - 1700,
  1394. height: $(top.document).height() - 1600,
  1395. buttons: {'关闭': true}
  1396. });
  1397. var enCodeRedirectUrl;
  1398. var redirectUrl = '${fns:getConfig('caimei.crm.server')}oauth.action?orderId=' + orderId;
  1399. $.ajax({
  1400. url: "${ctx}/bulkpurchase/contractOrder/enCode",
  1401. data: {"redirectUrl": redirectUrl},
  1402. type: "POST",
  1403. async: false,
  1404. success: function (data) {
  1405. enCodeRedirectUrl = data.enCodeRedirectUrl;
  1406. }
  1407. });
  1408. var shareUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=${fns:getConfig('weixin.appId')}&redirect_uri=' + enCodeRedirectUrl + '&response_type=code&scope=snsapi_base&state=bulkpurchase#wechat_redirect';
  1409. $('.code').qrcode({
  1410. width: 150,
  1411. height: 150,
  1412. text: shareUrl
  1413. });
  1414. }
  1415. //刷新页面
  1416. function refresh(msg) {
  1417. $.jBox.tip(msg, 'info', {timeout: 1000});
  1418. setTimeout(function () {
  1419. window.location.href = "${ctx}/order/detail?id=${order.orderID}"
  1420. }, 1000)
  1421. }
  1422. </script>
  1423.  
  1424. <script>
  1425. if ("${time}" != "") {
  1426. window.onload = clock;
  1427. function clock() {
  1428. var today = new Date(),//当前时间
  1429. h = today.getHours(),
  1430. m = today.getMinutes(),
  1431. s = today.getSeconds();
  1432. var stopTime = new Date("${time}"),//结束时间
  1433. stopH = stopTime.getHours(),
  1434. stopM = stopTime.getMinutes(),
  1435. stopS = stopTime.getSeconds();
  1436. var shenyu = stopTime.getTime() - today.getTime(),//倒计时毫秒数
  1437. shengyuD = parseInt(shenyu / (60 * 60 * 24 * 1000)),//转换为天
  1438. D = parseInt(shenyu) - parseInt(shengyuD * 60 * 60 * 24 * 1000),//除去天的毫秒数
  1439. shengyuH = parseInt(D / (60 * 60 * 1000)),//除去天的毫秒数转换成小时
  1440. H = D - shengyuH * 60 * 60 * 1000,//除去天、小时的毫秒数
  1441. shengyuM = parseInt(H / (60 * 1000)),//除去天的毫秒数转换成分钟
  1442. M = H - shengyuM * 60 * 1000;//除去天、小时、分的毫秒数
  1443. S = parseInt((shenyu - shengyuD * 60 * 60 * 24 * 1000 - shengyuH * 60 * 60 * 1000 - shengyuM * 60 * 1000) / 1000)//除去天、小时、分的毫秒数转化为秒
  1444. document.getElementById("time").innerHTML = ("(剩余" + shengyuD + "天" + shengyuH + "小时" + shengyuM + "分" + S + "秒)" + "<br>");
  1445. setTimeout(clock, 500);
  1446. }
  1447. }
  1448. function copyText(shopOrderID) {
  1449. $.post("${ctx}/order/shopOrderLink", {'shopOrderId': shopOrderID}, function (data) {
  1450. if (data.success) {
  1451. var imageSrc = "data:image/jpeg|png|gif;base64," + data.imageBuffer;
  1452. top.$.jBox.info('<img width="150px" height="150px" style="margin-left: 65px;" src=' + imageSrc + '>', '小程序扫码发货');
  1453. } else {
  1454. alertx(data.msg);
  1455. }
  1456. });
  1457. }
  1458. $(document).ready(function () {
  1459. if ($(".operation-block").length > 0) {
  1460. var length = $(".operation-block").length;
  1461. for (var i = 0; i < length; i++) {
  1462. var b = $(".operation-block").get(i);
  1463. if ($(b).html().trim() == '') {
  1464. $(b).hide();
  1465. $(b).prev().hide();
  1466. }
  1467. }
  1468. }
  1469. if ($('.supplier-product-name').html() == $('.supplier-product-alias').html()) {
  1470. $('.supplier-product-alias').remove();
  1471. }
  1472. })
  1473. //抹平收款
  1474. function collection(orderId) {
  1475. $.post("${ctx}/order/gatheringData", {
  1476. 'orderId': orderId
  1477. }, function (data) {
  1478. if (true == data.success) {
  1479. var html = "<div id='auditBox'>" +
  1480. "<P>确定抹平收款吗?抹平后该订单将变为已收款状态</p>" +
  1481. "<P><span>订单金额:<b>¥" + Number(data.payTotalFee).toFixed(2) + "</b></span></p>" +
  1482. "<P><span>应收金额:<b>¥" + Number(data.payableAmount).toFixed(2) + "</b><span style='color:#FF0000'>(账户余额抵扣: ¥<b>" + Number(data.balancePayFee).toFixed(2) + "</b>)</span></span></p>" +
  1483. "<P><span>已收金额:<b>¥" + Number(data.associateAmount).toFixed(2) + "</b></span></p>" +
  1484. "<div><div class='note-div'><span style='color:#FF0000'>*</span>备注</div></div>" +
  1485. "<textarea name='auditNote' style='width: 100%;min-height:60px;'></textarea>" +
  1486. "<div class='note-div' style='display: none' id='noteError'><span style='color:#FF0000'>请填写备注</span> </div>" +
  1487. "</div>";
  1488. $.jBox(html, {
  1489. title: "确认提示", width: 500, height: 400, buttons: {"确定": '1', "取消": '-1'},
  1490. submit: function (v, h, f) {
  1491. if ('1' == v) {
  1492. if ((Number(data.payTotalFee) - Number(data.associateAmount)) > 10) {
  1493. alertx("订单剩余应收金额大于¥10.00,不能抹平!");
  1494. return false;
  1495. }
  1496. var content = document.getElementsByName("auditNote")[0].value;
  1497. if (content == '' || content == null) {
  1498. document.getElementById('noteError').style.display = 'block';
  1499. return false;
  1500. }
  1501. $.post("${ctx}/order/smoothOutCollection", {
  1502. 'orderID': orderId,
  1503. 'balanceAccountsRemark': content
  1504. });
  1505. window.location.href = "${ctx}/order/detail?id=" + orderId;
  1506. }
  1507. }
  1508. });
  1509. } else {
  1510. $.jBox.tip(data.msg, 'error');
  1511. }
  1512. }, "JSON");//这里返回的类型有:json,html,xml,text
  1513. };
  1514. </script>
  1515. </body>
  1516. </html>