manage-client 3.2.120 → 3.2.123
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/{6.1/gc.properties → buildOutputCleanup/built.bin} +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
- package/src/components/SellReport/UserGasFillCard.vue +6 -6
- package/src/components/sale/businessquery/CollectManage.vue +3 -0
- package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
- package/src/components/sale/businessquery/MonthGasQuery.vue +2 -2
- package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
- package/src/components/sale/businessquery/reportDetail.vue +256 -0
- package/src/components/sale/config/exportConfig.js +10 -2
- package/src/components/sale/filesquery/MeterQuery.vue +0 -1
- package/src/filiale/qianneng/HandplanQuery.vue +12 -0
- package/src/filiale/qianneng/exportConfig.js +2 -1
- package/src/filiale/shaoguan/config/exportConfig.js +1 -1
- package/src/filiale/tongchuan/ChargeQuery.vue +3 -3
- package/src/filiale/tongchuan/MeterQuery.vue +8 -31
- package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
- package/src/filiale/zhongyi/sale.js +4 -1
- package/src/reportManage.js +4 -0
- package/src/saleManage.js +2 -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://192.168.50.4: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,237 @@
|
|
|
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" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="span" style = "float:right;">
|
|
54
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
+
<report-excel id='gasprice'></report-excel>
|
|
57
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
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
|
+
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="$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>-->
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
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>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
|
|
126
|
+
<script>
|
|
127
|
+
import { DataModel } from 'vue-client'
|
|
128
|
+
import co from 'co'
|
|
129
|
+
|
|
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/getmoneyallnopay', {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: []
|
|
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()
|
|
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
|
+
|
|
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]
|
|
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
|
+
}
|
|
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
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
this.spans = len
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
charge_state() {
|
|
225
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
+
},
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
</script>
|
|
233
|
+
<style scoped>
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
|
+
</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.toFixed(
|
|
188
|
+
卡费: {{sumsmodel.cardfee.toFixed(2)}}
|
|
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.toFixed(
|
|
191
|
+
合计方量: {{sumsmodel.f_pregas.toFixed(2)}}
|
|
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.toFixed(
|
|
194
|
+
小计:{{sumsmodel.xiaoji.toFixed(2)}}
|
|
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).toFixed(
|
|
197
|
+
现金收入: {{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(2)}}
|
|
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.toFixed(
|
|
200
|
+
转账收入: {{sumsmodel.zhuanzhang.toFixed(2)}} 
|
|
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).toFixed(
|
|
203
|
+
合计金额: {{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(2)}}
|
|
204
204
|
</td>
|
|
205
205
|
</tr>
|
|
206
206
|
</table>
|
|
@@ -90,6 +90,9 @@
|
|
|
90
90
|
<tabs header="未抄表用户报表" v-if="permission('未抄表用户报表')">
|
|
91
91
|
<unhand-business @deal-msg="dealMsg"></unhand-business>
|
|
92
92
|
</tabs>
|
|
93
|
+
<tabs header="明细报表查询" v-if="permission('明细报表查询')">
|
|
94
|
+
<report-detail ></report-detail>
|
|
95
|
+
</tabs>
|
|
93
96
|
</tab-button>
|
|
94
97
|
|
|
95
98
|
</template>
|
|
@@ -248,6 +248,9 @@
|
|
|
248
248
|
<th>
|
|
249
249
|
<nobr>用气金额</nobr>
|
|
250
250
|
</th>
|
|
251
|
+
<th>
|
|
252
|
+
<nobr>建档日期</nobr>
|
|
253
|
+
</th>
|
|
251
254
|
</tr>
|
|
252
255
|
</template>
|
|
253
256
|
<template partial='body'>
|
|
@@ -332,6 +335,9 @@
|
|
|
332
335
|
<td style="text-align: center;">
|
|
333
336
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
334
337
|
</td>
|
|
338
|
+
<td style="text-align: center;">
|
|
339
|
+
<nobr>{{row.f_createfile_date}}</nobr>
|
|
340
|
+
</td>
|
|
335
341
|
</template>
|
|
336
342
|
<template partial='foot'></template>
|
|
337
343
|
</data-grid>
|
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
},
|
|
359
359
|
selfSearch(args) {
|
|
360
360
|
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
361
|
-
let f_orgstr = this.orgCondtionStr + 'and f_orgid = ' + this.f_orgid
|
|
362
|
-
args.condition = `${args.condition} ` + f_orgstr
|
|
361
|
+
// let f_orgstr = this.orgCondtionStr + 'and f_orgid = ' + this.f_orgid
|
|
362
|
+
// args.condition = `${args.condition} ` + f_orgstr
|
|
363
363
|
this.model.search(args.condition, args.model)
|
|
364
364
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
365
365
|
},
|
|
@@ -100,9 +100,12 @@
|
|
|
100
100
|
<th>
|
|
101
101
|
<nobr>系统金额</nobr>
|
|
102
102
|
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>扎帐归属开始时间</nobr>
|
|
105
|
+
</th>
|
|
103
106
|
<th>
|
|
104
107
|
<!--<nobr>扎帐归属时间</nobr>-->
|
|
105
|
-
<data-order field="f_end_date" name="
|
|
108
|
+
<data-order field="f_end_date" name="扎帐归属结束时间" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
|
|
106
109
|
</th>
|
|
107
110
|
<th>
|
|
108
111
|
<!--<nobr>操作时间</nobr>-->
|
|
@@ -135,6 +138,9 @@
|
|
|
135
138
|
<td style="text-align: center;">
|
|
136
139
|
<nobr>{{row.f_report_fee}}</nobr>
|
|
137
140
|
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.f_start_date}}</nobr>
|
|
143
|
+
</td>
|
|
138
144
|
<td style="text-align: center;">
|
|
139
145
|
<nobr>{{row.f_end_date}}</nobr>
|
|
140
146
|
</td>
|
|
@@ -0,0 +1,256 @@
|
|
|
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
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
15
|
+
:show-reset-button="true">
|
|
16
|
+
</datepicker>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2 form-group">
|
|
19
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
20
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
21
|
+
v-model="model.endDate"
|
|
22
|
+
:value.sync="model.endDate"
|
|
23
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
24
|
+
:show-reset-button="true">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body">客户编号</label>
|
|
29
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
30
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
31
|
+
</div>
|
|
32
|
+
<div class="span" style="float:right;">
|
|
33
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
35
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
36
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
37
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
38
|
+
:field="$parent.$parent.getfield"
|
|
39
|
+
sqlurl="rs/logic/exportfile"
|
|
40
|
+
sql-name="reportDetail"
|
|
41
|
+
template-name='报表明细导出'
|
|
42
|
+
:choose-col="true"></export-excel>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
46
|
+
<div class="col-sm-2 form-group">
|
|
47
|
+
<label class="font_normal_body">支付流水号</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
|
|
49
|
+
condition="f_serial_id = '{}'" placeholder="支付流水号">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-2 form-group">
|
|
52
|
+
<label class="font_normal_body">客户名称</label>
|
|
53
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
54
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
55
|
+
</div>
|
|
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.f_user_phone"
|
|
59
|
+
placeholder="用户电话" condition="f_user_phone='{}'">
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户地址</label>
|
|
63
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
64
|
+
placeholder="地址" condition="f_address like '%{}%'">
|
|
65
|
+
</div>
|
|
66
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','department','operator']" v-ref:sel></res-select-group>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</criteria>
|
|
70
|
+
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>用户编号</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>用户名称</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>用户地址</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>联系方式</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>用户类型</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>表号</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>支付流水号</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>收费类型</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>规格名称</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>型号</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>单价</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>数量</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>收款</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<nobr>付款方式</nobr>
|
|
115
|
+
</th>
|
|
116
|
+
<th>
|
|
117
|
+
<nobr>收费日期</nobr>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<nobr>状态</nobr>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>所属机构</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<nobr>部门</nobr>
|
|
127
|
+
</th>
|
|
128
|
+
<th>
|
|
129
|
+
<nobr>操作人</nobr>
|
|
130
|
+
</th>
|
|
131
|
+
</tr>
|
|
132
|
+
</template>
|
|
133
|
+
<template partial='body'>
|
|
134
|
+
<td style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
135
|
+
<td style="text-align: center;">{{row.f_user_name}}</td>
|
|
136
|
+
<td style="text-align: center;">{{row.f_address}}</td>
|
|
137
|
+
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
138
|
+
<td style="text-align: center;">{{row.f_user_nature}}</td>
|
|
139
|
+
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
140
|
+
<td style="text-align: center;">{{row.f_serial_id}}</td>
|
|
141
|
+
<td style="text-align: center;">{{row.f_type}}</td>
|
|
142
|
+
<td style="text-align: center;">{{row.f_brand_spec}}</td>
|
|
143
|
+
<td style="text-align: center;">{{row.f_typenumber}}</td>
|
|
144
|
+
<td style="text-align: center;">{{row.f_unitprice}}</td>
|
|
145
|
+
<td style="text-align: center;">{{row.f_number}}</td>
|
|
146
|
+
<td style="text-align: center;">{{row.f_collection}}</td>
|
|
147
|
+
<td style="text-align: center;">{{row.f_payment}}</td>
|
|
148
|
+
<td style="text-align: center;">{{row.f_operate_date}}</td>
|
|
149
|
+
<td style="text-align: center;">{{row.f_state}}</td>
|
|
150
|
+
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
151
|
+
<td style="text-align: center;">{{row.f_depname}}</td>
|
|
152
|
+
<td style="text-align: center;">{{row.f_operator}}</td>
|
|
153
|
+
</template>
|
|
154
|
+
</data-grid>
|
|
155
|
+
</criteria-paged>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
</template>
|
|
161
|
+
<script>
|
|
162
|
+
/**
|
|
163
|
+
*档案查询列表以及添加操作组件
|
|
164
|
+
*/
|
|
165
|
+
import {PagedList} from 'vue-client'
|
|
166
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
167
|
+
import exportConfig from '../config/exportConfig'
|
|
168
|
+
|
|
169
|
+
let readySomething = async function (self) {
|
|
170
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
171
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export default {
|
|
175
|
+
title: '报表明细',
|
|
176
|
+
data() {
|
|
177
|
+
return {
|
|
178
|
+
rows: null,
|
|
179
|
+
criteriaShow: false,
|
|
180
|
+
model: new PagedList('rs/sql/reportDetail', 20,
|
|
181
|
+
{startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
|
|
182
|
+
orgCondtionStr: '',
|
|
183
|
+
getfield: '',
|
|
184
|
+
show:false,
|
|
185
|
+
rowdata:{},
|
|
186
|
+
initres: {
|
|
187
|
+
org:[this.$login.f.orgid],
|
|
188
|
+
dep:[],
|
|
189
|
+
user:[],
|
|
190
|
+
},
|
|
191
|
+
defaultfield: []
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
ready() {
|
|
195
|
+
debugger
|
|
196
|
+
readySomething(this).then(() => {
|
|
197
|
+
this.$emit('ready')
|
|
198
|
+
}).catch((error) => {
|
|
199
|
+
this.$emit('error', error)
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
methods: {
|
|
203
|
+
search(){
|
|
204
|
+
this.$refs.paged.$refs.cri.search()
|
|
205
|
+
},
|
|
206
|
+
selfSearch(args) {
|
|
207
|
+
if (this.data) {
|
|
208
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
209
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
210
|
+
}
|
|
211
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
212
|
+
this.model.search(args.condition, args.model)
|
|
213
|
+
},
|
|
214
|
+
show() {
|
|
215
|
+
this.criteriaShow = true
|
|
216
|
+
},
|
|
217
|
+
cancel() {
|
|
218
|
+
this.show = false
|
|
219
|
+
},
|
|
220
|
+
hidden() {
|
|
221
|
+
this.criteriaShow = !this.criteriaShow
|
|
222
|
+
},
|
|
223
|
+
clear() {
|
|
224
|
+
//清空部门和人员
|
|
225
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
226
|
+
//部门和人员变为全选
|
|
227
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
228
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
229
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
230
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
231
|
+
})
|
|
232
|
+
},
|
|
233
|
+
getRes(obj) {
|
|
234
|
+
this.orgCondtionStr = obj
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
watch: {
|
|
238
|
+
|
|
239
|
+
},
|
|
240
|
+
computed: {
|
|
241
|
+
getCondition() {
|
|
242
|
+
let result = {
|
|
243
|
+
condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
|
|
244
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
245
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return result
|
|
249
|
+
},
|
|
250
|
+
getfield() {
|
|
251
|
+
return exportConfig.reportDetailConfig
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
</script>
|
|
256
|
+
|
|
@@ -372,7 +372,7 @@ export default{
|
|
|
372
372
|
fmygasConfig: {
|
|
373
373
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_credentials': '证件类型',
|
|
374
374
|
'f_idnumber': '证件号码', 'f_address': '客户地址', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_residential_area': '小区',
|
|
375
|
-
'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_meter_classify': '气表类型', 'f_price_value': '气价详情',
|
|
375
|
+
'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_meter_classify': '气表类型', 'f_price_value': '气价详情', 'f_createfile_date': '建档日期',
|
|
376
376
|
'f_pregas': '预购气量', 'f_preamount': '预购金额', 'f_collection': '实交金额', 'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区',
|
|
377
377
|
'f_hand_number': '抄表次数', 'f_date': '抄表区间', 'f_input_day': '天数', 'f_oughtamount': '用气量', 'f_oughtfee': '用气金额', 'f_usetype': '使用类型'
|
|
378
378
|
},
|
|
@@ -666,7 +666,8 @@ export default{
|
|
|
666
666
|
'f_operator': '操作员', 'f_operate_date': '时间', 'f_meternumber': '表号'
|
|
667
667
|
},
|
|
668
668
|
PrickBillConfig: {
|
|
669
|
-
'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额',
|
|
669
|
+
'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额',
|
|
670
|
+
'f_start_date': '扎帐归属开始时间', 'f_end_date': '扎帐归属结束时间',
|
|
670
671
|
'f_operate_date': '操作时间', 'f_payment': '付款方式', 'f_state': '状态', 'f_orgname': '公司', 'f_depname': '部门',
|
|
671
672
|
'f_operator': '操作员', 'f_remarks': '备注'
|
|
672
673
|
},
|
|
@@ -1047,5 +1048,12 @@ export default{
|
|
|
1047
1048
|
'itemname':'增值服务类型','yearstartdate':'上次购买时间','yearenddate':'本次购买时间',
|
|
1048
1049
|
'f_orgname': '所属公司'
|
|
1049
1050
|
},
|
|
1051
|
+
reportDetailConfig: {
|
|
1052
|
+
'f_userinfo_code': '用户编号', 'f_user_name': '用户名称', 'f_address': '用户地址', 'f_user_phone': '联系方式',
|
|
1053
|
+
'f_user_nature': '用户类型', 'f_meternumber': '表号', 'f_serial_id': '支付流水号',
|
|
1054
|
+
'f_type': '收费类型', 'f_brand_spec': '规格名称', 'f_typenumber': '型号', 'f_unitprice': '单价','f_number': '数量',
|
|
1055
|
+
'f_collection': '收款', 'f_payment': '付款方式', 'f_operate_date': '收费日期', 'f_state': '状态',
|
|
1056
|
+
'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
|
|
1057
|
+
},
|
|
1050
1058
|
}
|
|
1051
1059
|
|