manage-client 3.3.179 → 3.3.181

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 (53) hide show
  1. package/build/dev-server.js +11 -7
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/package.json +1 -1
  6. package/src/components/SellReport/BusinessClassify.vue +292 -292
  7. package/src/components/SellReport/GasMoneyPublicConReport.vue +258 -258
  8. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  9. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  10. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  11. package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
  12. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  13. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  14. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  15. package/src/components/sale/config/exportConfig.js +1245 -1245
  16. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  17. package/src/components/webmeter/gasStatistics/GasStatistics.vue +525 -525
  18. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +541 -541
  19. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +3 -1
  20. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  21. package/src/filiale/jingyang/RechargeList.vue +346 -346
  22. package/src/filiale/jingyang/sale.js +6 -6
  23. package/src/filiale/kelai/GasStatistics.vue +536 -536
  24. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  25. package/src/filiale/lixianV3/RecordInfoQuery.vue +22 -1
  26. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -0
  27. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  28. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  29. package/src/filiale/meihekou/CollectManage.vue +3 -3
  30. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  31. package/src/filiale/meihekou/OtherChargeQuery.vue +4 -5
  32. package/src/filiale/meihekou/UserSellHeadDetail.vue +492 -0
  33. package/src/filiale/meihekou/config/exportConfig.js +1 -2
  34. package/src/filiale/meihekou/sale.js +5 -0
  35. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  36. package/src/filiale/qianneng/exportConfig.js +232 -232
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  38. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  39. package/src/filiale/taizhoukesi/config/exportConfig.js +2379 -2379
  40. package/src/filiale/taizhoukesi/sale.js +11 -11
  41. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  42. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  43. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  44. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -0
  45. package/src/filiale/yangchun/UserQuery.vue +980 -980
  46. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  47. package/src/filiale/yangchun/config/exportConfig.js +1230 -1231
  48. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  49. package/src/filiale/yangchun/reportManage.js +6 -6
  50. package/src/filiale/yangchun/sale.js +12 -8
  51. package/src/filiale/yangchun/webmeterManage.js +5 -5
  52. package/src/reportManage.js +768 -768
  53. package/src/saleManage.js +689 -689
@@ -2,7 +2,6 @@
2
2
  <div id="unit" class="flex-row">
3
3
  <div class="basic-main" @keyup.enter="search">
4
4
  <div class="flex" v-if="!show">
5
-
6
5
  <criteria-paged :model="model" v-ref:paged>
7
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
@@ -41,8 +40,6 @@
41
40
  <div class="span" style="float:right;">
42
41
  <button class="button_search button_spacing" @click="search()">查询</button>
43
42
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
-
46
43
  <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
47
44
  :field="$parent.$parent.getfield" :header="$parent.$parent.other"
48
45
  sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
@@ -54,7 +51,6 @@
54
51
  <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>
55
52
  </div>
56
53
  </div>
57
-
58
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
59
55
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
60
56
  <div class="col-sm-2 form-group">
@@ -405,7 +401,7 @@
405
401
  tfoot: '',
406
402
  initres: {
407
403
  org:[this.$login.f.orgid],
408
- dep:[],
404
+ dep:[this.$login.f.depids],
409
405
  user:[],
410
406
  },
411
407
  show:false,
@@ -426,6 +422,9 @@
426
422
  }
427
423
  },
