manage-client 3.1.43 → 3.1.47

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 (96) hide show
  1. package/build/dev-server.js +182 -174
  2. package/package.json +1 -1
  3. package/src/App.vue +29 -28
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/BasisEcharts/RingChart.vue +196 -196
  6. package/src/components/SellReport/BusinessClassify.vue +317 -317
  7. package/src/components/SellReport/ChargePrick.vue +284 -284
  8. package/src/components/SellReport/DepartmentPrick.vue +288 -288
  9. package/src/components/SellReport/FinanceSellType.vue +254 -254
  10. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  11. package/src/components/SellReport/GasMoneyReport.vue +254 -0
  12. package/src/components/SellReport/GasPrice.vue +244 -244
  13. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  14. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  15. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  16. package/src/components/SellReport/ManageSellType.vue +284 -284
  17. package/src/components/SellReport/ManageUserCount.vue +347 -347
  18. package/src/components/SellReport/MarketMonth.vue +297 -297
  19. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  20. package/src/components/SellReport/SellDepReport.vue +251 -0
  21. package/src/components/SellReport/SellingTable.vue +220 -220
  22. package/src/components/SellReport/UserClassify.vue +271 -271
  23. package/src/components/SellReport/UserSellingGas.vue +251 -251
  24. package/src/components/daping/CallCenter.vue +366 -366
  25. package/src/components/daping/DataManagement.vue +537 -537
  26. package/src/components/daping/GMap.vue +636 -636
  27. package/src/components/daping/ManageMain.vue +270 -270
  28. package/src/components/daping/NetWork.vue +238 -238
  29. package/src/components/daping/RedactDaPing.vue +468 -468
  30. package/src/components/daping/Ring.vue +212 -212
  31. package/src/components/daping/SafeCheck.vue +446 -446
  32. package/src/components/daping/SafeCheckRing.vue +166 -166
  33. package/src/components/daping/SafecheckBarChart.vue +233 -233
  34. package/src/components/daping/WuHaiMap.vue +418 -418
  35. package/src/components/qinhua/BarChart.vue +256 -256
  36. package/src/components/qinhua/Pie.vue +132 -132
  37. package/src/components/qinhua/SellEcharts.vue +115 -115
  38. package/src/components/qinhua/qinHuaMap.vue +414 -414
  39. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +500 -496
  40. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  41. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  42. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  43. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  44. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  45. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  46. package/src/components/sale/config/exportConfig.js +1 -1
  47. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  48. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  49. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  50. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  51. package/src/components/webmeter/DrillData/UserGasEcharts.vue +220 -210
  52. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  53. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  54. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +171 -171
  55. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  56. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +288 -275
  57. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  58. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +213 -213
  59. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +240 -240
  60. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  61. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +283 -218
  62. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  63. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  64. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  65. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  66. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  67. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  68. package/src/components/webmeter/reportdata/ReportDataQuery.vue +25 -53
  69. package/src/filiale/alashan/SellingTable.vue +234 -234
  70. package/src/filiale/alashan/reportManage.js +10 -10
  71. package/src/filiale/jingwei/ChargeQuery.vue +6 -0
  72. package/src/filiale/jingwei/RecordInfoQuery.vue +13 -2
  73. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  74. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  75. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  76. package/src/filiale/meihekou/sale.js +26 -26
  77. package/src/filiale/rongcheng/exportConfig.js +257 -257
  78. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  79. package/src/filiale/rongchuang/reportManage.js +11 -11
  80. package/src/filiale/shaoguan/ChargeQuery.vue +5 -0
  81. package/src/filiale/shaoguan/OtherChargeQuery.vue +6 -0
  82. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  83. package/src/filiale/tongchuan/ChargeQuery.vue +1252 -0
  84. package/src/filiale/tongchuan/ManageBusSummary.vue +302 -302
  85. package/src/filiale/tongchuan/sale.js +2 -1
  86. package/src/main.js +66 -66
  87. package/src/newmanage.js +525 -525
  88. package/src/reportManage.js +470 -462
  89. package/static/wuhai.json +1610 -1610
  90. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  91. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  92. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  93. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  94. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  95. package/.gradle/5.2.1/gc.properties +0 -0
  96. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,377 +1,377 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres"
