完成签约之后直接添加人员,录入下发凭证
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

248 lines
9.9 KiB

  1. webpackJsonp([78],{
  2. /***/ "0hOQ":
  3. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4. "use strict";
  5. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  6. // EXTERNAL MODULE: ./node_modules/babel-runtime/core-js/json/stringify.js
  7. var stringify = __webpack_require__("mvHQ");
  8. var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify);
  9. // EXTERNAL MODULE: ./src/api/index.js + 5 modules
  10. var api = __webpack_require__("gyMJ");
  11. // EXTERNAL MODULE: ./src/utils/util.js
  12. var util = __webpack_require__("oFuF");
  13. // EXTERNAL MODULE: ./node_modules/moment/moment.js
  14. var moment = __webpack_require__("PJh5");
  15. var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
  16. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/rechargeManagement/bill.vue
  17. //
  18. //
  19. //
  20. //
  21. //
  22. //
  23. //
  24. //
  25. //
  26. //
  27. //
  28. //
  29. //
  30. //
  31. //
  32. //
  33. //
  34. //
  35. //
  36. //
  37. //
  38. //
  39. //
  40. //
  41. //
  42. //
  43. //
  44. //
  45. //
  46. //
  47. //
  48. //
  49. //
  50. //
  51. //
  52. //
  53. //
  54. //
  55. //
  56. //
  57. //
  58. //
  59. //
  60. //
  61. //
  62. //
  63. //
  64. //
  65. //
  66. //
  67. //
  68. //
  69. //
  70. //
  71. //
  72. //
  73. //
  74. //
  75. //
  76. //
  77. //
  78. //
  79. //
  80. //
  81. //
  82. //
  83. //
  84. //
  85. //
  86. //
  87. //
  88. //
  89. //
  90. //
  91. //
  92. //
  93. //
  94. //
  95. //
  96. //
  97. //
  98. //
  99. //
  100. //
  101. //
  102. //
  103. //
  104. //
  105. //
  106. /* harmony default export */ var bill = ({
  107. name: "bill",
  108. data: function data() {
  109. return {
  110. tableData: [],
  111. documentHeight: 0,
  112. pageSize: 20,
  113. pageTotal: 0,
  114. pageNum: 1,
  115. search: {
  116. startTime: '',
  117. endTime: ''
  118. }
  119. };
  120. },
  121. created: function created() {
  122. this.info = JSON.parse(localStorage.getItem('info'));
  123. this.getOrderList();
  124. this.documentHeight = document.documentElement.clientHeight - 300;
  125. },
  126. mounted: function mounted() {},
  127. methods: {
  128. // 订单列表
  129. getOrderList: function getOrderList() {
  130. var _this = this;
  131. var q = util["a" /* default */].validObject(this.search);
  132. var data = {
  133. pageSize: this.pageSize,
  134. pageNum: this.pageNum,
  135. orderBy: "create_time desc",
  136. q: stringify_default()(q)
  137. };
  138. Object(api["d" /* httpGet */])(data, this.$api.getOrderList).then(function (res) {
  139. if (res.code == 200) {
  140. res.data.list.map(function (li) {
  141. li.totalFee = (li.totalFee / 100).toFixed(2);
  142. li.createTime = moment_default()(li.createTime).format('YYYY-MM-DD HH:mm:ss');
  143. if (li.expand) {
  144. li.expand = JSON.parse(li.expand);
  145. } else {
  146. li.expand = { phonephone: '', nickname: '' };
  147. }
  148. });
  149. _this.tableData = res.data.list;
  150. _this.pageTotal = res.data.total;
  151. } else {
  152. _this.$message.error(res.message);
  153. }
  154. });
  155. },
  156. // 退款
  157. drawback: function drawback(no) {
  158. var _this2 = this;
  159. var url = "/v1/pay/refunds/" + no + "/\u9000\u6B3E";
  160. Object(api["d" /* httpGet */])('', url).then(function (res) {
  161. if (res.data.success) {
  162. _this2.$message.success('退款成功');
  163. _this2.getUserlist();
  164. _this2.getOrderList();
  165. } else {
  166. _this2.$message.error(res.data.msg);
  167. }
  168. });
  169. },
  170. handleSizeChange: function handleSizeChange(val) {
  171. this.pageSize = val;
  172. this.getOrderList();
  173. },
  174. handleCurrentChange: function handleCurrentChange(val) {
  175. this.pageNum = val;
  176. this.getOrderList();
  177. },
  178. // 批量导出
  179. batchExport: function batchExport() {},
  180. // 查询
  181. searchMethods: function searchMethods() {
  182. this.getOrderList();
  183. }
  184. }
  185. });
  186. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-2a92c108","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/rechargeManagement/bill.vue
  187. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bill"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"handle-box"},[_c('div',{staticClass:"d-inlie-block mb-2"},[_c('el-date-picker',{staticClass:"width100",attrs:{"size":"small","type":"datetime","placeholder":"开始日期","default-time":"00:00:00"},model:{value:(_vm.search.startTime),callback:function ($$v) {_vm.$set(_vm.search, "startTime", $$v)},expression:"search.startTime"}}),_vm._v(" "),_c('span',[_vm._v("至")]),_vm._v(" "),_c('el-date-picker',{staticClass:"width100",attrs:{"size":"small","type":"datetime","placeholder":"结束日期","default-time":"00:00:00"},model:{value:(_vm.search.endTime),callback:function ($$v) {_vm.$set(_vm.search, "endTime", $$v)},expression:"search.endTime"}})],1),_vm._v(" "),_c('el-select',{staticClass:"mb-2",attrs:{"placeholder":"请选择订单类型","size":"small","clearable":""},model:{value:(_vm.search.orderType),callback:function ($$v) {_vm.$set(_vm.search, "orderType", $$v)},expression:"search.orderType"}},[_c('el-option',{key:"0",attrs:{"label":"短信充值","value":"0"}}),_vm._v(" "),_c('el-option',{key:"1",attrs:{"label":"交租","value":"1"}}),_vm._v(" "),_c('el-option',{key:"2",attrs:{"label":"语音电话充值","value":"2"}}),_vm._v(" "),_c('el-option',{key:"3",attrs:{"label":"系统续费","value":"3"}})],1),_vm._v(" "),_c('el-select',{staticClass:"mb-2",attrs:{"placeholder":"请选择支付方式","size":"small","clearable":""},model:{value:(_vm.search.payType),callback:function ($$v) {_vm.$set(_vm.search, "payType", $$v)},expression:"search.payType"}},[_c('el-option',{key:"0",attrs:{"label":"微信支付","value":"0"}}),_vm._v(" "),_c('el-option',{key:"1",attrs:{"label":"支付宝支付","value":"1"}}),_vm._v(" "),_c('el-option',{key:"2",attrs:{"label":"现金支付","value":"2"}}),_vm._v(" "),_c('el-option',{key:"3",attrs:{"label":"银联支付","value":"3"}}),_vm._v(" "),_c('el-option',{key:"4",attrs:{"label":"积分支付","value":"4"}})],1),_vm._v(" "),_c('el-button',{staticClass:"mb-2",attrs:{"type":"primary","size":"small"},on:{"click":_vm.searchMethods}},[_vm._v("查询")]),_vm._v(" "),_c('el-button',{staticClass:"mb-2",attrs:{"type":"primary","size":"small"},on:{"click":_vm.batchExport}},[_vm._v("批量导出")])],1),_vm._v(" "),_c('el-table',{ref:"multipleTable",staticClass:"table",attrs:{"data":_vm.tableData,"border":"","stripe":"","header-cell-class-name":"table-header","empty-text":"无","height":_vm.documentHeight}},[_c('el-table-column',{attrs:{"prop":"createTime","label":"日期"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"orderNo","label":"订单号"}}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"totalFee","label":"金额"}}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"类型"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.orderType==0?'短信充值':scope.row.orderType==1?'交租':scope.row.orderType==2?'语音电话费用充值':scope.row.orderType==3?'系统续费':'未知'))])]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"支付方式"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.payType==0?'微信支付':scope.row.payType==1?'支付宝支付':scope.row.payType==2?'现金支付':scope.row.payType==3?'银联支付':scope.row.payType==4?'积分支付':'未知'))])]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"prop":"orderStatus","label":"状态"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.orderStatus==0?'支付成功':scope.row.orderStatus==1?'转入退款':scope.row.orderStatus==2?'未支付':scope.row.orderStatus==3?'已关闭':scope.row.orderStatus==4?'已撤销(付款码支付)':scope.row.orderStatus==5?'用户支付中(付款码支付)':scope.row.orderStatus==6?'支付失败(其他原因,如银行返回失败)':'支付失败'))])]}}])}),_vm._v(" "),_c('el-table-column',{attrs:{"label":"支付用户"},scopedSlots:_v
  188. var staticRenderFns = []
  189. var esExports = { render: render, staticRenderFns: staticRenderFns }
  190. /* harmony default export */ var rechargeManagement_bill = (esExports);
  191. // CONCATENATED MODULE: ./src/views/rechargeManagement/bill.vue
  192. function injectStyle (ssrContext) {
  193. __webpack_require__("YXFc")
  194. }
  195. var normalizeComponent = __webpack_require__("VU/8")
  196. /* script */
  197. /* template */
  198. /* template functional */
  199. var __vue_template_functional__ = false
  200. /* styles */
  201. var __vue_styles__ = injectStyle
  202. /* scopeId */
  203. var __vue_scopeId__ = "data-v-2a92c108"
  204. /* moduleIdentifier (server only) */
  205. var __vue_module_identifier__ = null
  206. var Component = normalizeComponent(
  207. bill,
  208. rechargeManagement_bill,
  209. __vue_template_functional__,
  210. __vue_styles__,
  211. __vue_scopeId__,
  212. __vue_module_identifier__
  213. )
  214. /* harmony default export */ var views_rechargeManagement_bill = __webpack_exports__["default"] = (Component.exports);
  215. /***/ }),
  216. /***/ "YXFc":
  217. /***/ (function(module, exports) {
  218. // removed by extract-text-webpack-plugin
  219. /***/ })
  220. });