manage-client 3.2.187 → 3.2.189

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.
@@ -16,7 +16,7 @@ var qtx= 'http://36.103.222.144:6300/'
16
16
  // var bendi = 'http://220.194.141.253:8600/'
17
17
  // var bendi = 'http://203.57.101.233:9001'
18
18
  // var bendi = 'http://172.168.1.11:9001/'
19
- var bendi = 'http://192.168.50.4:8400/'
19
+ var bendi = 'http://219.138.226.181:8401'
20
20
  // var bendi = 'http://121.36.106.17:8400/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
22
  var system = 'http://192.168.50.4:8400'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.187",
3
+ "version": "3.2.189",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,542 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+ </div>
18
+ <div class="col-sm-2">
19
+ <label class="font_normal_body">客户编号</label>
20
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
21
+ condition="ss.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
22
+ >
23
+ </div>
24
+ <div class="col-sm-2">
25
+ <label class="font_normal_body">客户名称</label>
26
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
27
+ condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
28
+ </div>
29
+ <div class="col-sm-2">
30
+ <label class="font_normal_body">客户地址</label>
31
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
32
+ condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
33
+ </div>
34
+ <div class="span" style="float:right;margin-top:10px">
35
+ <button class="button_search button_spacing" @click="search()">查询</button>
36
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
37
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
38
+ :field="$parent.$parent.getfield"
39
+ sqlurl="rs/logic/exportfile" sql-name="gasStatisticsQuery" template-name='用气量统计表'
40
+ :choose-col="true"></export-excel>
41
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
42
+ :defaultfield="$parent.$parent.defaultfield"
43
+ titletable="缴费记录报表" :starthead="$parent.$parent.getstart"
44
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
45
+ <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>
46
+ </div>
47
+ </div>
48
+ <div class="row" v-show="$parent.$parent.criteriaShow">
49
+ <div class="col-sm-2">
50
+ <label class="font_normal_body">电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话</label>
51
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_user_phone" placeholder='电话'
52
+ condition="ss.f_user_phone like '%{}%'" v-next-el='f_user_phone' v-el:f_user_phone
53
+ >
54
+ </div>
55
+ <div class="col-sm-2">
56
+ <label class="font_normal_body">小&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区</label>
57
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
58
+ condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area' v-el:f_residential_area>
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">片区</label>
62
+ <v-select :value.sync="model.f_slice_area" v-model="model.f_slice_area"
63
+ :options='$parent.$parent.sliceArea' placeholder='片区'
64
+ style="width:60%"
65
+ close-on-select
66
+ condition="f_slice_area = '{}'"></v-select>
67
+ </div>
68
+ <div class="col-sm-2">
69
+ <label class="font_normal_body">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
70
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
71
+ condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
72
+ >
73
+ </div>
74
+ <div class="col-sm-2">
75
+ <label class="font_normal_body">燃气证号</label>
76
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_gascode" placeholder='燃气证号'
77
+ condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
78
+ >
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">气价类型</label>
82
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
83
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
84
+ close-on-select>
85
+ </v-select>
86
+ </div>
87
+ <div class="col-sm-2 form-group">
88
+ <label class="font_normal_body">气价名称</label>
89
+ <v-select :value.sync="model.f_price_name"
90
+ v-model="model.f_price_name"
91
+ :options="$parent.$parent.getPricenames"
92
+ condition="ss.f_price_name = '{}'"
93
+ close-on-select></v-select>
94
+ </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">气表品牌</label>
97
+ <v-select :value.sync="model.f_meter_brand"
98
+ v-model="model.f_meter_brand"
99
+ :options="$parent.$parent.meterbrands"
100
+ condition="ss.f_meter_brand = '{}'"
101
+ close-on-select></v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">是否换表</label>
105
+ <v-select :value.sync="model.f_changetable_state"
106
+ v-model="model.f_changetable_state"
107
+ :options="$parent.$parent.isChange"
108
+ condition="ss.f_changetable_state = '{}'"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">用气状态</label>
113
+ <v-select :value.sync="model.f_gas_state"
114
+ v-model="model.f_gas_state"
115
+ :options="$parent.$parent.gasState"
116
+ condition="ss.f_gas_state = '{}'"
117
+ close-on-select></v-select>
118
+ </div>
119
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
120
+ <label class="font_normal_body">用气量区间</label>
121
+ <div class="row">
122
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
123
+ condition="ss.f_oughtamount >= {} " placeholder="">
124
+ <label class="font_normal_body"> ≤ x ≤ </label>
125
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
126
+ condition="ss.f_oughtamount <= {} " placeholder="">
127
+ </div>
128
+ </div>
129
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
130
+ <label class="font_normal_body">&nbsp;充值区间&nbsp;&nbsp;</label>
131
+ <div class="row">
132
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
133
+ condition="ss.f_collection >= {} " placeholder="">
134
+ <label class="font_normal_body"> ≤ x ≤ </label>
135
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
136
+ condition="ss.f_collection <= {} " placeholder="">
137
+ </div>
138
+ </div>
139
+ <div class="col-sm-2 form-group" >
140
+ <label class="font_normal_body" for="startDate">开始时间</label>
141
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
142
+ v-model="model.startDate"
143
+ :value.sync="model.startDate"
144
+ :disabled-days-of-Week="[]"
145
+ :format="'yyyy-MM-dd 00:00:00'"
146
+ :show-reset-button="reset">
147
+ </datepicker>
148
+ </div>
149
+ <div class="col-sm-2 form-group" >
150
+ <label class="font_normal_body" for="endDate">结束时间</label>
151
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
152
+ v-model="model.endDate"
153
+ :value.sync="model.endDate"
154
+ :disabled-days-of-Week="[]"
155
+ :format="'yyyy-MM-dd 23:59:59'"
156
+ :show-reset-button="reset">
157
+ </datepicker>
158
+ </div>
159
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
160
+ <label class="font_normal_body">余额区间</label>
161
+ <div class="row">
162
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_sta"
163
+ condition="ss.f_balance_amount >= {} " placeholder="">
164
+ <label class="font_normal_body"> ≤ x ≤ </label>
165
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_balance_amount_end"
166
+ condition="ss.f_balance_amount <= {} " placeholder="">
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </criteria>
172
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
173
+ <template partial='head'>
174
+ <tr>
175
+ <th><nobr>客户编号</nobr></th>
176
+ <th><nobr>客户名称</nobr></th>
177
+ <th><nobr>小区</nobr></th>
178
+ <th><nobr>地址</nobr></th>
179
+ <th><nobr>电话</nobr></th>
180
+
181
+ <th><nobr>燃气证号</nobr></th>
182
+ <th><nobr>表号</nobr></th>
183
+ <th><nobr>表具类型</nobr></th>
184
+ <th><nobr>表描述</nobr></th>
185
+ <th><nobr>气价名称</nobr></th>
186
+ <th><nobr>一阶气量</nobr></th>
187
+ <th><nobr>一阶气价</nobr></th>
188
+ <th><nobr>二阶气量</nobr></th>
189
+ <th><nobr>二阶气价</nobr></th>
190
+ <th><nobr>三阶气量</nobr></th>
191
+ <th><nobr>三阶气价</nobr></th>
192
+
193
+ <th><nobr>用气性质</nobr></th>
194
+ <th><nobr>期初余额</nobr></th>
195
+ <th><nobr>起方</nobr></th>
196
+ <th><nobr>止方</nobr></th>
197
+ <th><nobr>期间用气量</nobr></th>
198
+
199
+ <th><nobr>期间用气金额</nobr></th>
200
+ <th><nobr>期间充值金额</nobr></th>
201
+ <th><nobr>期末余额</nobr></th>
202
+ <th><nobr>用气状态</nobr></th>
203
+ <th><nobr>是否换表</nobr></th>
204
+ <th><nobr>最后通讯日期</nobr></th>
205
+ </tr>
206
+ </template>
207
+ <template partial='body' partial='list'>
208
+ <tr >
209
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
210
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
211
+ <td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
212
+ <td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
213
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
214
+
215
+ <td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
216
+ <th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
217
+ <th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
218
+ <th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
219
+ <th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
220
+
221
+ <th style="text-align:center"><nobr>{{row.f_stairamount1}}</nobr></th>
222
+ <th style="text-align:center"><nobr>{{row.f_stair1price}}</nobr></th>
223
+ <th style="text-align:center"><nobr>{{row.f_stairamount2}}</nobr></th>
224
+ <th style="text-align:center"><nobr>{{row.f_stair2price}}</nobr></th>
225
+ <th style="text-align:center"><nobr>{{row.f_stairamount3}}</nobr></th>
226
+ <th style="text-align:center"><nobr>{{row.f_stair3price}}</nobr></th>
227
+
228
+ <th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
229
+
230
+
231
+ <th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
232
+ <th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
233
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
234
+ <th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
235
+ <th style="text-align:center"><nobr>{{row.f_oughtfee}}</nobr></th>
236
+
237
+ <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
238
+ <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
239
+ <th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
240
+ <th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
241
+ <th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
242
+ </tr>
243
+ </template>
244
+ <template partial='foot'></template>
245
+ </data-grid>
246
+ </criteria-paged>
247
+ <table class="table-hover">
248
+ <tr style="position: relative" class="table-bordered">
249
+ <td
250
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
251
+ 汇总信息
252
+ </td>
253
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
254
+ 期间用气量:&emsp;{{sumsmodel.f_oughtamount}}
255
+ </td>
256
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
257
+ 期间用气金额:&emsp;{{sumsmodel.f_oughtfee}}
258
+ </td>
259
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
260
+ 期间充值金额:&emsp;{{sumsmodel.f_collection}}
261
+ </td>
262
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
263
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
264
+ </td>
265
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
266
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
267
+ </td>
268
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
269
+ 二阶气量合计:&emsp;{{sumsmodel.f_stairamount2}}
270
+ </td>
271
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
272
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
273
+ </td>
274
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
275
+ 三阶气量合计:&emsp;{{sumsmodel.f_stairamount3}}
276
+ </td>
277
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
278
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
279
+ </td>
280
+ </tr>
281
+ </table>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ </template>
286
+
287
+ <script>
288
+ import {HttpResetClass, PagedList} from 'vue-client'
289
+ import exportConfig from '../../components/sale/config/exportConfig'
290
+ import * as Util from '../../Util'
291
+ import plugins from '../../plugins/GetLoginInfoService'
292
+
293
+ let readySomething = async function (self) {
294
+ await self.$MagLoadParams.loadParam()
295
+ self.initParams()
296
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
297
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
298
+ }
299
+ export default {
300
+ title: '用气量统计表',
301
+ data () {
302
+ return {
303
+ show:false,
304
+ org:[this.$login.f.orgid],
305
+ orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
306
+ //f_filialeid: this.$login.f.f_orgid,
307
+ detaillist: [],
308
+ meterbrands: [],
309
+ prices: [],
310
+ sliceArea:[{label: '全部', value: ''}],
311
+ gasproperties:[],
312
+ condition:'',
313
+ rowdata:{},
314
+ getstart:'',
315
+ config: {
316
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
317
+ 'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
318
+ },
319
+ sumsmodel: {},
320
+ orgid:[this.$login.f.orgid],
321
+ criteriaShow:false,
322
+ //默认打印列
323
+ defaultfield: [],
324
+ orgCondtionStr: '',
325
+ model: new PagedList('rs/sql/gasStatisticsQuery', 50,{
326
+ startDate: 'this.model.startDate',
327
+ endDate: 'this.model.endDate'
328
+ },{
329
+ f_oughtamount: 0,
330
+ f_oughtfee: 0,
331
+ f_collection:0,
332
+ f_stairamount1:0,
333
+ f_stair1fee:0,
334
+ f_stairamount2:0,
335
+ f_stair2fee:0,
336
+ f_stairamount3:0,
337
+ f_stair3fee:0
338
+ }),
339
+ showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
340
+ }
341
+ },
342
+ ready () {
343
+ // this.$refs.paged.$refs.criteria.search()
344
+ readySomething(this).then(() => {
345
+ this.$emit('ready')
346
+ }).catch((error) => {
347
+ this.$emit('error', error)
348
+ })
349
+ this.initAreas(this.$login.f.orgid)
350
+ this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
351
+ this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
352
+ this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
353
+ this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
354
+ this.$refs.paged.$refs.criteria.search()
355
+ },
356
+ methods: {
357
+ async initAreas (val) {
358
+ if (val) {
359
+ let getAllArea = await this.$resetpost('/rs/search', {
360
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
361
+ userid: this.$login.f.id
362
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
363
+
364
+ let arr = getAllArea.data.filter((res) => {
365
+ return res.parentid == val
366
+ })
367
+ console.log('过滤之后的片区', arr)
368
+ this.sliceArea = []
369
+ this.sliceArea.push({label: "全部", value: ""})
370
+ arr.forEach((res) => {
371
+ this.sliceArea.push({label: res.name, value: res.name})
372
+ })
373
+ console.log(this.sliceArea)
374
+ }
375
+ },
376
+ initParams() {
377
+ // 初始化气表品牌
378
+ let brandArr = []
379
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
380
+ let temp = {}
381
+ temp.label = item.label
382
+ temp.value = item.value.f_meter_brand
383
+ brandArr.push(temp)
384
+ })
385
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
386
+ //初始化气表价格
387
+ this.prices = this.$MagGetSaleParam.getPrices();
388
+ },
389
+ async updateParams() {
390
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
391
+ this.initParams()
392
+ },
393
+ getorg(obj) {
394
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
395
+ this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
396
+ }else{
397
+ this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
398
+ }
399
+ },
400
+ userTypeChange () {
401
+ this.gasproperties=[]
402
+ if(this.$refs.paged.$refs.criteria.model !==null) {
403
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
404
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
405
+ }
406
+ else{
407
+ this.gasproperties =[{label: '全部', value: ''}]
408
+ }
409
+ },
410
+ hidden(){
411
+ this.criteriaShow = !this.criteriaShow
412
+ },
413
+ cancel() {
414
+ this.show = false
415
+ },
416
+ clearmsg () {
417
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
418
+ this.$refs.paged.$refs.criteria.model[key] = []
419
+ })
420
+ },
421
+ getRes (obj) {
422
+ this.orgCondtionStr = condition
423
+ this.orgname = obj.orgnames[0]
424
+ this.depname = obj.depnames[0]
425
+ },
426
+ showmsg(obj){
427
+ this.rowdata=obj
428
+ this.show=true
429
+ },
430
+
431
+ search (args) {
432
+ args.condition = `${args.condition}`+this.orgcondition
433
+ this.condition = args.condition
434
+ this.model.search(args.condition, args.model)
435
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
436
+ // args.condition = `${args.condition}`
437
+ // if (this.orgcondition)
438
+ // args.condition = `${args.condition}` + this.orgcondition
439
+ // else
440
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
441
+ // this.model.search(args.condition, args.model)
442
+ }
443
+ },
444
+ watch: {
445
+ 'model.rows'(val) {
446
+ //如果有合计 这里为true, 其他为false ,反正相反
447
+ this.showbottomsum=true;
448
+ if(val.length === 0){
449
+ this.sumsmodel = {}
450
+ this.showbottomsum=false;
451
+ }
452
+ },
453
+ 'orgCondtionStr'(val) {
454
+ let res = val.match(/'(.*?)'/)
455
+ console.log('正则提取:',res && res[1])
456
+ if (res) {
457
+ this.f_filialeid = res[1]
458
+ // this.updateParams()
459
+ }
460
+ }
461
+ },
462
+ computed: {
463
+ getstart(){
464
+ return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
465
+ },
466
+ getPricenames() {
467
+ let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
468
+ let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
469
+ let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
470
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
471
+ console.log("查看f_orgid:",this.$login.f.f_orgid)
472
+ if(this.$refs.paged.$refs.criteria.model !==null) {
473
+ let rs = []
474
+ let priceArr = []
475
+ if ( pricetype.length >0) {
476
+ let params = {
477
+ f_price_type: pricetype[0],
478
+ filter: this.org[0],
479
+ prices: this.prices
480
+ }
481
+ console.log("打印一下params:",params)
482
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
483
+ console.log("====================================》")
484
+ let temp = {}
485
+ temp.label = item.label
486
+ temp.value = item.value.f_price_name
487
+ priceArr.push(temp)
488
+ console.log("打印一下temp:",temp)
489
+ })
490
+
491
+ rs = [{label: '全部', value: ''}, ...priceArr]
492
+ }
493
+ if (rs.length === 0) {
494
+ console.log('rs读出来是空')
495
+ this.$refs.paged.$refs.criteria.model.f_price_name = ''
496
+ }
497
+ return rs
498
+ }
499
+ },
500
+ getfield () {
501
+ return exportConfig.GasStatistics
502
+ },
503
+ usertypes() {
504
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
505
+ },
506
+ pricetypes() {
507
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
508
+ },
509
+ gasState() {
510
+ return [{label:'正常', value:'正常'},
511
+ {label:'异常', value:'异常'},
512
+ ]
513
+ },
514
+ isChange() {
515
+ return [{label:'是', value:'是'},
516
+ {label:'否', value:'否'},
517
+ ]
518
+ },
519
+ getCondition () {
520
+ // var con = ""
521
+ // if (this.orgCondtionStr) {
522
+ // con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
523
+ // }
524
+ // else {
525
+ // con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
526
+ // }
527
+ return {
528
+ startDate: this.$refs.paged.$refs.criteria.model.startDate,
529
+ endDate: this.$refs.paged.$refs.criteria.model.endDate,
530
+ condition: this.condition
531
+ }
532
+ }
533
+ }
534
+ }
535
+ </script>
536
+
537
+ <style>
538
+ .showbottom{
539
+ height:95%
540
+ }
541
+ </style>
542
+
@@ -0,0 +1,486 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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 :show-component="['company','department']" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
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
+ condition="f_operate_date >= '{}'">
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
+ condition="f_operate_date <= '{}'">
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_customer"
33
+ condition="f_customer = '{}'" 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" :footer="$parent.$parent.footer"
40
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
41
+ :defaultselect="$parent.$parent.defaultexport"
42
+ sqlurl="rs/logic/exportfile" sql-name="manage_singleTable" template-name='团缴查询导出'
43
+ :choose-col="true">
44
+ </export-excel>
45
+
46
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
47
+ :defaultfield="$parent.$parent.config.defaultPrint"
48
+ titletable="团体缴费记录报表" :starthead="$parent.$parent.getstart"
49
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
50
+ <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>
51
+
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="col-sm-2 form-group">
56
+ <label class="font_normal_body">客户名称</label>
57
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
58
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">客户类型</label>
62
+ <v-select :value.sync="model.f_user_type"
63
+ :search="false"
64
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
65
+ condition="f_user_type = '{}'"
66
+ close-on-select></v-select>
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">客户地址</label>
70
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
71
+ condition="f_address like '%{}%'" placeholder='客户地址'>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
75
+ <v-select :value.sync="model.f_payment" multiple
76
+ v-model="model.f_payment"
77
+ :options='$parent.$parent.payment' placeholder='请选择'
78
+ condition="f_payment in {}"
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 :value.sync="model.f_type" multiple
84
+ :search="false"
85
+ :options='$parent.$parent.chargetype' placeholder='请选择'
86
+ close-on-select clear-button
87
+ condition="f_type in {}"
88
+ v-model="model.f_type"></v-select>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">收费状态</label>
92
+ <v-select :value.sync="model.f_state" multiple
93
+ :search="false"
94
+ v-model="model.f_state"
95
+ :options='$parent.$parent.charge_state' placeholder='请选择'
96
+ condition="f_state in {}"
97
+ close-on-select></v-select>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </criteria>
102
+
103
+ <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
104
+ <template partial='head'>
105
+ <tr>
106
+ <th>
107
+ <nobr>收费编号</nobr>
108
+ </th>
109
+ <th>
110
+ <nobr>客户姓名</nobr>
111
+ </th>
112
+ <th>
113
+ <nobr>客户类型</nobr>
114
+ </th>
115
+ <th>
116
+ <!--<nobr>客户地址</nobr>-->
117
+ <data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
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
+ <th>
147
+ <nobr>收费状态</nobr>
148
+ </th>
149
+ <th>
150
+ <!--<nobr>收费日期</nobr>-->
151
+ <data-order field="f_operate_date" name="收费日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
152
+ </th>
153
+ <th>
154
+ <nobr>付款方式</nobr>
155
+ </th>
156
+ <th>
157
+ <nobr>收费类型</nobr>
158
+ </th>
159
+ <th>
160
+ <nobr>备注</nobr>
161
+ </th>
162
+ <th>
163
+ <nobr>收费人</nobr>
164
+ </th>
165
+ <th>
166
+ <nobr>部门</nobr>
167
+ </th>
168
+ <th>
169
+ <nobr>公司</nobr>
170
+ </th>
171
+ <th>
172
+ <nobr>操作</nobr>
173
+ </th>
174
+ </tr>
175
+ </template>
176
+ <template partial='body'>
177
+ <td style="text-align: center;">
178
+ <nobr>{{row.id}}</nobr>
179
+ </td>
180
+ <td style="text-align: center;">
181
+ <nobr>{{row.f_user_name}}</nobr>
182
+ </td>
183
+ <td style="text-align: center;">
184
+ <nobr>{{row.f_user_type}}</nobr>
185
+ </td>
186
+ <td style="text-align: center;">
187
+ <nobr>{{row.f_address}}</nobr>
188
+ </td>
189
+ <td style="text-align: center;">
190
+ <nobr>{{row.f_pregas}}</nobr>
191
+ </td>
192
+ <td style="text-align: center;">
193
+ <nobr>{{row.f_preamount}}</nobr>
194
+ </td>
195
+ <!-- <td style="text-align: center;">-->
196
+ <!-- <nobr>{{row.f_delay}}</nobr>-->
197
+ <!-- </td>-->
198
+ <!-- <td style="text-align: center;">-->
199
+ <!-- <nobr>{{row.f_delaypay}}</nobr>-->
200
+ <!-- </td>-->
201
+ <td style="text-align: center;">
202
+ <nobr>{{row.f_balance}}</nobr>
203
+ </td>
204
+ <td style="text-align: center;">
205
+ <nobr>{{row.f_curbalance}}</nobr>
206
+ </td>
207
+ <td style="text-align: center;">
208
+ <nobr>{{row.f_newbalance}}</nobr>
209
+ </td>
210
+ <td style="text-align: center;">
211
+ <nobr>{{row.f_newcurbalance}}</nobr>
212
+ </td>
213
+ <td style="text-align: center;">
214
+ <nobr>{{row.f_collection}}</nobr>
215
+ </td>
216
+ <td style="text-align: center;">
217
+ <nobr>{{row.f_state}}</nobr>
218
+ </td>
219
+ <td style="text-align: center;">
220
+ <nobr>{{row.f_operate_date}}</nobr>
221
+ </td>
222
+ <td style="text-align: center;">
223
+ <nobr>{{row.f_payment}}</nobr>
224
+ </td>
225
+ <td style="text-align: center;">
226
+ <nobr>{{row.f_type}}</nobr>
227
+ </td>
228
+ <td style="text-align: center;">
229
+ <nobr>{{row.f_comments}}</nobr>
230
+ </td>
231
+ <td style="text-align: center;">
232
+ <nobr>{{row.f_operator}}</nobr>
233
+ </td>
234
+ <td style="text-align: center;">
235
+ <nobr>{{row.f_orgname}}</nobr>
236
+ </td>
237
+ <td style="text-align: center;">
238
+ <nobr>{{row.f_depname}}</nobr>
239
+ </td>
240
+ <td style="text-align: center;">
241
+ <button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>
242
+ </td>
243
+ </template>
244
+ <template partial='foot'></template>
245
+ </data-grid>
246
+ </criteria-paged>
247
+ <table class="table-hover">
248
+ <tr style="position: relative" class="table-bordered">
249
+ <td
250
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
251
+ 汇总信息
252
+ </td>
253
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
254
+ 气量合计:&emsp;{{sumsmodel.f_pregas}}
255
+ </td>
256
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
257
+ 燃气费合计:&emsp;{{sumsmodel.f_preamount}}
258
+ </td>
259
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
260
+ 收款合计:&emsp;{{sumsmodel.f_collection}}
261
+ </td>
262
+ </tr>
263
+ </table>
264
+ </div>
265
+ </div>
266
+ </div>
267
+ <modal :show.sync="showdetail" width="80%" title="详细记录" v-ref:modal large backdrop="false">
268
+ <article slot="modal-body" class="modal-body" style="height: 700px">
269
+ <charge-query :batchid="f_batch_id" :data="data" v-if="showdetail"></charge-query>
270
+ </article>
271
+ <footer slot="modal-footer" class="modal-footer">
272
+ </footer>
273
+ </modal>
274
+ </template>
275
+
276
+ <script>
277
+ import {PagedList} from 'vue-client'
278
+ import exportConfig from './../../components/sale/config/exportConfig'
279
+ let readySomething = async function (self) {
280
+ //加载抄表册
281
+ self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
282
+ self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
283
+ self.$refs.paged.$refs.cri.search()
284
+ await self.$MagLoadParams.loadParam()
285
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
286
+ }
287
+ export default {
288
+ props:['data'],
289
+ title: '团缴查询',
290
+ data() {
291
+ return {
292
+ f_batch_id: null,
293
+ showdetail: false,
294
+ isSingleUser: null,
295
+ startDate1:'',
296
+ endDate1:'',
297
+ other:[],
298
+ footer:[],
299
+ config: {
300
+ defaultPrint: ['f_user_name', 'f_pregas', 'f_collection', 'f_operate_date']
301
+ },
302
+ //排序
303
+ orderitem:'f_operate_date desc',
304
+ orderFields: {
305
+ f_operate_date: 'no'
306
+ },
307
+ //f_price_name:[],
308
+ gasproperties:[],
309
+ showinfo: false,
310
+ data: {},
311
+ getstart:'',
312
+ show:false,
313
+ chargetype: [{label: '团体收费', value: '团体收费'}, {label: '团体退费', value: '团体退费'}],
314
+ rowdata:{},
315
+ initres: {
316
+ org:[this.$login.f.orgid],
317
+ dep:[],
318
+ user:[]
319
+ },
320
+ model: new PagedList('rs/sql/groupChargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
321
+ f_pregas: 0,
322
+ f_preamount: 0,
323
+ f_collection: 0,
324
+ }),
325
+ criteriaShow: false,
326
+ orgCondtionStr: '',
327
+ area: [],
328
+ sumsmodel: {},
329
+ f_filialeid: this.$login.f.orgid,
330
+ selected:{},
331
+ showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
332
+ }
333
+ },
334
+ ready() {
335
+ this.$refs.paged.$refs.cri.model.f_state=['有效']
336
+ readySomething(this).then(() => {
337
+ this.$emit('ready')
338
+ }).catch((error) => {
339
+ this.$emit('error', error)
340
+ })
341
+ },
342
+ methods: {
343
+ showchargedetail(row){
344
+ this.showdetail = true
345
+ this.f_batch_id = row.id
346
+ },
347
+ getotherfooter () {
348
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
349
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
350
+ this.other = [];
351
+ this.footer = [];
352
+ let exportdata = this.getCondition;
353
+ let otherInData = [];
354
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
355
+ let footerData = [], exportfield = this.getfield;
356
+ footerData.push("合计");
357
+ let self = this;
358
+ for (var field in self.sumsmodel) {
359
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
360
+ }
361
+ this.footer.push(footerData);
362
+ this.other.push(otherInData);
363
+ },
364
+ search(){
365
+ this.$refs.paged.$refs.cri.search()
366
+ },
367
+ selfSearch(args) {
368
+ if (this.data) {
369
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
370
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
371
+ }
372
+
373
+ let f_orgstr = this.orgCondtionStr
374
+ args.condition = `${args.condition} ` + f_orgstr
375
+ this.model.search(args.condition, args.model)
376
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
377
+ },
378
+ clear() {
379
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
380
+ this.$refs.paged.$refs.cri.model[key] = []
381
+ })
382
+ },
383
+ dealmsg(val,startDate,endDate) {
384
+ val.model = this.model.model
385
+ startDate=this.startDate1
386
+ endDate=this.endDate1
387
+ this.$dispatch('deal-msg', val,startDate,endDate)
388
+ },
389
+ show() {
390
+ this.criteriaShow = true
391
+ },
392
+ hidden() {
393
+ this.criteriaShow = !this.criteriaShow
394
+ },
395
+ async getRes(condition,obj) {
396
+ this.orgCondtionStr = condition
397
+ this.orgname = obj.orgnames[0]
398
+ this.depname = obj.depnames[0]
399
+ this.operatorname = this.userresid.filter(x => obj.operatornames.includes(x.value)).map(x=>x.label).toString()
400
+ },
401
+ sort (field, rule) {
402
+ // 将所有排序方式设为不排序,实现相互排斥
403
+ for (let key in this.orderFields) {
404
+ if (key === field) {
405
+ this.orderFields[key] = rule
406
+ } else {
407
+ this.orderFields[key] = 'no'
408
+ }
409
+ }
410
+ // 如果新规则不排序,还原为默认排序
411
+ if (rule === 'no') {
412
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
413
+ } else {
414
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
415
+ }
416
+
417
+ this.search()
418
+ }
419
+
420
+ },
421
+ watch: {
422
+ 'model.rows'(val) {
423
+ //如果有合计 这里为true, 其他为false ,反正相反
424
+ this.showbottomsum=true;
425
+ if(val.length === 0){
426
+ this.sumsmodel = {}
427
+ this.showbottomsum=false;
428
+ }
429
+ },
430
+ 'model.rows.length' () {
431
+ this.isSingleUser = this.model.rows
432
+ },
433
+ sumsmodel:{
434
+ handler: function(val) {
435
+ this.getotherfooter();
436
+ },
437
+ deep: true
438
+ }
439
+ },
440
+ computed: {
441
+ getstart(){
442
+ return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
443
+ },
444
+ chooserow(){
445
+ let aaa= true
446
+ if(this.$login.r && this.$login.r.includes('打印项选择')){
447
+ aaa = false
448
+ }
449
+ return aaa
450
+ },
451
+ getCondition() {
452
+ return {
453
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
454
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
455
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
456
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc",
457
+ items: "*",
458
+ tablename: "t_sellinggasbatch"
459
+ }
460
+ },
461
+ getfield() {
462
+ return exportConfig.GroupCharge
463
+ },
464
+ defaultexport() {
465
+ return exportConfig.GroupCharge
466
+ },
467
+ usertypes() {
468
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
469
+ },
470
+ payment() {
471
+ return [...this.$appdata.getParam('付款方式')]
472
+ },
473
+ banktype() {
474
+ return [...this.$appdata.getParam('支付渠道查询')]
475
+ },
476
+ charge_state() {
477
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
478
+ },
479
+ bank(){
480
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('银行名称')]
481
+ }
482
+ }
483
+ }
484
+ </script>
485
+ <style scoped>
486
+ </style>
@@ -2,6 +2,8 @@
2
2
  let specialComp = {
3
3
  // 收费查询
4
4
  'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
5
+ // 团缴查询
6
+ 'group-charge-query': (resolve) => { require(['./GroupChargeQuery'], resolve) }
5
7
  }
6
8
  exports.specialComp = specialComp
7
9
 
@@ -0,0 +1,9 @@
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ 'use-gas-statistics': (resolve) => { require(['./GasStatistics'], resolve) },
4
+ }
5
+ exports.specialComp = specialComp
6
+
7
+
8
+
9
+
@@ -245,7 +245,7 @@ export default{
245
245
  cardhandplanConfig: {
246
246
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '地址', 'f_meternumber': '表号',
247
247
  'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_real_amount': '用气量', 'f_result_state': '抄表结果状态', 'f_card_total_gas': '总购气量',
248
- 'f_yuliang': '余量', 'f_inputtor': '抄表员', 'f_input_date': '录入日期',
248
+ 'f_yuliang': '余量', 'f_inputtor': '抄表员', 'f_hand_date': '录入日期',
249
249
  'f_meter_state': '抄表状态', 'f_operator': '操作员', 'f_depname': '部门'
250
250
  },
251
251
  handplanConfig: {