428
424
  ready() {
425
+ console.log('=-=-=-=-=-=-=-=')
426
+ console.log(this.$login.f)
427
+ console.log('=-=-=-=-=-=-=-=')
429
428
  readySomething(this).then(() => {
430
429
  this.$emit('ready')
431
430
  }).catch((error) => {
@@ -0,0 +1,492 @@
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
+
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label for="startDate" class="font_normal_body">开始日期</label>
12
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate"
14
+ :value.sync="model.startDate"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="true"
17
+ >
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label for="endDate" class="font_normal_body">结束日期</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="true"
27
+ >
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">用户编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
33
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="button_search button_spacing" @click="search()">查询</button>
37
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
+
39
+ <export-excel :data="$parent.$parent.getCondition"
40
+ :field="$parent.$parent.getfield"
41
+ :footer="$parent.$parent.footer"
42
+ :header="$parent.$parent.other"
43
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
44
+ sql-name="userSellHandDetaill"
45
+ template-name='用户余额分析导出'
46
+ :choose-col="true"></export-excel>
47
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
48
+ :defaultfield="$parent.$parent.defaultfield" print-name="用户余额分析打印"
49
+ :sumsmodel="$parent.$parent.sumsmodel">
50
+
51
+ </print-data>
52
+
53
+ <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>
54
+ </div>
55
+ </div>
56
+ <div class="row" v-show="$parent.$parent.criteriaShow">
57
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company']" v-ref:sel></res-select-group>
58
+ <div class="col-sm-2 form-group">
59
+ <label class="font_normal_body">客户名称</label>
60
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
61
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
62
+ </div>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">用户类型</label>
65
+ <v-select :value.sync="model.f_user_type"
66
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
67
+ condition="f_user_type = '{}'"
68
+ close-on-select></v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label class="font_normal_body" title="参数名称:气表类型">气表类型</label>
72
+ <v-select :value.sync="model.f_meter_type"
73
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
74
+ condition="f_meter_type = '{}'"
75
+ close-on-select></v-select>
76
+ </div>
77
+ <div class="form-group col-sm-2">
78
+ <label class="font_normal_body">地址</label>
79
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
80
+ condition="f_address like '%{}%'" placeholder='客户地址'>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body">用户状态</label>
84
+ <v-select
85
+ placeholder='用户状态'
86
+ value-single
87
+ style="width:60%"
88
+ :value.sync="model.f_user_state"
89
+ v-model="model.f_user_state"
90
+ :options='$parent.$parent.userstate'
91
+ close-on-select condition="f_user_state ='{}'">
92
+ </v-select>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ </criteria>
97
+
98
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
99
+ <template partial='head'>
100
+ <tr>
101
+ <th>
102
+ <nobr>用户编号</nobr>
103
+ </th>
104
+ <th>
105
+ <nobr>用户姓名</nobr>
106
+ </th>
107
+ <th>
108
+ <nobr>用户类型</nobr>
109
+ </th>
110
+ <th>
111
+ <nobr>气表类型</nobr>
112
+ </th>
113
+ <th>
114
+ <nobr>用气量</nobr>
115
+ </th>
116
+ <th>
117
+ <nobr>单价</nobr>
118
+ </th>
119
+ <th>
120
+ <nobr>用气金额</nobr>
121
+ </th>
122
+ <th>
123
+ <nobr>应收</nobr>
124
+ </th>
125
+ <th>
126
+ <nobr>实收</nobr>
127
+ </th>
128
+ <th>
129
+ <nobr>收费时间</nobr>
130
+ </th>
131
+ <th>
132
+ <nobr>上期结余</nobr>
133
+ </th>
134
+ <th>
135
+ <nobr>本期结余</nobr>
136
+ </th>
137
+ <th>
138
+ <nobr>电话</nobr>
139
+ </th>
140
+ <th>
141
+ <nobr>地址</nobr>
142
+ </th>
143
+ <th>
144
+ <nobr>用户状态</nobr>
145
+ </th>
146
+ </tr>
147
+ </template>
148
+ <template partial='body'>
149
+ <td style="text-align: center;">
150
+ <nobr>{{row.f_userinfo_code}}</nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr>{{row.f_user_name}}</nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr>{{row.f_user_type}}</nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr>{{row.f_meter_classify}}</nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr>{{row.f_gas}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <nobr>{{row.f_price}}</nobr>
166
+ </td>
167
+ <td style="text-align: center;">
168
+ <nobr>{{row.f_money}}</nobr>
169
+ </td>
170
+ <td style="text-align: center;">
171
+ <nobr>{{row.f_preamount}}</nobr>
172
+ </td>
173
+ <td style="text-align: center;">
174
+ <nobr>{{row.f_collection}}</nobr>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_operate_date}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{row.f_balance}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_curbalance}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_user_phone}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_address}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.f_user_state}}</nobr>
193
+ </td>
194
+ </template>
195
+ <template partial='foot'></template>
196
+ </data-grid>
197
+ </criteria-paged>
198
+
199
+ <table class="table-hover">
200
+ <tr style="position: relative" class="table-bordered">
201
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
202
+ 结余合计:&emsp;{{sumsmodel.f_curbalance}}
203
+ </td>
204
+ </tr>
205
+ </table>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </template>
210
+
211
+ <script>
212
+ import {PagedList, HttpResetClass} from 'vue-client'
213
+ import defaultPrint from './config/DefaultPrint'
214
+ import exportConfig from './config/exportConfig'
215
+
216
+ let readySomething = async function (self) {
217
+ //加载抄表册
218
+ self.$MagGetSaleParam.initinputtor();
219
+ self.getinputtores();
220
+ self.initmeterbook();
221
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()+' 00:00:00'
222
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()+' 23:59:59'
223
+ // await self.$refs.paged.$refs.cri.search()
224
+ await self.$getConfig(self, 'HandplanQuery')
225
+ console.log('抄表查询获取默认配置', self.config)
226
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
227
+ console.log('开始初始化参数', self.defaultfield)
228
+ await self.$MagLoadParams.loadParam()
229
+ // await self.$MagLoadParams.loadParam()
230
+ // self.initParams()
231
+ console.log('开始查询')
232
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
233
+ }
234
+ export default {
235
+ data() {
236
+ return {
237
+ data: {},
238
+ other: [],
239
+ footer: [],
240
+ model: new PagedList('rs/sql/userSellHandDetaill', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},{
241
+ f_curbalance:0
242
+
243
+ }),
244
+ gasproperties:[],
245
+ initres: {
246
+ org:[this.$login.f.orgid],
247
+ dep:[],
248
+ user:[],
249
+ },
250
+ show:false,
251
+ rowdata:{},
252
+ criteriaShow: false,
253
+ residentialArea: [],
254
+ orgCondtionStr: '',
255
+ modelval: [],
256
+ inputtouPerson: [],
257
+ printshow: false,
258
+ all: false,
259
+ fields: {},
260
+ thead: '',
261
+ tfoot: '',
262
+
263
+ // 下拉框
264
+
265
+ //合计数据
266
+ sumsmodel: {},
267
+ defaultfield: [],
268
+ config: {
269
+ defaultPrint: ['f_userinfo_code', 'f_user_name']
270
+ },
271
+ batchmoneyShow:false,
272
+ meterbooks:[{label: '全部',value: ''}], //抄表册
273
+ tempfalg :false,
274
+ lastorgstr:'',
275
+ allorgid:[],
276
+ inputtores:[{label: '全部',value: ''}], //抄表员
277
+ }
278
+ },
279
+ ready() {
280
+ readySomething(this).then(() => {
281
+ this.$emit('ready')
282
+ }).catch((error) => {
283
+ this.$emit('error', error)
284
+ })
285
+ },
286
+ methods: {
287
+ async initmeterbook(orgstr){
288
+ if(orgstr == null ){
289
+ orgstr = this.f_filialeid;
290
+ }
291
+ //获取新的抄表册,先去清理所有的抄表册
292
+ this.$GetSaleParam.meterbooks = [];
293
+ //开始加载新的抄表册
294
+ await this.$LoadParams.loadMeterBook(orgstr)
295
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
296
+ },
297
+ async getinputtores () {
298
+ // 获取抄表员
299
+ let rs = []
300
+ if (this.$login.f.f_gasman.length > 0) {
301
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
302
+ let temp = {
303
+ label: this.$login.f.f_gasman[i].name,
304
+ value: this.$login.f.f_gasman[i].name
305
+ }
306
+ rs.push(temp)
307
+ }
308
+ }
309
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
310
+ },
311
+ async updateParams() {
312
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
313
+ this.inputtores = [];
314
+ this.inputtores.push({label: "全部", value: ""})
315
+ if(this.allorgid!=null){
316
+ this.allorgid.forEach((res)=>{
317
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
318
+ })
319
+ }
320
+ },
321
+ getotherfooter() {
322
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
323
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
324
+ this.other = [];
325
+ this.footer = [];
326
+ // let exportdata = this.getCondition;
327
+ let otherInData = [];
328
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
329
+ let footerData = [], exportfield = this.getfield;
330
+ footerData.push("合计");
331
+ let self = this;
332
+ for (var field in self.sumsmodel) {
333
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
334
+ }
335
+ this.footer.push(footerData);
336
+ this.other.push(otherInData);
337
+ },
338
+ search(){
339
+ this.$refs.paged.$refs.cri.search()
340
+ },
341
+ selfSearch(args) {
342
+ args.condition = `${args.condition} ` + this.orgCondtionStr
343
+ this.model.search(args.condition, args.model)
344
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
345
+ },
346
+ clear() {
347
+ //清空部门和人员
348
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
349
+ //部门和人员变为全选
350
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
351
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
352
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
353
+ this.$refs.paged.$refs.cri.model[key] = []
354
+ })
355
+ },
356
+ show() {
357
+ this.criteriaShow = true
358
+ },
359
+ hidden() {
360
+ this.criteriaShow = !this.criteriaShow
361
+ },
362
+ async getRes(condition,obj) {
363
+ this.orgCondtionStr = condition
364
+
365
+ },
366
+ stamp() {
367
+ this.all = false
368
+ //默认选择要打印的列
369
+ this.modelval = defaultPrint.config
370
+ this.fields = this.getfield
371
+ console.log('所有打印字段', this.fields)
372
+ this.printshow = true
373
+ this.put()
374
+ },
375
+ put() {
376
+ // 对Modelval进行排序
377
+ this.sortModelval()
378
+ this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
379
+ for (let key of this.modelval) {
380
+ this.thead += '<th>' + this.fields[key] + '</th>'
381
+ }
382
+ this.thead += '</tr>'
383
+ },
384
+ print() {
385
+ this.$refs.print.PrintAsFile()
386
+ this.printshow = false
387
+ },
388
+ dealmsg(val) {
389
+ console.log('---------------dealmsg')
390
+ this.rowdata=val
391
+ this.show=true
392
+ val.model = this.model.model
393
+ this.$dispatch('deal-msg', val)
394
+ },
395
+ close() {
396
+ this.printshow = false
397
+ this.all = false
398
+ },
399
+ // 对选择的列进行排序
400
+ sortModelval() {
401
+ let sortModel = []
402
+ Object.keys(this.fields).forEach((key) => {
403
+ if (this.modelval.includes(key)) {
404
+ sortModel.push(key)
405
+ }
406
+ })
407
+ this.modelval = sortModel
408
+ console.log('选择的打印的字段', this.modelval)
409
+ },
410
+ userTypeChange () {
411
+ this.gasproperties=[]
412
+ if(this.$refs.paged.$refs.cri.model !==null) {
413
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
414
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
415
+ }
416
+ else{
417
+ this.gasproperties =[{label: '全部', value: ''}]
418
+ }
419
+ },
420
+ },
421
+ watch: {
422
+ 'all'(val) {
423
+ if (val) {
424
+ this.modelval = this.bodyData
425
+ } else {
426
+ this.modelval = defaultPrint.config
427
+ this.put()
428
+ }
429
+ },
430
+ 'modelval.length'() {
431
+ this.put()
432
+ },
433
+ sumsmodel: {
434
+ handler: function (val) {
435
+ this.getotherfooter();
436
+ },
437
+ deep: true
438
+ },
439
+ async 'orgCondtionStr'(val) {
440
+ this.$refs.paged.$refs.cri.model.f_inputtor = []
441
+ this.$refs.paged.$refs.cri.model.f_meter_book = []
442
+ this.meterbooks = [{label: '全部',value: ''}];
443
+ if(this.lastorgstr != val){
444
+ this.tempfalg = true;
445
+ this.lastorgstr = val;
446
+ }
447
+ if(this.tempfalg && val != null && val!='' && val.indexOf("(")>-1){
448
+ this.tempfalg = false;
449
+ let a = val.substring(val.indexOf("(")+2)
450
+ await this.initmeterbook(a.substring(0,a.indexOf(")")-1));
451
+ }
452
+ let res = val.match(/'(.*?)'/)
453
+ console.log('正则提取:',res && res[1])
454
+ if (res) {
455
+ this.f_filialeid = res[1]
456
+ if(res.input !=null){
457
+ let resorgid = res.input.substring(res.input.indexOf("'"));
458
+ if(resorgid!= null && resorgid!=''){
459
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
460
+ // resorgid = resorgid.replaceAll("'","");
461
+ resorgid = resorgid.replace(/'/g,"");
462
+ this.allorgid = resorgid.split(",")
463
+ }
464
+ }
465
+ this.updateParams()
466
+ }
467
+ },
468
+ },
469
+ computed: {
470
+ getCondition() {
471
+ return {
472
+ condition : `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
473
+ startDate : this.$refs.paged.$refs.cri.model.startDate,
474
+ endDate : this.$refs.paged.$refs.cri.model.endDate
475
+ }
476
+ },
477
+ getfield() {
478
+ return exportConfig.UserSellHeadDetailConfig
479
+ },
480
+ metertypes () {
481
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
482
+ },
483
+ userstate() {
484
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
485
+ },
486
+ usertypes() {
487
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
488
+ }
489
+
490
+ }
491
+ }
492
+ </script>
@@ -263,8 +263,7 @@ export default{
263
263
  'f_preamount': '期间已缴','f_curbalance': '期末余额', 'f_user_balance': '最新余额'
264
264
  },
265
265
  BalanceTableConfig: {
266
- 'f_userinfo_code': '客户编号','f_user_name':'客户名称', 'f_balance': '期初余额','f_oughtfee': '期间应收',
267
- 'f_collection': '期间已收','f_last_balance': '期末余额', 'f_balances': '最新余额'
266
+ 'f_userinfo_code': '用户编号','f_user_name': '用户姓名','f_user_type': '用户类型','f_meter_classify': '气表类型','f_gas': '用气量','f_price': '单价','f_money': '用气金额','f_preamount': '应收','f_collection': '实收','f_operate_date': '收费时间','f_balance': '上期结余','f_curbalance': '本期结余','f_user_phone': '电话','f_address': '地址','f_user_state': '用户状态'
268
267
  },
269
268
  UserSellHeadDetailConfig: {
270
269
  'f_userinfo_code': '用户编号','f_user_name':'用户名称','f_address':'用户地址', 'f_balance': '期初余额',
@@ -31,4 +31,9 @@ export default function () {
31
31
  Vue.component('meter-query', (resolve) => { require(['./MeterQuery'], resolve) })
32
32
  // 汇总查询
33
33
  Vue.component('collect-manage', (resolve) => { require(['./CollectManage'], resolve) })
34
+ // 用户余额分析
35
+ Vue.component('user-sell-head-detail', (resolve) => {
36
+ require(['./UserSellHeadDetail'], resolve)
37
+ })
38
+ Vue.component('area-general-query', (resolve) => { require(['./AreaGeneralQuery'], resolve) })
34
39
  }