sale.html 40 KB

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