pickupcode.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title></title>
  5. #parse("sys/header.html")
  6. </head>
  7. <body>
  8. <div id="rrapp" v-cloak>
  9. <div v-show="showList" class="col-md-12">
  10. <div class="col-md-12">
  11. <Row :gutter="16">
  12. <div class="search-group">
  13. <i-col span="4">
  14. <i-input v-model="q.orderSn" @on-enter="query" placeholder="订单号"/>
  15. </i-col>
  16. <i-col span="4">
  17. <i-input v-model="q.payName" @on-enter="query" placeholder="购买人"/>
  18. </i-col>
  19. <i-col span="4">
  20. <i-input v-model="q.payMobile" @on-enter="query" placeholder="购买人电话"/>
  21. </i-col>
  22. <i-col span="3">
  23. <Date-picker v-model="q.startTime" placeholder="下单开始时间"/>
  24. </i-col>
  25. <i-col span="3">
  26. <Date-picker v-model="q.endTime" placeholder="下单结束时间"/>
  27. </i-col>
  28. <i-button @click="query">查询</i-button>
  29. <i-button @click="reloadSearch">重置</i-button>
  30. </div>
  31. <!--<div class="buttons-group">
  32. #if($shiro.hasPermission("pickupcode:save"))
  33. <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
  34. #end
  35. #if($shiro.hasPermission("pickupcode:update"))
  36. <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>
  37. #end
  38. #if($shiro.hasPermission("pickupcode:delete"))
  39. <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
  40. #end
  41. </div>-->
  42. </Row>
  43. </div>
  44. <!-- <table id="jqGrid"></table>-->
  45. <!-- <div id="jqGridPager"></div>-->
  46. <div class="col-md-12">
  47. <div class="row" style="border: white;background-color: #f0f0f0;height: 800px;overflow: auto;">
  48. <div class="col-xs-2 col-sm-2" v-for="item in pickUpCodeList" style="margin-bottom: 8px;">
  49. <i-button data-toggle="modal" data-target="#orderDetail" style="width: 110px;font-family: 微软雅黑" @click="queryOrderDetail(item.orderSn,item.pickUpCodeSn)" v-if="item.pickUpCodeStatus == 0" >{{item.pickUpCodeSn}}</i-button>
  50. <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>
  51. <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>
  52. <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>
  53. <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>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="modal fade " id="orderDetail" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  58. <div class="modal-dialog modal-lg" style="width: 80%;height: 80%">
  59. <div class="modal-content">
  60. <div class="modal-header">
  61. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  62. <h4 class="modal-title" id="orderDetailLabel">订单详情</h4>
  63. </div>
  64. <div class="modal-body">
  65. <div class="row" style="border:0">
  66. <div class="col-md-3" id="orderNo">订单编号: {{orderEntity.orderSn}}</div>
  67. <div class="col-md-3" id="serialNumber">支付流水号: <span>{{orderProcessRecord.payTransactionId}}</span></div>
  68. <div class="col-md-3" id="waybillNo">运单编号: {{orderProcessRecord.logisticsNo}}</div>
  69. <div class="col-md-3" id="inventoryNo">清单编号: {{orderProcessRecord.invtNo}}</div>
  70. </div>
  71. <div class="row" style="border:0">
  72. <div class="col-md-3" id="orderDeclarationTime">订单申报时间: {{orderProcessRecord.eleOrderStartTime}}</div>
  73. <div class="col-md-3" id="payDeclarationTime">支付单申报时间: {{orderProcessRecord.paymentStartTime}}</div>
  74. <div class="col-md-3" id="waybillDeclarationTime">运单申报时间: {{orderProcessRecord.waybillStartTime}}</div>
  75. <div class="col-md-3" id="inventoryDeclarationTime">清单放行时间: {{orderProcessRecord.customsSuccTime}}</div>
  76. </div>
  77. <div class="row" style="border:0">
  78. <div class="col-md-3" id="orderSubmitTime">订单提交时间: {{orderProcessRecord.addOrderStartTime}}</div>
  79. <div class="col-md-3" id="payStatus">支付状态:
  80. <span v-if="orderEntity.payStatus == 0">未付款</span>
  81. <span v-if="orderEntity.payStatus == 1">付款中</span>
  82. <span v-if="orderEntity.payStatus == 2">已付款</span>
  83. </div>
  84. <div class="col-md-3" id="inventoryStatus">清关状态:
  85. <span v-if="orderProcessRecord.isCustomsSend == 0">失败</span>
  86. <span v-if="orderProcessRecord.isCustomsSend == 1">成功</span>
  87. <span v-if="orderProcessRecord.isCustomsSend == 2">清关中</span>
  88. </div>
  89. </div>
  90. <div class="row" style="border:0">
  91. <div class="col-md-3" id="orderDeclareStatus">订单申报状态:
  92. <span v-if="orderProcessRecord.isEleOrderSend == 0">失败</span>
  93. <span v-if="orderProcessRecord.isEleOrderSend == 1">成功</span>
  94. <span v-if="orderProcessRecord.isEleOrderSend == 2">申报中</span>
  95. </div>
  96. <div class="col-md-3" id="payOrderDeclareStatus">支付单申报状态:
  97. <span v-if="orderProcessRecord.isPaymentSend == 0">失败</span>
  98. <span v-if="orderProcessRecord.isPaymentSend == 1">成功</span>
  99. <span v-if="orderProcessRecord.isPaymentSend == 2">申报中</span>
  100. </div>
  101. </div>
  102. <div class="row" style="border:0">
  103. <div class="col-md-3" id="orderTotal">订单总金额: {{orderEntity.orderPrice}}</div>
  104. <div class="col-md-3" id="actualPrice">订单实际支付金额: {{orderEntity.actualPrice}}</div>
  105. <div class="col-md-3" id="discount">订单优惠券金额: {{orderEntity.couponPrice}}</div>
  106. <div class="col-md-3" id="orderTaxes">订单预估税费: {{tax}}</div>
  107. </div>
  108. <div class="row" style="border:0">
  109. <div class="col-md-12" id="invetoryReceipt">失败原因: {{response}}</div>
  110. </div>
  111. <table id="goodsDetailTable" class="table .table-striped" style="margin-top: 50px;">
  112. <tr style="border: white;background-color: orange">
  113. <th>商品名称</th>
  114. <th>规格</th>
  115. <th>市场价</th>
  116. <th>优惠价</th>
  117. <th>数量</th>
  118. <th>实际支付价</th>
  119. <th>预估税费</th>
  120. <th>参与活动</th>
  121. </tr>
  122. <tr v-for="(item,i) in goodsDetailList" >
  123. <td><h3>{{item.goodsName}}</h3></td>
  124. <td>{{item.specification}}</td>
  125. <td>{{item.marketPrice}}</td>
  126. <td>{{item.discountedPrice}}</td>
  127. <td>{{item.number}}</td>
  128. <td>{{item.actualPaymentAmount}}</td>
  129. <td >{{item.tax}}</td>
  130. <td >{{item.activity}}</td>
  131. </tr>
  132. </table>
  133. </div>
  134. <div class="modal-footer">
  135. <button 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>
  136. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 30px;" class="btn btn-primary" @click="pickerUp" id="pickerUp" data-dismiss="modal">已取货</button>-->
  137. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 30px;" class="btn btn-primary" @click="resendWaybill" id="resendWaybill" data-dismiss="modal">重发运单</button>-->
  138. <!-- <button type="button" style="margin:0 30px 0 20px;font-size: 30px;" class="btn btn-primary" @click="resendPayment" id="resendPayment" data-dismiss="modal">重发支付单</button>-->
  139. <button type="button" style="margin:0 30px 0 20px;font-size: 30px;" class="btn btn-primary" @click="verification" id="verification" data-dismiss="modal">核销</button>
  140. <!--<button type="button" class="btn btn-primary" @click="retrySendOrder" id="retrySendOrder" data-dismiss="modal">订单重推</button>-->
  141. </div>
  142. </div>
  143. </div><!-- /.modal -->
  144. </div>
  145. </div>
  146. <!--<Card v-show="!showList">
  147. <p slot="title">{{title}}</p>
  148. <i-form ref="formValidate" :model="pickUpCode" :rules="ruleValidate" :label-width="80">
  149. <Form-item label="取货码" prop="pickUpCodeSn">
  150. <i-input v-model="pickUpCode.pickUpCodeSn" placeholder="取货码"/>
  151. </Form-item>
  152. <Form-item label="商户订单编号" prop="merchOrderSn">
  153. <i-input v-model="pickUpCode.merchOrderSn" placeholder="商户订单编号"/>
  154. </Form-item>
  155. <Form-item label="取货码状态:0:待清关,1:核销成功,2:清关成功,3:退款,4:清关失败" prop="pickUpCodeStatus">
  156. <i-input v-model="pickUpCode.pickUpCodeStatus" placeholder="取货码状态:0:待清关,1:核销成功,2:清关成功,3:退款,4:清关失败"/>
  157. </Form-item>
  158. <Form-item label="取货码生成时间" prop="pickUpCodeCreatetime">
  159. <i-input v-model="pickUpCode.pickUpCodeCreatetime" placeholder="取货码生成时间"/>
  160. </Form-item>
  161. <Form-item label="取货码核销时间" prop="pickUpCodeVerificationtime">
  162. <i-input v-model="pickUpCode.pickUpCodeVerificationtime" placeholder="取货码核销时间"/>
  163. </Form-item>
  164. <Form-item label="门店id" prop="storeId">
  165. <i-input v-model="pickUpCode.storeId" placeholder="门店id"/>
  166. </Form-item>
  167. <Form-item label="+创建时间,yyyy-MM-dd HH:mm:ss" prop="createTime">
  168. <i-input v-model="pickUpCode.createTime" placeholder="+创建时间,yyyy-MM-dd HH:mm:ss"/>
  169. </Form-item>
  170. <Form-item label="+修改人编号" prop="moderSn">
  171. <i-input v-model="pickUpCode.moderSn" placeholder="+修改人编号"/>
  172. </Form-item>
  173. <Form-item label="+修改时间,yyyy-MM-dd HH:mm:ss" prop="modTime">
  174. <i-input v-model="pickUpCode.modTime" placeholder="+修改时间,yyyy-MM-dd HH:mm:ss"/>
  175. </Form-item>
  176. <Form-item label="+时间戳" prop="tstm">
  177. <i-input v-model="pickUpCode.tstm" placeholder="+时间戳"/>
  178. </Form-item>
  179. <Form-item>
  180. <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
  181. <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
  182. <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
  183. </Form-item>
  184. </i-form>
  185. </Card>-->
  186. </div>
  187. <script src="${rc.contextPath}/js/sale/pickupcode.js?_${date.systemTime}"></script>
  188. </body>
  189. </html>