manage-client 3.3.120 → 3.3.121
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.
- package/package.json +1 -1
- package/src/components/sale/businessquery/ChargeQuery.vue +7 -3
- package/src/components/sale/businessquery/FMYGasQuery.vue +32 -25
- package/src/components/sale/filesquery/RecordInfoQuery.vue +4 -4
- package/src/filiale/lixianV3/GasAnalysisQuery.vue +11 -5
- package/src/filiale/lixianV3/config/exportConfig.js +3 -3
- package/src/filiale/lixianV3/useGasYearRatioQuery.vue +39 -6
- package/src/filiale/ningjin/GasStatistics.vue +1 -1
package/package.json
CHANGED
|
@@ -1001,9 +1001,12 @@
|
|
|
1001
1001
|
})
|
|
1002
1002
|
},
|
|
1003
1003
|
methods: {
|
|
1004
|
-
async batchPrintBill(row, type){
|
|
1004
|
+
async batchPrintBill(row, type) {
|
|
1005
1005
|
this.operate_type = type
|
|
1006
|
-
|
|
1006
|
+
console.log('this.$refs.paged.$refs.cri.model.f_state', this.$refs.paged.$refs.cri.model.f_state)
|
|
1007
|
+
console.log(this.$refs.paged.$refs.cri.model.f_state.length === 1)
|
|
1008
|
+
console.log(this.$refs.paged.$refs.cri.model.f_state[0] == '有效')
|
|
1009
|
+
if (this.$refs.paged.$refs.cri.model.f_state.length === 1 && this.$refs.paged.$refs.cri.model.f_state[0] == '有效') {
|
|
1007
1010
|
if (type === '票据补打') {
|
|
1008
1011
|
this.batchPrintData.push(row)
|
|
1009
1012
|
this.$showMessage(`您确定补打本张票据吗???`, ['confirm', 'cancel']).then(async (res) => {
|
|
@@ -1022,7 +1025,8 @@
|
|
|
1022
1025
|
} else {
|
|
1023
1026
|
this.$showMessage(`请先查询数据!!!`, ['confirm'])
|
|
1024
1027
|
}
|
|
1025
|
-
|
|
1028
|
+
}
|
|
1029
|
+
} else {
|
|
1026
1030
|
this.$showMessage(`请选择有效的收费记录进行票据补打!!!`, ['confirm'])
|
|
1027
1031
|
}
|
|
1028
1032
|
},
|
|
@@ -137,10 +137,12 @@
|
|
|
137
137
|
</div>
|
|
138
138
|
<div class="col-sm-2 form-group">
|
|
139
139
|
<label class="font_normal_body">用气性质</label>
|
|
140
|
-
<v-select :value.sync="model.f_gasproperties"
|
|
140
|
+
<v-select :value.sync="model.f_gasproperties"
|
|
141
|
+
v-model="model.f_gasproperties"
|
|
141
142
|
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
142
|
-
|
|
143
|
-
|
|
143
|
+
:multiple="true"
|
|
144
|
+
condition="f_gasproperties in {}">
|
|
145
|
+
</v-select>
|
|
144
146
|
</div>
|
|
145
147
|
<!--表册片区-->
|
|
146
148
|
<div class="col-sm-2 form-group">
|
|
@@ -175,12 +177,12 @@
|
|
|
175
177
|
condition="f_oughtamount <= '{}' " placeholder="小于等于">
|
|
176
178
|
</div>
|
|
177
179
|
<div class="col-sm-2 form-group">
|
|
178
|
-
<label for="startHandDate" class="font_normal_body"
|
|
180
|
+
<label for="startHandDate" class="font_normal_body">通气时间</label>
|
|
179
181
|
<datepicker id="startHandDate" placeholder="开始日期" style="width:60%"
|
|
180
|
-
v-model="model.
|
|
181
|
-
:value.sync="model.
|
|
182
|
+
v-model="model.startGasDate"
|
|
183
|
+
:value.sync="model.startGasDate"
|
|
182
184
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
183
|
-
condition="
|
|
185
|
+
condition="f_gas_date >= '{}'"
|
|
184
186
|
:show-reset-button="true"
|
|
185
187
|
>
|
|
186
188
|
</datepicker>
|
|
@@ -188,10 +190,10 @@
|
|
|
188
190
|
<div class="col-sm-2 form-group">
|
|
189
191
|
<label for="endHandDate" class="font_normal_body">   至</label>
|
|
190
192
|
<datepicker id="endHandDate" placeholder="结束日期" style="width:60%"
|
|
191
|
-
v-model="model.
|
|
192
|
-
:value.sync="model.
|
|
193
|
+
v-model="model.endGasDate"
|
|
194
|
+
:value.sync="model.endGasDate"
|
|
193
195
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
194
|
-
condition="
|
|
196
|
+
condition="f_gas_date <= '{}'"
|
|
195
197
|
:show-reset-button="true"
|
|
196
198
|
>
|
|
197
199
|
</datepicker>
|
|
@@ -200,9 +202,10 @@
|
|
|
200
202
|
<label class="font_normal_body"> 抄 表 员</label>
|
|
201
203
|
<v-select :value.sync="model.f_inputtor"
|
|
202
204
|
v-model="model.f_inputtor"
|
|
205
|
+
:multiple="true"
|
|
203
206
|
:options='$parent.$parent.inputtores' placeholder='请选择'
|
|
204
|
-
condition="f_inputtor
|
|
205
|
-
|
|
207
|
+
condition="f_inputtor in {}"
|
|
208
|
+
:search="false">
|
|
206
209
|
</v-select>
|
|
207
210
|
</div>
|
|
208
211
|
</div>
|
|
@@ -293,7 +296,7 @@
|
|
|
293
296
|
<nobr>期末底数</nobr>
|
|
294
297
|
</th>
|
|
295
298
|
<th>
|
|
296
|
-
<nobr
|
|
299
|
+
<nobr>通气时间</nobr>
|
|
297
300
|
</th>
|
|
298
301
|
</tr>
|
|
299
302
|
</template>
|
|
@@ -386,7 +389,7 @@
|
|
|
386
389
|
<nobr>{{row.f_tablebase}}</nobr>
|
|
387
390
|
</td>
|
|
388
391
|
<td style="text-align: center;">
|
|
389
|
-
<nobr>{{row.
|
|
392
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
390
393
|
</td>
|
|
391
394
|
</template>
|
|
392
395
|
<template partial='foot'></template>
|
|
@@ -480,7 +483,7 @@ import exportConfig from '../config/exportConfig'
|
|
|
480
483
|
printshow: false,
|
|
481
484
|
all: false,
|
|
482
485
|
fields: {},
|
|
483
|
-
inputtores:
|
|
486
|
+
inputtores:[{label: '全部',value: ''}],
|
|
484
487
|
thead: '',
|
|
485
488
|
tfoot: '',
|
|
486
489
|
//表册片区
|
|
@@ -502,6 +505,7 @@ import exportConfig from '../config/exportConfig'
|
|
|
502
505
|
},
|
|
503
506
|
ready () {
|
|
504
507
|
readySomething(this)
|
|
508
|
+
this.getinputtores()
|
|
505
509
|
},
|
|
506
510
|
methods: {
|
|
507
511
|
initParams(){
|
|
@@ -531,16 +535,19 @@ import exportConfig from '../config/exportConfig'
|
|
|
531
535
|
})
|
|
532
536
|
}
|
|
533
537
|
},
|
|
534
|
-
async
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
this.
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
538
|
+
async getinputtores () {
|
|
539
|
+
// 获取抄表员
|
|
540
|
+
let rs = []
|
|
541
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
542
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
543
|
+
let temp = {
|
|
544
|
+
label: this.$login.f.f_gasman[i].name,
|
|
545
|
+
value: this.$login.f.f_gasman[i].name
|
|
546
|
+
}
|
|
547
|
+
rs.push(temp)
|
|
548
|
+
}
|
|
543
549
|
}
|
|
550
|
+
this.inputtores = [{label: '全部', value: ''}, ...rs]
|
|
544
551
|
},
|
|
545
552
|
//表册片区和抄表册关联
|
|
546
553
|
async inputtorchange(){
|
|
@@ -623,7 +630,7 @@ import exportConfig from '../config/exportConfig'
|
|
|
623
630
|
userTypeChange () {
|
|
624
631
|
this.gasproperties = []
|
|
625
632
|
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
626
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties =
|
|
633
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = []
|
|
627
634
|
|
|
628
635
|
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
629
636
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
@@ -451,19 +451,19 @@
|
|
|
451
451
|
condition="f_table_state in {}"></v-select>
|
|
452
452
|
</div>
|
|
453
453
|
<div class="col-sm-2 form-group">
|
|
454
|
-
<label class="font_normal_body"
|
|
454
|
+
<label class="font_normal_body">表册抄表员</label>
|
|
455
455
|
<v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
|
|
456
456
|
style="width:60%"
|
|
457
457
|
multiple
|
|
458
|
-
:options='$parent.$parent.inputtores' placeholder='
|
|
458
|
+
:options='$parent.$parent.inputtores' placeholder='表册抄表员'
|
|
459
459
|
v-el:cc></v-select>
|
|
460
460
|
</div>
|
|
461
461
|
<div class="col-sm-2 form-group">
|
|
462
|
-
<label class="font_normal_body"
|
|
462
|
+
<label class="font_normal_body">档案抄表员</label>
|
|
463
463
|
<v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
|
|
464
464
|
style="width:60%"
|
|
465
465
|
multiple
|
|
466
|
-
:options='$parent.$parent.inputtores' placeholder='
|
|
466
|
+
:options='$parent.$parent.inputtores' placeholder='档案抄表员'
|
|
467
467
|
v-el:cc></v-select>
|
|
468
468
|
</div>
|
|
469
469
|
<div class="col-sm-2 form-group">
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
:value.sync="model.startDate"
|
|
174
174
|
:format="'yyyy-MM-dd'"
|
|
175
175
|
:show-reset-button="true"
|
|
176
|
-
condition="
|
|
176
|
+
condition="f_gas_date >= '{} 00:00:00'">
|
|
177
177
|
</datepicker>
|
|
178
178
|
</div>
|
|
179
179
|
<div class="col-sm-2 form-group" >
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
:value.sync="model.endDate"
|
|
184
184
|
:format="'yyyy-MM-dd'"
|
|
185
185
|
:show-reset-button="true"
|
|
186
|
-
condition="
|
|
186
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
|
187
187
|
</datepicker>
|
|
188
188
|
</div>
|
|
189
189
|
</div>
|
|
@@ -274,6 +274,11 @@ import exportConfig from './config/exportConfig'
|
|
|
274
274
|
let readySomething = async function (self) {
|
|
275
275
|
await self.$MagLoadParams.loadParam()
|
|
276
276
|
self.initParams()
|
|
277
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
278
|
+
self.$GetSaleParam.meterbooks = [];
|
|
279
|
+
//开始加载新的抄表册
|
|
280
|
+
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
281
|
+
self.initmeterbook()
|
|
277
282
|
}
|
|
278
283
|
export default {
|
|
279
284
|
props: ['data'],
|
|
@@ -293,6 +298,7 @@ export default {
|
|
|
293
298
|
org: [this.$login.f.orgid]
|
|
294
299
|
},
|
|
295
300
|
meterbrands: [],
|
|
301
|
+
meterbooks:[],
|
|
296
302
|
gasproperties : [],
|
|
297
303
|
inputtores: [{label: '全部',value: ''}],
|
|
298
304
|
criteriaShow: false,
|
|
@@ -317,6 +323,9 @@ export default {
|
|
|
317
323
|
})
|
|
318
324
|
},
|
|
319
325
|
methods: {
|
|
326
|
+
async initmeterbook(){
|
|
327
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
328
|
+
},
|
|
320
329
|
getotherfooter () {
|
|
321
330
|
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
322
331
|
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
@@ -433,9 +442,6 @@ export default {
|
|
|
433
442
|
meterStyle () {
|
|
434
443
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('燃气表型号')]
|
|
435
444
|
},
|
|
436
|
-
meterbooks(){
|
|
437
|
-
return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
438
|
-
},
|
|
439
445
|
|
|
440
446
|
|
|
441
447
|
}
|
|
@@ -2256,11 +2256,11 @@ export default {
|
|
|
2256
2256
|
'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
|
|
2257
2257
|
},
|
|
2258
2258
|
useGasyearRatioConfig: {
|
|
2259
|
-
'
|
|
2259
|
+
'f_userinfo_code': '用户编号', 'f_user_name': '姓名',
|
|
2260
2260
|
'f_user_type': '用户类型', 'f_user_phone': '电话',
|
|
2261
2261
|
'f_address': '地址', 'f_inputtor': '抄表员',
|
|
2262
|
-
'f_gasproperties': '用户性质', '
|
|
2263
|
-
'
|
|
2262
|
+
'f_gasproperties': '用户性质', 'f_meter_brand': '气表品牌',
|
|
2263
|
+
'f_manufacturers': '气表厂家', 'f_book_name': '抄表册',
|
|
2264
2264
|
'f_meternumber': '表号', 'f_oldgas': '往月用气',
|
|
2265
2265
|
'f_newgas': '本月用气',
|
|
2266
2266
|
'f_gasdiff': '增量', 'f_gasprec': '百分比'
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
:value.sync="model.startDate"
|
|
138
138
|
:format="'yyyy-MM-dd'"
|
|
139
139
|
:show-reset-button="true"
|
|
140
|
-
condition="
|
|
140
|
+
condition="f_gas_date >= '{} 00:00:00'">
|
|
141
141
|
</datepicker>
|
|
142
142
|
</div>
|
|
143
143
|
<div class="col-sm-2 form-group" >
|
|
@@ -147,9 +147,27 @@
|
|
|
147
147
|
:value.sync="model.endDate"
|
|
148
148
|
:format="'yyyy-MM-dd'"
|
|
149
149
|
:show-reset-button="true"
|
|
150
|
-
condition="
|
|
150
|
+
condition="f_gas_date <= '{} 23:59:59'">
|
|
151
151
|
</datepicker>
|
|
152
152
|
</div>
|
|
153
|
+
<div class="col-sm-2 form-group">
|
|
154
|
+
<label class="font_normal_body">气量百分比</label>
|
|
155
|
+
<input type="text" style="width:30%" class="input_search" title="大于等于"
|
|
156
|
+
v-model="model.f_gasprec_small"
|
|
157
|
+
condition="f_gasprec >= '{}' " placeholder="大于等于">
|
|
158
|
+
<input type="text" style="width:30%" class="input_search" title="小于等于"
|
|
159
|
+
v-model="model.f_gasprec_big"
|
|
160
|
+
condition="f_gasprec <= '{}' " placeholder="小于等于">
|
|
161
|
+
</div>
|
|
162
|
+
<div class="col-sm-2 form-group">
|
|
163
|
+
<label class="font_normal_body"> 增量 </label>
|
|
164
|
+
<input type="text" style="width:30%" class="input_search" title="大于等于"
|
|
165
|
+
v-model="model.f_gasdiff_small"
|
|
166
|
+
condition="f_gasdiff >= '{}' " placeholder="大于等于">
|
|
167
|
+
<input type="text" style="width:30%" class="input_search" title="小于等于"
|
|
168
|
+
v-model="model.f_gasdiff_big"
|
|
169
|
+
condition="f_gasdiff >= '{}' " placeholder="小于等于">
|
|
170
|
+
</div>
|
|
153
171
|
</div>
|
|
154
172
|
</div>
|
|
155
173
|
</criteria>
|
|
@@ -157,7 +175,7 @@
|
|
|
157
175
|
<data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
|
|
158
176
|
<template partial='head'>
|
|
159
177
|
<tr>
|
|
160
|
-
<th colspan="
|
|
178
|
+
<th colspan="13" style="text-align: center;"><nobr>用户信息</nobr></th>
|
|
161
179
|
<th colspan="13" style="text-align: center;"><nobr>查询年份</nobr></th>
|
|
162
180
|
<th colspan="13" style="text-align: center;"><nobr>对比年份</nobr></th>
|
|
163
181
|
</tr>
|
|
@@ -195,6 +213,12 @@
|
|
|
195
213
|
<th style="text-align: center;">
|
|
196
214
|
<nobr>抄表册</nobr>
|
|
197
215
|
</th>
|
|
216
|
+
<th style="text-align: center;">
|
|
217
|
+
<nobr>增量</nobr>
|
|
218
|
+
</th>
|
|
219
|
+
<th style="text-align: center;">
|
|
220
|
+
<nobr>百分比</nobr>
|
|
221
|
+
</th>
|
|
198
222
|
<th style="text-align: center;">
|
|
199
223
|
<nobr>一月</nobr>
|
|
200
224
|
</th>
|
|
@@ -289,6 +313,8 @@
|
|
|
289
313
|
<td style="text-align: center;">{{ row.f_meternumber }}</td>
|
|
290
314
|
<td style="text-align: center;">{{ row.f_inputtor }}</td>
|
|
291
315
|
<td style="text-align: center;">{{ row.f_book_name }}</td>
|
|
316
|
+
<td style="text-align: center;">{{ row.f_gasdiff }}</td>
|
|
317
|
+
<td style="text-align: center;">{{ row.f_gasprec }}%</td>
|
|
292
318
|
<td style="text-align: center;">{{ row.jan }}</td>
|
|
293
319
|
<td style="text-align: center;">{{ row.feb }}</td>
|
|
294
320
|
<td style="text-align: center;">{{ row.mar }}</td>
|
|
@@ -332,6 +358,11 @@ import exportConfig from './config/exportConfig'
|
|
|
332
358
|
let readySomething = async function (self) {
|
|
333
359
|
await self.$MagLoadParams.loadParam()
|
|
334
360
|
self.initParams()
|
|
361
|
+
//获取新的抄表册,先去清理所有的抄表册
|
|
362
|
+
self.$GetSaleParam.meterbooks = [];
|
|
363
|
+
//开始加载新的抄表册
|
|
364
|
+
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
365
|
+
self.initmeterbook()
|
|
335
366
|
}
|
|
336
367
|
export default {
|
|
337
368
|
props: ['data'],
|
|
@@ -350,6 +381,7 @@ export default {
|
|
|
350
381
|
org: [this.$login.f.orgid]
|
|
351
382
|
},
|
|
352
383
|
meterbrands: [],
|
|
384
|
+
meterbooks:[],
|
|
353
385
|
gasproperties:[],
|
|
354
386
|
inputtores: [{label: '全部',value: ''}],
|
|
355
387
|
criteriaShow: false,
|
|
@@ -381,6 +413,9 @@ export default {
|
|
|
381
413
|
})
|
|
382
414
|
},
|
|
383
415
|
methods: {
|
|
416
|
+
async initmeterbook(){
|
|
417
|
+
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
418
|
+
},
|
|
384
419
|
async downloadFiles() {
|
|
385
420
|
if (this.getCondition) {
|
|
386
421
|
let data = {
|
|
@@ -504,9 +539,7 @@ export default {
|
|
|
504
539
|
meterStyle () {
|
|
505
540
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('燃气表型号')]
|
|
506
541
|
},
|
|
507
|
-
|
|
508
|
-
return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
509
|
-
},
|
|
542
|
+
|
|
510
543
|
|
|
511
544
|
|
|
512
545
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div class="col-sm-2">
|
|
25
25
|
<label class="font_normal_body">客户名称</label>
|
|
26
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
|
|
27
|
+
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="col-sm-2">
|
|
30
30
|
<label class="font_normal_body">客户地址</label>
|