receiptCheck.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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="showDiv == 1">
  10. <Row :gutter="16">
  11. <div class="search-group">
  12. <i-col span="4">
  13. <i-input v-model="q.orderSn" @on-enter="query" placeholder="订单号"/>
  14. </i-col>
  15. <i-col span="4">
  16. <i-input v-model="q.pickUpCodeSn" @on-enter="query" placeholder="小票号"/>
  17. </i-col>
  18. <i-button @click="query">查询</i-button>
  19. <i-button @click="reloadSearch">重置</i-button>
  20. </div>
  21. <!-- TODO req_hidden_20200610 #if($shiro.hasPermission("order:wxMicropayPay"))
  22. <div class="buttons-group">
  23. <i-button type="error" @click="showInputAuthCode">微信付款</i-button>
  24. </div>
  25. #end
  26. #if($shiro.hasPermission("order:confirmPay"))
  27. <div class="buttons-group">
  28. <i-button type="error" @click="confirm">现金付款</i-button>
  29. </div>
  30. #end-->
  31. </Row>
  32. <table id="jqGrid"></table>
  33. <div id="jqGridPager"></div>
  34. </div>
  35. <Card v-show="showDiv == 2">
  36. <p slot="title" style="height: auto">{{title}}</p>
  37. <Tabs>
  38. <Tab-Pane label="订单信息" name="name1">
  39. <i-form ref="formValidate" :model="order" :label-width="100">
  40. <Form-item label="订单号" prop="orderSn">
  41. <i-input v-model="order.orderSn" readonly/>
  42. </Form-item>
  43. <Form-item label="会员" prop="userName">
  44. <i-input v-model="order.userName" readonly/>
  45. </Form-item>
  46. <Form-item label="订单状态" prop="orderStatus" readonly>
  47. <Radio-group v-model="order.orderStatus">
  48. <Radio label="0" disabled>
  49. <span>待付款</span>
  50. </Radio>
  51. <Radio label="101" disabled>
  52. <span>订单已取消</span>
  53. </Radio>
  54. <Radio label="102" disabled>
  55. <span>订单已删除</span>
  56. </Radio>
  57. <Radio label="201" disabled>
  58. <span>订单已付款</span>
  59. </Radio>
  60. <Radio label="300" disabled>
  61. <span>订单已发货</span>
  62. </Radio>
  63. <Radio label="301" disabled>
  64. <span>用户确认收货</span>
  65. </Radio>
  66. <Radio label="401" disabled>
  67. <span>退款</span>
  68. </Radio>
  69. <Radio label="402" disabled>
  70. <span>完成</span>
  71. </Radio>
  72. </Radio-group>
  73. </Form-item>
  74. <!--<Form-item label="发货状态" prop="shippingStatus">-->
  75. <!--<Radio-group v-model="order.shippingStatus">-->
  76. <!--<Radio label="0" disabled>-->
  77. <!--<span>待发货</span>-->
  78. <!--</Radio>-->
  79. <!--<Radio label="1" disabled>-->
  80. <!--<span>已发货</span>-->
  81. <!--</Radio>-->
  82. <!--<Radio label="2" disabled>-->
  83. <!--<span>已收货</span>-->
  84. <!--</Radio>-->
  85. <!--<Radio label="4" disabled>-->
  86. <!--<span>退货</span>-->
  87. <!--</Radio>-->
  88. <!--</Radio-group>-->
  89. <!--</Form-item>-->
  90. <Form-item label="付款状态" prop="payStatus">
  91. <Radio-group v-model="order.payStatus">
  92. <Radio label="0" disabled>
  93. <span>待付款</span>
  94. </Radio>
  95. <Radio label="1" disabled>
  96. <span>付款中</span>
  97. </Radio>
  98. <Radio label="2" disabled>
  99. <span>已付款</span>
  100. </Radio>
  101. </Radio-group>
  102. </Form-item>
  103. <!--<Form-item label="收货人" prop="consignee">-->
  104. <!--<i-input v-model="order.consignee" readonly/>-->
  105. <!--</Form-item>-->
  106. <!--<Form-item label="收货地址" prop="address">-->
  107. <!--<i-input v-model="order.address" readonly/>-->
  108. <!--</Form-item>-->
  109. <!--<Form-item label="联系电话" prop="mobile">-->
  110. <!--<i-input v-model="order.mobile" readonly/>-->
  111. <!--</Form-item>-->
  112. <!--<Form-item label="客户留言" prop="postscript">-->
  113. <!--<i-input v-model="order.postscript" readonly/>-->
  114. <!--</Form-item>-->
  115. <!--<Form-item label="快递公司" prop="shippingName">-->
  116. <!--<i-input v-model="order.shippingName" readonly/>-->
  117. <!--</Form-item>-->
  118. <!--<Form-item label="配送单号" prop="shippingNo">-->
  119. <!--<i-input v-model="order.shippingNo" readonly/>-->
  120. <!--</Form-item>-->
  121. <!--<Form-item label="配送费用" prop="shippingFee">-->
  122. <!--<i-input v-model="order.shippingFee" readonly/>-->
  123. <!--</Form-item>-->
  124. <Form-item label="实际支付" prop="actualPrice">
  125. <i-input v-model="order.actualPrice" readonly/>
  126. </Form-item>
  127. <Form-item label="订单总价" prop="orderPrice">
  128. <i-input v-model="order.orderPrice" readonly/>
  129. </Form-item>
  130. <Form-item label="商品总价" prop="goodsPrice">
  131. <i-input v-model="order.goodsPrice" readonly/>
  132. </Form-item>
  133. <Form-item label="下单时间" prop="addTime">
  134. <Date-picker format="yyyy-MM-dd HH:mm:ss" v-model="order.addTime" placeholder="使用时间" readonly/>
  135. </Form-item>
  136. <!--<Form-item label="付款时间" prop="payTime">-->
  137. <!--<Date-picker format="yyyy-MM-dd HH:mm:ss" v-model="order.payTime" placeholder="使用时间" readonly/>-->
  138. <!--</Form-item>-->
  139. <!--<Form-item label="配送费用" prop="freightPrice">-->
  140. <!--<i-input v-model="order.freightPrice" readonly/>-->
  141. <!--</Form-item>-->
  142. <Form-item>
  143. <i-button type="warning" @click="reload" style="margin-left: 8px"/>
  144. 返回</i-button>
  145. </Form-item>
  146. </i-form>
  147. </Tab-Pane>
  148. <Tab-Pane label="商品" name="name2">
  149. <table class="table">
  150. <tr>
  151. <td style="text-align: left; width: 600px; font-weight: bold;" colspan="2">商品</td>
  152. <td style="text-align: center; width: 240px; font-weight: bold;">小计</td>
  153. <td style="text-align: center; width: 240px; font-weight: bold;">优惠抵扣金额(元)</td>
  154. <td style="text-align: center; width: 240px; font-weight: bold;">应收金额(元)</td>
  155. <td style="text-align: center; width: 240px; font-weight: bold;">实收金额(元)</td>
  156. </tr>
  157. <tr v-for="(item,index) in orderGoodsList">
  158. <td width="120px">
  159. <img :src="item.listPicUrl" width="100px" height="100px" />
  160. </td>
  161. <td>
  162. <p style="line-height: 30px;">{{item.goodsName}}</p>
  163. <p style="line-height: 30px;">数量:{{item.number}}</p>
  164. <p style="line-height: 30px;">单价:¥{{item.retailPrice}}</p>
  165. <p style="line-height: 30px;">SKU:{{item.sku}}</p>
  166. </td>
  167. <td align="center">¥{{item.number * item.retailPrice}}</td>
  168. <td align="center">-</td>
  169. <td align="center">-</td>
  170. <td align="center">-</td>
  171. </tr>
  172. <tr>
  173. <td align="left" style="font-weight: bold;">运费</td>
  174. <td align="center">-</td>
  175. <td align="center">-</td>
  176. <td align="center">-</td>
  177. <td align="center">¥{{order.freightPrice}}</td>
  178. <td align="center">-</td>
  179. </tr>
  180. <tr>
  181. <td align="left" colspan="2" style="font-weight: bold;">总计</td>
  182. <td align="center">¥{{order.orderPrice}}</td>
  183. <td align="center">¥{{order.couponPrice}}</td>
  184. <td align="center">¥{{order.actualPrice}}</td>
  185. <td align="center" v-show="order.payStatus == 0">未付款</td>
  186. <td align="center" v-show="order.payStatus == 1">付款中</td>
  187. <td align="center" v-show="order.payStatus == 2 || order.payStatus == 4">¥{{order.actualPrice}}</td>
  188. </tr>
  189. </table>
  190. <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
  191. </Tab-Pane>
  192. <Tab-Pane label="支付记录" name="name3">
  193. <table class="table">
  194. <tr>
  195. <td style="text-align: left; width: 240px; font-weight: bold;">支付编号</td>
  196. <td style="text-align: center; width: 240px; font-weight: bold;">支付金额(分)</td>
  197. <td style="text-align: center; width: 240px; font-weight: bold;">交易状态</td>
  198. <td style="text-align: center; width: 600px; font-weight: bold;">描述</td>
  199. </tr>
  200. <tr v-for="(item,index) in payRecordList">
  201. <td align="left">{{item.outTradeNoWX}}</td>
  202. <td align="center">{{item.totalFee}}</td>
  203. <td align="center" v-show="item.tradeState == 'SUCCESS'">支付成功</td>
  204. <td align="center" v-show="item.tradeState == 'REFUND'">转入退款</td>
  205. <td align="center" v-show="item.tradeState == 'NOTPAY'">未支付</td>
  206. <td align="center" v-show="item.tradeState == 'CLOSED'">已关闭</td>
  207. <td align="center" v-show="item.tradeState == 'REVOKED'">已撤销</td>
  208. <td align="center" v-show="item.tradeState == 'USERPAYING'">用户支付中</td>
  209. <td align="center" v-show="item.tradeState == 'PAYERROR'">支付失败</td>
  210. <td align="center">{{item.errCodeDes}}</td>
  211. </tr>
  212. </table>
  213. <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
  214. </Tab-Pane>
  215. </Tabs>
  216. </Card>
  217. <Card v-show="showDiv == 5">
  218. <p slot="title">退款</p>
  219. <i-form :model="order" :label-width="100">
  220. <Form-item label="退款金额" prop="refundMoney">
  221. <i-input v-model="refundMoney" placeholder="退款金额"/>
  222. </Form-item>
  223. <Form-item>
  224. <i-button type="primary" @click="refundUpdate">提交</i-button>
  225. <i-button type="warning" @click="reload" style="margin-left: 8px"/>
  226. 返回</i-button>
  227. </Form-item>
  228. </i-form>
  229. </Card>
  230. </div>
  231. <script src="${rc.contextPath}/js/receipt/receiptCheck.js?_${date.systemTime}"></script>
  232. </body>
  233. </html>