sale.html 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  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. <div style="margin-bottom: 10PX">
  197. <h3 style="border: white;padding: 8px">会员手机号:{{userInfo.customPhone}}</h3>
  198. </div>
  199. <ul style="display: inline-block">
  200. <li><h3 style="border: white;padding: 8px;">会员当前积分:{{memberCurrentAvailableScore}}</h3></li>
  201. <li><h3 style="border: white;padding: 8px;">抵扣积分:{{deductionScore}}</h3></li>
  202. <li><h3 style="border: white;padding: 8px;">会员等级:{{levelName}}</h3></li>
  203. </ul>
  204. <div style="width: 30px; display: inline-block"></div>
  205. <ul style="display: inline-block">
  206. <li><h3 style="border: white;padding: 8px;">总件数:{{totalCount}}</h3></li>
  207. <li><h3 style="border: white;padding: 8px;">总价:{{totalPrice}}</h3></li>
  208. <!-- <li><h3 style="border: white;padding: 8px">优惠价:{{discountedPrice}}</h3></li>-->
  209. <li><h3 style="border: white;padding: 8px">实际支付价:{{actualPrice}}</h3></li>
  210. <li v-if="showReduceMoney != 0"><h3 style="border: white;padding: 8px">满减:{{showReduceMoney}}</h3></li>
  211. </ul>
  212. </li>
  213. <li style="height: 100px;">
  214. <i-button type="error" @click="clearGoodsList" class="goods-button"><i class="fa fa-pencil-square-o"></i>&nbsp;清空</i-button>
  215. <i-button data-toggle="modal" @click="pendingOrder" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;订单挂起</i-button>
  216. <i-button data-toggle="modal" @click="toResumePending" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;恢复挂起</i-button>
  217. <i-button data-toggle="modal" @click="calculateOrderPrice" type="primary" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;计算优惠后价格</i-button>
  218. <i-button data-toggle="modal" @click="toOrderSubmit" type="primary" class="goods-button" ><i class="fa fa-pencil-square-o"></i>&nbsp;提交订单</i-button>
  219. <!-- 45636914-->
  220. <div class="modal fade" id="pendignOrderModal" role="dialog" aria-labelledby="pendignOrderLabel" aria-hidden="true">
  221. <div class="modal-dialog">
  222. <div class="modal-content">
  223. <div class="modal-header">
  224. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  225. <h4 class="modal-title" id="pendingOrderLabel">挂起订单列表{{pendingOrderKeys}}</h4>
  226. </div>
  227. <div class="modal-body">
  228. <div class="col-xs-4 col-sm-4" v-for="(value,index) in pendingOrderKeys" style="margin-bottom: 8px;">
  229. <i-button data-toggle="modal" data-target="#resumePending" style="width: 110px;font-family: 微软雅黑" @click="resumePending(value)" >&nbsp;{{value}}</i-button>
  230. </div>
  231. </div>
  232. <div class="modal-footer">
  233. </div>
  234. </div>
  235. </div>
  236. </div>
  237. <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  238. <div class="modal-dialog">
  239. <div class="modal-content">
  240. <div class="modal-header">
  241. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  242. <h4 class="modal-title" id="exampleModalLabel">订购人信息</h4>
  243. </div>
  244. <div class="modal-body">
  245. <form>
  246. <!--<div class="form-group">
  247. <label for="customPhone" class="control-label">会员码:</label>
  248. <input autocomplete="off" type="text" class="form-control" ref="couponBarCode" id="couponBarCode" @blur="customPhoneBlur" />
  249. </div>-->
  250. <div class="form-group">
  251. <label for="customPhone" class="control-label">手机号:</label>
  252. <input autocomplete="off" type="text" class="form-control" ref="customPhone" id="customPhone" @blur="customPhoneBlur" />
  253. </div>
  254. <div class="form-group">
  255. <label for="customName" class="control-label">姓名:</label>
  256. <input autocomplete="off" type="text" class="form-control" ref="customName" id="customName" />
  257. </div>
  258. <div class="form-group">
  259. <label for="customIDCard" class="control-label">身份证:</label>
  260. <input autocomplete="off" type="text" class="form-control" ref="customIDCard" id="customIDCard" />
  261. </div>
  262. <div class="form-group">
  263. <label class="control-label">寄送方式:&nbsp;&nbsp;</label>&nbsp;&nbsp;&nbsp;
  264. <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;
  265. <span class="control-label"><input autocomplete="off" type="radio" @click="sendDivb" ref="status" name="status" value="0" />&nbsp;:&nbsp;&nbsp;寄送到家</span>
  266. </div>
  267. <div class="form-group sendShow" style="border-bottom: 1px solid #e5e5e5;">
  268. <h4 class="modal-title">收件人信息</h4>
  269. </div>
  270. <div class="form-group sendShow">
  271. 省:<select id="cmbProvince" value=""></select>
  272. 市:<select id="cmbCity" value=""></select>
  273. 区:<select id="cmbArea" value=""></select>
  274. </div>
  275. <div class="form-group sendShow">
  276. <label for="addrUser" class="control-label">详细地址:</label>
  277. <input autocomplete="off" type="text" class="form-control" ref="addrUser" id="addrUser" />
  278. </div>
  279. <div v-if="coupons.size > 0" class="form-group">
  280. <label for="couponSn" class="control-label">优惠券码:</label>
  281. <input type="text" class="form-control" ref="couponSn" id="couponSn" />
  282. </div>
  283. </form>
  284. </div>
  285. <div class="modal-footer">
  286. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  287. <button type="button" class="btn btn-primary" @click="queryIDCardInfo">查询身份信息</button>
  288. <button type="button" class="btn btn-primary" @click="getIDCardInfo" id="IDCard">读取身份证信息</button>
  289. <button type="button" class="btn btn-primary" @click="idCardVerification" id="Send" style="background-color:red;">去付款</button>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <div class="modal fade" id="updatePasswordDialog" role="dialog" aria-hidden="true">
  295. <div class="modal-dialog">
  296. <div class="modal-content">
  297. <div class="modal-header">
  298. <button type="button" class="close" data-dismiss="modal" @click="closeUpdatePasswordDialog" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  299. <h4 class="modal-title" id="updatePasswordLabel">修改密码</h4>
  300. </div>
  301. <div class="modal-body">
  302. <div>
  303. <label class="control-label">账号:</label>
  304. <span class="label label-success" style="vertical-align: center;">{{sysUserInfo.username}}</span>
  305. </div>
  306. <div style="margin-top: 30px">
  307. <label class="control-label" for="oldPassword">原密码:</label>
  308. <input type="password" class="form-control" v-model="oldPassword" ref="oldPassword" size="40%" id="oldPassword" />
  309. </div>
  310. <div style="margin-top: 30px">
  311. <label class="control-label" for="newPassword">新密码:</label>
  312. <input type="text" class="form-control" v-model="newPassword" ref="newPassword" size="40%" id="newPassword" />
  313. </div>
  314. <!-- <div style="margin-top: 30px">-->
  315. <!-- <label class="control-label" for="newPassword2">再次输入新密码:</label>-->
  316. <!-- <input type="text" class="form-control" v-model="newPassword2" ref="newPassword2" size="40%" id="newPassword2" />-->
  317. <!-- </div>-->
  318. </div>
  319. <div class="modal-footer">
  320. <button type="button" class="btn btn-default" data-dismiss="modal" @click="closeUpdatePasswordDialog" >关闭</button>
  321. <button type="button" class="btn btn-primary" @click="updatePassword">修改</button>
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="modal fade" id="calculateOrderPriceDialog" role="dialog" aria-hidden="true">
  327. <div class="modal-dialog">
  328. <div class="modal-content">
  329. <div class="modal-header">
  330. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  331. <h4 class="modal-title" id="calculateOrderPriceModalLabel">录入会员码</h4>
  332. </div>
  333. <div class="modal-body">
  334. <div>
  335. <label for="customPhone" class="control-label">会员码:</label>
  336. <input autocomplete="off" type="text" v-model="memberCode" ref="couponBarCode" size="60%" id="couponBarCode" @on-enter="calculateOrderPriceSubmit" />
  337. </div>
  338. <div style="margin-top: 30px">
  339. <label class="control-label" >是否使用积分进行抵扣:</label>
  340. <i-switch v-model="switch1" on />
  341. </div>
  342. </div>
  343. <div class="modal-footer">
  344. <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  345. <button type="button" class="btn btn-primary" @click="calculateOrderPriceSubmit">计算优惠价</button>
  346. </div>
  347. </div>
  348. </div>
  349. </div>
  350. <!--付款码 -->
  351. <div class="modal fade" id="payModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  352. <div class="modal-dialog">
  353. <div class="modal-content">
  354. <div class="modal-header">
  355. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  356. <h4 class="modal-title" id="payModalLabel">付款码</h4>
  357. </div>
  358. <div class="modal-body">
  359. <div style="margin-bottom: 10PX">
  360. <h3 style="border: white;padding: 8px">会员手机号:{{userInfo.customPhone}}</h3>
  361. </div>
  362. <div style="margin-bottom: 30px">
  363. <ul style="display: inline-block">
  364. <li><h3 style="border: white;padding: 8px">会员等级:{{levelName}}</h3></li>
  365. <li><h3 style="border: white;padding: 8px">会员当前积分:{{memberCurrentAvailableScore}}</h3></li>
  366. <li><h3 style="border: white;padding: 8px">抵扣积分:{{deductionScore}}</h3></li>
  367. </ul>
  368. <ul style="display: inline-block">
  369. <li><h3 style="border: white;padding: 8px;">总件数:{{totalCount}}</h3></li>
  370. <li><h3 style="border: white;padding: 8px;">总价:{{totalPrice}}</h3></li>
  371. <li><h3 style="border: white;padding: 8px;color: red;">实际支付价:{{actualPrice}}</h3></li>
  372. </ul>
  373. </div>
  374. <form>
  375. <div class="form-group">
  376. <i-input id="payCode" class="payCodeInput" @on-enter="submitOrder" ref="payCode" size="60%" placeholder="请输入付款码"/>
  377. </div>
  378. </form>
  379. </div>
  380. <div class="modal-footer">
  381. <button type="button" class="btn btn-primary" @click="submitOrder" id="submitOrder" data-dismiss="modal">提交</button>
  382. </div>
  383. </div>
  384. </div><!-- /.modal -->
  385. </div>
  386. </li>
  387. </ul>
  388. </div>
  389. <div class="col-md-3">
  390. <h2 class="text-center" style="border: white;background-color: #F5DCB3;padding: 8px" >小票码 <span v-show="delayResponse"> 海关卡回执导致单量堆积</span></h2><br/>
  391. <div class="row" style="border: white;background-color: #f0f0f0;overflow:auto;height: 700px;">
  392. <div class="col-xs-4 col-sm-4" v-for="(item,i) in pickUpCodeList" style="margin-bottom: 8px;">
  393. <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>
  394. <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>
  395. <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>
  396. <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>
  397. <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>
  398. <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>
  399. </div>
  400. </div>
  401. </div>
  402. <!--付款码 -->
  403. <div class="modal fade " id="orderDetail" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  404. <div class="modal-dialog modal-lg" style="width: 80%;height: 80%">
  405. <div class="modal-content">
  406. <div class="modal-header">
  407. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  408. <h4 class="modal-title" id="orderDetailLabel">订单详情</h4>
  409. </div>
  410. <div class="modal-body">
  411. <div class="row" style="border:0">
  412. <div class="col-md-3" id="orderNo">订单编号: {{orderEntity.orderSn}}</div>
  413. <div class="col-md-3" id="serialNumber">支付流水号: <span>{{orderEntity.payTransactionId}}</span></div>
  414. <div class="col-md-3" id="waybillNo">运单编号: {{orderProcessRecord.logisticsNo}}</div>
  415. <div class="col-md-3" id="inventoryNo">清单编号: {{orderProcessRecord.invtNo}}</div>
  416. </div>
  417. <div class="row" style="border:0">
  418. <!-- <div class="col-md-3" id="orderDeclarationTime">订单申报时间: {{orderProcessRecord.eleOrderStartTime}}</div>-->
  419. <div class="col-md-3" id="payDeclarationTime">支付单申报时间: {{orderProcessRecord.paymentStartTime}}</div>
  420. <div class="col-md-3" id="waybillDeclarationTime">运单申报时间: {{orderProcessRecord.waybillStartTime}}</div>
  421. <div class="col-md-3" id="inventoryDeclarationTime">清单放行时间: {{orderProcessRecord.customsSuccTime}}</div>
  422. <div class="col-md-3" id="orderSubmitTime">订单提交时间: {{orderProcessRecord.addOrderStartTime}}</div>
  423. </div>
  424. <div class="row" style="border:0">
  425. <!-- <div class="col-md-3" id="orderSubmitTime">订单提交时间: {{orderProcessRecord.addOrderStartTime}}</div>-->
  426. <div class="col-md-3" id="payStatus">支付状态:
  427. <span v-if="orderEntity.payStatus == 0">未付款</span>
  428. <span v-if="orderEntity.payStatus == 1">付款中</span>
  429. <span v-if="orderEntity.payStatus == 2">已付款</span>
  430. </div>
  431. <div class="col-md-3" id="inventoryStatus">清关状态:
  432. <span v-if="orderProcessRecord.isCustomsSend == 1">放行</span>
  433. <span v-if="orderProcessRecord.isCustomsSend == 2">查验</span>
  434. <span v-if="orderProcessRecord.isCustomsSend == 3">清关失败</span>
  435. <span v-if="orderProcessRecord.isCustomsSend == 4">其他</span>
  436. </div>
  437. <div class="col-md-3" id="payOrderDeclareStatus">支付单申报状态:
  438. <span v-if="orderProcessRecord.isPaymentSend == 0">失败</span>
  439. <span v-if="orderProcessRecord.isPaymentSend == 1">成功</span>
  440. <span v-if="orderProcessRecord.isPaymentSend == 2">申报中</span>
  441. </div>
  442. </div>
  443. <!-- <div class="row" style="border:0">-->
  444. <!-- <div class="col-md-3" id="orderDeclareStatus">订单申报状态:-->
  445. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 0">失败</span>-->
  446. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 1">成功</span>-->
  447. <!-- <span v-if="orderProcessRecord.isEleOrderSend == 2">申报中</span>-->
  448. <!-- </div>-->
  449. <!-- <div class="col-md-3" id="payOrderDeclareStatus">支付单申报状态:-->
  450. <!-- <span v-if="orderProcessRecord.isPaymentSend == 0">失败</span>-->
  451. <!-- <span v-if="orderProcessRecord.isPaymentSend == 1">成功</span>-->
  452. <!-- <span v-if="orderProcessRecord.isPaymentSend == 2">申报中</span>-->
  453. <!-- </div>-->
  454. <!-- </div>-->
  455. <div class="row" style="border:0">
  456. <div class="col-md-3" id="orderTotal">订单总金额: {{orderEntity.orderPrice}}</div>
  457. <div class="col-md-3" id="actualPrice">订单实际支付金额: {{orderEntity.actualPrice}}</div>
  458. <div class="col-md-3" id="discount">订单优惠券金额: {{orderEntity.couponPrice}}</div>
  459. <div class="col-md-3" id="orderTaxes">订单预估税费: {{tax}}</div>
  460. </div>
  461. <div class="row" style="border:0">
  462. <div class="col-md-3" id="payName">姓名: {{orderEntity.payName}}</div>
  463. <div class="col-md-3" id="mobile">手机号: {{orderEntity.payMobile}}</div>
  464. <div class="col-md-3" id="pickUpCodeSn">小票码: {{orderEntity.pickUpCodeSn}}</div>
  465. </div>
  466. <div class="row" style="border:0">
  467. <div class="col-md-12" id="invetoryReceipt">清关结果: {{response}}</div>
  468. </div>
  469. <table id="goodsDetailTable" class="table .table-striped" style="margin-top: 50px;">
  470. <tr style="border: white;background-color: orange">
  471. <th>商品名称</th>
  472. <th>sku</th>
  473. <th>规格</th>
  474. <th>市场价</th>
  475. <!-- <th>优惠价</th>-->
  476. <th>数量</th>
  477. <th>实际支付价</th>
  478. <th>预估税费</th>
  479. <th>参与活动</th>
  480. </tr>
  481. <tr v-for="(item,i) in goodsDetailList" >
  482. <td><h3>{{item.goodsName}}</h3></td>
  483. <td>{{item.sku}}</td>
  484. <td>{{item.specification}}</td>
  485. <td>{{item.marketPrice}}</td>
  486. <!-- <td>{{item.discountedPrice}}</td>-->
  487. <td>{{item.number}}</td>
  488. <td>{{item.actualPaymentAmount}}</td>
  489. <td >{{item.taxPrice}}</td>
  490. <td >{{item.activity}}</td>
  491. </tr>
  492. </table>
  493. </div>
  494. <div class="modal-footer">
  495. <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>
  496. <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>
  497. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-warning" @click="confirmDelivery" id="confirmDelivery" data-dismiss="modal">确定提货</button>-->
  498. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendNotice" id="resendNotice" data-dismiss="modal">重发通知</button>-->
  499. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendWaybill" id="resendWaybill" data-dismiss="modal">重发运单</button>-->
  500. <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendorder" id="resendorder" data-dismiss="modal">重发订单</button>
  501. <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendPayment" id="resendPayment" data-dismiss="modal">重发支付单</button>
  502. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="resendOrder" id="resendOrder" data-dismiss="modal">重发订单</button>-->
  503. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="forceSendToOms" id="forceSendToOms" data-dismiss="modal">强推清关</button>-->
  504. <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="verification" id="verification" data-dismiss="modal">核销</button>
  505. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 25px;" class="btn btn-primary" @click="verEwbtion" id="verEwbtion" data-dismiss="modal">打印快递单</button>-->
  506. </div>
  507. </div>
  508. </div><!-- /.modal -->
  509. </div>
  510. <!-- 多sku选择框-->
  511. <div>
  512. <div id="orderSkuDetail" v-if="openSku" >
  513. <table id="goodsSkuDetailTable" class="tableNew table .table-striped ">
  514. <tr style="border: white;background-color: orange">
  515. <th>商品名称</th>
  516. <th>sku</th>
  517. <th>条码</th>
  518. <th>单价</th>
  519. <th>库存数</th>
  520. <th>实际支付价</th>
  521. <th>参与活动</th>
  522. <th>操作</th>
  523. <th><i class="glyphicon glyphicon-remove" @click="cancelNew"></i></th>
  524. </tr>
  525. <tr v-for="(item,i) in goodsSkuDetailList">
  526. <td>{{item.name}}</td>
  527. <td>{{item.sku}}</td>
  528. <td>{{item.prodBarcode}}</td>
  529. <td>{{item.retailPrice}}</td>
  530. <td>{{item.stockNum}}</td>
  531. <td>{{item.actualPaymentAmount}}</td>
  532. <td>{{item.activity}}</td>
  533. <td>
  534. <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>
  535. </td>
  536. </tr>
  537. </table>
  538. </div>
  539. </div>
  540. </div>
  541. </div>
  542. </div>
  543. <div style="display: none">
  544. <img src="/statics/img/yto_logo.jpg">
  545. <img src="/statics/img/bestex_logo.jpeg">
  546. <img src="/statics/img/bestex_logo2.jpeg">
  547. <img src="/statics/img/bestex_logo2.png">
  548. <img src="/statics/img/bestex_logo3.png">
  549. </div>
  550. <script type="application/javascript">
  551. let mailTypes = ["best", "yto"];
  552. var strategies = {
  553. "best": function(data){
  554. return render_of_best(data);
  555. },
  556. "yto": function(data){
  557. return render_of_yto(data);
  558. }
  559. };
  560. for (let i = 0; i < mailTypes.length; i++) {
  561. strategies[mailTypes[i]] = "";
  562. }
  563. var renderMailInfo = function(exprCode, data){
  564. return strategies[exprCode](data);
  565. };
  566. </script>
  567. <script src="${rc.contextPath}/statics/dist/js7_jsAddress.js"></script>
  568. <script src="${rc.contextPath}/statics/libs/bignumber.js"></script>
  569. <script src="${rc.contextPath}/js/sale/sale.js?_${date.systemTime}"></script>
  570. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  571. <script src="${rc.contextPath}/statics/libs/bootstrap.min.js"></script>
  572. </body>
  573. </html>