manage-client 4.1.80 → 4.1.81
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/hongya/HyMeterInput.vue +188 -0
- package/src/filiale/jinbin/exportConfig.js +1110 -0
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +1372 -0
- package/src/filiale/jinbin/sale.js +7 -0
- package/src/filiale/yangchun/OtherChargeQuery.vue +2 -2
- package/src/filiale/yuncheng/RecordInfoQuery.vue +22 -2
- package/src/filiale/yuncheng/config/exportConfig.js +6 -1
- package/src/reportManage.js +4 -0
package/package.json
CHANGED
|
@@ -0,0 +1,188 @@
|
|
|
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'"
|
|
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'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label for="f_inputtor">表类型:</label>
|
|
29
|
+
<v-select :value.sync="model.meterbrand"
|
|
30
|
+
v-model='model.meterbrand'
|
|
31
|
+
:options='$parent.$parent.meterbrand'
|
|
32
|
+
placeholder='表类型'
|
|
33
|
+
close-on-select v-el:cc></v-select>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label for="f_inputtor">用气性质:</label>
|
|
37
|
+
<v-select :value.sync="model.gasproperties" v-model='model.gasproperties'
|
|
38
|
+
:options='$parent.$parent.gasproperties' placeholder='用气性质'
|
|
39
|
+
close-on-select v-el:cc></v-select>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="span" style = "float:right;">
|
|
43
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
44
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
45
|
+
<report-excel id='gasprice'></report-excel>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</criteria>
|
|
49
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
50
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
51
|
+
<thead>
|
|
52
|
+
<tr>
|
|
53
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
54
|
+
<h3 style="text-align: center">抄表情况统计表</h3>
|
|
55
|
+
</th>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
59
|
+
开始时间:{{model.model.startDate}}
|
|
60
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
61
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
62
|
+
</th>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr >
|
|
65
|
+
<th v-if="false" :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
66
|
+
<div>
|
|
67
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">表类型:{{$parent.meterbrand}}</span>
|
|
68
|
+
<span v-show="$parent.depname"> 用气性质:{{$parent.gasproperties}}</span>
|
|
69
|
+
</div>
|
|
70
|
+
</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tr>
|
|
74
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
75
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
76
|
+
</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tfoot>
|
|
79
|
+
<!-- <tr style="text-align: left">-->
|
|
80
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>-->
|
|
81
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>-->
|
|
82
|
+
<!-- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>-->
|
|
83
|
+
<!-- </tr>-->
|
|
84
|
+
</tfoot>
|
|
85
|
+
</table>
|
|
86
|
+
{{{ $parent.reportStr}}}
|
|
87
|
+
</div>
|
|
88
|
+
</criteria-paged>
|
|
89
|
+
</div>
|
|
90
|
+
</template>
|
|
91
|
+
|
|
92
|
+
<script>
|
|
93
|
+
import { DataModel } from 'vue-client'
|
|
94
|
+
import co from 'co'
|
|
95
|
+
export default {
|
|
96
|
+
title: '抄表员绩效统计表',
|
|
97
|
+
props: ['data'],
|
|
98
|
+
data () {
|
|
99
|
+
return {
|
|
100
|
+
printTime: this.$login.toStandardTimeString(),
|
|
101
|
+
depresid: [],
|
|
102
|
+
userresid: [],
|
|
103
|
+
f_orgid: this.$login.f.orgid,
|
|
104
|
+
f_depid: this.$login.f.depids,
|
|
105
|
+
// f_operatorid: this.$login.f.id,
|
|
106
|
+
operatorid: [],
|
|
107
|
+
depid: [],
|
|
108
|
+
orgname: '',
|
|
109
|
+
depname: '',
|
|
110
|
+
criteriaShow: false,
|
|
111
|
+
operatorname: '',
|
|
112
|
+
orgCondtionStr: '1=1',
|
|
113
|
+
f_user_type: '',
|
|
114
|
+
f_state: ['有效'],
|
|
115
|
+
model: new DataModel('api/af-revenue/report/hy_meter_input', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', meterbrand: 'this.model.meterbrand[0]', gasproperties: 'this.model.gasproperties[0]'}),
|
|
116
|
+
reportStr: null,
|
|
117
|
+
resshow: ['company', 'department', 'operator'],
|
|
118
|
+
spans: 0,
|
|
119
|
+
initres: {
|
|
120
|
+
org: [this.$login.f.orgid],
|
|
121
|
+
dep: [],
|
|
122
|
+
user: []
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
ready () {
|
|
127
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
|
|
128
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
|
|
129
|
+
},
|
|
130
|
+
methods: {
|
|
131
|
+
searchData () {
|
|
132
|
+
this.$refs.paged.$refs.criteria.search()
|
|
133
|
+
},
|
|
134
|
+
selfSearch (args) {
|
|
135
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
136
|
+
let orgcondition = '1=1'
|
|
137
|
+
let orgstr = this.orgCondtionStr
|
|
138
|
+
orgcondition = orgcondition + orgstr
|
|
139
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
140
|
+
this.$refs.paged.search(args)
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
hidden () {
|
|
144
|
+
this.criteriaShow = !this.criteriaShow
|
|
145
|
+
},
|
|
146
|
+
getRes (condition, obj) {
|
|
147
|
+
this.orgCondtionStr = condition
|
|
148
|
+
this.orgname = obj.orgnames[0]
|
|
149
|
+
this.depname = obj.depnames[0]
|
|
150
|
+
this.operatorname = obj.operatornames[0]
|
|
151
|
+
},
|
|
152
|
+
getdep (obj, val) {
|
|
153
|
+
this.depname = val[0]
|
|
154
|
+
this.userresid = obj
|
|
155
|
+
this.f_depid = obj
|
|
156
|
+
},
|
|
157
|
+
getuser ( obj, val) {
|
|
158
|
+
this.operatorname = val[0]
|
|
159
|
+
this.f_operatorid = obj
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
watch: {
|
|
163
|
+
'model.data' (val) {
|
|
164
|
+
let len=0
|
|
165
|
+
let a=val.split('</tr>')
|
|
166
|
+
for(let i=0;i<a.length;i++){
|
|
167
|
+
if(a[i].split('</td>').length-1>len){
|
|
168
|
+
len=a[i].split('</td>').length-1
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
this.spans = len
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
computed: {
|
|
175
|
+
meterbrand () {
|
|
176
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表类型1')]
|
|
177
|
+
},
|
|
178
|
+
gasproperties () {
|
|
179
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
</script>
|
|
184
|
+
<style scoped>
|
|
185
|
+
.noborder{
|
|
186
|
+
border: none;
|
|
187
|
+
}
|
|
188
|
+
</style>
|