1
0

receiptCheck.html 12 KB

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