manage-client 3.2.189 → 3.2.191
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/SellReport/ManageBusSummary.vue +103 -103
- package/src/components/SellReport/ManageBusSummarys.vue +290 -0
- package/src/components/sale/businessquery/ChargeQuery.vue +3 -3
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
- package/src/filiale/gehua/GasStatistics.vue +11 -0
- package/src/reportManage.js +4 -0
package/package.json
CHANGED
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
close-on-select></v-select>
|
|
68
68
|
</div>
|
|
69
69
|
<!--<div class="col-sm-2 form-group">-->
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
71
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
72
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
73
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
74
|
+
<!--condition="f_state in {}"-->
|
|
75
|
+
<!--close-on-select></v-select>-->
|
|
76
76
|
<!--</div>-->
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
@@ -124,114 +124,114 @@
|
|
|
124
124
|
</template>
|
|
125
125
|
|
|
126
126
|
<script>
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
import { DataModel } from 'vue-client'
|
|
128
|
+
import co from 'co'
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
130
|
+
export default {
|
|
131
|
+
title: '收费结账报表',
|
|
132
|
+
props: ['data'],
|
|
133
|
+
data () {
|
|
134
|
+
return {
|
|
135
|
+
printTime: this.$login.toStandardTimeString(),
|
|
136
|
+
depresid: [],
|
|
137
|
+
userresid: [],
|
|
138
|
+
f_orgid: this.$login.f.orgid,
|
|
139
|
+
f_depid: this.$login.f.depids,
|
|
140
|
+
// f_operatorid: this.$login.f.id,
|
|
141
|
+
operatorid: [],
|
|
142
|
+
depid: [],
|
|
143
|
+
orgname: '',
|
|
144
|
+
depname: '',
|
|
145
|
+
criteriaShow: false,
|
|
146
|
+
operatorname: '',
|
|
147
|
+
orgCondtionStr: '1=1',
|
|
148
|
+
f_user_type: '',
|
|
149
|
+
f_state:['有效'],
|
|
150
|
+
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
+
reportStr: null,
|
|
153
|
+
resshow:['company','department','operator'],
|
|
154
|
+
spans: 0,
|
|
155
|
+
initres: {
|
|
156
|
+
org: [this.$login.f.orgid],
|
|
157
|
+
dep: [],
|
|
158
|
+
user: []
|
|
160
159
|
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
ready () {
|
|
163
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
+
console.log(this.$login.f)
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
searchData () {
|
|
169
|
+
this.$refs.paged.$refs.criteria.search()
|
|
161
170
|
},
|
|
162
|
-
|
|
163
|
-
this
|
|
164
|
-
|
|
165
|
-
|
|
171
|
+
selfSearch (args) {
|
|
172
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
+
let orgcondition = '1=1'
|
|
174
|
+
let orgstr = this.orgCondtionStr
|
|
175
|
+
orgcondition = orgcondition + orgstr
|
|
176
|
+
console.log('23231312321:',this.f_user_type)
|
|
177
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
+
}
|
|
180
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
+
}
|
|
183
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
+
}
|
|
186
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
+
}*/
|
|
189
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
+
this.$refs.paged.search(args)
|
|
166
191
|
},
|
|
167
|
-
methods: {
|
|
168
|
-
searchData () {
|
|
169
|
-
this.$refs.paged.$refs.criteria.search()
|
|
170
|
-
},
|
|
171
|
-
selfSearch (args) {
|
|
172
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
-
let orgcondition = '1=1'
|
|
174
|
-
let orgstr = this.orgCondtionStr
|
|
175
|
-
orgcondition = orgcondition + orgstr
|
|
176
|
-
console.log('23231312321:',this.f_user_type)
|
|
177
|
-
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
-
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
-
}
|
|
180
|
-
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
-
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
-
}
|
|
183
|
-
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
-
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
-
}
|
|
186
|
-
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
-
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
-
}*/
|
|
189
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
-
this.$refs.paged.search(args)
|
|
191
|
-
},
|
|
192
192
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
},
|
|
201
|
-
getdep (obj, val) {
|
|
202
|
-
this.depname = val[0]
|
|
203
|
-
this.userresid = obj
|
|
204
|
-
this.f_depid = obj
|
|
205
|
-
},
|
|
206
|
-
getuser ( obj, val) {
|
|
207
|
-
this.operatorname = val[0]
|
|
208
|
-
this.f_operatorid = obj
|
|
209
|
-
}
|
|
193
|
+
hidden() {
|
|
194
|
+
this.criteriaShow = !this.criteriaShow
|
|
195
|
+
},
|
|
196
|
+
getRes (condition, obj) {
|
|
197
|
+
this.orgCondtionStr = condition
|
|
198
|
+
this.orgname = obj.orgnames[0]
|
|
199
|
+
this.depname = obj.depnames[0]
|
|
210
200
|
},
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
201
|
+
getdep (obj, val) {
|
|
202
|
+
this.depname = val[0]
|
|
203
|
+
this.userresid = obj
|
|
204
|
+
this.f_depid = obj
|
|
205
|
+
},
|
|
206
|
+
getuser ( obj, val) {
|
|
207
|
+
this.operatorname = val[0]
|
|
208
|
+
this.f_operatorid = obj
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
watch: {
|
|
212
|
+
'model.data' (val) {
|
|
213
|
+
let len=0
|
|
214
|
+
let a=val.split('</tr>')
|
|
215
|
+
for(let i=0;i<a.length;i++){
|
|
216
|
+
if(a[i].split('</td>').length-1>len){
|
|
217
|
+
len=a[i].split('</td>').length-1
|
|
219
218
|
}
|
|
220
|
-
this.spans = len
|
|
221
219
|
}
|
|
220
|
+
this.spans = len
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
charge_state() {
|
|
225
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
222
226
|
},
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
-
},
|
|
227
|
-
user_type () {
|
|
228
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
229
|
-
}
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
230
229
|
}
|
|
231
230
|
}
|
|
231
|
+
}
|
|
232
232
|
</script>
|
|
233
233
|
<style scoped>
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
237
|
</style>
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div><!--
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
is-mul="false"
|
|
35
|
+
@res-select="$parent.$parent.getdep"
|
|
36
|
+
:parentresid="$parent.$parent.depresid"
|
|
37
|
+
:initresid='$parent.$parent.depid'>
|
|
38
|
+
</res-select>
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2 form-group">
|
|
42
|
+
<label class="font_normal_body"> 人员 </label>
|
|
43
|
+
<res-select restype='user'
|
|
44
|
+
is-mul="false"
|
|
45
|
+
@res-select="$parent.$parent.getuser"
|
|
46
|
+
:parentresid="$parent.$parent.userresid"
|
|
47
|
+
:initresid='$parent.$parent.operatorid'>
|
|
48
|
+
</res-select>
|
|
49
|
+
</div>
|
|
50
|
+
-->
|
|
51
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-2 form-group">
|
|
54
|
+
<label class="font_normal_body">用户类型</label>
|
|
55
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
56
|
+
v-model="$parent.$parent.f_user_type"
|
|
57
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
58
|
+
condition="f_user_type in '{}'"
|
|
59
|
+
close-on-select></v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body" title="参数:付款方式查询">付款方式</label>
|
|
63
|
+
<v-select :value.sync="model.f_payment" multiple
|
|
64
|
+
v-model="model.f_payment"
|
|
65
|
+
:options='$parent.$parent.payment' placeholder='请选择'
|
|
66
|
+
condition="f_payment in {}"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-sm-2 form-group">
|
|
70
|
+
<label class="font_normal_body">气表类型</label>
|
|
71
|
+
<v-select :value.sync="model.f_meter_type" multiple
|
|
72
|
+
:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
|
|
73
|
+
condition="f_meter_type in {}"
|
|
74
|
+
close-on-select></v-select>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-sm-2 form-group">
|
|
77
|
+
<label class="font_normal_body">气表品牌</label>
|
|
78
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
79
|
+
v-model="model.f_meter_brand"
|
|
80
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
81
|
+
condition="f_meter_brand in {}"
|
|
82
|
+
close-on-select></v-select>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="span" style = "float:right;">
|
|
85
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
86
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
87
|
+
<report-excel id='gasprice'></report-excel>
|
|
88
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
89
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
92
|
+
|
|
93
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
94
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
95
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
96
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
97
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
98
|
+
<!--condition="f_state in {}"-->
|
|
99
|
+
<!--close-on-select></v-select>-->
|
|
100
|
+
<!--</div>-->
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</criteria>
|
|
104
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
105
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
106
|
+
<thead>
|
|
107
|
+
<tr>
|
|
108
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
109
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
110
|
+
</th>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
114
|
+
开始时间:{{model.model.startDate}}
|
|
115
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
116
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
117
|
+
打印时间:{{$parent.printTime}}
|
|
118
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
119
|
+
</th>
|
|
120
|
+
</tr>
|
|
121
|
+
<tr>
|
|
122
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
123
|
+
<div>
|
|
124
|
+
<span yle="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
125
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
126
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
127
|
+
</div>
|
|
128
|
+
</th>
|
|
129
|
+
</tr>
|
|
130
|
+
</thead>
|
|
131
|
+
<tr>
|
|
132
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
133
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
134
|
+
</td>
|
|
135
|
+
</tr>
|
|
136
|
+
<tfoot>
|
|
137
|
+
<tr style="text-align: left">
|
|
138
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
139
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
140
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
141
|
+
</tr>
|
|
142
|
+
</tfoot>
|
|
143
|
+
</table>
|
|
144
|
+
{{{ $parent.reportStr}}}
|
|
145
|
+
</div>
|
|
146
|
+
</criteria-paged>
|
|
147
|
+
</div>
|
|
148
|
+
</template>
|
|
149
|
+
|
|
150
|
+
<script>
|
|
151
|
+
import { DataModel } from 'vue-client'
|
|
152
|
+
import co from 'co'
|
|
153
|
+
|
|
154
|
+
let readySomething = async function (self) {
|
|
155
|
+
await self.$MagLoadParams.loadParam()
|
|
156
|
+
self.initParams()
|
|
157
|
+
}
|
|
158
|
+
export default {
|
|
159
|
+
title: '收费结账报表',
|
|
160
|
+
props: ['data'],
|
|
161
|
+
data () {
|
|
162
|
+
return {
|
|
163
|
+
printTime: this.$login.toStandardTimeString(),
|
|
164
|
+
depresid: [],
|
|
165
|
+
userresid: [],
|
|
166
|
+
f_orgid: this.$login.f.orgid,
|
|
167
|
+
f_depid: this.$login.f.depids,
|
|
168
|
+
// f_operatorid: this.$login.f.id,
|
|
169
|
+
operatorid: [],
|
|
170
|
+
depid: [],
|
|
171
|
+
orgname: '',
|
|
172
|
+
depname: '',
|
|
173
|
+
criteriaShow: false,
|
|
174
|
+
operatorname: '',
|
|
175
|
+
orgCondtionStr: '1=1',
|
|
176
|
+
f_user_type: '',
|
|
177
|
+
f_state:['有效'],
|
|
178
|
+
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
179
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
180
|
+
reportStr: null,
|
|
181
|
+
resshow:['company','department','operator'],
|
|
182
|
+
spans: 0,
|
|
183
|
+
user_type:[],
|
|
184
|
+
meterbrands: [],
|
|
185
|
+
initres: {
|
|
186
|
+
org: [this.$login.f.orgid],
|
|
187
|
+
dep: [],
|
|
188
|
+
user: []
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
ready () {
|
|
193
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
194
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
195
|
+
console.log(this.$login.f)
|
|
196
|
+
readySomething(this).then(() => {
|
|
197
|
+
this.$emit('ready')
|
|
198
|
+
}).catch((error) => {
|
|
199
|
+
this.$emit('error', error)
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
methods: {
|
|
203
|
+
searchData () {
|
|
204
|
+
this.$refs.paged.$refs.criteria.search()
|
|
205
|
+
},
|
|
206
|
+
initParams() {
|
|
207
|
+
// 初始化气表品牌
|
|
208
|
+
let brandArr = []
|
|
209
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
210
|
+
let temp = {}
|
|
211
|
+
temp.label = item.label
|
|
212
|
+
temp.value = item.value.f_meter_brand
|
|
213
|
+
brandArr.push(temp)
|
|
214
|
+
})
|
|
215
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
216
|
+
|
|
217
|
+
},
|
|
218
|
+
selfSearch (args) {
|
|
219
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
220
|
+
let orgcondition = '1=1'
|
|
221
|
+
let orgstr = this.orgCondtionStr
|
|
222
|
+
orgcondition = orgcondition + orgstr
|
|
223
|
+
console.log('23231312321:',this.f_user_type)
|
|
224
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
225
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
226
|
+
}
|
|
227
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
228
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
229
|
+
}
|
|
230
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
231
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
232
|
+
}
|
|
233
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
234
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
235
|
+
}*/
|
|
236
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
237
|
+
this.$refs.paged.search(args)
|
|
238
|
+
},
|
|
239
|
+
|
|
240
|
+
hidden() {
|
|
241
|
+
this.criteriaShow = !this.criteriaShow
|
|
242
|
+
},
|
|
243
|
+
getRes (condition, obj) {
|
|
244
|
+
this.orgCondtionStr = condition
|
|
245
|
+
this.orgname = obj.orgnames[0]
|
|
246
|
+
this.depname = obj.depnames[0]
|
|
247
|
+
},
|
|
248
|
+
getdep (obj, val) {
|
|
249
|
+
this.depname = val[0]
|
|
250
|
+
this.userresid = obj
|
|
251
|
+
this.f_depid = obj
|
|
252
|
+
},
|
|
253
|
+
getuser ( obj, val) {
|
|
254
|
+
this.operatorname = val[0]
|
|
255
|
+
this.f_operatorid = obj
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
watch: {
|
|
259
|
+
'model.data' (val) {
|
|
260
|
+
let len=0
|
|
261
|
+
let a=val.split('</tr>')
|
|
262
|
+
for(let i=0;i<a.length;i++){
|
|
263
|
+
if(a[i].split('</td>').length-1>len){
|
|
264
|
+
len=a[i].split('</td>').length-1
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
this.spans = len
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
computed: {
|
|
271
|
+
payment() {
|
|
272
|
+
return [...this.$appdata.getParam('付款方式查询')]
|
|
273
|
+
},
|
|
274
|
+
user_type () {
|
|
275
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
276
|
+
},
|
|
277
|
+
metertypes() {
|
|
278
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
279
|
+
}
|
|
280
|
+
// meterbrands() {
|
|
281
|
+
// return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表品牌')]
|
|
282
|
+
// }
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
</script>
|
|
286
|
+
<style scoped>
|
|
287
|
+
.noborder{
|
|
288
|
+
border: none;
|
|
289
|
+
}
|
|
290
|
+
</style>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
condition="f_payment in {}"
|
|
107
107
|
close-on-select></v-select>
|
|
108
108
|
</div>
|
|
109
|
-
<div class="col-sm-2 form-group" v-if="titleShow">
|
|
109
|
+
<div class="col-sm-2 form-group" v-if="$parent.$parent.titleShow">
|
|
110
110
|
<label class="font_normal_body" title="参数:支付渠道查询">支付渠道</label>
|
|
111
111
|
<v-select :value.sync="model.f_bank_type" multiple
|
|
112
112
|
v-model="model.f_bank_type"
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
<th>
|
|
431
431
|
<nobr>写卡状态</nobr>
|
|
432
432
|
</th>
|
|
433
|
-
<th v-if="titleShow">
|
|
433
|
+
<th v-if="$parent.$parent.$parent.titleShow">
|
|
434
434
|
<nobr>支付渠道</nobr>
|
|
435
435
|
</th>
|
|
436
436
|
<th>
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
<td style="text-align: center;">
|
|
627
627
|
<nobr>{{row.f_write_card}}</nobr>
|
|
628
628
|
</td>
|
|
629
|
-
<td style="text-align: center;" v-if="titleShow">
|
|
629
|
+
<td style="text-align: center;" v-if="$parent.$parent.$parent.titleShow">
|
|
630
630
|
<nobr>{{row.f_bank_type}}</nobr>
|
|
631
631
|
</td>
|
|
632
632
|
<td style="text-align: center;">
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
</div>
|
|
81
81
|
<div class="col-sm-2 form-group">
|
|
82
82
|
<label style="width:35%" class="font_normal_body">气表品牌</label>
|
|
83
|
-
<v-select :value.sync="model.
|
|
83
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
84
84
|
v-model="model.f_meter_brand"
|
|
85
85
|
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
86
86
|
condition="f_meter_brand = '{}'"
|
|
@@ -31,6 +31,15 @@
|
|
|
31
31
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
|
|
32
32
|
condition="ss.f_address like '%{}%'" v-next-el='f_address' v-el:f_address>
|
|
33
33
|
</div>
|
|
34
|
+
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body">用户类型</label>
|
|
37
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
|
|
38
|
+
:options='$parent.$parent.usertypes' placeholder='用户类型'
|
|
39
|
+
style="width:60%"
|
|
40
|
+
close-on-select
|
|
41
|
+
condition="f_user_type = '{}'"></v-select>
|
|
42
|
+
</div>
|
|
34
43
|
<div class="span" style="float:right;margin-top:10px">
|
|
35
44
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
36
45
|
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
@@ -174,6 +183,7 @@
|
|
|
174
183
|
<tr>
|
|
175
184
|
<th><nobr>客户编号</nobr></th>
|
|
176
185
|
<th><nobr>客户名称</nobr></th>
|
|
186
|
+
<th><nobr>用户类型</nobr></th>
|
|
177
187
|
<th><nobr>小区</nobr></th>
|
|
178
188
|
<th><nobr>地址</nobr></th>
|
|
179
189
|
<th><nobr>电话</nobr></th>
|
|
@@ -208,6 +218,7 @@
|
|
|
208
218
|
<tr >
|
|
209
219
|
<td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
|
|
210
220
|
<td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
221
|
+
<td style="text-align: left;"><nobr>{{row.f_user_type}}</nobr></td>
|
|
211
222
|
<td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
212
223
|
<td style="text-align: left;"><nobr>{{row.f_address}}</nobr></td>
|
|
213
224
|
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
package/src/reportManage.js
CHANGED
|
@@ -660,6 +660,10 @@ export default function (filiale) {
|
|
|
660
660
|
Vue.component('monthm-stair-hunum', (resolve) => {
|
|
661
661
|
require(['./components/SellReport/MonthStairHunum'], resolve)
|
|
662
662
|
})
|
|
663
|
+
// 收费结账报表 多查询条件(用户类型,付款方式,气表类型,气表品牌)
|
|
664
|
+
Vue.component('manage-bus-summarys', (resolve) => {
|
|
665
|
+
require(['./components/SellReport/ManageBusSummarys'], resolve)
|
|
666
|
+
})
|
|
663
667
|
// 物联网日用气报表(户数)
|
|
664
668
|
Vue.component('day-stair-hunum', (resolve) => {
|
|
665
669
|
require(['./components/SellReport/DayStairMoneyHunum'], resolve)
|