manage-client 3.2.114 → 3.2.117

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.
@@ -0,0 +1,499 @@
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">
61
+ <label class="font_normal_body">表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
62
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
63
+ condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
64
+ >
65
+ </div>
66
+ <div class="col-sm-2">
67
+ <label class="font_normal_body">燃气证号</label>
68
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_gascode" placeholder='燃气证号'
69
+ condition="ss.f_gascode like '%{}%'" v-next-el='f_gascode' v-el:f_gascode
70
+ >
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">气价类型</label>
74
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
75
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
76
+ close-on-select>
77
+ </v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">气价名称</label>
81
+ <v-select :value.sync="model.f_price_name"
82
+ v-model="model.f_price_name"
83
+ :options="$parent.$parent.getPricenames"
84
+ condition="ss.f_price_name = '{}'"
85
+ close-on-select></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_meter_brand"
90
+ v-model="model.f_meter_brand"
91
+ :options="$parent.$parent.meterbrands"
92
+ condition="ss.f_meter_brand = '{}'"
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_changetable_state"
98
+ v-model="model.f_changetable_state"
99
+ :options="$parent.$parent.isChange"
100
+ condition="ss.f_changetable_state = '{}'"
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_gas_state"
106
+ v-model="model.f_gas_state"
107
+ :options="$parent.$parent.gasState"
108
+ condition="ss.f_gas_state = '{}'"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
112
+ <label class="font_normal_body">用气量区间</label>
113
+ <div class="row">
114
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount1"
115
+ condition="ss.f_oughtamount >= {} " placeholder="">
116
+ <label class="font_normal_body"> ≤ x ≤ </label>
117
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_oughtamount2"
118
+ condition="ss.f_oughtamount <= {} " placeholder="">
119
+ </div>
120
+ </div>
121
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
122
+ <label class="font_normal_body">&nbsp;充值区间&nbsp;&nbsp;</label>
123
+ <div class="row">
124
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_collection1"
125
+ condition="ss.f_collection >= {} " placeholder="">
126
+ <label class="font_normal_body"> ≤ x ≤ </label>
127
+ <input type="text" style="width:27%" class="input_search" v-model="model.f_collection2"
128
+ condition="ss.f_collection <= {} " placeholder="">
129
+ </div>
130
+ </div>
131
+ <div class="col-sm-2 form-group" >
132
+ <label class="font_normal_body" for="startDate">开始时间</label>
133
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
134
+ v-model="model.startDate"
135
+ :value.sync="model.startDate"
136
+ :disabled-days-of-Week="[]"
137
+ :format="'yyyy-MM-dd 00:00:00'"
138
+ :show-reset-button="reset">
139
+ </datepicker>
140
+ </div>
141
+ <div class="col-sm-2 form-group" >
142
+ <label class="font_normal_body" for="endDate">结束时间</label>
143
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
144
+ v-model="model.endDate"
145
+ :value.sync="model.endDate"
146
+ :disabled-days-of-Week="[]"
147
+ :format="'yyyy-MM-dd 23:59:59'"
148
+ :show-reset-button="reset">
149
+ </datepicker>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </criteria>
154
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
155
+ <template partial='head'>
156
+ <tr>
157
+ <th><nobr>客户编号</nobr></th>
158
+ <th><nobr>客户名称</nobr></th>
159
+ <th><nobr>小区</nobr></th>
160
+ <th><nobr>地址</nobr></th>
161
+ <th><nobr>电话</nobr></th>
162
+
163
+ <th><nobr>燃气证号</nobr></th>
164
+ <th><nobr>表号</nobr></th>
165
+ <th><nobr>表具类型</nobr></th>
166
+ <th><nobr>表描述</nobr></th>
167
+ <th><nobr>气价名称</nobr></th>
168
+
169
+ <th><nobr>一阶气价</nobr></th>
170
+ <th><nobr>二阶气价</nobr></th>
171
+ <th><nobr>三阶气价</nobr></th>
172
+
173
+ <th><nobr>用气类型</nobr></th>
174
+ <th><nobr>用气性质</nobr></th>
175
+ <th><nobr>期初余额</nobr></th>
176
+ <th><nobr>起方</nobr></th>
177
+ <th><nobr>止方</nobr></th>
178
+ <th><nobr>期间用气量</nobr></th>
179
+
180
+ <th><nobr>期间用气金额</nobr></th>
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
+ </tr>
187
+ </template>
188
+ <template partial='body' partial='list'>
189
+ <tr >
190
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
191
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
192
+ <td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
193
+ <td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
194
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
195
+
196
+ <td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
197
+ <th style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></th>
198
+ <th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
199
+ <th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
200
+ <th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
201
+
202
+ <th style="text-align:center"><nobr>{{row.f_stair1price}}</nobr></th>
203
+ <th style="text-align:center"><nobr>{{row.f_stair2price}}</nobr></th>
204
+ <th style="text-align:center"><nobr>{{row.f_stair3price}}</nobr></th>
205
+
206
+ <th style="text-align:center"><nobr>{{row.f_user_nature}}</nobr></th>
207
+ <th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
208
+
209
+ <th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
210
+ <th style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></th>
211
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
212
+ <th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
213
+ <th style="text-align:center"><nobr>{{row.f_oughtfee}}</nobr></th>
214
+
215
+ <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
216
+ <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
217
+ <th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
218
+ <th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
219
+ <th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
220
+ </tr>
221
+ </template>
222
+ <template partial='foot'></template>
223
+ </data-grid>
224
+ </criteria-paged>
225
+ <table class="table-hover">
226
+ <tr style="position: relative" class="table-bordered">
227
+ <td
228
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
229
+ 汇总信息
230
+ </td>
231
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
232
+ 期间用气量:&emsp;{{sumsmodel.f_oughtamount}}
233
+ </td>
234
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
235
+ 期间用气金额:&emsp;{{sumsmodel.f_oughtfee}}
236
+ </td>
237
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
238
+ 期间充值金额:&emsp;{{sumsmodel.f_collection}}
239
+ </td>
240
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
241
+ 一阶气量合计:&emsp;{{sumsmodel.f_stairamount1}}
242
+ </td>
243
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
244
+ 一阶气费合计:&emsp;{{sumsmodel.f_stair1fee}}
245
+ </td>
246
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
247
+ 二阶气量合计:&emsp;{{sumsmodel.f_stairamount2}}
248
+ </td>
249
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
250
+ 二阶气费合计:&emsp;{{sumsmodel.f_stair2fee}}
251
+ </td>
252
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
253
+ 三阶气量合计:&emsp;{{sumsmodel.f_stairamount3}}
254
+ </td>
255
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
256
+ 三阶气费合计:&emsp;{{sumsmodel.f_stair3fee}}
257
+ </td>
258
+ </tr>
259
+ </table>
260
+ </div>
261
+ </div>
262
+ </div>
263
+ </template>
264
+
265
+ <script>
266
+ import {HttpResetClass, PagedList} from 'vue-client'
267
+ import exportConfig from '../../components/sale/config/exportConfig'
268
+ import * as Util from '../../Util'
269
+ import plugins from '../../plugins/GetLoginInfoService'
270
+
271
+ let readySomething = async function (self) {
272
+ await self.$MagLoadParams.loadParam()
273
+ self.initParams()
274
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
275
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
276
+ }
277
+ export default {
278
+ title: '用气量统计表',
279
+ data () {
280
+ return {
281
+ show:false,
282
+ org:[this.$login.f.orgid],
283
+ orgcondition: ' and ss.f_orgid = ' + this.$login.f.orgid,
284
+ //f_filialeid: this.$login.f.f_orgid,
285
+ detaillist: [],
286
+ meterbrands: [],
287
+ prices: [],
288
+ gasproperties:[],
289
+ condition:'',
290
+ rowdata:{},
291
+ getstart:'',
292
+ config: {
293
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber', 'f_gasproperties', 'f_balance', 'f_last_tablebase','f_tablebase',
294
+ 'f_oughtamount', 'f_oughtfee', 'f_collection', 'f_curbalance', 'f_gas_state', 'f_changetable_state', 'f_input_date']
295
+ },
296
+ sumsmodel: {},
297
+ orgid:[this.$login.f.orgid],
298
+ criteriaShow:false,
299
+ //默认打印列
300
+ defaultfield: [],
301
+ orgCondtionStr: '',
302
+ model: new PagedList('rs/sql/gasStatisticsQuery', 50,{
303
+ startDate: 'this.model.startDate',
304
+ endDate: 'this.model.endDate'
305
+ },{
306
+ f_oughtamount: 0,
307
+ f_oughtfee: 0,
308
+ f_collection:0,
309
+ f_stairamount1:0,
310
+ f_stair1fee:0,
311
+ f_stairamount2:0,
312
+ f_stair2fee:0,
313
+ f_stairamount3:0,
314
+ f_stair3fee:0
315
+ }),
316
+ showbottomsum:false //页面下方是否有合计: 默认为false, 在watch修改
317
+ }
318
+ },
319
+ ready () {
320
+ // this.$refs.paged.$refs.criteria.search()
321
+ readySomething(this).then(() => {
322
+ this.$emit('ready')
323
+ }).catch((error) => {
324
+ this.$emit('error', error)
325
+ })
326
+ this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
327
+ this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
328
+ this.$refs.paged.$refs.criteria.model.inputStartDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
329
+ this.$refs.paged.$refs.criteria.model.inputEndDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
330
+ this.$refs.paged.$refs.criteria.search()
331
+ },
332
+ methods: {
333
+ initParams() {
334
+ // 初始化气表品牌
335
+ let brandArr = []
336
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
337
+ let temp = {}
338
+ temp.label = item.label
339
+ temp.value = item.value.f_meter_brand
340
+ brandArr.push(temp)
341
+ })
342
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
343
+ //初始化气表价格
344
+ this.prices = this.$MagGetSaleParam.getPrices();
345
+ },
346
+ async updateParams() {
347
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
348
+ this.initParams()
349
+ },
350
+ getorg(obj) {
351
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
352
+ this.orgcondition = " and ss.f_orgid in " + plugins.convertToIn(obj)
353
+ }else{
354
+ this.orgcondition = " and ss.f_orgid = " + this.$login.f.orgid
355
+ }
356
+ },
357
+ userTypeChange () {
358
+ this.gasproperties=[]
359
+ if(this.$refs.paged.$refs.criteria.model !==null) {
360
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
361
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
362
+ }
363
+ else{
364
+ this.gasproperties =[{label: '全部', value: ''}]
365
+ }
366
+ },
367
+ hidden(){
368
+ this.criteriaShow = !this.criteriaShow
369
+ },
370
+ cancel() {
371
+ this.show = false
372
+ },
373
+ clearmsg () {
374
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
375
+ this.$refs.paged.$refs.criteria.model[key] = []
376
+ })
377
+ },
378
+ getRes (obj) {
379
+ this.orgCondtionStr = condition
380
+ this.orgname = obj.orgnames[0]
381
+ this.depname = obj.depnames[0]
382
+ },
383
+ showmsg(obj){
384
+ this.rowdata=obj
385
+ this.show=true
386
+ },
387
+
388
+ search (args) {
389
+ args.condition = `${args.condition}`+this.orgcondition
390
+ this.condition = args.condition
391
+ this.model.search(args.condition, args.model)
392
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
393
+ // args.condition = `${args.condition}`
394
+ // if (this.orgcondition)
395
+ // args.condition = `${args.condition}` + this.orgcondition
396
+ // else
397
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
398
+ // this.model.search(args.condition, args.model)
399
+ }
400
+ },
401
+ watch: {
402
+ 'model.rows'(val) {
403
+ //如果有合计 这里为true, 其他为false ,反正相反
404
+ this.showbottomsum=true;
405
+ if(val.length === 0){
406
+ this.sumsmodel = {}
407
+ this.showbottomsum=false;
408
+ }
409
+ },
410
+ 'orgCondtionStr'(val) {
411
+ let res = val.match(/'(.*?)'/)
412
+ console.log('正则提取:',res && res[1])
413
+ if (res) {
414
+ this.f_filialeid = res[1]
415
+ // this.updateParams()
416
+ }
417
+ }
418
+ },
419
+ computed: {
420
+ getstart(){
421
+ return `开始时间:${this.$refs.paged.$refs.criteria.model.startDate} 结束时间:${this.$refs.paged.$refs.criteria.model.endDate}`
422
+ },
423
+ getPricenames() {
424
+ let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
425
+ let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
426
+ let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
427
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
428
+ console.log("查看f_orgid:",this.$login.f.f_orgid)
429
+ if(this.$refs.paged.$refs.criteria.model !==null) {
430
+ let rs = []
431
+ let priceArr = []
432
+ if ( pricetype.length >0) {
433
+ let params = {
434
+ f_price_type: pricetype[0],
435
+ filter: this.org[0],
436
+ prices: this.prices
437
+ }
438
+ console.log("打印一下params:",params)
439
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
440
+ console.log("====================================》")
441
+ let temp = {}
442
+ temp.label = item.label
443
+ temp.value = item.value.f_price_name
444
+ priceArr.push(temp)
445
+ console.log("打印一下temp:",temp)
446
+ })
447
+
448
+ rs = [{label: '全部', value: ''}, ...priceArr]
449
+ }
450
+ if (rs.length === 0) {
451
+ console.log('rs读出来是空')
452
+ this.$refs.paged.$refs.criteria.model.f_price_name = ''
453
+ }
454
+ return rs
455
+ }
456
+ },
457
+ getfield () {
458
+ return exportConfig.GasStatistics
459
+ },
460
+ usertypes() {
461
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
462
+ },
463
+ pricetypes() {
464
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
465
+ },
466
+ gasState() {
467
+ return [{label:'正常', value:'正常'},
468
+ {label:'异常', value:'异常'},
469
+ ]
470
+ },
471
+ isChange() {
472
+ return [{label:'是', value:'是'},
473
+ {label:'否', value:'否'},
474
+ ]
475
+ },
476
+ getCondition () {
477
+ // var con = ""
478
+ // if (this.orgCondtionStr) {
479
+ // con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
480
+ // }
481
+ // else {
482
+ // con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
483
+ // }
484
+ return {
485
+ startDate: this.$refs.paged.$refs.criteria.model.startDate,
486
+ endDate: this.$refs.paged.$refs.criteria.model.endDate,
487
+ condition: this.condition
488
+ }
489
+ }
490
+ }
491
+ }
492
+ </script>
493
+
494
+ <style>
495
+ .showbottom{
496
+ height:95%
497
+ }
498
+ </style>
499
+
@@ -0,0 +1,10 @@
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 物联网表用气量统计表
4
+ 'use-gas-statistics': (resolve) => { require(['./GasStatistics'], resolve) }
5
+ }
6
+ exports.specialComp = specialComp
7
+
8
+
9
+
10
+
@@ -545,7 +545,14 @@ export default function (filiale) {
545
545
  // 报表展示组件(日结账报表)
546
546
  Vue.component('bus-summaryes', (resolve) => {
547
547
  require(['./components/SellReport/BusSummaryes'], resolve)
548
-
548
+ })
549
+ // 乌海公服报表
550
+ Vue.component('gf-report-wh', (resolve) => {
551
+ require(['./components/SellReport/GFReportWH'], resolve)
552
+ })
553
+ // 乌海居民用气物联网气价报表
554
+ Vue.component('price-report-whwu', (resolve) => {
555
+ require(['./components/SellReport/PriceReportWHwu'], resolve)
549
556
  })
550
557
  if (filiale) {
551
558
  let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
package/src/saleManage.js CHANGED
@@ -156,6 +156,10 @@ export default function (filiale) {
156
156
  Vue.component('other-charge-query', (resolve) => {
157
157
  require(['./components/sale/businessquery/OtherChargeQuery'], resolve)
158
158
  })
159
+ // 其他收费欠费查询
160
+ Vue.component('other-charge-nopay-query', (resolve) => {
161
+ require(['./components/sale/businessquery/OtherChargeNopayQuery'], resolve)
162
+ })
159
163
  // 冲正查询
160
164
  Vue.component('reverse-query', (resolve) => {
161
165
  require(['./components/sale/businessquery/ReverseQuery'], resolve)