manage-client 3.2.168 → 3.2.170
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 +109 -109
- package/src/components/SellReport/feimin_style.vue +413 -0
- package/src/components/sale/config/exportConfig.js +4 -0
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +10 -0
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +51 -39
- package/src/filiale/meihekou/ChargeQuery.vue +1265 -1265
- package/src/filiale/qianneng/ArrearsQuery.vue +2 -2
- package/src/filiale/tongchuan/ReportList.vue +1 -1
- package/src/filiale/xinkang/RecordInfoQuery.vue +1311 -0
- package/src/filiale/xinkang/sale.js +3 -1
- package/src/reportManage.js +4 -0
- package/yarn-error.log +7659 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
|
@@ -288,7 +288,8 @@
|
|
|
288
288
|
:options='$parent.$parent.meterbooks' placeholder='请选择'
|
|
289
289
|
style="width:60%"
|
|
290
290
|
close-on-select
|
|
291
|
-
condition="f_meter_book_num = '{}'"
|
|
291
|
+
condition="f_meter_book_num = '{}'">
|
|
292
|
+
</v-select>
|
|
292
293
|
</div>
|
|
293
294
|
<div class="col-sm-2 form-group">
|
|
294
295
|
<label class="font_normal_body">房屋类型</label>
|
|
@@ -698,6 +699,9 @@
|
|
|
698
699
|
let readySomething = async function (self) {
|
|
699
700
|
await self.$MagLoadParams.loadParam()
|
|
700
701
|
// await self.$LoadParams.loadParam(self.f_filialeid)
|
|
702
|
+
await self.bookAll()
|
|
703
|
+
//加载抄表册
|
|
704
|
+
await self.initmeterbook()
|
|
701
705
|
self.initParams()
|
|
702
706
|
self.getPricenames();
|
|
703
707
|
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
@@ -756,7 +760,10 @@
|
|
|
756
760
|
bookSlice:[{label: '全部',value: ''}],
|
|
757
761
|
pricenames:[],
|
|
758
762
|
dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
|
|
759
|
-
useDate:[{label:"8年以内",value:"8年以内"},{label:"8年以上",value:"8年以上"}]
|
|
763
|
+
useDate:[{label:"8年以内",value:"8年以内"},{label:"8年以上",value:"8年以上"}],
|
|
764
|
+
meterbooks:[{label: '全部',value: ''}], //抄表册
|
|
765
|
+
booksAllData: [],
|
|
766
|
+
allorgid:[],
|
|
760
767
|
}
|
|
761
768
|
},
|
|
762
769
|
ready(){
|
|
@@ -768,6 +775,21 @@
|
|
|
768
775
|
})
|
|
769
776
|
},
|
|
770
777
|
methods: {
|
|
778
|
+
async bookAll () {
|
|
779
|
+
let param={
|
|
780
|
+
items:'*',
|
|
781
|
+
tablename:'t_meter_book',
|
|
782
|
+
condition:` 1=1 and f_book_state='有效'`,
|
|
783
|
+
orderitem:'id'
|
|
784
|
+
}
|
|
785
|
+
await this.$resetpost('rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
786
|
+
.then(item => {
|
|
787
|
+
this.booksAllData = item.data
|
|
788
|
+
this.booksAll = item.data.map(x => {
|
|
789
|
+
return {id: x.id,f_book_code: x.f_book_code}
|
|
790
|
+
})
|
|
791
|
+
})
|
|
792
|
+
},
|
|
771
793
|
ReadIDCard(){
|
|
772
794
|
this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
|
|
773
795
|
console.log('======',msg)
|
|
@@ -986,45 +1008,31 @@
|
|
|
986
1008
|
},
|
|
987
1009
|
//表册片区和抄表册关联
|
|
988
1010
|
async inputtorchange(){
|
|
989
|
-
this.$
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
}*/
|
|
997
|
-
if(val2[0]) {
|
|
998
|
-
condition = condition + ` and f_book_slice_area = '${val2}' `
|
|
999
|
-
}
|
|
1000
|
-
let param={
|
|
1001
|
-
items:'*',
|
|
1002
|
-
tablename:'t_meter_book',
|
|
1003
|
-
condition:condition,
|
|
1004
|
-
orderitem:'id'
|
|
1005
|
-
}
|
|
1006
|
-
let getMeterBooks = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
1007
|
-
if (getMeterBooks.data) {
|
|
1008
|
-
if(getMeterBooks.data.length >0){
|
|
1009
|
-
let rs = [];
|
|
1010
|
-
getMeterBooks.data.forEach((item)=>{
|
|
1011
|
-
let temp = {
|
|
1012
|
-
label:item.f_book_name,
|
|
1013
|
-
value:item.id
|
|
1014
|
-
};
|
|
1015
|
-
rs.push(temp);
|
|
1016
|
-
|
|
1017
|
-
})
|
|
1018
|
-
this.meterbooks = [{label: '全部',value: ''}, ...rs];
|
|
1019
|
-
}else{
|
|
1020
|
-
this.meterbooks = [{label: '全部',value: ''}];
|
|
1011
|
+
let val = this.$refs.paged.$refs.cri.model.f_inputtor;
|
|
1012
|
+
if(val != null && val != ""){
|
|
1013
|
+
let bookData = this.booksAllData.filter(item => val.includes(item.f_inputtor) && this.allorgid.includes(item.f_orgid))
|
|
1014
|
+
let rs = bookData.map(x => {
|
|
1015
|
+
return {
|
|
1016
|
+
label: `[${x.f_book_code}]-${x.f_book_name}`,
|
|
1017
|
+
value: x.id
|
|
1021
1018
|
}
|
|
1022
|
-
}
|
|
1019
|
+
})
|
|
1020
|
+
this.meterbooks = [{label: '全部',value: ''}, ...rs];
|
|
1021
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book',[bookData[0] ? bookData[0].id : '']);
|
|
1023
1022
|
}else{
|
|
1024
|
-
this.
|
|
1023
|
+
this.$set('$refs.paged.$refs.cri.model.f_meter_book','');
|
|
1025
1024
|
this.initmeterbook();
|
|
1026
1025
|
}
|
|
1027
1026
|
},
|
|
1027
|
+
async initmeterbook(){
|
|
1028
|
+
let bs = this.booksAllData.filter(item => this.allorgid.includes(item.f_orgid)).map(x => {
|
|
1029
|
+
return {
|
|
1030
|
+
label: `${x.f_book_name}`,
|
|
1031
|
+
value: x.id
|
|
1032
|
+
}
|
|
1033
|
+
})
|
|
1034
|
+
this.meterbooks = [{label: '全部', value: ''}, ...bs]
|
|
1035
|
+
},
|
|
1028
1036
|
},
|
|
1029
1037
|
watch:{
|
|
1030
1038
|
'model.rows.length' () {
|
|
@@ -1063,6 +1071,10 @@
|
|
|
1063
1071
|
}
|
|
1064
1072
|
this.updateParams()
|
|
1065
1073
|
}
|
|
1074
|
+
this.$refs.paged.$refs.cri.model.f_book_slice_area=[]
|
|
1075
|
+
this.$refs.paged.$refs.cri.model.f_meter_book = []
|
|
1076
|
+
this.meterbooks = [{label: '全部',value: ''}]
|
|
1077
|
+
this.initmeterbook()
|
|
1066
1078
|
},
|
|
1067
1079
|
},
|
|
1068
1080
|
computed:{
|
|
@@ -1088,9 +1100,9 @@
|
|
|
1088
1100
|
positions() {
|
|
1089
1101
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
|
|
1090
1102
|
},
|
|
1091
|
-
meterbooks(){
|
|
1092
|
-
|
|
1093
|
-
},
|
|
1103
|
+
// meterbooks(){
|
|
1104
|
+
// return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
|
|
1105
|
+
// },
|
|
1094
1106
|
// gasproperties() {
|
|
1095
1107
|
// return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
1096
1108
|
// },
|