sale.html 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>收付款管理</title>
  5. #parse("sys/header.html")
  6. <style type="text/css" lang="scss">
  7. @media screen and (max-width: 1396px) {
  8. #rrapp {
  9. font-size: 0.1rem;
  10. }
  11. #goodsImg{
  12. width: 50%;
  13. }
  14. #logoImg{
  15. width: 100%;
  16. }
  17. #tableLi{
  18. min-height: 295px;
  19. }
  20. #codediv{
  21. min-height: 455px;
  22. }
  23. }
  24. @media screen and (min-width: 1396px) and (max-width: 1536px) {
  25. #rrapp {
  26. font-size: 0.1rem;
  27. }
  28. #goodsImg{
  29. width: 50%;
  30. }
  31. #logoImg{
  32. width: 90%;
  33. }
  34. #tableLi{
  35. min-height: 350px;
  36. }
  37. #codediv{
  38. min-height: 520px;
  39. }
  40. }
  41. @media screen and (min-width: 1536px) and (max-width: 1920px) {
  42. #rrapp {
  43. font-size: 0.1rem;
  44. /*//我这里是按1920的屏幕宽度设置的,所以1rem相当于100px*/
  45. }
  46. #goodsImg{
  47. width: 50%;
  48. }
  49. #logoImg{
  50. width: 80%;
  51. }
  52. #tableLi{
  53. min-height: 380px;
  54. }
  55. #codediv{
  56. min-height: 555px;
  57. }
  58. }
  59. @media screen and (min-width: 1920px) {
  60. #rrapp {
  61. font-size: 0.1rem;
  62. }
  63. #goodsImg{
  64. width: 40%;
  65. }
  66. #logoImg{
  67. width: 75%;
  68. }
  69. #tableLi{
  70. min-height: 513px;
  71. }
  72. #codediv{
  73. min-height: 712px;
  74. }
  75. }
  76. #saomiao{
  77. padding-right: 30px;
  78. }
  79. #saomiao input{
  80. margin-top:20px;
  81. height: 70px;
  82. width: 100%;
  83. border: 3px solid #62e2f5
  84. }
  85. .goods-button{
  86. border: #e5a032;
  87. /*background-color: #e5a032;*/
  88. font-size: 1.3em;
  89. margin-left: 20px;
  90. }
  91. .modal-contentNew {
  92. position: relative;
  93. background-color: #fff;
  94. -webkit-background-clip: padding-box;
  95. background-clip: padding-box;
  96. border: 1px solid #999;
  97. border: 1px solid rgba(0, 0, 0, .2);
  98. border-radius: 6px;
  99. outline: 0;
  100. -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  101. box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  102. height: 260px;
  103. width: 70%;
  104. margin: auto;
  105. }
  106. .tableNew {
  107. position: relative;
  108. border-collapse: collapse !important;
  109. left:0px;
  110. top:-1001px;
  111. width: 60%;
  112. height: 128px;
  113. background-color: #fff;
  114. -webkit-background-clip: padding-box;
  115. background-clip: padding-box;
  116. border: 1px solid #999;
  117. border: 1px solid rgba(0, 0, 0, .2);
  118. border-radius: 6px;
  119. outline: 0;
  120. -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  121. box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  122. margin: auto;
  123. }
  124. .modal-footerNew{
  125. position: relative;
  126. left:125px;
  127. top:-761px;
  128. }
  129. .search_menu{
  130. /*border-top:5px solid #3388FF;*/
  131. /*display: none;*/
  132. background-color: ghostwhite;
  133. position: absolute;
  134. z-index: 999;
  135. /*top:30px;*/
  136. width:87%;
  137. }
  138. .search_menu ul{
  139. margin-bottom: 0; //去除ul的底部外边距
  140. }
  141. .search_menu li {
  142. padding: 5px;
  143. font-size: 1.1em;
  144. cursor: pointer;
  145. overflow: hidden;
  146. white-space: nowrap;
  147. }
  148. .search_menu li:hover{
  149. background-color: beige;
  150. }
  151. .search:hover .search_menu {
  152. display: block;
  153. }
  154. .selBoxList{width:100%;margin-top:50px;text-align:center;}
  155. .selBoxList .selSt{min-width:100px;display:inline-block;position:relative;;}
  156. .selBoxList .selSt .current{width:100%;padding:0 10px;font-size:16px;line-height:30px;cursor:pointer;float:left;border:1px solid #ccc;background:#fff;box-sizing: border-box;position:relative;z-index: 2;}
  157. .selBoxList .selSt .box{width:100%;position:absolute;left:0;top:30px;border:1px solid #ccc;max-height:300px;overflow:auto;box-sizing: border-box;}
  158. .selBoxList .selSt .box span{width:100%;font-size:16px;line-height:30px;cursor:pointer;border-top:1px solid #ccc;float:left;}
  159. .selBoxList .selSt .box span:hover{background:#f1f1f1;}
  160. </style>
  161. <link rel="stylesheet" href="${rc.contextPath}/statics/plugins/jqgrid/ui.jqgrid-bootstrap.css">
  162. <!--<link rel="stylesheet" href="${rc.contextPath}/statics/css/sale.css">-->
  163. </head>
  164. <body>
  165. <div id="rrapp" v-cloak>
  166. <header class="main-header">
  167. <div class="container-fluid">
  168. <div class="row" style="border:0;margin-bottom:10px">
  169. <div class="col-md-3 col-sm-6 logodiv">
  170. <!--center-block-->
  171. <img id="logoImg" src="${rc.contextPath}/statics/img/logotest2.jpg" class="img-rounded img-responsive" style="height: 70px;">
  172. </div>
  173. <div class="col-md-9 col-sm-6" style="background-color: #f0f0f0;margin:0px;padding: 0px" >
  174. <div v-show="showList">
  175. <Row :gutter="16">
  176. <ul class="nav navbar-top-links navbar-right">
  177. <!--<li>
  178. <i-input v-model="orderSn1" @on-enter="queryInveResponse" placeholder="输入要查询回执的订单号" id="queryInveResponse" />
  179. </li>
  180. <li>
  181. <i-input v-model="orderSn" @on-enter="queryOrderStatus" placeholder="输入要查询订单状态的订单号" id="queryOrderStatus" />
  182. </li>-->
  183. <li >
  184. <span style="margin-right: 40px">&nbsp; 门店:<b>{{storeName}}</b></span>
  185. </li>
  186. <li><span style="margin-right: 35px"><i class="fa fa-user-circle" ></i> &nbsp;收银员:<b>{{sysUserInfo.username}}</b></span></li>
  187. <li><a href="javascript:;" @click="updatePasswordOpen"><i class="fa fa-lock"></i> &nbsp;修改密码</a></li>
  188. <li><a @click="logout"><i class="fa fa fa-sign-out"></i> 退出</a></li>
  189. </ul>
  190. </Row>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. </header>
  196. <div class="container-fluid" style="margin-top: 15px">
  197. <div id="content" class="row-fluid">
  198. <div class="col-md-3 col-sm-3">
  199. <div>
  200. <i-input class="search" placeholder="输入或扫码商品条形码" ref="saomiao" id="saomiao" v-model.trim='prodBarcode' @on-enter="searchQuery(prodBarcode)"/>
  201. </div>
  202. <div v-show="prodBarcode" class="search_menu">
  203. <ul>
  204. <li v-for="item in searchGoodsList" :key="item.id" @click="searchQuery(item.prodBarcode)">
  205. {{item.name}}
  206. </li>
  207. </ul>
  208. </div>
  209. <ul class="list-unstyled">
  210. <!--<li >
  211. <i-input v-model="prodBarcode" @on-enter="query" placeholder="输入或扫码商品条形码" id="saomiao" />
  212. </li>-->
  213. <li style="margin-top: 50px;" >
  214. <div v-show="goodsDetail">
  215. <img id="goodsImg" :src="goods.primaryPicUrl" class="img-rounded"/>
  216. <h1 style="margin: 8px;font-size: 20px;"><strong>{{goods.name}}</strong></h1>
  217. <p style="margin: 8px;">单价: <strong>{{goods.retailPrice}}</strong> /元</p>
  218. <p style="margin: 8px;">优惠前税费: <strong>{{goods.goodstaxes}}</strong> /元</p>
  219. <p style="margin: 8px;">规格: {{goods.specification}}</p>
  220. <p style="margin: 8px;">条形码: {{goods.prodBarcode}}</p>
  221. <!--<span style="margin: 8px;">商品描述: {{goods.goodsDesc}}</span>-->
  222. <span style="margin: 8px;">门店库存: {{goods.stockNum}}</span>
  223. </div>
  224. <div v-show="!goodsDetail">
  225. <h3 style="text-align: center">请扫描商品</h3>
  226. </div>
  227. </li>
  228. </ul>
  229. </div>
  230. <div class="col-md-6 col-sm-8" style="padding: 0px;background-color: #f0f0f0">
  231. <ul class="list-unstyled; ">
  232. <li ref="overflowLi" id="tableLi" style="overflow:auto">
  233. <table id="cbec" class="table .table-striped">
  234. <tr style="border: white;background-color: #F5DCB3;" >
  235. <th style="width: 26%;">跨境商品名称</th>
  236. <th style="width: 9%;">单价</th>
  237. <th style="width: 11%;">积分优惠</th>
  238. <th style="width: 11%;">其他优惠</th>
  239. <th style="width: 10%;">预估税费</th>
  240. <th style="width: 12%;">实际支付价</th>
  241. <th style="width: 10%;">数量</th>
  242. <th style="width: 13%;">参与活动</th>
  243. <th>&nbsp;</th>
  244. </tr>
  245. <tr v-for="(item,i) in goodsList" v-if="item.name">
  246. <td> {{item.name}}</td>
  247. <td> {{item.retailPrice}}</td>
  248. <td> {{item.deductionPrice}}</td>
  249. <td> {{item.otherDiscountedPrice}}</td>
  250. <td> {{item.goodstaxes}}</td>
  251. <td> {{item.actualPaymentAmount}}</td>
  252. <td>
  253. <i class="glyphicon glyphicon-minus" aria-hidden="true" @click="minus(item.id)"></i>
  254. {{item.sellVolume}}
  255. <i class="glyphicon glyphicon-plus" aria-hidden="true" @click="add(item.id)"></i>
  256. </td>
  257. <td>
  258. {{item.activity}}
  259. </td>
  260. <td >
  261. <i class="glyphicon glyphicon-remove" aria-hidden="true" @click="deleteItem(item.id)"></i>
  262. </td>
  263. </tr>
  264. </table>
  265. </li>
  266. <li>
  267. <div style="margin-bottom: 10PX">
  268. <ul style="display: inline-block">
  269. <!-- 2022/04/11海控一期需求 17和19问题 将其意思修改-->
  270. <!-- 原userInfo.customPhone属性是会员手机号-->
  271. <!-- 现其定义为收货人手机号(支付人手机号)-->
  272. <!-- 海控需要将其分开-->
  273. <li><p style="border: white;padding: 8px;font-weight:600;">会员手机号:{{userInfo.consigneePhone}}</p></li>
  274. <li><p style="border: white;padding: 8px;font-weight:600;">收货人手机号:{{userInfo.customPhone}}</p></li>
  275. </ul>
  276. </div>
  277. <ul style="display: inline-block">
  278. <li><p style="border: white;padding: 8px;font-weight:600;">会员当前积分:{{memberCurrentAvailableScore}}</p></li>
  279. <li><p style="border: white;padding: 8px;font-weight:600;">抵扣积分:{{deductionScore}}</p></li>
  280. <li><p style="border: white;padding: 8px;font-weight:600;">会员等级:{{levelName}}</p></li>
  281. </ul>
  282. <div style="width: 30px; display: inline-block"></div>
  283. <ul style="display: inline-block">
  284. <li><p style="border: white;padding: 8px;font-weight:600;">总件数:{{totalCount}}</p></li>
  285. <li><p style="border: white;padding: 8px;font-weight:600;">总价:{{totalPrice}}</p></li>
  286. <!-- <li><h3 style="border: white;padding: 8px">优惠价:{{discountedPrice}}</h3></li>-->
  287. <li><p style="border: white;padding: 8px;font-weight:600;">实际支付价:{{actualPrice}}</p></li>
  288. <li v-if="showReduceMoney != 0"><h3 style="border: white;padding: 8px;font-weight:600;">满减:{{showReduceMoney}}</h3></li>
  289. </ul>
  290. </li>
  291. <li style="padding-bottom: 10px;">
  292. <i-button type="error" @click="clearGoodsList" class="goods-button"><i class="fa fa-pencil-square-o"></i>&nbsp;清空</i-button>
  293. <i-button data-toggle="modal" @click="pendingOrder" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;订单挂起</i-button>
  294. <i-button data-toggle="modal" @click="toResumePending" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;恢复挂起</i-button>
  295. <i-button data-toggle="modal" @click="calculateOrderPrice" type="primary" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;计算优惠后价格</i-button>
  296. <i-button data-toggle="modal" @click="toOrderSubmit" type="primary" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;提交订单</i-button>
  297. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="demo" id="demo" data-dismiss="modal">测试打印小票</button>-->
  298. <!-- 45636914-->
  299. <div class="modal fade" id="pendignOrderModal" role="dialog" aria-labelledby="pendignOrderLabel" aria-hidden="true">
  300. <div class="modal-dialog">
  301. <div class="modal-content">
  302. <div class="modal-header">
  303. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  304. <h4 class="modal-title" id="pendingOrderLabel">挂起订单列表{{pendingOrderKeys}}</h4>
  305. </div>
  306. <div class="modal-body">
  307. <div class="col-xs-4 col-sm-4" v-for="(value,index) in pendingOrderKeys" style="margin-bottom: 8px;">
  308. <i-button data-toggle="modal" data-target="#resumePending" style="width: 110px;font-family: 微软雅黑" @click="resumePending(value)" >&nbsp;{{value}}</i-button>
  309. </div>
  310. </div>
  311. <div class="modal-footer">
  312. </div>
  313. </div>
  314. </div>
  315. </div>
  316. <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  317. <div class="modal-dialog">
  318. <div class="modal-content">
  319. <div class="modal-header">
  320. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  321. <h4 class="modal-title" id="exampleModalLabel">订购人信息</h4>
  322. </div>
  323. <div class="modal-body">
  324. <form>
  325. <!--<div class="form-group">
  326. <label for="customPhone" class="control-label">会员码:</label>
  327. <input autocomplete="off" type="text" class="form-control" ref="couponBarCode" id="couponBarCode" @blur="customPhoneBlur" />
  328. </div>-->
  329. <div class="form-group">
  330. <label for="customPhone" class="control-label">手机号:</label>
  331. <input autocomplete="off" type="text" class="form-control" ref="customPhone" id="customPhone" @blur="customPhoneBlur" />
  332. </div>
  333. <div class="form-group">
  334. <label for="customName" class="control-label">姓名:</label>
  335. <input autocomplete="off" type="text" class="form-control" ref="customName" id="customName" />
  336. </div>
  337. <div class="form-group">
  338. <label for="customIDCard" class="control-label">身份证:</label>
  339. <input autocomplete="off" type="text" class="form-control" ref="customIDCard" id="customIDCard" />
  340. </div>
  341. <div class="form-group">
  342. <label class="control-label">寄送方式:&nbsp;&nbsp;</label>&nbsp;&nbsp;&nbsp;
  343. <span class="control-label"><input autocomplete="off" type="radio" @click="sendDiva" ref="status" name="status" value="1" checked="checked"/>&nbsp;:&nbsp;&nbsp;快递柜打包</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  344. <span class="control-label"><input autocomplete="off" type="radio" @click="sendDivb" ref="status" name="status" value="0" />&nbsp;:&nbsp;&nbsp;寄送到家</span>
  345. </div>
  346. <div class="form-group sendShow" style="border-bottom: 1px solid #e5e5e5;">
  347. <h4 class="modal-title">收件人信息</h4>
  348. </div>
  349. <div class="form-group sendShow">
  350. 省:<select id="cmbProvince" value=""></select>
  351. 市:<select id="cmbCity" value=""></select>
  352. 区:<select id="cmbArea" value=""></select>
  353. </div>
  354. <div class="form-group sendShow">
  355. <label for="addrUser" class="control-label">详细地址:</label>
  356. <input autocomplete="off" type="text" class="form-control" ref="addrUser" id="addrUser" />
  357. </div>
  358. <div v-if="coupons.size > 0" class="form-group">
  359. <label for="couponSn" class="control-label">优惠券码:</label>
  360. <input type="text" class="form-control" ref="couponSn" id="couponSn" />
  361. </div>
  362. </form>
  363. </div>
  364. <div class="modal-footer">
  365. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  366. <button type="button" class="btn btn-primary" @click="queryIDCardInfo">查询身份信息</button>
  367. <button type="button" class="btn btn-primary" @click="getIDCardInfo" id="IDCard">读取身份证信息</button>
  368. <button type="button" class="btn btn-primary" @click="idCardVerification" id="Send" style="background-color:red;">去付款</button>
  369. </div>
  370. </div>
  371. </div>
  372. </div>
  373. <div class="modal fade" id="updatePasswordDialog" role="dialog" aria-hidden="true">
  374. <div class="modal-dialog">
  375. <div class="modal-content">
  376. <div class="modal-header">
  377. <button type="button" class="close" data-dismiss="modal" @click="closeUpdatePasswordDialog" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  378. <h4 class="modal-title" id="updatePasswordLabel">修改密码</h4>
  379. </div>
  380. <div class="modal-body">
  381. <div>
  382. <label class="control-label">账号:</label>
  383. <span class="label label-success" style="vertical-align: center;">{{sysUserInfo.username}}</span>
  384. </div>
  385. <div style="margin-top: 30px">
  386. <label class="control-label" for="oldPassword">原密码:</label>
  387. <input type="password" class="form-control" v-model="oldPassword" ref="oldPassword" size="40%" id="oldPassword" />
  388. </div>
  389. <div style="margin-top: 30px">
  390. <label class="control-label" for="newPassword">新密码:</label>
  391. <input type="text" class="form-control" v-model="newPassword" ref="newPassword" size="40%" id="newPassword" />
  392. </div>
  393. <!-- <div style="margin-top: 30px">-->
  394. <!-- <label class="control-label" for="newPassword2">再次输入新密码:</label>-->
  395. <!-- <input type="text" class="form-control" v-model="newPassword2" ref="newPassword2" size="40%" id="newPassword2" />-->
  396. <!-- </div>-->
  397. </div>
  398. <div class="modal-footer">
  399. <button type="button" class="btn btn-default" data-dismiss="modal" @click="closeUpdatePasswordDialog" >关闭</button>
  400. <button type="button" class="btn btn-primary" @click="updatePassword">修改</button>
  401. </div>
  402. </div>
  403. </div>
  404. </div>
  405. <div class="modal fade" id="calculateOrderPriceDialog" role="dialog" aria-hidden="true">
  406. <div class="modal-dialog">
  407. <div class="modal-content">
  408. <div class="modal-header">
  409. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  410. <h4 class="modal-title" id="calculateOrderPriceModalLabel">录入会员码</h4>
  411. </div>
  412. <div class="modal-body">
  413. <div>
  414. <label for="customPhone" class="control-label">会员码:</label>
  415. <input autocomplete="off" type="text" v-model="memberCode" ref="couponBarCode" size="60%" id="couponBarCode" @on-enter="calculateOrderPriceSubmit" />
  416. </div>
  417. <div style="margin-top: 30px">
  418. <label class="control-label" >是否使用积分进行抵扣:</label>
  419. <i-switch v-model="switch1" on />
  420. </div>
  421. </div>
  422. <div class="modal-footer">
  423. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  424. <button type="button" class="btn btn-primary" @click="calculateOrderPriceSubmit">计算优惠价</button>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. <!--付款码 -->
  430. <div class="modal fade" id="payModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  431. <div class="modal-dialog">
  432. <div class="modal-content">
  433. <div class="modal-header">
  434. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  435. <h4 class="modal-title" id="payModalLabel">付款码</h4>
  436. </div>
  437. <div class="modal-body">
  438. <div style="margin-bottom: 10PX">
  439. <h3 style="border: white;padding: 8px">会员手机号:{{userInfo.consigneePhone}}</h3>
  440. </div>
  441. <div style="margin-bottom: 30px">
  442. <ul style="display: inline-block">
  443. <li><h3 style="border: white;padding: 8px">会员等级:{{levelName}}</h3></li>
  444. <li><h3 style="border: white;padding: 8px">会员当前积分:{{memberCurrentAvailableScore}}</h3></li>
  445. <li><h3 style="border: white;padding: 8px">抵扣积分:{{deductionScore}}</h3></li>
  446. </ul>
  447. <ul style="display: inline-block">
  448. <li><h3 style="border: white;padding: 8px;">总件数:{{totalCount}}</h3></li>
  449. <li><h3 style="border: white;padding: 8px;">总价:{{totalPrice}}</h3></li>
  450. <li><h3 style="border: white;padding: 8px;color: red;">实际支付价:{{actualPrice}}</h3></li>
  451. </ul>
  452. </div>
  453. <form>
  454. <div class="form-group">
  455. <i-input id="payCode" class="payCodeInput" @on-enter="submitOrder" ref="payCode" size="60%" placeholder="请输入付款码"/>
  456. </div>
  457. </form>
  458. </div>
  459. <div class="modal-footer">
  460. <button type="button" class="btn btn-primary" @click="submitOrder" id="submitOrder" data-dismiss="modal">提交</button>
  461. </div>
  462. </div>
  463. </div><!-- /.modal -->
  464. </div>
  465. </li>
  466. </ul>
  467. </div>
  468. <div class="col-md-3 col-sm-1">
  469. <h2 class="text-center" style="border: white;background-color: #F5DCB3;padding: 8px" >小票码 <span v-show="delayResponse"> 海关卡回执导致单量堆积</span></h2><br/>
  470. <div id="codediv" class="row" style="border: white;background-color: #f0f0f0;overflow:auto;">
  471. <div class="col-xs-4 col-sm-4" v-for="(item,i) in pickUpCodeList" style="margin-bottom: 8px;">
  472. <i-button data-toggle="modal" data-target="#orderDetail" style="width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 0" >&nbsp;{{item.pickUpCodeSn}}</i-button>
  473. <i-button data-toggle="modal" data-target="#orderDetail" style="background-color:#83e7b4;width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 1" >{{item.pickUpCodeSn}}</i-button>
  474. <i-button data-toggle="modal" data-target="#orderDetail" style="background-color:#808080;width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 2" >{{item.pickUpCodeSn}}</i-button>
  475. <i-button data-toggle="modal" data-target="#orderDetail" style="background-color:#FF0000;width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 4" >{{item.pickUpCodeSn}}</i-button>
  476. <i-button data-toggle="modal" data-target="#orderDetail" style="background-color:#ffc800;width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 5" >{{item.pickUpCodeSn}}</i-button>
  477. <i-button data-toggle="modal" data-target="#orderDetail" style="background-color:#000;color: #fff;width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 6" >{{item.pickUpCodeSn}}</i-button>
  478. </div>
  479. </div>
  480. </div>
  481. <!--付款码 -->
  482. <div class="modal fade " id="orderDetail" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  483. <div class="modal-dialog modal-lg" style="width: 80%;height: 80%">
  484. <div class="modal-content">
  485. <div class="modal-header">
  486. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  487. <h4 class="modal-title" id="orderDetailLabel">订单详情</h4>
  488. </div>
  489. <div class="modal-body">
  490. <div class="row" style="border:0">
  491. <div class="col-md-3" id="orderNo">订单编号: {{orderEntity.orderSn}}</div>
  492. <div class="col-md-3" id="serialNumber">支付流水号: <span>{{orderEntity.payTransactionId}}</span></div>
  493. <div class="col-md-3" id="waybillNo">运单编号: {{orderProcessRecord.logisticsNo}}</div>
  494. <div class="col-md-3" id="inventoryNo">清单编号: {{orderProcessRecord.invtNo}}</div>
  495. </div>
  496. <div class="row" style="border:0">
  497. <!-- <div class="col-md-3" id="orderDeclarationTime">订单申报时间: {{orderProcessRecord.eleOrderStartTime}}</div>-->
  498. <div class="col-md-3" id="payDeclarationTime">支付单申报时间: {{orderProcessRecord.paymentStartTime}}</div>
  499. <div class="col-md-3" id="waybillDeclarationTime">运单申报时间: {{orderProcessRecord.waybillStartTime}}</div>
  500. <div class="col-md-3" id="inventoryDeclarationTime">清单放行时间: {{orderProcessRecord.customsSuccTime}}</div>
  501. <div class="col-md-3" id="orderSubmitTime">订单提交时间: {{orderProcessRecord.addOrderStartTime}}</div>
  502. </div>
  503. <div class="row" style="border:0">
  504. <!-- <div class="col-md-3" id="orderSubmitTime">订单提交时间: {{orderProcessRecord.addOrderStartTime}}</div>-->
  505. <div class="col-md-3" id="payStatus">支付状态:
  506. <span v-if="orderEntity.payStatus == 0">未付款</span>
  507. <span v-if="orderEntity.payStatus == 1">付款中</span>
  508. <span v-if="orderEntity.payStatus == 2">已付款</span>
  509. </div>
  510. <div class="col-md-3" id="inventoryStatus">清关状态:
  511. <span v-if="orderProcessRecord.isCustomsSend == 1">放行</span>
  512. <span v-if="orderProcessRecord.isCustomsSend == 2">查验</span>
  513. <span v-if="orderProcessRecord.isCustomsSend == 3">清关失败</span>
  514. <span v-if="orderProcessRecord.isCustomsSend == 4">其他</span>
  515. </div>
  516. <div class="col-md-3" id="payOrderDeclareStatus">支付单申报状态:
  517. <span v-if="orderProcessRecord.isPaymentSend == 0">失败</span>
  518. <span v-if="orderProcessRecord.isPaymentSend == 1">成功</span>
  519. <span v-if="orderProcessRecord.isPaymentSend == 2">申报中</span>
  520. </div>
  521. </div>
  522. <!-- <div class="row" style="border:0">-->
  523. <!-- <div class="col-md-3" id="orderDeclareStatus">订单申报状态:-->
  524. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 0">失败</span>-->
  525. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 1">成功</span>-->
  526. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 2">申报中</span>-->
  527. <!-- </div>-->
  528. <!-- <div class="col-md-3" id="payOrderDeclareStatus">支付单申报状态:-->
  529. <!-- <span v-if="orderProcessRecord.isPaymentSend == 0">失败</span>-->
  530. <!-- <span v-if="orderProcessRecord.isPaymentSend == 1">成功</span>-->
  531. <!-- <span v-if="orderProcessRecord.isPaymentSend == 2">申报中</span>-->
  532. <!-- </div>-->
  533. <!-- </div>-->
  534. <div class="row" style="border:0">
  535. <div class="col-md-3" id="orderTotal">订单总金额: {{orderEntity.orderPrice}}</div>
  536. <div class="col-md-3" id="actualPrice">订单实际支付金额: {{orderEntity.actualPrice}}</div>
  537. <div class="col-md-3" id="discount">订单优惠券金额: {{orderEntity.couponPrice}}</div>
  538. <div class="col-md-3" id="orderTaxes">订单预估税费: {{tax}}</div>
  539. </div>
  540. <div class="row" style="border:0">
  541. <div class="col-md-3" id="payName">姓名: {{orderEntity.payName}}</div>
  542. <div class="col-md-3" id="mobile">手机号: {{orderEntity.payMobile}}</div>
  543. <div class="col-md-3" id="pickUpCodeSn">小票码: {{orderEntity.pickUpCodeSn}}</div>
  544. </div>
  545. <div class="row" style="border:0">
  546. <div class="col-md-12" id="invetoryReceipt">清关结果: {{response}}</div>
  547. </div>
  548. <table id="goodsDetailTable" class="table .table-striped" style="margin-top: 50px;">
  549. <tr style="border: white;background-color: orange">
  550. <th>商品名称</th>
  551. <th>sku</th>
  552. <th>规格</th>
  553. <th>市场价</th>
  554. <!-- <th>优惠价</th>-->
  555. <th>数量</th>
  556. <th>实际支付价</th>
  557. <th>预估税费</th>
  558. <th>参与活动</th>
  559. </tr>
  560. <tr v-for="(item,i) in goodsDetailList" >
  561. <td><h3>{{item.goodsName}}</h3></td>
  562. <td>{{item.sku}}</td>
  563. <td>{{item.specification}}</td>
  564. <td>{{item.marketPrice}}</td>
  565. <!-- <td>{{item.discountedPrice}}</td>-->
  566. <td>{{item.number}}</td>
  567. <td>{{item.actualPaymentAmount}}</td>
  568. <td >{{item.taxPrice}}</td>
  569. <td >{{item.activity}}</td>
  570. </tr>
  571. </table>
  572. </div>
  573. <div class="modal-footer">
  574. <button v-if="canRefund" type="button" style="margin:0 30px 0 20px;float: left" class="btn ivu-btn-error" @click="refundOrder()" id="refundOrder" data-dismiss="modal">退款</button>
  575. <button v-else disabled type="button" style="margin:0 30px 0 25px;float: left" class="btn ivu-btn-error" @click="refundOrder()" data-dismiss="modal">退款</button>
  576. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-warning" @click="confirmDelivery" id="confirmDelivery" data-dismiss="modal">确定提货</button>-->
  577. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendNotice" id="resendNotice" data-dismiss="modal">重发通知</button>-->
  578. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendWaybill" id="resendWaybill" data-dismiss="modal">重发运单</button>-->
  579. <button type="button" style="margin:0 30px 0 20px;" class="btn btn-primary" @click="resendorderinfo" id="resendorderinfo" data-dismiss="modal">重推订单信息</button>
  580. <button type="button" style="margin:0 30px 0 20px;" class="btn btn-primary" @click="resendorder" id="resendorder" data-dismiss="modal">重发订单</button>
  581. <button type="button" style="margin:0 30px 0 20px;" class="btn btn-primary" @click="resendPayment" id="resendPayment" data-dismiss="modal">重发支付单</button>
  582. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendOrder" id="resendOrder" data-dismiss="modal">重发订单</button>-->
  583. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="forceSendToOms" id="forceSendToOms" data-dismiss="modal">强推清关</button>-->
  584. <button type="button" style="margin:0 30px 0 20px;" class="btn btn-primary" @click="verification" id="verification" data-dismiss="modal">核销</button>
  585. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="verEwbtion" id="verEwbtion" data-dismiss="modal">打印快递单</button>-->
  586. </div>
  587. </div>
  588. </div><!-- /.modal -->
  589. </div>
  590. <!-- 多sku选择框-->
  591. <div>
  592. <div id="orderSkuDetail" v-if="openSku" >
  593. <table id="goodsSkuDetailTable" class="tableNew table .table-striped ">
  594. <tr style="border: white;background-color: orange">
  595. <th>商品名称</th>
  596. <th>sku</th>
  597. <th>条码</th>
  598. <th>单价</th>
  599. <th>库存数</th>
  600. <th>实际支付价</th>
  601. <th>参与活动</th>
  602. <th>操作</th>
  603. <th><i class="glyphicon glyphicon-remove" @click="cancelNew"></i></th>
  604. </tr>
  605. <tr v-for="(item,i) in goodsSkuDetailList">
  606. <td>{{item.name}}</td>
  607. <td>{{item.sku}}</td>
  608. <td>{{item.prodBarcode}}</td>
  609. <td>{{item.retailPrice}}</td>
  610. <td>{{item.stockNum}}</td>
  611. <td>{{item.actualPaymentAmount}}</td>
  612. <td>{{item.activity}}</td>
  613. <td>
  614. <button type="button" v-if="openSku" style="margin:0 30px 0 -20px;font-size: 20px;" class="btn btn-primary" @click="saveNew(item.sku)" id="saveNew" data-dismiss="modal">确定</button>
  615. </td>
  616. </tr>
  617. </table>
  618. </div>
  619. </div>
  620. <!--遮罩-->
  621. <div class="modal fade" id="loadingModal">
  622. <div style="width: 200px;height:20px; z-index: 20000; position: absolute; text-align: center; left: 50%; top: 50%;margin-left:-100px;margin-top:-10px">
  623. <div class="progress progress-striped active" style="margin-bottom: 0;">
  624. <div class="progress-bar" style="width: 100%;"></div>
  625. </div>
  626. <h5>loading...</h5>
  627. </div>
  628. </div>
  629. </div>
  630. </div>
  631. </div>
  632. <div style="display: none">
  633. <img src="/statics/img/yto_logo.jpg">
  634. <img src="/statics/img/bestex_logo.jpeg">
  635. <img src="/statics/img/bestex_logo2.jpeg">
  636. <img src="/statics/img/bestex_logo2.png">
  637. <img src="/statics/img/bestex_logo3.png">
  638. </div>
  639. <script type="application/javascript">
  640. let mailTypes = ["best", "yto"];
  641. var strategies = {
  642. "best": function(data){
  643. return render_of_best(data);
  644. },
  645. "yto": function(data){
  646. return render_of_yto(data);
  647. }
  648. };
  649. for (let i = 0; i < mailTypes.length; i++) {
  650. strategies[mailTypes[i]] = "";
  651. }
  652. var renderMailInfo = function(exprCode, data){
  653. return strategies[exprCode](data);
  654. };
  655. </script>
  656. <script src="${rc.contextPath}/statics/dist/js7_jsAddress.js"></script>
  657. <script src="${rc.contextPath}/statics/libs/bignumber.js"></script>
  658. <script src="${rc.contextPath}/js/sale/sale.js?_${date.systemTime}"></script>
  659. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  660. <script src="${rc.contextPath}/statics/libs/bootstrap.min.js"></script>
  661. </body>
  662. </html>