manage-client 3.2.115 → 3.2.118
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/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/components/SellReport/GFReportWH.vue +181 -0
- package/src/components/SellReport/ManageBusSummary.vue +75 -59
- package/src/components/SellReport/PriceReportWHwu.vue +180 -0
- package/src/components/SellReport/UserGasFillCard.vue +6 -6
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +643 -0
- package/src/components/sale/config/exportConfig.js +11 -0
- package/src/filiale/jingwei/RecordInfoQuery.vue +14 -31
- package/src/filiale/qianneng/BusinessManage.vue +3 -0
- package/src/filiale/qianneng/MeterQuery.vue +33 -0
- package/src/filiale/wuhai/ChargeQuery.vue +17 -0
- package/src/reportManage.js +8 -1
- package/src/saleManage.js +4 -0
package/build/dev-server.js
CHANGED
|
@@ -15,7 +15,7 @@ var shaoguan='http://119.146.1.106:8300/'
|
|
|
15
15
|
var qtx='http://36.103.222.144:6300/'
|
|
16
16
|
var bendi = 'http://127.0.0.1:8090'
|
|
17
17
|
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = 'http://
|
|
18
|
+
var fuwu = 'http://121.36.106.17:8400'
|
|
19
19
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
20
|
var system = 'http://192.168.50.4:8400'
|
|
21
21
|
//192.168.
|
package/package.json
CHANGED
|
@@ -0,0 +1,181 @@
|
|
|
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-4" >
|
|
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-4" >
|
|
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-4 form-group" >
|
|
28
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
29
|
+
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-4 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<res-select id="dep" restype='department' style="width: 60%"
|
|
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-4 form-group">
|
|
42
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
43
|
+
<res-select id="oper" restype='user' style="width: 60%"
|
|
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
|
+
</div>
|
|
51
|
+
<div class="span" style = "float:right;">
|
|
52
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
53
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
54
|
+
<report-excel id='gasprice'></report-excel>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</criteria>
|
|
58
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
59
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
60
|
+
<thead>
|
|
61
|
+
<tr>
|
|
62
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
63
|
+
<h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
|
|
64
|
+
</th>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
68
|
+
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
69
|
+
打印时间:{{$parent.printTime}}
|
|
70
|
+
</th>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
74
|
+
<div>
|
|
75
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
76
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
77
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
78
|
+
</div>
|
|
79
|
+
</th>
|
|
80
|
+
</tr>
|
|
81
|
+
</thead>
|
|
82
|
+
<tr>
|
|
83
|
+
<td :colspan='$parent.tablen' class="noborder">
|
|
84
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
85
|
+
</td>
|
|
86
|
+
</tr>
|
|
87
|
+
<tfoot>
|
|
88
|
+
<tr style="text-align: left">
|
|
89
|
+
<th :colspan='Math.floor($parent.tablen/4)'>部门负责人:</th>
|
|
90
|
+
<th :colspan='Math.floor($parent.tablen/4)'>财务审核:</th>
|
|
91
|
+
<th :colspan='Math.round($parent.tablen/4)'>审核人:</th>
|
|
92
|
+
<th :colspan='Math.round($parent.tablen/4)'>制表人:</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</tfoot>
|
|
95
|
+
</table>
|
|
96
|
+
</div>
|
|
97
|
+
</criteria-paged>
|
|
98
|
+
</div>
|
|
99
|
+
</template>
|
|
100
|
+
|
|
101
|
+
<script>
|
|
102
|
+
import { DataModel } from 'vue-client'
|
|
103
|
+
|
|
104
|
+
export default {
|
|
105
|
+
title: '报表',
|
|
106
|
+
props: ['data'],
|
|
107
|
+
data () {
|
|
108
|
+
return {
|
|
109
|
+
printTime: this.$login.toStandardTimeString(),
|
|
110
|
+
depresid: [],
|
|
111
|
+
userresid: [],
|
|
112
|
+
f_orgid: this.$login.f.orgid,
|
|
113
|
+
f_depid: this.$login.f.depids,
|
|
114
|
+
f_operatorid: this.$login.f.id,
|
|
115
|
+
operatorid: [],
|
|
116
|
+
depid: [],
|
|
117
|
+
tablen: 0,
|
|
118
|
+
orgname: '',
|
|
119
|
+
depname: '',
|
|
120
|
+
operatorname: '',
|
|
121
|
+
orgCondtionStr: '1=1',
|
|
122
|
+
model: new DataModel('rs/report/wuhai_gfreport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
123
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
124
|
+
reportStr: null,
|
|
125
|
+
show: false
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
ready () {
|
|
129
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
130
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
131
|
+
console.log(this.$login.f)
|
|
132
|
+
},
|
|
133
|
+
methods: {
|
|
134
|
+
searchData () {
|
|
135
|
+
this.$refs.paged.$refs.criteria.search()
|
|
136
|
+
},
|
|
137
|
+
selfSearch (args) {
|
|
138
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
139
|
+
let orgcondition = '1=1'
|
|
140
|
+
if (this.f_orgid && this.f_orgid[0]) {
|
|
141
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
142
|
+
}
|
|
143
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
144
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
145
|
+
}
|
|
146
|
+
if (this.f_operatorid && this.f_operatorid[0]) {
|
|
147
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
148
|
+
}
|
|
149
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
150
|
+
this.$refs.paged.search(args)
|
|
151
|
+
},
|
|
152
|
+
getRes (obj) {
|
|
153
|
+
this.orgname = obj.res[0]
|
|
154
|
+
this.depresid = obj.resids
|
|
155
|
+
this.userresid = obj.resids
|
|
156
|
+
this.f_orgid = obj.resids
|
|
157
|
+
},
|
|
158
|
+
getdep (obj, val) {
|
|
159
|
+
this.depname = val[0]
|
|
160
|
+
// this.userresid = obj
|
|
161
|
+
this.f_depid = obj
|
|
162
|
+
},
|
|
163
|
+
getuser (obj, val) {
|
|
164
|
+
this.operatorname = val[0]
|
|
165
|
+
this.f_operatorid = obj
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
watch: {
|
|
169
|
+
'model.data' (val) {
|
|
170
|
+
this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
computed: {
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
</script>
|
|
177
|
+
<style scoped>
|
|
178
|
+
.noborder{
|
|
179
|
+
border: none;
|
|
180
|
+
}
|
|
181
|
+
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="basic-main" style="height: 100%">
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
6
|
<div class="row">
|
|
7
7
|
<div class="col-sm-2 form-group" >
|
|
@@ -59,59 +59,67 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
61
|
<div class="col-sm-2 form-group">
|
|
62
|
-
<label class="font_normal_body"
|
|
63
|
-
<v-select :value.sync="$parent.$parent.
|
|
64
|
-
v-model="$parent.$parent.
|
|
65
|
-
:options='$parent.$parent.
|
|
66
|
-
condition="
|
|
62
|
+
<label class="font_normal_body">用户类型</label>
|
|
63
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
64
|
+
v-model="$parent.$parent.f_user_type"
|
|
65
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
66
|
+
condition="f_user_type = '{}'"
|
|
67
67
|
close-on-select></v-select>
|
|
68
68
|
</div>
|
|
69
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
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
|
+
<!--</div>-->
|
|
69
77
|
</div>
|
|
70
78
|
</div>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
79
|
+
</criteria>
|
|
80
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
81
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
82
|
+
<thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
85
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
86
|
+
</th>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
90
|
+
开始时间:{{model.model.startDate}}
|
|
91
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
92
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
93
|
+
打印时间:{{$parent.printTime}}
|
|
94
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
95
|
+
</th>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
99
|
+
<div>
|
|
100
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
101
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
102
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
|
|
103
|
+
</div>
|
|
104
|
+
</th>
|
|
105
|
+
</tr>
|
|
106
|
+
</thead>
|
|
107
|
+
<tr>
|
|
108
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
109
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tfoot>
|
|
113
|
+
<tr style="text-align: left">
|
|
114
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
115
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
116
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
117
|
+
</tr>
|
|
118
|
+
</tfoot>
|
|
119
|
+
</table>
|
|
120
|
+
{{{ $parent.reportStr}}}
|
|
121
|
+
</div>
|
|
122
|
+
</criteria-paged>
|
|
115
123
|
</div>
|
|
116
124
|
</template>
|
|
117
125
|
|
|
@@ -137,6 +145,7 @@
|
|
|
137
145
|
criteriaShow: false,
|
|
138
146
|
operatorname: '',
|
|
139
147
|
orgCondtionStr: '1=1',
|
|
148
|
+
f_user_type: '',
|
|
140
149
|
f_state:['有效'],
|
|
141
150
|
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
142
151
|
f_orgid: 'this.model.f_orgid'}),
|
|
@@ -164,15 +173,19 @@
|
|
|
164
173
|
let orgcondition = '1=1'
|
|
165
174
|
let orgstr = this.orgCondtionStr
|
|
166
175
|
orgcondition = orgcondition + orgstr
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
if (this.f_depid && this.f_depid[0]) {
|
|
171
|
-
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
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} '`
|
|
172
179
|
}
|
|
173
|
-
if(this.
|
|
174
|
-
|
|
175
|
-
|
|
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
|
+
}*/
|
|
176
189
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
177
190
|
this.$refs.paged.search(args)
|
|
178
191
|
},
|
|
@@ -210,6 +223,9 @@
|
|
|
210
223
|
computed: {
|
|
211
224
|
charge_state() {
|
|
212
225
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
+
},
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
213
229
|
}
|
|
214
230
|
}
|
|
215
231
|
}
|
|
@@ -0,0 +1,180 @@
|
|
|
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-4" >
|
|
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-4" >
|
|
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-4 form-group" >
|
|
28
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
29
|
+
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-4 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<res-select id="dep" restype='department' style="width: 60%"
|
|
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-4 form-group">
|
|
42
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
43
|
+
<res-select id="oper" restype='user' style="width: 60%"
|
|
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
|
+
</div>
|
|
51
|
+
<div class="span" style = "float:right;">
|
|
52
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
53
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
54
|
+
<report-excel id='gasprice'></report-excel>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</criteria>
|
|
58
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
59
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
60
|
+
<thead>
|
|
61
|
+
<tr>
|
|
62
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
63
|
+
<h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
|
|
64
|
+
</th>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
68
|
+
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
69
|
+
打印时间:{{$parent.printTime}}
|
|
70
|
+
</th>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
74
|
+
<div>
|
|
75
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
76
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
77
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
78
|
+
</div>
|
|
79
|
+
</th>
|
|
80
|
+
</tr>
|
|
81
|
+
</thead>
|
|
82
|
+
<tr>
|
|
83
|
+
<td :colspan='$parent.tablen' class="noborder">
|
|
84
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
85
|
+
</td>
|
|
86
|
+
</tr>
|
|
87
|
+
<tfoot>
|
|
88
|
+
<tr style="text-align: left">
|
|
89
|
+
<th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
|
|
90
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
|
|
91
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
|
|
92
|
+
</tr>
|
|
93
|
+
</tfoot>
|
|
94
|
+
</table>
|
|
95
|
+
</div>
|
|
96
|
+
</criteria-paged>
|
|
97
|
+
</div>
|
|
98
|
+
</template>
|
|
99
|
+
|
|
100
|
+
<script>
|
|
101
|
+
import { DataModel } from 'vue-client'
|
|
102
|
+
|
|
103
|
+
export default {
|
|
104
|
+
title: '报表',
|
|
105
|
+
props: ['data'],
|
|
106
|
+
data () {
|
|
107
|
+
return {
|
|
108
|
+
printTime: this.$login.toStandardTimeString(),
|
|
109
|
+
depresid: [],
|
|
110
|
+
userresid: [],
|
|
111
|
+
f_orgid: this.$login.f.orgid,
|
|
112
|
+
f_depid: this.$login.f.depids,
|
|
113
|
+
f_operatorid: this.$login.f.id,
|
|
114
|
+
operatorid: [],
|
|
115
|
+
depid: [],
|
|
116
|
+
tablen: 0,
|
|
117
|
+
orgname: '',
|
|
118
|
+
depname: '',
|
|
119
|
+
operatorname: '',
|
|
120
|
+
orgCondtionStr: '1=1',
|
|
121
|
+
model: new DataModel('rs/report/wuhai_pricereportw', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
122
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
123
|
+
reportStr: null,
|
|
124
|
+
show: false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
ready () {
|
|
128
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
129
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
130
|
+
console.log(this.$login.f)
|
|
131
|
+
},
|
|
132
|
+
methods: {
|
|
133
|
+
searchData () {
|
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
|
135
|
+
},
|
|
136
|
+
selfSearch (args) {
|
|
137
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
138
|
+
let orgcondition = '1=1'
|
|
139
|
+
if (this.f_orgid && this.f_orgid[0]) {
|
|
140
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
141
|
+
}
|
|
142
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
143
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
144
|
+
}
|
|
145
|
+
if (this.f_operatorid && this.f_operatorid[0]) {
|
|
146
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
147
|
+
}
|
|
148
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
149
|
+
this.$refs.paged.search(args)
|
|
150
|
+
},
|
|
151
|
+
getRes (obj) {
|
|
152
|
+
this.orgname = obj.res[0]
|
|
153
|
+
this.depresid = obj.resids
|
|
154
|
+
this.userresid = obj.resids
|
|
155
|
+
this.f_orgid = obj.resids
|
|
156
|
+
},
|
|
157
|
+
getdep (obj, val) {
|
|
158
|
+
this.depname = val[0]
|
|
159
|
+
// this.userresid = obj
|
|
160
|
+
this.f_depid = obj
|
|
161
|
+
},
|
|
162
|
+
getuser (obj, val) {
|
|
163
|
+
this.operatorname = val[0]
|
|
164
|
+
this.f_operatorid = obj
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
watch: {
|
|
168
|
+
'model.data' (val) {
|
|
169
|
+
this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
computed: {
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
</script>
|
|
176
|
+
<style scoped>
|
|
177
|
+
.noborder{
|
|
178
|
+
border: none;
|
|
179
|
+
}
|
|
180
|
+
</style>
|
|
@@ -185,22 +185,22 @@
|
|
|
185
185
|
汇总信息
|
|
186
186
|
</td>
|
|
187
187
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
188
|
-
卡费: {{sumsmodel.cardfee}}
|
|
188
|
+
卡费: {{sumsmodel.cardfee.toFixed(1)}}
|
|
189
189
|
</td>
|
|
190
190
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
191
|
-
合计方量: {{sumsmodel.f_pregas}}
|
|
191
|
+
合计方量: {{sumsmodel.f_pregas.toFixed(1)}}
|
|
192
192
|
</td>
|
|
193
193
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
194
|
-
小计:{{sumsmodel.xiaoji}}
|
|
194
|
+
小计:{{sumsmodel.xiaoji.toFixed(1)}}
|
|
195
195
|
</td>
|
|
196
196
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
197
|
-
现金收入: {{sumsmodel.xianjin-sumsmodel.cardfee}}
|
|
197
|
+
现金收入: {{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(1)}}
|
|
198
198
|
</td>
|
|
199
199
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
200
|
-
转账收入: {{sumsmodel.zhuanzhang}} 
|
|
200
|
+
转账收入: {{sumsmodel.zhuanzhang.toFixed(1)}} 
|
|
201
201
|
</td>
|
|
202
202
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
203
|
-
合计金额: {{sumsmodel.f_preamount-sumsmodel.cardfee}}
|
|
203
|
+
合计金额: {{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(1)}}
|
|
204
204
|
</td>
|
|
205
205
|
</tr>
|
|
206
206
|
</table>
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
<tabs header="其他收费查询" v-if="permission('其他收费查询')">
|
|
20
20
|
<other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
|
|
21
21
|
</tabs>
|
|
22
|
+
<tabs header="其他收费欠费查询" v-if="permission('其他收费欠费查询')">
|
|
23
|
+
<other-charge-nopay-query v-if="show.includes('其他收费欠费查询')" @deal-msg="dealMsg" :data="data"></other-charge-nopay-query>
|
|
24
|
+
</tabs>
|
|
22
25
|
<tabs header="冲正查询" v-if="permission('冲正查询')">
|
|
23
26
|
<reverse-query v-if="show.includes('冲正查询')" @deal-msg="dealMsg" :data="data"></reverse-query>
|
|
24
27
|
</tabs>
|