sale-client 3.6.469 → 3.6.471
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/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/package.json +1 -1
- package/src/components/revenue/HandManager/IndustryCommerceHand.vue +19 -0
- package/src/components/revenue/comprehen/ToolCard/ToolCardList.vue +1 -1
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +164 -147
- package/src/filiale/bayan/StockListmain.vue +1 -1
- package/src/filiale/jingyang/charge/ShowCardSellGas.vue +931 -0
- package/src/filiale/jingyang/sale.js +2 -0
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -0
- package/src/filiale/lixianV3/sale.js +2 -0
- package/src/filiale/yangchun/EticketPrint.vue +233 -0
- package/src/filiale/yangchun/EticketV4/EticketOpenPage.vue +2 -0
- package/src/filiale/yangchun/EticketV4/EticketRecordList.vue +427 -0
- package/src/filiale/yangchun/sale.js +4 -0
- package/src/filiale/zhongsheng/BlackListList.vue +293 -0
- package/src/filiale/zhongsheng/SpecialUserManage.vue +64 -0
- package/src/filiale/zhongsheng/sale.js +3 -0
- package/.gradle/file-system.probe +0 -0
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Mon Dec 30 14:38:17 CST 2024
|
|
2
2
|
gradle.version=5.2.1
|
package/package.json
CHANGED
|
@@ -317,6 +317,7 @@
|
|
|
317
317
|
<label class="control-label col-sm-12 flex-row" style="transform: translate(0,8px)">客户地址:{{danhu.info.f_address}}</label>
|
|
318
318
|
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">上次抄表日期:{{danhu.info.f_input_date}}</label>
|
|
319
319
|
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">上期底数:{{danhu.info.f_last_tablebase}}</label>
|
|
320
|
+
<label class="control-label col-sm-6 flex-row" style="transform: translate(0,8px)">本期用量:{{f_current_usage}}</label>
|
|
320
321
|
</div>
|
|
321
322
|
</div>
|
|
322
323
|
<div class="panel panel-primary datapanel">
|
|
@@ -331,10 +332,12 @@
|
|
|
331
332
|
<label for="danhubase" class="control-label" style="transform: translate(0,8px)">本期底数</label>
|
|
332
333
|
<input id="danhubase" type="number" class="input_search " style="width: 60% !important;"
|
|
333
334
|
v-model="danhu.f_new_tablebase" @keyup.enter.stop="downAndHand"
|
|
335
|
+
@blur="tableBaseBlur"
|
|
334
336
|
placeholder='本期底数'/>
|
|
335
337
|
</div>
|
|
336
338
|
</div>
|
|
337
339
|
</div>
|
|
340
|
+
<upload :blodid="row.f_userinfo_id" v-if="config.showupload" isremark="true" fusetype="物联网表收费"></upload>
|
|
338
341
|
</article>
|
|
339
342
|
<footer slot="modal-footer">
|
|
340
343
|
</footer>
|
|
@@ -418,6 +421,7 @@ export default {
|
|
|
418
421
|
inputtor: [],
|
|
419
422
|
reason: ''
|
|
420
423
|
},
|
|
424
|
+
f_current_usage:'',
|
|
421
425
|
auditState: [{label: '全部', value: ''}, {label: '未抄表', value: '未抄表'}, {
|
|
422
426
|
label: '待审核',
|
|
423
427
|
value: '待审核'
|
|
@@ -488,6 +492,11 @@ export default {
|
|
|
488
492
|
document.getElementById(this.inputid).focus()
|
|
489
493
|
},
|
|
490
494
|
methods: {
|
|
495
|
+
tableBaseBlur () {
|
|
496
|
+
if (this.danhu.f_new_tablebase) {
|
|
497
|
+
this.f_current_usage = (this.danhu.f_new_tablebase -0) - (this.danhu.info.f_last_tablebase -0)
|
|
498
|
+
}
|
|
499
|
+
},
|
|
491
500
|
imgclose () {
|
|
492
501
|
this.imgshow = false
|
|
493
502
|
},
|
|
@@ -617,6 +626,7 @@ export default {
|
|
|
617
626
|
f_new_tablebase: '',
|
|
618
627
|
info: {}
|
|
619
628
|
}
|
|
629
|
+
this.f_current_usage = ''
|
|
620
630
|
setTimeout(() => {
|
|
621
631
|
document.getElementById('danhucode').focus()
|
|
622
632
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -921,6 +931,15 @@ export default {
|
|
|
921
931
|
dblclick: function (row, index) {
|
|
922
932
|
this.row = row
|
|
923
933
|
this.detailsShow = true
|
|
934
|
+
},
|
|
935
|
+
// 删除Resid数组元素
|
|
936
|
+
'delResid' (val) {
|
|
937
|
+
this.resid.$remove({id: val, f_biobid: ''})
|
|
938
|
+
},
|
|
939
|
+
// 增加Resid数组元素
|
|
940
|
+
'resid' (val) {
|
|
941
|
+
console.log('-=', val)
|
|
942
|
+
this.resid.push({id: val, f_biobid: ''})
|
|
924
943
|
}
|
|
925
944
|
}
|
|
926
945
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
try {
|
|
56
56
|
let http = new HttpResetClass()
|
|
57
57
|
let res = await http.load('GET', `rs/vue/toolcards.json`, {}, {resolveMsg: null, rejectMsg: null})
|
|
58
|
-
this.model.rows = res.data
|
|
58
|
+
this.model.rows = res.data.value ? res.data.value : res.data
|
|
59
59
|
} catch (e) { }
|
|
60
60
|
},
|
|
61
61
|
search () {
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
style="width:60%"
|
|
209
209
|
multiple="true"
|
|
210
210
|
:options='$parent.$parent.inputtores' placeholder='抄表员'
|
|
211
|
-
condition="f_inputtor
|
|
211
|
+
condition="f_inputtor in {}" multiple
|
|
212
212
|
close-on-select
|
|
213
213
|
v-el:cc></v-select>
|
|
214
214
|
</div>
|
|
@@ -216,16 +216,16 @@
|
|
|
216
216
|
<label class="font_normal_body">抄 表 册</label>
|
|
217
217
|
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
218
218
|
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
219
|
-
style="width:60%"
|
|
219
|
+
style="width:60%" multiple
|
|
220
220
|
close-on-select
|
|
221
|
-
condition="f_meter_book_num
|
|
221
|
+
condition="f_meter_book_num in {}"></v-select>
|
|
222
222
|
</div>
|
|
223
223
|
<div class="col-sm-2 form-group">
|
|
224
224
|
<label class="font_normal_body" >档案抄表员</label>
|
|
225
225
|
<v-select :value.sync="model.f_dainputtores"
|
|
226
|
-
v-model="model.f_dainputtores"
|
|
226
|
+
v-model="model.f_dainputtores" multiple
|
|
227
227
|
:options='$parent.$parent.dainputtores' placeholder='请选择'
|
|
228
|
-
condition="f_dainputtores
|
|
228
|
+
condition="f_dainputtores in {}"
|
|
229
229
|
close-on-select>
|
|
230
230
|
</v-select>
|
|
231
231
|
</div>
|
|
@@ -504,11 +504,10 @@
|
|
|
504
504
|
import {HttpResetClass, PagedList} from 'vue-client'
|
|
505
505
|
|
|
506
506
|
let readySomething = async function (self) {
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
507
|
+
self.getinputtores()
|
|
508
|
+
// 加载抄表册
|
|
509
|
+
self.initmeterbook()
|
|
510
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
512
511
|
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
513
512
|
// self.$refs.paged.$refs.cri.search()
|
|
514
513
|
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
@@ -518,23 +517,23 @@
|
|
|
518
517
|
}
|
|
519
518
|
export default {
|
|
520
519
|
title: '欠费查询',
|
|
521
|
-
data() {
|
|
520
|
+
data () {
|
|
522
521
|
return {
|
|
523
522
|
config: {
|
|
524
523
|
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
525
524
|
},
|
|
526
|
-
other:[],
|
|
527
|
-
footer:[],
|
|
528
|
-
//f_price_name:[],
|
|
529
|
-
gasproperties:[],
|
|
525
|
+
other: [],
|
|
526
|
+
footer: [],
|
|
527
|
+
// f_price_name:[],
|
|
528
|
+
gasproperties: [],
|
|
530
529
|
showinfo: false,
|
|
531
530
|
data: {},
|
|
532
|
-
show:false,
|
|
533
|
-
rowdata:{},
|
|
531
|
+
show: false,
|
|
532
|
+
rowdata: {},
|
|
534
533
|
initres: {
|
|
535
|
-
org:[this.$login.f.orgid],
|
|
536
|
-
dep:[],
|
|
537
|
-
user:[]
|
|
534
|
+
org: [this.$login.f.orgid],
|
|
535
|
+
dep: [],
|
|
536
|
+
user: []
|
|
538
537
|
},
|
|
539
538
|
model: new PagedList('rs/sql/salearrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
|
|
540
539
|
f_oughtamount: 0,
|
|
@@ -543,7 +542,7 @@
|
|
|
543
542
|
f_oughtfee_new: 0,
|
|
544
543
|
overdue: 0,
|
|
545
544
|
f_garbage_fee: 0,
|
|
546
|
-
f_balance:0,
|
|
545
|
+
f_balance: 0,
|
|
547
546
|
f_oughtfee_all: 0,
|
|
548
547
|
f_oughtfee_col: 0
|
|
549
548
|
}),
|
|
@@ -554,22 +553,22 @@
|
|
|
554
553
|
pricenames: [],
|
|
555
554
|
prices: [],
|
|
556
555
|
area: [],
|
|
557
|
-
|
|
556
|
+
// 合计数据
|
|
558
557
|
defaultfield: [],
|
|
559
|
-
|
|
558
|
+
// 小区
|
|
560
559
|
residentialArea: [],
|
|
561
560
|
sumsmodel: {},
|
|
562
561
|
f_filialeid: this.$login.f.f_orgid,
|
|
563
|
-
meterbooks:[{label: '全部',value: ''}],
|
|
562
|
+
meterbooks: [{label: '全部', value: ''}], // 抄表册
|
|
564
563
|
// inputtores:[{label: '全部',value: ''}],
|
|
565
|
-
dainputtores:[{label: '全部',value: ''}],
|
|
566
|
-
allorgid:[],
|
|
567
|
-
tempfalg
|
|
568
|
-
lastorgstr:'',
|
|
569
|
-
dypayment:[{label:
|
|
564
|
+
dainputtores: [{label: '全部', value: ''}],
|
|
565
|
+
allorgid: [],
|
|
566
|
+
tempfalg: false,
|
|
567
|
+
lastorgstr: '',
|
|
568
|
+
dypayment: [{label: '全部', value: ''}, {label: '银行代扣', value: '银行代扣'}, {label: '现金缴费', value: '现金缴费'}]
|
|
570
569
|
}
|
|
571
570
|
},
|
|
572
|
-
ready() {
|
|
571
|
+
ready () {
|
|
573
572
|
this.hqdainputtores()
|
|
574
573
|
this.getaddress()
|
|
575
574
|
readySomething(this).then(() => {
|
|
@@ -580,74 +579,73 @@
|
|
|
580
579
|
},
|
|
581
580
|
methods: {
|
|
582
581
|
|
|
583
|
-
async hqdainputtores() {
|
|
582
|
+
async hqdainputtores () {
|
|
584
583
|
let param = {
|
|
585
584
|
items: 'DISTINCT f_inputtor',
|
|
586
585
|
tablename: 't_userfiles',
|
|
587
|
-
condition: ` f_inputtor is NOT null
|
|
586
|
+
condition: ` f_inputtor is NOT null`
|
|
588
587
|
}
|
|
589
|
-
let getDainputtores = await new HttpResetClass().load(
|
|
588
|
+
let getDainputtores = await new HttpResetClass().load('POST', 'rs/sql/singleTableParam', {data: param}, {
|
|
590
589
|
resolveMsg: null,
|
|
591
590
|
rejectMsg: null
|
|
592
|
-
})
|
|
591
|
+
})
|
|
593
592
|
if (getDainputtores.data.length > 0) {
|
|
594
|
-
let rs = []
|
|
593
|
+
let rs = []
|
|
595
594
|
getDainputtores.data.forEach((item) => {
|
|
596
595
|
if (item.f_inputtor.length > 0) {
|
|
597
596
|
let temp = {
|
|
598
597
|
label: item.f_inputtor,
|
|
599
598
|
value: item.f_inputtor
|
|
600
|
-
}
|
|
601
|
-
rs.push(temp)
|
|
599
|
+
}
|
|
600
|
+
rs.push(temp)
|
|
602
601
|
}
|
|
603
602
|
})
|
|
604
|
-
this.dainputtores = [{label: '全部', value: ''}, ...rs]
|
|
603
|
+
this.dainputtores = [{label: '全部', value: ''}, ...rs]
|
|
605
604
|
} else {
|
|
606
|
-
this.dainputtores = [{label: '全部', value: ''}]
|
|
605
|
+
this.dainputtores = [{label: '全部', value: ''}]
|
|
607
606
|
}
|
|
608
607
|
},
|
|
609
|
-
async inputtorchange(){
|
|
610
|
-
let val = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
611
|
-
if(val!=null && val !=
|
|
612
|
-
let param={
|
|
613
|
-
items:'*',
|
|
614
|
-
tablename:'t_meter_book',
|
|
615
|
-
condition
|
|
616
|
-
orderitem:'id'
|
|
608
|
+
async inputtorchange () {
|
|
609
|
+
let val = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
610
|
+
if (val != null && val != '') {
|
|
611
|
+
let param = {
|
|
612
|
+
items: '*',
|
|
613
|
+
tablename: 't_meter_book',
|
|
614
|
+
condition: ` 1=1 and f_inputtor = '${val}' and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `,
|
|
615
|
+
orderitem: 'id'
|
|
617
616
|
|
|
618
617
|
}
|
|
619
618
|
let getMeterBooks = await this.$resetpost('rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
620
619
|
if (getMeterBooks.data) {
|
|
621
|
-
if(getMeterBooks.data.length >0){
|
|
622
|
-
let rs = []
|
|
623
|
-
getMeterBooks.data.forEach((item)=>{
|
|
620
|
+
if (getMeterBooks.data.length > 0) {
|
|
621
|
+
let rs = []
|
|
622
|
+
getMeterBooks.data.forEach((item) => {
|
|
624
623
|
let temp = {
|
|
625
|
-
label:item.f_book_name,
|
|
626
|
-
value:item.id
|
|
627
|
-
}
|
|
628
|
-
rs.push(temp)
|
|
629
|
-
|
|
624
|
+
label: item.f_book_name,
|
|
625
|
+
value: item.id
|
|
626
|
+
}
|
|
627
|
+
rs.push(temp)
|
|
630
628
|
})
|
|
631
|
-
this.meterbooks = [{label: '全部',value: ''}, ...rs]
|
|
632
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book',[getMeterBooks.data[0].id])
|
|
633
|
-
}else{
|
|
634
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book','')
|
|
635
|
-
this.meterbooks = [{label: '全部',value: ''}]
|
|
629
|
+
this.meterbooks = [{label: '全部', value: ''}, ...rs]
|
|
630
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', [getMeterBooks.data[0].id])
|
|
631
|
+
} else {
|
|
632
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
633
|
+
this.meterbooks = [{label: '全部', value: ''}]
|
|
636
634
|
}
|
|
637
635
|
}
|
|
638
|
-
}else{
|
|
639
|
-
this.$set('$refs.paged.$refs.cri.model.f_meter_book','')
|
|
640
|
-
this.meterbooks = [{label: '全部',value: ''}]
|
|
641
|
-
this.initmeterbook()
|
|
636
|
+
} else {
|
|
637
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book', '')
|
|
638
|
+
this.meterbooks = [{label: '全部', value: ''}]
|
|
639
|
+
this.initmeterbook()
|
|
642
640
|
}
|
|
643
641
|
},
|
|
644
|
-
async initmeterbook(orgstr){
|
|
645
|
-
if(orgstr == null
|
|
646
|
-
orgstr = this.f_filialeid
|
|
642
|
+
async initmeterbook (orgstr) {
|
|
643
|
+
if (orgstr == null) {
|
|
644
|
+
orgstr = this.f_filialeid
|
|
647
645
|
}
|
|
648
|
-
|
|
649
|
-
this.$GetSaleParam.meterbooks = []
|
|
650
|
-
|
|
646
|
+
// 获取新的抄表册,先去清理所有的抄表册
|
|
647
|
+
this.$GetSaleParam.meterbooks = []
|
|
648
|
+
// 开始加载新的抄表册
|
|
651
649
|
await this.$LoadParams.loadMeterBook(orgstr)
|
|
652
650
|
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
653
651
|
},
|
|
@@ -665,28 +663,28 @@
|
|
|
665
663
|
}
|
|
666
664
|
return [{label: '全部', value: ''}, ...rs]
|
|
667
665
|
},
|
|
668
|
-
|
|
669
|
-
loadMeterBooks(){
|
|
666
|
+
// 加载抄表册
|
|
667
|
+
loadMeterBooks () {
|
|
670
668
|
this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
671
669
|
},
|
|
672
|
-
getotherfooter(){
|
|
670
|
+
getotherfooter () {
|
|
673
671
|
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
674
672
|
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
675
|
-
this.other=[]
|
|
676
|
-
this.footer=[]
|
|
677
|
-
let exportdata = this.getCondition
|
|
678
|
-
let otherInData=[]
|
|
679
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
680
|
-
let footerData=[],exportfield=this.getfield
|
|
681
|
-
footerData.push(
|
|
682
|
-
let self =this
|
|
683
|
-
for(var field in self.sumsmodel){
|
|
684
|
-
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
673
|
+
this.other = []
|
|
674
|
+
this.footer = []
|
|
675
|
+
let exportdata = this.getCondition
|
|
676
|
+
let otherInData = []
|
|
677
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
678
|
+
let footerData = [], exportfield = this.getfield
|
|
679
|
+
footerData.push('合计')
|
|
680
|
+
let self = this
|
|
681
|
+
for (var field in self.sumsmodel) {
|
|
682
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
685
683
|
}
|
|
686
|
-
this.footer.push(footerData)
|
|
687
|
-
this.other.push(otherInData)
|
|
684
|
+
this.footer.push(footerData)
|
|
685
|
+
this.other.push(otherInData)
|
|
688
686
|
},
|
|
689
|
-
async getaddress(){
|
|
687
|
+
async getaddress () {
|
|
690
688
|
console.log('开始获取小区')
|
|
691
689
|
let HttpReset = new HttpResetClass()
|
|
692
690
|
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
@@ -694,16 +692,16 @@
|
|
|
694
692
|
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
695
693
|
}
|
|
696
694
|
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
697
|
-
console.log('小区',data)
|
|
695
|
+
console.log('小区', data)
|
|
698
696
|
let house = [{label: '全部', value: ''}]
|
|
699
|
-
for (let row of data.data){
|
|
697
|
+
for (let row of data.data) {
|
|
700
698
|
console.log('开始保存小区')
|
|
701
699
|
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
702
700
|
}
|
|
703
701
|
this.residentialArea = house
|
|
704
702
|
},
|
|
705
|
-
|
|
706
|
-
calculate(rows){
|
|
703
|
+
// 把数据库查询数据转换为下拉数据
|
|
704
|
+
calculate (rows) {
|
|
707
705
|
let data = []
|
|
708
706
|
rows.forEach((row, n) => {
|
|
709
707
|
data[n] = {label: row.f_residential_area, value: row.id}
|
|
@@ -711,30 +709,29 @@
|
|
|
711
709
|
return data
|
|
712
710
|
},
|
|
713
711
|
|
|
714
|
-
search(){
|
|
712
|
+
search () {
|
|
715
713
|
this.$refs.paged.$refs.cri.search()
|
|
716
714
|
},
|
|
717
|
-
cancel() {
|
|
715
|
+
cancel () {
|
|
718
716
|
this.show = false
|
|
719
717
|
},
|
|
720
|
-
showmsg(obj){
|
|
721
|
-
this.rowdata=obj
|
|
722
|
-
this.show=true
|
|
718
|
+
showmsg (obj) {
|
|
719
|
+
this.rowdata = obj
|
|
720
|
+
this.show = true
|
|
723
721
|
},
|
|
724
722
|
userTypeChange () {
|
|
725
|
-
this.gasproperties=[]
|
|
726
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
727
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
723
|
+
this.gasproperties = []
|
|
724
|
+
if (this.$refs.paged.$refs.cri.model !== null) {
|
|
725
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
728
726
|
|
|
729
|
-
console.log(
|
|
727
|
+
console.log('查看客户类型是什么', this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
730
728
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
731
729
|
// this.gasproperties.push({label: '全部', value: ''})
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
730
|
+
} else {
|
|
731
|
+
this.gasproperties = [{label: '全部', value: ''}]
|
|
735
732
|
}
|
|
736
733
|
},
|
|
737
|
-
initParams() {
|
|
734
|
+
initParams () {
|
|
738
735
|
// 初始化气表品牌
|
|
739
736
|
let brandArr = []
|
|
740
737
|
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
@@ -750,74 +747,72 @@
|
|
|
750
747
|
// this.meterstyle[temp.value] = styleArr
|
|
751
748
|
})
|
|
752
749
|
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
753
|
-
|
|
750
|
+
// 初始化气表价格
|
|
754
751
|
this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
|
|
755
752
|
},
|
|
756
|
-
selfSearch(args) {
|
|
757
|
-
console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
|
|
758
|
-
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
|
|
753
|
+
selfSearch (args) {
|
|
754
|
+
console.log('开始时间', this.$refs.paged.$refs.cri.model.startDate)
|
|
755
|
+
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === '') {
|
|
759
756
|
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
760
757
|
} else {
|
|
761
|
-
|
|
758
|
+
// 小区查询条件
|
|
762
759
|
let f_orgstr = this.orgCondtionStr
|
|
763
|
-
let str='1=1 '
|
|
764
|
-
if(this.$refs.paged.$refs.cri.model.inputstartDate !== ''){
|
|
760
|
+
let str = '1=1 '
|
|
761
|
+
if (this.$refs.paged.$refs.cri.model.inputstartDate !== '') {
|
|
765
762
|
str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
|
|
766
763
|
}
|
|
767
|
-
if(this.$refs.paged.$refs.cri.model.inputendDate !== ''){
|
|
764
|
+
if (this.$refs.paged.$refs.cri.model.inputendDate !== '') {
|
|
768
765
|
str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
|
|
769
766
|
}
|
|
770
767
|
args.condition = `${args.condition} and f_meter_type='机表'` + f_orgstr
|
|
771
|
-
this.model.search(args.condition, args.model,str)
|
|
768
|
+
this.model.search(args.condition, args.model, str)
|
|
772
769
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
773
770
|
}
|
|
774
771
|
},
|
|
775
|
-
clear() {
|
|
776
|
-
|
|
772
|
+
clear () {
|
|
773
|
+
// 清空部门和人员
|
|
777
774
|
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
778
|
-
|
|
775
|
+
// 部门和人员变为全选
|
|
779
776
|
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
780
777
|
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
781
778
|
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
782
779
|
this.$refs.paged.$refs.cri.model[key] = []
|
|
783
780
|
})
|
|
784
|
-
|
|
785
781
|
},
|
|
786
|
-
dealmsg(val) {
|
|
782
|
+
dealmsg (val) {
|
|
787
783
|
val.model = this.model.model
|
|
788
784
|
this.$dispatch('deal-msg', val)
|
|
789
785
|
},
|
|
790
|
-
show() {
|
|
786
|
+
show () {
|
|
791
787
|
this.criteriaShow = true
|
|
792
788
|
},
|
|
793
|
-
hidden() {
|
|
789
|
+
hidden () {
|
|
794
790
|
this.criteriaShow = !this.criteriaShow
|
|
795
791
|
},
|
|
796
|
-
async getRes(condition,obj) {
|
|
792
|
+
async getRes (condition, obj) {
|
|
797
793
|
this.orgCondtionStr = condition
|
|
798
794
|
this.orgname = obj.orgnames[0]
|
|
799
795
|
this.depname = obj.depnames[0]
|
|
800
|
-
|
|
801
796
|
},
|
|
802
|
-
async updateParams() {
|
|
797
|
+
async updateParams () {
|
|
803
798
|
await this.$LoadParams.loadParam(this.f_filialeid)
|
|
804
|
-
this.inputtores = []
|
|
805
|
-
this.inputtores.push({label:
|
|
806
|
-
if(this.allorgid!=null){
|
|
807
|
-
this.allorgid.forEach((res)=>{
|
|
808
|
-
this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res))
|
|
799
|
+
this.inputtores = []
|
|
800
|
+
this.inputtores.push({label: '全部', value: ''})
|
|
801
|
+
if (this.allorgid != null) {
|
|
802
|
+
this.allorgid.forEach((res) => {
|
|
803
|
+
this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res))
|
|
809
804
|
})
|
|
810
805
|
}
|
|
811
806
|
this.initParams()
|
|
812
|
-
}
|
|
807
|
+
}
|
|
813
808
|
},
|
|
814
|
-
events:{
|
|
815
|
-
'getidcard'(IdCard){
|
|
816
|
-
this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
|
|
809
|
+
events: {
|
|
810
|
+
'getidcard' (IdCard) {
|
|
811
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber = IdCard.strID
|
|
817
812
|
}
|
|
818
813
|
},
|
|
819
814
|
watch: {
|
|
820
|
-
'model'(val) {
|
|
815
|
+
'model' (val) {
|
|
821
816
|
},
|
|
822
817
|
// async 'orgCondtionStr'(val) {
|
|
823
818
|
// this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
|
|
@@ -847,15 +842,15 @@
|
|
|
847
842
|
// this.updateParams()
|
|
848
843
|
// }
|
|
849
844
|
// },
|
|
850
|
-
sumsmodel:{
|
|
851
|
-
handler: function(val) {
|
|
852
|
-
this.getotherfooter()
|
|
845
|
+
sumsmodel: {
|
|
846
|
+
handler: function (val) {
|
|
847
|
+
this.getotherfooter()
|
|
853
848
|
},
|
|
854
849
|
deep: true
|
|
855
850
|
}
|
|
856
851
|
},
|
|
857
852
|
computed: {
|
|
858
|
-
pricetypes() {
|
|
853
|
+
pricetypes () {
|
|
859
854
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
860
855
|
},
|
|
861
856
|
inputtores () {
|
|
@@ -887,7 +882,7 @@
|
|
|
887
882
|
})
|
|
888
883
|
return Array.from(new Set(result))
|
|
889
884
|
},
|
|
890
|
-
getCondition() {
|
|
885
|
+
getCondition () {
|
|
891
886
|
return {
|
|
892
887
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
893
888
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
@@ -895,23 +890,45 @@
|
|
|
895
890
|
condValue: `${this.model.condValue}`
|
|
896
891
|
}
|
|
897
892
|
},
|
|
898
|
-
getfield() {
|
|
893
|
+
getfield () {
|
|
899
894
|
return {
|
|
900
|
-
'f_userinfo_code': '客户编号',
|
|
901
|
-
'
|
|
902
|
-
'
|
|
903
|
-
'
|
|
904
|
-
'
|
|
905
|
-
'
|
|
895
|
+
'f_userinfo_code': '客户编号',
|
|
896
|
+
'f_user_name': '客户名称',
|
|
897
|
+
'f_residential_area': '小区名称',
|
|
898
|
+
'f_idnumber': '身份证号',
|
|
899
|
+
'f_address': '客户地址',
|
|
900
|
+
'f_user_phone': '客户电话',
|
|
901
|
+
'f_rent_phone': '备用电话',
|
|
902
|
+
'f_inputtor': '抄表员',
|
|
903
|
+
'f_book_name': '抄表册',
|
|
904
|
+
'f_user_type': '客户类型',
|
|
905
|
+
'f_gasproperties': '用气性质',
|
|
906
|
+
'f_comments': '备注',
|
|
907
|
+
'c': '欠费期数',
|
|
908
|
+
'f_hand_date': '欠费区间',
|
|
909
|
+
'f_oughtamount': '用气量',
|
|
910
|
+
'f_oughtfee': '用气金额',
|
|
911
|
+
'f_operate_date': '缴费时间',
|
|
912
|
+
'f_debt_money': '已交金额',
|
|
913
|
+
'f_oughtfee_new': '应交气费',
|
|
914
|
+
'overdue': '违约金',
|
|
915
|
+
'f_garbage_fee': '附加费',
|
|
916
|
+
'f_last_tablebase': '上期抄表底数',
|
|
917
|
+
'f_tablebase': '本期抄表底数',
|
|
918
|
+
'f_balance': '上期余额',
|
|
919
|
+
'f_oughtfee_all': '合计欠费金额',
|
|
920
|
+
'f_oughtfee_col': '实际欠费金额',
|
|
921
|
+
'f_cost_type': '缴费方式',
|
|
922
|
+
'f_meternumber': '表号'
|
|
906
923
|
}
|
|
907
924
|
},
|
|
908
|
-
usertypes() {
|
|
925
|
+
usertypes () {
|
|
909
926
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
910
927
|
},
|
|
911
|
-
metertypes() {
|
|
928
|
+
metertypes () {
|
|
912
929
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
913
930
|
},
|
|
914
|
-
chargetype() {
|
|
931
|
+
chargetype () {
|
|
915
932
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
916
933
|
}
|
|
917
934
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
class="form-group">
|
|
21
21
|
<label class="font_normal_body">收费人员</label>
|
|
22
22
|
<input type="text" class="input_search" style="width: 60%" v-model="model.f_operatorid"
|
|
23
|
-
condition="
|
|
23
|
+
condition="f_operator like '%{}%'" placeholder='收费人员'>
|
|
24
24
|
</div>
|
|
25
25
|
<div
|
|
26
26
|
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|