sale-client 3.4.112 → 3.4.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/.gradle/{5.2.1 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/{6.1.1 → 4.4}/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/build/dev-server.js +3 -3
  5. package/{.gradle/5.2.1/gc.properties → npm} +0 -0
  6. package/package.json +1 -1
  7. package/src/components/FilesManage/MeterinfoTest.vue +904 -905
  8. package/src/components/FilesManage/TemplateManage.vue +167 -167
  9. package/src/components/FilesManage/UserGeneralInfoTest.vue +642 -640
  10. package/src/components/charge/business/CardChangeFill.vue +612 -612
  11. package/src/components/charge/business/CardMeterCenter.vue +899 -899
  12. package/src/components/charge/business/FilesComplete.vue +253 -253
  13. package/src/components/charge/business/refund/IOTRefund.vue +236 -236
  14. package/src/components/charge/business/refund/RefundManage.vue +28 -28
  15. package/src/components/charge/gasloss/gasLossOperate.vue +357 -357
  16. package/src/components/chargeNew/thirdSurplus.vue +2 -0
  17. package/src/components/revenue/Common/MeterMessage.vue +184 -184
  18. package/src/components/revenue/HandManager/MeterBookManage.vue +153 -153
  19. package/src/components/revenue/base/leftview/MixPriceInfo.vue +60 -60
  20. package/src/components/revenue/base/leftview/Mulitinfo.vue +74 -74
  21. package/src/components/revenue/base/leftview/SafeCheck.vue +311 -311
  22. package/src/components/revenue/base/leftview/Stairinfo.vue +156 -156
  23. package/src/components/revenue/base/leftview/meterinfodetail.vue +195 -195
  24. package/src/components/revenue/base/rightview/CardList.vue +477 -477
  25. package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +93 -93
  26. package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +184 -184
  27. package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +5 -1
  28. package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +1 -1
  29. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
  30. package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +7 -7
  31. package/src/components/revenue/comprehen/Message/MessageList.vue +587 -587
  32. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +1 -1
  33. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListManage.vue +1 -1
  34. package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +303 -303
  35. package/src/components/revenue/comprehen/replacement/replacementHandInfoRecord.vue +155 -155
  36. package/src/components/revenue/comprehen/wechatpay/WeChat.vue +62 -62
  37. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +8 -4
  38. package/src/filiale/alashan/PrintBill.vue +116 -116
  39. package/src/filiale/jingwei/CardHand.vue +742 -742
  40. package/src/filiale/macheng/FilesManageNew/FileUserFiles.vue +743 -0
  41. package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +371 -371
  42. package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +596 -596
  43. package/src/filiale/macheng/UserEssentialInfoTest.vue +368 -366
  44. package/src/filiale/meihekou/MeterinfoTest.vue +0 -1
  45. package/src/filiale/meihekou/PrintBill.vue +140 -140
  46. package/src/filiale/meihekou/ReissueBill.vue +322 -322
  47. package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +0 -1
  48. package/src/filiale/qianneng/GasPriceList.vue +330 -330
  49. package/src/filiale/qianneng/HandManager.vue +1838 -1838
  50. package/src/filiale/qianneng/OtherChargeNew.vue +6 -2
  51. package/src/filiale/qianneng/sale.js +30 -32
  52. package/src/filiale/qingtongxia/UserGeneralInfoTest.vue +538 -533
  53. package/src/filiale/rongcheng/FilesManageNew/UserGeneralInfoTest.vue +608 -608
  54. package/src/filiale/rongchuang/OtherGas.vue +329 -329
  55. package/src/filiale/tongchuan/CardList.vue +482 -482
  56. package/src/filiale/tongchuan/MeterinfoTest.vue +892 -892
  57. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/AutomaticPurse.vue +298 -298
  58. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/CardHandRecord.vue +267 -267
  59. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -240
  60. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -235
  61. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +372 -372
  62. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -251
  63. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +209 -209
  64. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -365
  65. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +252 -252
  66. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +250 -250
  67. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -249
  68. package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/TransferQueryUser.vue +222 -222
  69. package/src/filiale/tongchuan/sale.js +107 -107
  70. package/src/filiale/zhongsheng/rightview/CardList.vue +492 -492
  71. package/src/filiale/zhongsheng/wechatpay/WeChatPayDetail.vue +469 -469
  72. package/src/main.js +1 -1
  73. package/src/plugins/CardService.js +1798 -1798
  74. package/src/plugins/ChangeMeterService.js +756 -756
  75. package/src/plugins/FileManageService.js +366 -366
  76. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  77. package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
  78. package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
  79. package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
  80. package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
  81. package/.gradle/6.1.1/gc.properties +0 -0
  82. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  83. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  84. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  85. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  86. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  87. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  88. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  89. package/.gradle/7.1/gc.properties +0 -0
  90. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  91. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  92. package/.gradle/checksums/checksums.lock +0 -0
  93. package/.gradle/vcs-1/gc.properties +0 -0
@@ -1,469 +1,469 @@
1
- <template>
2
- <div class="basic-main" style="height: 98%">
3
- <div class="flex">
4
- <criteria-paged :model="model" v-ref:paged>
5
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <!--<div class="col-sm-2 form-group">-->
9
- <!--<label class="font_normal_body">组织机构:</label>-->
10
- <!--<res-select :initresid='$parent.$parent.curorgid'-->
11
- <!--@res-select="$parent.$parent.getorg"-->
12
- <!--class="select select_list"-->
13
- <!--restype='organization'-->
14
- <!--style="width: 60%">-->
15
- <!--</res-select>-->
16
- <!---->
17
- <!--</div>-->
18
- <res-select-group :show-component="$parent.$parent.initresgroup" :initres="$parent.$parent.initres"
19
- @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
20
- <div class="col-sm-2 form-group">
21
- <label for="startDate" class="font_normal_body">开始日期</label>
22
- <datepicker id="startDate" placeholder="开始日期"
23
- v-model="model.startDate" style="width: 55%"
24
- :value.sync="model.startDate"
25
- condition="f_datatime >= '{} 00:00:00'"
26
- :disabled-days-of-Week="[]"
27
- :format="'yyyy-MM-dd'"
28
- :show-reset-button="reset">
29
- </datepicker>
30
- </div>
31
- <div class="col-sm-2 form-group">
32
- <label for="endDate" class="font_normal_body"> 结束日期</label>
33
- <datepicker id="endDate" placeholder="结束日期"
34
- v-model="model.endDate" style="width: 55%"
35
- :value.sync="model.endDate"
36
- condition="f_datatime <= '{} 23:59:59'"
37
- :disabled-days-of-Week="[]"
38
- :format="'yyyy-MM-dd'"
39
- :show-reset-button="reset">
40
- </datepicker>
41
- </div>
42
- <div class="span" style="float:right;">
43
- <button class="button_search button_spacing width-60" @click="search()" v-el:cx>查询</button>
44
- <button class="button_search button_spacing width-60" v-if="$parent.$parent.showallcharge"
45
- @click="$parent.$parent.allcharge()" v-el:cx>全部缴费</button>
46
- <button class="button_search button_spacing width-60" v-if="$parent.$parent.showallcharge || $parent.$parent.showallcharge1"
47
- @click="$parent.$parent.allcharge1()" v-el:cx>全部标记退款</button>
48
- <export-excel :data="$parent.$parent.getCondition"
49
- :field="$parent.$parent.getfield"
50
- sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="WeChatPaydetail"
51
- template-name='微信对账查询导出' :choose-col="true"></export-excel>
52
- <div
53
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
54
- @click="$parent.$parent.hidden()"
55
- class="button_spacing"
56
- style="float: right">
57
- </div>
58
- </div>
59
- </div>
60
- <div class="row" v-show="$parent.$parent.criteriaShow">
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body" title="参数管理:微信收费类型">收费类型</label>
63
- <v-select
64
- v-model="model.chargeType"
65
- placeholder='收费类型'
66
- condition="f_order_type like '%{}%'"
67
- :value.sync="model.chargeType"
68
- :options='$parent.$parent.chargeType'
69
- close-on-select></v-select>
70
- </div>
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">支付类型</label>
73
- <v-select
74
- v-model="model.payType"
75
- placeholder='支付类型'
76
- condition="f_trade_type like '%{}%'"
77
- :value.sync="model.payType"
78
- :options='$parent.$parent.payType'
79
- close-on-select></v-select>
80
- </div>
81
- <div class="col-sm-2 form-group">
82
- <label class="font_normal_body">对账信息</label>
83
- <v-select
84
- v-model="model.letter"
85
- placeholder='对账信息'
86
- condition="msg like '%{}%'"
87
- :value.sync="model.letter"
88
- :options='$parent.$parent.letter'
89
- close-on-select></v-select>
90
- </div>
91
- <div class="col-sm-2 form-group">
92
- <label class="font_normal_body">用户编号</label>
93
- <input type="text" class="input_search" style="width: 55%" v-model="model.f_userinfo_code"
94
- placeholder='客户编号' condition="f_userinfo_code = '{}'">
95
- </div>
96
- <div class="col-sm-2 form-group">
97
- <label class="font_normal_body">用户姓名</label>
98
- <input type="text" class="input_search" style="width: 55%" v-model="model.f_user_name"
99
- placeholder='用户姓名' condition="f_user_name = '{}'">
100
- </div>
101
- <div class="col-sm-2 form-group">
102
- <label class="font_normal_body">用户地址</label>
103
- <input type="text" class="input_search" style="width: 55%" v-model="model.f_address"
104
- placeholder='用户地址' condition="f_address like '%{}%'">
105
- </div>
106
- <div class="col-sm-2 form-group">
107
- <label class="font_normal_body">用户表号</label>
108
- <input type="text" class="input_search" style="width: 55%" v-model="model.f_meternumber"
109
- placeholder='用户表号' condition="f_meternumber = '{}'">
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body">&emsp;订单号</label>
113
- <input type="text" class="input_search" style="width: 55%" v-model="model.f_transaction_id"
114
- placeholder='订单号' condition="f_transaction_id like '%{}%'">
115
- </div>
116
- </div>
117
- </div>
118
- </criteria>
119
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
120
- <template partial='head'>
121
- <tr>
122
- <th>序号</th>
123
- <th>用户编号</th>
124
- <th>用户姓名</th>
125
- <th>用户地址</th>
126
- <th>用户表号</th>
127
- <th>支付类型</th>
128
- <!--<th>微信金额</th>-->
129
- <th>收费记录金额</th>
130
- <th style="white-space: nowrap;">交易日期</th>
131
- <!--<th>燃气方日期</th>-->
132
- <th>微信订单号</th>
133
- <!--<th>收费订单号</th>-->
134
- <th>对账信息</th>
135
- <th>所属公司</th>
136
- <th>所属部门</th>
137
- <th>操作人员</th>
138
- <th>操作</th>
139
- </tr>
140
- </template>
141
- <template partial='body'>
142
- <td style="text-align: center;">
143
- <nobr>{{$index+1}}</nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr>{{row.f_userinfo_code}}</nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr>{{row.f_user_name}}</nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_address}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_meternumber}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{$parent.$parent.$parent.getPayTypeLable(row.f_trade_type)}}</nobr>
159
- </td>
160
- <!--<td style="text-align: center;">-->
161
- <!--<nobr>{{row.f_total_fee}}</nobr>-->
162
- <!--</td>-->
163
- <td style="text-align: center;">
164
- <nobr>{{row.f_collection}}</nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr>{{row.f_datatime}}</nobr>
168
- </td>
169
- <!--<td style="text-align: center;">-->
170
- <!--<nobr>{{row.f_operate_date}}</nobr>-->
171
- <!--</td>-->
172
- <td style="text-align: center;">
173
- <nobr>{{row.f_transaction_id}}</nobr>
174
- </td>
175
- <!--<td style="text-align: center;">-->
176
- <!--<nobr>{{row.f_serial_id}}</nobr>-->
177
- <!--</td>-->
178
- <td style="text-align: center;">{{row.msg}}</td>
179
- <td style="text-align: center;">{{row.f_orgname}}</td>
180
- <td style="text-align: center;">{{row.f_depname}}</td>
181
- <td style="text-align: center;">{{row.f_operator}}</td>
182
-
183
- <td>
184
- <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.charge1(row)"
185
- v-if="row.msg === '微信单方面账单'">标记已退款</button>
186
- <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.charge(row)"
187
- v-if="row.msg === '微信单方面账单' && row.f_trade_type == 'JSAPI'">缴费
188
- </button>
189
- <!--<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.chargecal(row)"-->
190
- <!--v-if="row.msg === '燃气方单方面账单' && row.maxid!==''&& row.maxid!==null">冲正</button>-->
191
- </template>
192
- </data-grid>
193
-
194
- </criteria-paged>
195
- <table class="table-hover">
196
- <tr style="position: relative" class="table-bordered">
197
- <td
198
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
199
- 汇总信息
200
- </td>
201
- <td
202
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
203
- 微信金额汇总:&emsp;{{sumsmodel.f_total_fee}}
204
- </td>
205
- <!--<td-->
206
- <!--style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
207
- <!--收费金额汇总:&emsp;{{sumsmodel.f_collection}}-->
208
- <!--</td>-->
209
- <!--<td-->
210
- <!--style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
211
- <!--差额汇总:&emsp;{{((sumsmodel.f_total_fee -0) - (sumsmodel.f_collection -0)).toFixed(2)}}-->
212
- <!--</td>-->
213
-
214
- </tr>
215
- </table>
216
- </div>
217
-
218
-
219
- </div>
220
- </template>
221
- <script>
222
- import {PagedList} from 'vue-client'
223
- import Vue from 'vue'
224
-
225
- let readyGen = async function (self) {
226
- self.getfield = self.config.excelHeaders
227
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
228
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
229
-
230
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
231
- }
232
-
233
- export default {
234
- title: '微信中间表对账',
235
- data () {
236
- return {
237
- model: new PagedList('rs/sql/WeChatPaydetail', 20,
238
- {}, {f_collection: '', f_total_fee: ''}),
239
- config: {
240
- // 导出列要和查询列相同
241
- excelHeaders: {
242
- 'f_userinfo_code': '用户编号',
243
- 'f_user_name': '用户姓名',
244
- 'f_trade_type': '支付类型',
245
- 'f_total_fee': '微信金额',
246
- 'f_collection': '收费记录金额',
247
- 'f_datatime': '交易日期',
248
- 'f_operate_date': '燃气方日期',
249
- 'f_transaction_id': '微信订单号',
250
- 'f_serial_id': '收费订单号',
251
- 'msg': '对账信息',
252
- 'f_orgname': '所属公司',
253
- 'f_depname': '所属部门',
254
- 'f_operator': '操作人员'
255
- }
256
- },
257
- payType: [
258
- {label: '全部', value: ''},
259
- {label: '微信支付', value: 'JSAPI'},
260
- {label: '二维码支付', value: 'NATIVE'},
261
- {label: '付款码支付', value: 'MICROPAY'}
262
- ],
263
- letter: [
264
- {label: '全部', value: ''},
265
- {label: '微信单方面账单', value: '微信单方面账单'},
266
- {label: '燃气方单方面账单', value: '燃气方单方面账单'},
267
- {label: '对账成功', value: '对账成功'}
268
- ],
269
- getfield: {},
270
- criteriaShow: false,
271
- condition2: '',
272
- f_orgid: '',
273
- msg: [],
274
- resid: [], // 存放新增的f_files表中id
275
- // 公司下拉
276
- // curorgid: [this.$login.f.orgid],
277
- initres: {
278
- org: [this.$login.f.orgid],
279
- dep: [],
280
- user: []
281
- },
282
- initresgroup: ['company', 'department', 'operator'],
283
- orgCondtionStr: '',
284
- // 合计数据
285
- sumsmodel: {},
286
- showallcharge: false,
287
- showallcharge1: false
288
- }
289
- },
290
- props: [],
291
- ready () {
292
- readyGen(this)
293
- },
294
- methods: {
295
- getPayTypeLable (f_trade_type) {
296
- for (let row of this.payType) {
297
- if (row.value == f_trade_type) {
298
- return row.label
299
- }
300
- }
301
- return f_trade_type
302
- },
303
- hidden () {
304
- this.criteriaShow = !this.criteriaShow
305
- },
306
- getorg (val) {
307
- this.f_orgid = this.$login.convertToIn(val)
308
- this.f_filialeid = val[0]
309
- },
310
- getRes (condition, obj) {
311
- if (condition.indexOf('f_orgid') > 0) {
312
- let temp = condition.substring(condition.indexOf("f_orgid in ('") + 13)
313
- this.f_orgid = temp.substring(temp.indexOf("')") - 4, 3)
314
- } else {
315
- this.f_orgid = this.$login.f.orgid
316
- }
317
- this.orgCondtionStr = condition
318
- },
319
-
320
- getotherfooter () {
321
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
322
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
323
- this.other = []
324
- this.footer = []
325
- // let exportdata = this.getCondition;
326
- let otherInData = []
327
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
328
- let footerData = [], exportfield = this.getfield
329
- footerData.push('合计')
330
- let self = this
331
- for (var field in self.sumsmodel) {
332
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
333
- }
334
- this.footer.push(footerData)
335
- this.other.push(otherInData)
336
- },
337
- search () {
338
- this.$refs.paged.$refs.cri.search()
339
- },
340
- selfSearch (args) {
341
- if (!this.f_orgid) {
342
- this.getorg([this.$login.f.orgid])
343
- }
344
- console.log('查询。。。', this.f_orgid)
345
- this.showallcharge1 = false
346
- this.showallcharge = false
347
- if (!this.orgCondtionStr) {
348
- args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
349
- } else {
350
- args.condition = `${args.condition}` + this.orgCondtionStr
351
- }
352
- this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
353
- this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
354
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
355
- this.condition2 = args.condition
356
- this.model.search(args.condition, args.model)
357
- // 只有选择微信支付和微信单方面账单时才能全部缴费
358
- if (this.model.model.letter[0] === '微信单方面账单' && this.model.model.payType[0] === 'JSAPI') {
359
- this.showallcharge = true
360
- } else if (this.model.model.payType[0] === 'MICROPAY') {
361
- this.showallcharge1 = true
362
- }
363
- },
364
- // 系统单方账单,系统可冲正
365
- async chargecal (row) {
366
- if (row.f_meter_type === '物联网表' || row.f_meter_type === '机表') {
367
- let param = {
368
- f_sell_id: row.maxid,
369
- f_cancel_reason: '',
370
- f_orgid: Vue.$login.f.orgid,
371
- f_orgname: Vue.$login.f.orgs,
372
- f_depid: Vue.$login.f.depids,
373
- f_depname: Vue.$login.f.deps,
374
- f_zoneid: Vue.$login.f.zoneid,
375
- f_zones: Vue.$login.f.zones
376
- }
377
- await Vue.resetpost('rs/logic/commonCancel', {data: param}, {resolveMsg: '撤销成功', rejectMsg: '撤销失败'})
378
- this.search()
379
- }
380
- },
381
- async allcharge () {
382
- console.log('1=====>' + this.condition2)
383
- if (!this.$login.r.find(value => value == '微信缴费权限')) {
384
- this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
385
- return
386
- }
387
- let condition = this.condition2
388
- let item = '已下单'
389
- await this.$resetpost('rs/logic/dealAllwxBill', {data: {condition: condition, item: item}}, {warnMsg: `确定进行全部缴费吗?`, resolveMsg: '收费成功!!', rejectMsg: '收费出错!!!'})
390
- },
391
- async allcharge1 () {
392
- if (!this.$login.r.find(value => value == '微信缴费权限')) {
393
- this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
394
- return
395
- }
396
- let condition = this.condition2
397
- let item = '已退款'
398
- await this.$resetpost('rs/logic/dealAllwxBill', {data: {condition: condition, item: item}}, {warnMsg: `确定标记以下所有订单为已退款吗, 该操作无法撤销, 请谨慎操作?`, resolveMsg: '标记为已退款成功', rejectMsg: '标记为已退款失败!!!'})
399
- },
400
- // 微信单方账单,系统可缴费(将微信已支付改成已下单,微信会自动扫状态,并插入收费记录)
401
- async charge (row) {
402
- if (!this.$login.r.find(value => value == '微信缴费权限')) {
403
- this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
404
- return
405
- }
406
- let sql = `update t_weixinreturnxml set f_order_state = '已下单' where id = '${row.id}'`
407
- await this.$resetpost('rs/logic/runSQL', {data: {sql: sql}}, {warnMsg: `确定进行缴费吗?`, resolveMsg: '收费成功!!', rejectMsg: '收费出错!!!'})
408
- // this.search()
409
- },
410
- // 标记为已退款
411
- async charge1 (row) {
412
- let sql = `update t_weixinreturnxml set f_order_state = '已退款' where id = '${row.id}'`
413
- await this.$resetpost('rs/logic/runSQL', {data: {sql: sql}}, {warnMsg: `确定标记该笔订单为已退款吗, 该操作无法撤销, 请谨慎操作?`, resolveMsg: '标记为已退款成功', rejectMsg: '标记为已退款失败!!!'})
414
- // this.search()
415
- },
416
- modify (row) {
417
- console.log('返回数据1', row)
418
- this.$showMessage('确认重置微信支付状态么?', ['confirm', 'cancel']).then((res) => {
419
- if (res === 'confirm') {
420
- let data = {
421
- f_transaction_id: row.f_transaction_id
422
- }
423
- this.$resetpost('rs/logic/weChatMeter', data, {resolveMsg: null, rejectMsg: '重置出错!!!'}).then((res) => {
424
- console.log('返回数据3', res)
425
- this.$refs.paged.$refs.cri.search()
426
- this.$showAlert(`重置成功!`, 'success', 4000)
427
- // this.search()
428
- }).catch((error) => {
429
- console.log('重置异常', res)
430
- })
431
- }
432
- })
433
- }
434
- },
435
- events: {
436
- // 删除Resid数组元素
437
- 'delResid' (val) {
438
- this.resid.$remove({id: val, f_biobid: ''})
439
- // this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
440
- },
441
- // 增加Resid数组元素
442
- 'resid' (val) {
443
- console.log('-=', val)
444
- this.resid.push({id: val, f_biobid: ''})
445
- }
446
- },
447
- computed: {
448
- getCondition () {
449
- return {
450
- orgid: this.f_orgid,
451
- startDate: this.$refs.paged.$refs.cri.model.startDate,
452
- endDate: this.$refs.paged.$refs.cri.model.endDate,
453
- condition: this.condition2
454
- }
455
- },
456
- chargeType () {
457
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信收费类型')]
458
- }
459
- },
460
- watch: {
461
- sumsmodel: {
462
- handler: function (val) {
463
- this.getotherfooter()
464
- },
465
- deep: true
466
- }
467
- }
468
- }
469
- </script>
1
+ <template>
2
+ <div class="basic-main" style="height: 98%">
3
+ <div class="flex">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <!--<div class="col-sm-2 form-group">-->
9
+ <!--<label class="font_normal_body">组织机构:</label>-->
10
+ <!--<res-select :initresid='$parent.$parent.curorgid'-->
11
+ <!--@res-select="$parent.$parent.getorg"-->
12
+ <!--class="select select_list"-->
13
+ <!--restype='organization'-->
14
+ <!--style="width: 60%">-->
15
+ <!--</res-select>-->
16
+ <!---->
17
+ <!--</div>-->
18
+ <res-select-group :show-component="$parent.$parent.initresgroup" :initres="$parent.$parent.initres"
19
+ @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="startDate" class="font_normal_body">开始日期</label>
22
+ <datepicker id="startDate" placeholder="开始日期"
23
+ v-model="model.startDate" style="width: 55%"
24
+ :value.sync="model.startDate"
25
+ condition="f_datatime >= '{} 00:00:00'"
26
+ :disabled-days-of-Week="[]"
27
+ :format="'yyyy-MM-dd'"
28
+ :show-reset-button="reset">
29
+ </datepicker>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label for="endDate" class="font_normal_body"> 结束日期</label>
33
+ <datepicker id="endDate" placeholder="结束日期"
34
+ v-model="model.endDate" style="width: 55%"
35
+ :value.sync="model.endDate"
36
+ condition="f_datatime <= '{} 23:59:59'"
37
+ :disabled-days-of-Week="[]"
38
+ :format="'yyyy-MM-dd'"
39
+ :show-reset-button="reset">
40
+ </datepicker>
41
+ </div>
42
+ <div class="span" style="float:right;">
43
+ <button class="button_search button_spacing width-60" @click="search()" v-el:cx>查询</button>
44
+ <button class="button_search button_spacing width-60" v-if="$parent.$parent.showallcharge"
45
+ @click="$parent.$parent.allcharge()" v-el:cx>全部缴费</button>
46
+ <button class="button_search button_spacing width-60" v-if="$parent.$parent.showallcharge || $parent.$parent.showallcharge1"
47
+ @click="$parent.$parent.allcharge1()" v-el:cx>全部标记退款</button>
48
+ <export-excel :data="$parent.$parent.getCondition"
49
+ :field="$parent.$parent.getfield"
50
+ sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="WeChatPaydetail"
51
+ template-name='微信对账查询导出' :choose-col="true"></export-excel>
52
+ <div
53
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
54
+ @click="$parent.$parent.hidden()"
55
+ class="button_spacing"
56
+ style="float: right">
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body" title="参数管理:微信收费类型">收费类型</label>
63
+ <v-select
64
+ v-model="model.chargeType"
65
+ placeholder='收费类型'
66
+ condition="f_order_type like '%{}%'"
67
+ :value.sync="model.chargeType"
68
+ :options='$parent.$parent.chargeType'
69
+ close-on-select></v-select>
70
+ </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">支付类型</label>
73
+ <v-select
74
+ v-model="model.payType"
75
+ placeholder='支付类型'
76
+ condition="f_trade_type like '%{}%'"
77
+ :value.sync="model.payType"
78
+ :options='$parent.$parent.payType'
79
+ close-on-select></v-select>
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">对账信息</label>
83
+ <v-select
84
+ v-model="model.letter"
85
+ placeholder='对账信息'
86
+ condition="msg like '%{}%'"
87
+ :value.sync="model.letter"
88
+ :options='$parent.$parent.letter'
89
+ close-on-select></v-select>
90
+ </div>
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body">用户编号</label>
93
+ <input type="text" class="input_search" style="width: 55%" v-model="model.f_userinfo_code"
94
+ placeholder='客户编号' condition="f_userinfo_code = '{}'">
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body">用户姓名</label>
98
+ <input type="text" class="input_search" style="width: 55%" v-model="model.f_user_name"
99
+ placeholder='用户姓名' condition="f_user_name = '{}'">
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label class="font_normal_body">用户地址</label>
103
+ <input type="text" class="input_search" style="width: 55%" v-model="model.f_address"
104
+ placeholder='用户地址' condition="f_address like '%{}%'">
105
+ </div>
106
+ <div class="col-sm-2 form-group">
107
+ <label class="font_normal_body">用户表号</label>
108
+ <input type="text" class="input_search" style="width: 55%" v-model="model.f_meternumber"
109
+ placeholder='用户表号' condition="f_meternumber = '{}'">
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">&emsp;订单号</label>
113
+ <input type="text" class="input_search" style="width: 55%" v-model="model.f_transaction_id"
114
+ placeholder='订单号' condition="f_transaction_id like '%{}%'">
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </criteria>
119
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
120
+ <template partial='head'>
121
+ <tr>
122
+ <th>序号</th>
123
+ <th>用户编号</th>
124
+ <th>用户姓名</th>
125
+ <th>用户地址</th>
126
+ <th>用户表号</th>
127
+ <th>支付类型</th>
128
+ <!--<th>微信金额</th>-->
129
+ <th>收费记录金额</th>
130
+ <th style="white-space: nowrap;">交易日期</th>
131
+ <!--<th>燃气方日期</th>-->
132
+ <th>微信订单号</th>
133
+ <!--<th>收费订单号</th>-->
134
+ <th>对账信息</th>
135
+ <th>所属公司</th>
136
+ <th>所属部门</th>
137
+ <th>操作人员</th>
138
+ <th>操作</th>
139
+ </tr>
140
+ </template>
141
+ <template partial='body'>
142
+ <td style="text-align: center;">
143
+ <nobr>{{$index+1}}</nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr>{{row.f_userinfo_code}}</nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_user_name}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_address}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_meternumber}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{$parent.$parent.$parent.getPayTypeLable(row.f_trade_type)}}</nobr>
159
+ </td>
160
+ <!--<td style="text-align: center;">-->
161
+ <!--<nobr>{{row.f_total_fee}}</nobr>-->
162
+ <!--</td>-->
163
+ <td style="text-align: center;">
164
+ <nobr>{{row.f_collection}}</nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_datatime}}</nobr>
168
+ </td>
169
+ <!--<td style="text-align: center;">-->
170
+ <!--<nobr>{{row.f_operate_date}}</nobr>-->
171
+ <!--</td>-->
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_transaction_id}}</nobr>
174
+ </td>
175
+ <!--<td style="text-align: center;">-->
176
+ <!--<nobr>{{row.f_serial_id}}</nobr>-->
177
+ <!--</td>-->
178
+ <td style="text-align: center;">{{row.msg}}</td>
179
+ <td style="text-align: center;">{{row.f_orgname}}</td>
180
+ <td style="text-align: center;">{{row.f_depname}}</td>
181
+ <td style="text-align: center;">{{row.f_operator}}</td>
182
+
183
+ <td>
184
+ <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.charge1(row)"
185
+ v-if="row.msg === '微信单方面账单'">标记已退款</button>
186
+ <button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.charge(row)"
187
+ v-if="row.msg === '微信单方面账单' && row.f_trade_type == 'JSAPI'">缴费
188
+ </button>
189
+ <!--<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.$parent.chargecal(row)"-->
190
+ <!--v-if="row.msg === '燃气方单方面账单' && row.maxid!==''&& row.maxid!==null">冲正</button>-->
191
+ </template>
192
+ </data-grid>
193
+
194
+ </criteria-paged>
195
+ <table class="table-hover">
196
+ <tr style="position: relative" class="table-bordered">
197
+ <td
198
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
199
+ 汇总信息
200
+ </td>
201
+ <td
202
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
203
+ 微信金额汇总:&emsp;{{sumsmodel.f_total_fee}}
204
+ </td>
205
+ <!--<td-->
206
+ <!--style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
207
+ <!--收费金额汇总:&emsp;{{sumsmodel.f_collection}}-->
208
+ <!--</td>-->
209
+ <!--<td-->
210
+ <!--style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
211
+ <!--差额汇总:&emsp;{{((sumsmodel.f_total_fee -0) - (sumsmodel.f_collection -0)).toFixed(2)}}-->
212
+ <!--</td>-->
213
+
214
+ </tr>
215
+ </table>
216
+ </div>
217
+
218
+
219
+ </div>
220
+ </template>
221
+ <script>
222
+ import {PagedList} from 'vue-client'
223
+ import Vue from 'vue'
224
+
225
+ let readyGen = async function (self) {
226
+ self.getfield = self.config.excelHeaders
227
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
228
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
229
+
230
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
231
+ }
232
+
233
+ export default {
234
+ title: '微信中间表对账',
235
+ data () {
236
+ return {
237
+ model: new PagedList('rs/sql/WeChatPaydetail', 20,
238
+ {}, {f_collection: '', f_total_fee: ''}),
239
+ config: {
240
+ // 导出列要和查询列相同
241
+ excelHeaders: {
242
+ 'f_userinfo_code': '用户编号',
243
+ 'f_user_name': '用户姓名',
244
+ 'f_trade_type': '支付类型',
245
+ 'f_total_fee': '微信金额',
246
+ 'f_collection': '收费记录金额',
247
+ 'f_datatime': '交易日期',
248
+ 'f_operate_date': '燃气方日期',
249
+ 'f_transaction_id': '微信订单号',
250
+ 'f_serial_id': '收费订单号',
251
+ 'msg': '对账信息',
252
+ 'f_orgname': '所属公司',
253
+ 'f_depname': '所属部门',
254
+ 'f_operator': '操作人员'
255
+ }
256
+ },
257
+ payType: [
258
+ {label: '全部', value: ''},
259
+ {label: '微信支付', value: 'JSAPI'},
260
+ {label: '二维码支付', value: 'NATIVE'},
261
+ {label: '付款码支付', value: 'MICROPAY'}
262
+ ],
263
+ letter: [
264
+ {label: '全部', value: ''},
265
+ {label: '微信单方面账单', value: '微信单方面账单'},
266
+ {label: '燃气方单方面账单', value: '燃气方单方面账单'},
267
+ {label: '对账成功', value: '对账成功'}
268
+ ],
269
+ getfield: {},
270
+ criteriaShow: false,
271
+ condition2: '',
272
+ f_orgid: '',
273
+ msg: [],
274
+ resid: [], // 存放新增的f_files表中id
275
+ // 公司下拉
276
+ // curorgid: [this.$login.f.orgid],
277
+ initres: {
278
+ org: [this.$login.f.orgid],
279
+ dep: [],
280
+ user: []
281
+ },
282
+ initresgroup: ['company', 'department', 'operator'],
283
+ orgCondtionStr: '',
284
+ // 合计数据
285
+ sumsmodel: {},
286
+ showallcharge: false,
287
+ showallcharge1: false
288
+ }
289
+ },
290
+ props: [],
291
+ ready () {
292
+ readyGen(this)
293
+ },
294
+ methods: {
295
+ getPayTypeLable (f_trade_type) {
296
+ for (let row of this.payType) {
297
+ if (row.value == f_trade_type) {
298
+ return row.label
299
+ }
300
+ }
301
+ return f_trade_type
302
+ },
303
+ hidden () {
304
+ this.criteriaShow = !this.criteriaShow
305
+ },
306
+ getorg (val) {
307
+ this.f_orgid = this.$login.convertToIn(val)
308
+ this.f_filialeid = val[0]
309
+ },
310
+ getRes (condition, obj) {
311
+ if (condition.indexOf('f_orgid') > 0) {
312
+ let temp = condition.substring(condition.indexOf("f_orgid in ('") + 13)
313
+ this.f_orgid = temp.substring(temp.indexOf("')") - 4, 3)
314
+ } else {
315
+ this.f_orgid = this.$login.f.orgid
316
+ }
317
+ this.orgCondtionStr = condition
318
+ },
319
+
320
+ getotherfooter () {
321
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
322
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
323
+ this.other = []
324
+ this.footer = []
325
+ // let exportdata = this.getCondition;
326
+ let otherInData = []
327
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
328
+ let footerData = [], exportfield = this.getfield
329
+ footerData.push('合计')
330
+ let self = this
331
+ for (var field in self.sumsmodel) {
332
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
333
+ }
334
+ this.footer.push(footerData)
335
+ this.other.push(otherInData)
336
+ },
337
+ search () {
338
+ this.$refs.paged.$refs.cri.search()
339
+ },
340
+ selfSearch (args) {
341
+ if (!this.f_orgid) {
342
+ this.getorg([this.$login.f.orgid])
343
+ }
344
+ console.log('查询。。。', this.f_orgid)
345
+ this.showallcharge1 = false
346
+ this.showallcharge = false
347
+ if (!this.orgCondtionStr) {
348
+ args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
349
+ } else {
350
+ args.condition = `${args.condition}` + this.orgCondtionStr
351
+ }
352
+ this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
353
+ this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
354
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
355
+ this.condition2 = args.condition
356
+ this.model.search(args.condition, args.model)
357
+ // 只有选择微信支付和微信单方面账单时才能全部缴费
358
+ if (this.model.model.letter[0] === '微信单方面账单' && this.model.model.payType[0] === 'JSAPI') {
359
+ this.showallcharge = true
360
+ } else if (this.model.model.payType[0] === 'MICROPAY') {
361
+ this.showallcharge1 = true
362
+ }
363
+ },
364
+ // 系统单方账单,系统可冲正
365
+ async chargecal (row) {
366
+ if (row.f_meter_type === '物联网表' || row.f_meter_type === '机表') {
367
+ let param = {
368
+ f_sell_id: row.maxid,
369
+ f_cancel_reason: '',
370
+ f_orgid: Vue.$login.f.orgid,
371
+ f_orgname: Vue.$login.f.orgs,
372
+ f_depid: Vue.$login.f.depids,
373
+ f_depname: Vue.$login.f.deps,
374
+ f_zoneid: Vue.$login.f.zoneid,
375
+ f_zones: Vue.$login.f.zones
376
+ }
377
+ await Vue.resetpost('rs/logic/commonCancel', {data: param}, {resolveMsg: '撤销成功', rejectMsg: '撤销失败'})
378
+ this.search()
379
+ }
380
+ },
381
+ async allcharge () {
382
+ console.log('1=====>' + this.condition2)
383
+ if (!this.$login.r.find(value => value == '微信缴费权限')) {
384
+ this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
385
+ return
386
+ }
387
+ let condition = this.condition2
388
+ let item = '已下单'
389
+ await this.$resetpost('rs/logic/dealAllwxBill', {data: {condition: condition, item: item}}, {warnMsg: `确定进行全部缴费吗?`, resolveMsg: '收费成功!!', rejectMsg: '收费出错!!!'})
390
+ },
391
+ async allcharge1 () {
392
+ if (!this.$login.r.find(value => value == '微信缴费权限')) {
393
+ this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
394
+ return
395
+ }
396
+ let condition = this.condition2
397
+ let item = '已退款'
398
+ await this.$resetpost('rs/logic/dealAllwxBill', {data: {condition: condition, item: item}}, {warnMsg: `确定标记以下所有订单为已退款吗, 该操作无法撤销, 请谨慎操作?`, resolveMsg: '标记为已退款成功', rejectMsg: '标记为已退款失败!!!'})
399
+ },
400
+ // 微信单方账单,系统可缴费(将微信已支付改成已下单,微信会自动扫状态,并插入收费记录)
401
+ async charge (row) {
402
+ if (!this.$login.r.find(value => value == '微信缴费权限')) {
403
+ this.$showMessage('当前登录用户没有微信缴费权限, 请联系管理员!')
404
+ return
405
+ }
406
+ let sql = `update t_weixinreturnxml set f_order_state = '已下单' where id = '${row.id}'`
407
+ await this.$resetpost('rs/logic/runSQL', {data: {sql: sql}}, {warnMsg: `确定进行缴费吗?`, resolveMsg: '收费成功!!', rejectMsg: '收费出错!!!'})
408
+ // this.search()
409
+ },
410
+ // 标记为已退款
411
+ async charge1 (row) {
412
+ let sql = `update t_weixinreturnxml set f_order_state = '已退款' where id = '${row.id}'`
413
+ await this.$resetpost('rs/logic/runSQL', {data: {sql: sql}}, {warnMsg: `确定标记该笔订单为已退款吗, 该操作无法撤销, 请谨慎操作?`, resolveMsg: '标记为已退款成功', rejectMsg: '标记为已退款失败!!!'})
414
+ // this.search()
415
+ },
416
+ modify (row) {
417
+ console.log('返回数据1', row)
418
+ this.$showMessage('确认重置微信支付状态么?', ['confirm', 'cancel']).then((res) => {
419
+ if (res === 'confirm') {
420
+ let data = {
421
+ f_transaction_id: row.f_transaction_id
422
+ }
423
+ this.$resetpost('rs/logic/weChatMeter', data, {resolveMsg: null, rejectMsg: '重置出错!!!'}).then((res) => {
424
+ console.log('返回数据3', res)
425
+ this.$refs.paged.$refs.cri.search()
426
+ this.$showAlert(`重置成功!`, 'success', 4000)
427
+ // this.search()
428
+ }).catch((error) => {
429
+ console.log('重置异常', res)
430
+ })
431
+ }
432
+ })
433
+ }
434
+ },
435
+ events: {
436
+ // 删除Resid数组元素
437
+ 'delResid' (val) {
438
+ this.resid.$remove({id: val, f_biobid: ''})
439
+ // this.resid.splice(this.resid.indexOf({id:val,f_biobid:''}),1);
440
+ },
441
+ // 增加Resid数组元素
442
+ 'resid' (val) {
443
+ console.log('-=', val)
444
+ this.resid.push({id: val, f_biobid: ''})
445
+ }
446
+ },
447
+ computed: {
448
+ getCondition () {
449
+ return {
450
+ orgid: this.f_orgid,
451
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
452
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
453
+ condition: this.condition2
454
+ }
455
+ },
456
+ chargeType () {
457
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信收费类型')]
458
+ }
459
+ },
460
+ watch: {
461
+ sumsmodel: {
462
+ handler: function (val) {
463
+ this.getotherfooter()
464
+ },
465
+ deep: true
466
+ }
467
+ }
468
+ }
469
+ </script>