manage-client 3.2.116 → 3.2.119
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/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/build/dev-server.js +3 -3
- 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/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -1
- package/src/components/sale/businessquery/TransferRecordQuery.vue +179 -0
- package/src/components/sale/config/exportConfig.js +4 -0
- package/src/reportManage.js +8 -1
- package/src/saleManage.js +4 -0
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/build/dev-server.js
CHANGED
|
@@ -13,9 +13,9 @@ var compiler = webpack(config)
|
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
14
|
var shaoguan='http://119.146.1.106:8300/'
|
|
15
15
|
var qtx='http://36.103.222.144:6300/'
|
|
16
|
-
var bendi = 'http://
|
|
16
|
+
var bendi = 'http://203.57.101.233:9001'
|
|
17
17
|
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = 'http://
|
|
18
|
+
var fuwu = 'http://61.150.94.253: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.
|
|
@@ -81,7 +81,7 @@ var proxyTable = {
|
|
|
81
81
|
target: 'http://127.0.0.1:8080'
|
|
82
82
|
},
|
|
83
83
|
'/rs': {
|
|
84
|
-
target:
|
|
84
|
+
target: fuwu
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
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>
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
<tabs header="过户查询" v-if="permission('过户查询')">
|
|
17
17
|
<transfer-query v-if="show.includes('过户查询')" @deal-msg="dealMsg" :data="data"></transfer-query>
|
|
18
18
|
</tabs>
|
|
19
|
+
<tabs header="记录转移查询" v-if="permission('记录转移')">
|
|
20
|
+
<transfer-record-query @deal-msg="dealMsg" :data="data"></transfer-record-query>
|
|
21
|
+
</tabs>
|
|
19
22
|
<tabs header="其他收费查询" v-if="permission('其他收费查询')">
|
|
20
23
|
<other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
|
|
21
24
|
</tabs>
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
</div>
|
|
397
397
|
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
398
398
|
<article slot="modal-body">
|
|
399
|
-
<upload :blodid="selected.
|
|
399
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload :isremark="false" fusetype="换表&清零" ></upload>
|
|
400
400
|
</article>
|
|
401
401
|
<footer slot="modal-footer" class="modal-footer">
|
|
402
402
|
</footer>
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show" >
|
|
5
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="ttr.f_operate_date >= '{}'">
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="ttr.f_operate_date <= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">转出方编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.out_userinfo_code"
|
|
33
|
+
condition="out_userinfo_code = '{}'" placeholder="转出方编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body" title="转入方编号">转入方编号</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.in_userinfo_code"
|
|
38
|
+
condition="in_userinfo_code = '{}' " placeholder="转入方编号">
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
44
|
+
:field="$parent.$parent.getfield"
|
|
45
|
+
sqlurl="rs/logic/exportfile" sql-name="transferRecordQuery" template-name='转移记录查询导出'
|
|
46
|
+
:choose-col="true"></export-excel>
|
|
47
|
+
<!-- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"-->
|
|
48
|
+
<!-- :defaultfield="$parent.$parent.defaultfield"-->
|
|
49
|
+
<!-- titletable="过户记录"-->
|
|
50
|
+
<!-- :sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
|
|
51
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
56
|
+
<div class="col-sm-2 form-group">
|
|
57
|
+
<label class="font_normal_body">转出方姓名</label>
|
|
58
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.out_user_name"
|
|
59
|
+
placeholder="转出方姓名"
|
|
60
|
+
condition="out_user_name like '%{}%'">
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">转入方姓名</label>
|
|
64
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.in_user_name"
|
|
65
|
+
condition="in_user_name like '%{}%' " placeholder="转入方姓名">
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</criteria>
|
|
70
|
+
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th> <nobr>转入方姓名</nobr> </th>
|
|
75
|
+
<th> <nobr>转入方编号</nobr> </th>
|
|
76
|
+
<th> <nobr>转出方姓名</nobr> </th>
|
|
77
|
+
<th> <nobr>转出方编号</nobr> </th>
|
|
78
|
+
<th> <nobr>转移时间</nobr> </th>
|
|
79
|
+
<th> <nobr>备注</nobr> </th>
|
|
80
|
+
<th> <nobr>操作员</nobr> </th>
|
|
81
|
+
<th> <nobr>部门</nobr> </th>
|
|
82
|
+
<th> <nobr>公司</nobr> </th>
|
|
83
|
+
</tr>
|
|
84
|
+
</template>
|
|
85
|
+
<template partial='body'>
|
|
86
|
+
<td style="text-align: center;"> <nobr>{{row.in_user_name}}</nobr> </td>
|
|
87
|
+
<td style="text-align: center;"> <nobr>{{row.in_userinfo_code}}</nobr> </td>
|
|
88
|
+
<td style="text-align: center;"> <nobr>{{row.out_user_name}}</nobr> </td>
|
|
89
|
+
<td style="text-align: center;"> <nobr>{{row.out_userinfo_code}}</nobr> </td>
|
|
90
|
+
<td style="text-align: center;"> <nobr>{{row.f_operate_date}}</nobr> </td>
|
|
91
|
+
<td style="text-align: center;"> <nobr>{{row.f_comments}}</nobr> </td>
|
|
92
|
+
<td style="text-align: center;"> <nobr>{{row.f_operator}}</nobr> </td>
|
|
93
|
+
<td style="text-align: center;"> <nobr>{{row.f_depname}}</nobr> </td>
|
|
94
|
+
<td style="text-align: center;"> <nobr>{{row.f_orgname}}</nobr> </td>
|
|
95
|
+
</template>
|
|
96
|
+
</data-grid>
|
|
97
|
+
</criteria-paged>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</template>
|
|
102
|
+
|
|
103
|
+
<script>
|
|
104
|
+
import {PagedList} from 'vue-client'
|
|
105
|
+
import exportConfig from '../config/exportConfig'
|
|
106
|
+
|
|
107
|
+
let readySomething = async function (self) {
|
|
108
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
109
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
110
|
+
}
|
|
111
|
+
export default {
|
|
112
|
+
props:['data'],
|
|
113
|
+
title: '记录转移查询',
|
|
114
|
+
data() {
|
|
115
|
+
return {
|
|
116
|
+
data: {},
|
|
117
|
+
other:[],
|
|
118
|
+
footer:[],
|
|
119
|
+
show:false,
|
|
120
|
+
rowdata:{},
|
|
121
|
+
model: new PagedList('rs/sql/transferRecordQuery', 20, ),
|
|
122
|
+
criteriaShow: false,
|
|
123
|
+
initres: {
|
|
124
|
+
org:[this.$login.f.orgid],
|
|
125
|
+
dep:[],
|
|
126
|
+
user:[],
|
|
127
|
+
},
|
|
128
|
+
orgCondtionStr: '',
|
|
129
|
+
all: false,
|
|
130
|
+
fields: {},
|
|
131
|
+
thead: '',
|
|
132
|
+
tfoot: '',
|
|
133
|
+
showupload:false,
|
|
134
|
+
selected:{},
|
|
135
|
+
sumsmodel: {}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
ready() {
|
|
139
|
+
readySomething(this).then(() => {
|
|
140
|
+
this.$emit('ready')
|
|
141
|
+
}).catch((error) => {
|
|
142
|
+
this.$emit('error', error)
|
|
143
|
+
})
|
|
144
|
+
},
|
|
145
|
+
methods: {
|
|
146
|
+
search(){
|
|
147
|
+
this.$refs.paged.$refs.cri.search()
|
|
148
|
+
},
|
|
149
|
+
async selfSearch(args) {
|
|
150
|
+
if (this.data) {
|
|
151
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
152
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
153
|
+
}
|
|
154
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
155
|
+
await this.model.search(args.condition, args.model)
|
|
156
|
+
},
|
|
157
|
+
show() {
|
|
158
|
+
this.criteriaShow = true
|
|
159
|
+
},
|
|
160
|
+
hidden() {
|
|
161
|
+
this.criteriaShow = !this.criteriaShow
|
|
162
|
+
},
|
|
163
|
+
getRes(obj) {
|
|
164
|
+
this.orgCondtionStr = obj
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
watch: { },
|
|
168
|
+
computed: {
|
|
169
|
+
getCondition() {
|
|
170
|
+
return {
|
|
171
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
getfield() {
|
|
175
|
+
return exportConfig.transferRecordConfig
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
</script>
|
|
@@ -393,6 +393,10 @@ export default{
|
|
|
393
393
|
'f_user_name': '新客户名称', 'f_newuser_phone': '新客户电话', 'f_user_phone': '原客户电话', 'f_transfer_fees': '过户费', 'f_operate_date': '过户日期',
|
|
394
394
|
'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
|
|
395
395
|
},
|
|
396
|
+
transferRecordConfig: {
|
|
397
|
+
'in_userinfo_code': '转入方编号', 'in_user_name': '转入方名称', 'out_userinfo_code': '转出方编号', 'out_user_name': '转出方名称',
|
|
398
|
+
'f_operate_date': '转移日期', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
|
|
399
|
+
},
|
|
396
400
|
transferPrintConfig: {
|
|
397
401
|
'f_userinfo_code': '客户编号', 'f_newuser_name': '客户名称', 'f_address': '客户地址',
|
|
398
402
|
'f_user_name': '新客户名称', 'f_newuser_phone': '新客户电话', 'f_user_phone': '原客户电话', 'f_transfer_fees': '过户费', 'f_operate_date': '过户日期'
|
package/src/reportManage.js
CHANGED
|
@@ -545,7 +545,14 @@ export default function (filiale) {
|
|
|
545
545
|
// 报表展示组件(日结账报表)
|
|
546
546
|
Vue.component('bus-summaryes', (resolve) => {
|
|
547
547
|
require(['./components/SellReport/BusSummaryes'], resolve)
|
|
548
|
-
|
|
548
|
+
})
|
|
549
|
+
// 乌海公服报表
|
|
550
|
+
Vue.component('gf-report-wh', (resolve) => {
|
|
551
|
+
require(['./components/SellReport/GFReportWH'], resolve)
|
|
552
|
+
})
|
|
553
|
+
// 乌海居民用气物联网气价报表
|
|
554
|
+
Vue.component('price-report-whwu', (resolve) => {
|
|
555
|
+
require(['./components/SellReport/PriceReportWHwu'], resolve)
|
|
549
556
|
})
|
|
550
557
|
if (filiale) {
|
|
551
558
|
let filialeComp = require(`./filiale/${filiale}/reportManage`).specialComp
|
package/src/saleManage.js
CHANGED
|
@@ -168,6 +168,10 @@ export default function (filiale) {
|
|
|
168
168
|
Vue.component('transfer-query', (resolve) => {
|
|
169
169
|
require(['./components/sale/businessquery/TransferQuery'], resolve)
|
|
170
170
|
})
|
|
171
|
+
// 记录转移查询
|
|
172
|
+
Vue.component('transfer-record-query', (resolve) => {
|
|
173
|
+
require(['./components/sale/businessquery/TransferRecordQuery'], resolve)
|
|
174
|
+
})
|
|
171
175
|
// 小区汇总(机表)
|
|
172
176
|
Vue.component('residential-query', (resolve) => {
|
|
173
177
|
require(['./components/sale/businessquery/ResidentialQuery'], resolve)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|