10
- @re-res="$parent.$parent.getRes"
11
- :show-component="['company','department','operator']"
12
- v-ref:sel></res-select-group>
13
-
14
- <div class="span" style="float:right;">
15
- <button class="button_search button_spacing" @click="search()">查询</button>
16
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
17
-
18
- <export-excel :data="$parent.$parent.getCondition"
19
- :field="$parent.$parent.getfield"
20
- :footer="$parent.$parent.footer"
21
- :header="$parent.$parent.other"
22
- sqlurl="rs/logic/exportfile"
23
- sql-name="OpertoerCollection"
24
- template-name='操作员日结列表'
25
- :choose-col="true"></export-excel>
26
- <print-data :model="$parent.model"
27
- :field="$parent.$parent.getfield"
28
- :sum-field="$parent.$parent.getfield"
29
- titletable="操作员日结列表"
30
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
31
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
32
- </div>
33
- </div>
34
-
35
- <div class="row" v-show="$parent.$parent.criteriaShow">
36
- <div class="col-sm-2 form-group">
37
- <label for="startDate" class="font_normal_body">开始日期</label>
38
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
39
- v-model="model.startDate"
40
- :value.sync="model.startDate"
41
- format="yyyy-MM-dd HH:mm:ss"
42
- :show-reset-button="true">
43
- </datepicker>
44
- </div>
45
- <div class="col-sm-2 form-group">
46
- <label for="endDate" class="font_normal_body">结束日期</label>
47
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
48
- v-model="model.endDate"
49
- :value.sync="model.endDate"
50
- format="yyyy-MM-dd HH:mm:ss"
51
- :show-reset-button="true">
52
- </datepicker>
53
- </div>
54
- <div class="col-sm-2 form-group">
55
- <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
56
- <v-select :value.sync="model.f_payment" multiple
57
- v-model="model.f_payment"
58
- :options='$parent.$parent.payment' placeholder='请选择'
59
- condition="f_payment in {}"
60
- close-on-select></v-select>
61
- </div>
62
- </div>
63
- </div>
64
- </criteria>
65
-
66
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
67
- <template partial='head'>
68
- <tr>
69
- <th>
70
- <nobr>日期</nobr>
71
- </th>
72
- <th>
73
- <nobr>售气笔数</nobr>
74
- </th>
75
- <th>
76
- <nobr>售气气量</nobr>
77
- </th>
78
- <th>
79
- <nobr>售气金额</nobr>
80
- </th>
81
- <th>
82
- <nobr>维护费</nobr>
83
- </th>
84
- <th>
85
- <nobr>上期结余</nobr>
86
- </th>
87
- <th>
88
- <nobr>本期结余</nobr>
89
- </th>
90
- <th>
91
- <nobr>气费滞纳金</nobr>
92
- </th>
93
- <th>
94
- <nobr>发卡数</nobr>
95
- </th>
96
- <th>
97
- <nobr>发卡费</nobr>
98
- </th>
99
- <th>
100
- <nobr>工本费</nobr>
101
- </th>
102
- <th>
103
- <nobr>补卡数</nobr>
104
- </th>
105
- <th>
106
- <nobr>补卡费</nobr>
107
- </th>
108
- <th>
109
- <nobr>小计</nobr>
110
- </th>
111
- </tr>
112
- </template>
113
- <template partial='body'>
114
- <td style="text-align: center;">{{row.f_operate_date}}</td>
115
- <td style="text-align: center;">{{row.c}}</td>
116
- <td style="text-align: center;">{{row.f_pregas}}</td>
117
- <th style="text-align: center;">{{row.f_preamount}}</th>
118
- <th style="text-align: center;">{{row.f_wmoney}}</th>
119
- <th style="text-align: center;">{{row.f_balance}}</th>
120
- <th style="text-align: center;">{{row.f_curbalance}}</th>
121
- <th style="text-align: center;">{{row.f_delaypay}}</th>
122
- <th style="text-align: center;">{{row.fkcardnum}}</th>
123
- <th style="text-align: center;">{{row.f_fkcardfees}}</th>
124
- <th style="text-align: center;">{{row.f_gmoney}}</th>
125
- <th style="text-align: center;">{{row.cardnum}}</th>
126
- <th style="text-align: center;">{{row.f_cardfees}}</th>
127
- <th style="text-align: center;">{{row.sumall}}</th>
128
- </template>
129
- </data-grid>
130
- </criteria-paged>
131
- <table class="table-hover">
132
- <tr style="position: relative" class="table-bordered">
133
- <td
134
- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
135
- 汇总信息
136
- </td>
137
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
138
- 售气笔数合计:&emsp;{{sumsmodel.c}}
139
- </td>
140
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
141
- 售气气量合计:&emsp;{{sumsmodel.f_pregas}}
142
- </td>
143
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
144
- 售气金额合计:&emsp;{{sumsmodel.f_preamount}}
145
- </td>
146
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
147
- 维护费合计:&emsp;{{sumsmodel.f_wmoney}}
148
- </td>
149
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
150
- 气费滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
151
- </td>
152
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
153
- 发卡费合计:&emsp;{{sumsmodel.f_fkcardfees}}
154
- </td>
155
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
156
- 工本费合计:&emsp;{{sumsmodel.f_gmoney}}
157
- </td>
158
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
159
- 补卡费合计:&emsp;{{sumsmodel.f_cardfees}}
160
- </td>
161
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
162
- 总合计:&emsp;{{sumsmodel.sumall}}
163
- </td>
164
- </tr>
165
- </table>
166
- </div>
167
- </div>
168
- </div>
169
-
170
- </template>
171
- <script>
172
- /**
173
- *用户档案查询列表以及添加操作组件
174
- */
175
- import {PagedList} from 'vue-client'
176
- import defaultPrint from '../config/DefaultPrint'
177
- import exportConfig from '../config/exportConfig'
178
-
179
- let readySomething = async function (self) {
180
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
181
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
182
- // await self.$refs.paged.$refs.cri.search()
183
- // await self.$getConfig(self, 'SellingHand')
184
- // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
185
-
186
- await self.$MagLoadParams.loadParam()
187
-
188
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
189
- console.log('self.sumsmodel', self.sumsmodel)
190
- }
191
-
192
-
193
- export default {
194
- title: '操作员日结列表',
195
- data() {
196
- return {
197
- rows: null,
198
- other: [],
199
- footer: [],
200
- criteriaShow: false,
201
- model: new PagedList('rs/sql/OpertoerCollection', 50,
202
- {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
203
- {
204
- c: 0,
205
- f_pregas: 0,
206
- f_preamount: 0,
207
- f_wmoney: 0,
208
- f_delaypay: 0,
209
- f_fkcardfees: 0,
210
- f_gmoney: 0,
211
- f_cardfees: 0,
212
- sumall: 0
213
- }),
214
- orgCondtionStr: '',
215
-
216
- getfield: '',
217
- show:false,
218
- rowdata:{},
219
- // config: {
220
- // defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
221
- // },
222
- initres: {
223
- org:[this.$login.f.orgid],
224
- dep:[],
225
- user:[],
226
- },
227
- defaultfield: [],
228
- sumsmodel: {}
229
- }
230
- },
231
- ready() {
232
- readySomething(this).then(() => {
233
- this.$emit('ready')
234
- }).catch((error) => {
235
- this.$emit('error', error)
236
- })
237
- },
238
- methods: {
239
- getotherfooter() {
240
- // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
241
- // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
242
- this.other = [];
243
- this.footer = [];
244
- // let exportdata = this.getCondition;
245
- let otherInData = [];
246
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
247
- let footerData = [], exportfield = this.getfield;
248
- footerData.push("合计");
249
- let self = this;
250
- for (var field in self.sumsmodel) {
251
- footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
252
- }
253
- this.footer.push(footerData);
254
- this.other.push(otherInData);
255
- },
256
- search(){
257
- this.$refs.paged.$refs.cri.search()
258
- },
259
- selfSearch(args) {
260
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
261
- args.condition = `${args.condition}` + this.orgCondtionStr
262
- this.model.search(args.condition, args.model)
263
- },
264
- show() {
265
- this.criteriaShow = true
266
- },
267
- cancel() {
268
- this.show = false
269
- },
270
- showmsg(obj){
271
- this.rowdata=obj
272
- this.show=true
273
- },
274
- dealmsg(val) {
275
- console.log('---------------dealmsg')
276
- val.model = this.model.model
277
- this.$dispatch('deal-msg', val)
278
- },
279
- hidden() {
280
- this.criteriaShow = !this.criteriaShow
281
- },
282
- clear() {
283
- //清空部门和人员
284
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
285
- //部门和人员变为全选
286
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
287
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
288
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
289
- this.$refs.paged.$refs.cri.model[key] = []
290
- })
291
- },
292
- getRes(obj) {
293
- this.orgCondtionStr = obj
294
- },
295
- stamp() {
296
- this.all = false
297
- //默认选择要打印的列
298
- this.modelval = defaultPrint.config
299
- this.fields = this.getfield
300
- console.log('所有打印字段', this.fields)
301
- this.printshow = true
302
- this.put()
303
- },
304
- put() {
305
- // 对Modelval进行排序
306
- this.sortModelval()
307
- this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
308
- for (let key of this.modelval) {
309
- this.thead += '<th>' + this.fields[key] + '</th>'
310
- }
311
- this.thead += '</tr>'
312
- },
313
- print() {
314
- this.$refs.print.PrintAsFile()
315
- this.printshow = false
316
- },
317
- close() {
318
- this.printshow = false
319
- this.all = false
320
- },
321
- // 对选择的列进行排序
322
- sortModelval() {
323
- let sortModel = []
324
- Object.keys(this.fields).forEach((key) => {
325
- if (this.modelval.includes(key)) {
326
- sortModel.push(key)
327
- }
328
- })
329
- this.modelval = sortModel
330
- console.log('选择的打印的字段', this.modelval)
331
- }
332
- },
333
- watch: {
334
- 'all'(val) {
335
- if (val) {
336
- this.modelval = this.bodyData
337
- } else {
338
- this.modelval = defaultPrint.config
339
- this.put()
340
- }
341
- },
342
- 'modelval.length'() {
343
- this.put()
344
- },
345
- sumsmodel: {
346
- handler: function (val) {
347
- this.getotherfooter();
348
- },
349
- deep: true
350
- }
351
- },
352
- computed: {
353
- getCondition() {
354
- let result = {
355
- condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
356
- startDate: this.$refs.paged.$refs.cri.model.startDate,
357
- endDate: this.$refs.paged.$refs.cri.model.endDate
358
- }
359
- return result
360
- },
361
- getfield() {
362
- return exportConfig.ProceedsOperConfig
363
- },
364
- payment() {
365
- return [...this.$appdata.getParam('付款方式查询')]
366
- }
367
- }
368
- }
369
- </script>
370
- <style media="screen">
371
- .divtext {
372
- min-width: 50px;
373
- max-width: 200px;
374
- border: 1px solid green;
375
- display: inline-block;
376
- }
377
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <res-select-group :initres="$parent.$parent.initres"
10
+ @re-res="$parent.$parent.getRes"
11
+ :show-component="['company','department','operator']"
12
+ v-ref:sel></res-select-group>
13
+
14
+ <div class="span" style="float:right;">
15
+ <button class="button_search button_spacing" @click="search()">查询</button>
16
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
17
+
18
+ <export-excel :data="$parent.$parent.getCondition"
19
+ :field="$parent.$parent.getfield"
20
+ :footer="$parent.$parent.footer"
21
+ :header="$parent.$parent.other"
22
+ sqlurl="rs/logic/exportfile"
23
+ sql-name="OpertoerCollection"
24
+ template-name='操作员日结列表'
25
+ :choose-col="true"></export-excel>
26
+ <print-data :model="$parent.model"
27
+ :field="$parent.$parent.getfield"
28
+ :sum-field="$parent.$parent.getfield"
29
+ titletable="操作员日结列表"
30
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
31
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
32
+ </div>
33
+ </div>
34
+
35
+ <div class="row" v-show="$parent.$parent.criteriaShow">
36
+ <div class="col-sm-2 form-group">
37
+ <label for="startDate" class="font_normal_body">开始日期</label>
38
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
39
+ v-model="model.startDate"
40
+ :value.sync="model.startDate"
41
+ format="yyyy-MM-dd HH:mm:ss"
42
+ :show-reset-button="true">
43
+ </datepicker>
44
+ </div>
45
+ <div class="col-sm-2 form-group">
46
+ <label for="endDate" class="font_normal_body">结束日期</label>
47
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
48
+ v-model="model.endDate"
49
+ :value.sync="model.endDate"
50
+ format="yyyy-MM-dd HH:mm:ss"
51
+ :show-reset-button="true">
52
+ </datepicker>
53
+ </div>
54
+ <div class="col-sm-2 form-group">
55
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
56
+ <v-select :value.sync="model.f_payment" multiple
57
+ v-model="model.f_payment"
58
+ :options='$parent.$parent.payment' placeholder='请选择'
59
+ condition="f_payment in {}"
60
+ close-on-select></v-select>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </criteria>
65
+
66
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
67
+ <template partial='head'>
68
+ <tr>
69
+ <th>
70
+ <nobr>日期</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>售气笔数</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>售气气量</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>售气金额</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>维护费</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>上期结余</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>本期结余</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>气费滞纳金</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>发卡数</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>发卡费</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>工本费</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>补卡数</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>补卡费</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>小计</nobr>
110
+ </th>
111
+ </tr>
112
+ </template>
113
+ <template partial='body'>
114
+ <td style="text-align: center;">{{row.f_operate_date}}</td>
115
+ <td style="text-align: center;">{{row.c}}</td>
116
+ <td style="text-align: center;">{{row.f_pregas}}</td>
117
+ <th style="text-align: center;">{{row.f_preamount}}</th>
118
+ <th style="text-align: center;">{{row.f_wmoney}}</th>
119
+ <th style="text-align: center;">{{row.f_balance}}</th>
120
+ <th style="text-align: center;">{{row.f_curbalance}}</th>
121
+ <th style="text-align: center;">{{row.f_delaypay}}</th>
122
+ <th style="text-align: center;">{{row.fkcardnum}}</th>
123
+ <th style="text-align: center;">{{row.f_fkcardfees}}</th>
124
+ <th style="text-align: center;">{{row.f_gmoney}}</th>
125
+ <th style="text-align: center;">{{row.cardnum}}</th>
126
+ <th style="text-align: center;">{{row.f_cardfees}}</th>
127
+ <th style="text-align: center;">{{row.sumall}}</th>
128
+ </template>
129
+ </data-grid>
130
+ </criteria-paged>
131
+ <table class="table-hover">
132
+ <tr style="position: relative" class="table-bordered">
133
+ <td
134
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
135
+ 汇总信息
136
+ </td>
137
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
138
+ 售气笔数合计:&emsp;{{sumsmodel.c}}
139
+ </td>
140
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
141
+ 售气气量合计:&emsp;{{sumsmodel.f_pregas}}
142
+ </td>
143
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
144
+ 售气金额合计:&emsp;{{sumsmodel.f_preamount}}
145
+ </td>
146
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
147
+ 维护费合计:&emsp;{{sumsmodel.f_wmoney}}
148
+ </td>
149
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
150
+ 气费滞纳金合计:&emsp;{{sumsmodel.f_delaypay}}
151
+ </td>
152
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
153
+ 发卡费合计:&emsp;{{sumsmodel.f_fkcardfees}}
154
+ </td>
155
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
156
+ 工本费合计:&emsp;{{sumsmodel.f_gmoney}}
157
+ </td>
158
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
159
+ 补卡费合计:&emsp;{{sumsmodel.f_cardfees}}
160
+ </td>
161
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
162
+ 总合计:&emsp;{{sumsmodel.sumall}}
163
+ </td>
164
+ </tr>
165
+ </table>
166
+ </div>
167
+ </div>
168
+ </div>
169
+
170
+ </template>
171
+ <script>
172
+ /**
173
+ *用户档案查询列表以及添加操作组件
174
+ */
175
+ import {PagedList} from 'vue-client'
176
+ import defaultPrint from '../config/DefaultPrint'
177
+ import exportConfig from '../config/exportConfig'
178
+
179
+ let readySomething = async function (self) {
180
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
181
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
182
+ // await self.$refs.paged.$refs.cri.search()
183
+ // await self.$getConfig(self, 'SellingHand')
184
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
185
+
186
+ await self.$MagLoadParams.loadParam()
187
+
188
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
189
+ console.log('self.sumsmodel', self.sumsmodel)
190
+ }
191
+
192
+
193
+ export default {
194
+ title: '操作员日结列表',
195
+ data() {
196
+ return {
197
+ rows: null,
198
+ other: [],
199
+ footer: [],
200
+ criteriaShow: false,
201
+ model: new PagedList('rs/sql/OpertoerCollection', 50,
202
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
203
+ {
204
+ c: 0,
205
+ f_pregas: 0,
206
+ f_preamount: 0,
207
+ f_wmoney: 0,
208
+ f_delaypay: 0,
209
+ f_fkcardfees: 0,
210
+ f_gmoney: 0,
211
+ f_cardfees: 0,
212
+ sumall: 0
213
+ }),
214
+ orgCondtionStr: '',
215
+
216
+ getfield: '',
217
+ show:false,
218
+ rowdata:{},
219
+ // config: {
220
+ // defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
221
+ // },
222
+ initres: {
223
+ org:[this.$login.f.orgid],
224
+ dep:[],
225
+ user:[],
226
+ },
227
+ defaultfield: [],
228
+ sumsmodel: {}
229
+ }
230
+ },
231
+ ready() {
232
+ readySomething(this).then(() => {
233
+ this.$emit('ready')
234
+ }).catch((error) => {
235
+ this.$emit('error', error)
236
+ })
237
+ },
238
+ methods: {
239
+ getotherfooter() {
240
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
241
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
242
+ this.other = [];
243
+ this.footer = [];
244
+ // let exportdata = this.getCondition;
245
+ let otherInData = [];
246
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
247
+ let footerData = [], exportfield = this.getfield;
248
+ footerData.push("合计");
249
+ let self = this;
250
+ for (var field in self.sumsmodel) {
251
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
252
+ }
253
+ this.footer.push(footerData);
254
+ this.other.push(otherInData);
255
+ },
256
+ search(){
257
+ this.$refs.paged.$refs.cri.search()
258
+ },
259
+ selfSearch(args) {
260
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
261
+ args.condition = `${args.condition}` + this.orgCondtionStr
262
+ this.model.search(args.condition, args.model)
263
+ },
264
+ show() {
265
+ this.criteriaShow = true
266
+ },
267
+ cancel() {
268
+ this.show = false
269
+ },
270
+ showmsg(obj){
271
+ this.rowdata=obj
272
+ this.show=true
273
+ },
274
+ dealmsg(val) {
275
+ console.log('---------------dealmsg')
276
+ val.model = this.model.model
277
+ this.$dispatch('deal-msg', val)
278
+ },
279
+ hidden() {
280
+ this.criteriaShow = !this.criteriaShow
281
+ },
282
+ clear() {
283
+ //清空部门和人员
284
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
285
+ //部门和人员变为全选
286
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
287
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
288
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
289
+ this.$refs.paged.$refs.cri.model[key] = []
290
+ })
291
+ },
292
+ getRes(obj) {
293
+ this.orgCondtionStr = obj
294
+ },
295
+ stamp() {
296
+ this.all = false
297
+ //默认选择要打印的列
298
+ this.modelval = defaultPrint.config
299
+ this.fields = this.getfield
300
+ console.log('所有打印字段', this.fields)
301
+ this.printshow = true
302
+ this.put()
303
+ },
304
+ put() {
305
+ // 对Modelval进行排序
306
+ this.sortModelval()
307
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
308
+ for (let key of this.modelval) {
309
+ this.thead += '<th>' + this.fields[key] + '</th>'
310
+ }
311
+ this.thead += '</tr>'
312
+ },
313
+ print() {
314
+ this.$refs.print.PrintAsFile()
315
+ this.printshow = false
316
+ },
317
+ close() {
318
+ this.printshow = false
319
+ this.all = false
320
+ },
321
+ // 对选择的列进行排序
322
+ sortModelval() {
323
+ let sortModel = []
324
+ Object.keys(this.fields).forEach((key) => {
325
+ if (this.modelval.includes(key)) {
326
+ sortModel.push(key)
327
+ }
328
+ })
329
+ this.modelval = sortModel
330
+ console.log('选择的打印的字段', this.modelval)
331
+ }
332
+ },
333
+ watch: {
334
+ 'all'(val) {
335
+ if (val) {
336
+ this.modelval = this.bodyData
337
+ } else {
338
+ this.modelval = defaultPrint.config
339
+ this.put()
340
+ }
341
+ },
342
+ 'modelval.length'() {
343
+ this.put()
344
+ },
345
+ sumsmodel: {
346
+ handler: function (val) {
347
+ this.getotherfooter();
348
+ },
349
+ deep: true
350
+ }
351
+ },
352
+ computed: {
353
+ getCondition() {
354
+ let result = {
355
+ condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
356
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
357
+ endDate: this.$refs.paged.$refs.cri.model.endDate
358
+ }
359
+ return result
360
+ },
361
+ getfield() {
362
+ return exportConfig.ProceedsOperConfig
363
+ },
364
+ payment() {
365
+ return [...this.$appdata.getParam('付款方式查询')]
366
+ }
367
+ }
368
+ }
369
+ </script>
370
+ <style media="screen">
371
+ .divtext {
372
+ min-width: 50px;
373
+ max-width: 200px;
374
+ border: 1px solid green;
375
+ display: inline-block;
376
+ }
377
+ </style>