manage-client 3.3.267 → 3.3.268-1
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/wensu/GongDan.vue +202 -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/wuhai/UserGasAll.vue +27 -0
- package/src/filiale/yangchun/OtherChargeQuery.vue +42 -6
- package/src/reportManage.js +5 -1
package/package.json
CHANGED
|
@@ -0,0 +1,202 @@
|
|
|
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" title="分组项一">分组项一</label>
|
|
29
|
+
<v-select :value.sync="model.groupbyname1" style="width: 60%"
|
|
30
|
+
v-model="model.groupbyname1"
|
|
31
|
+
v-ref:groupone
|
|
32
|
+
:options='$parent.$parent.group1'
|
|
33
|
+
placeholder='请选择'
|
|
34
|
+
close-on-select></v-select>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="form-group col-sm-2">
|
|
37
|
+
<label class="font_normal_body">是否支付:</label>
|
|
38
|
+
<v-select
|
|
39
|
+
v-model="model.f_is_pay" style="width: 60%"
|
|
40
|
+
placeholder='是否支付'
|
|
41
|
+
condition="otn.f_is_pay = '{}'"
|
|
42
|
+
:value.sync="model.f_is_pay"
|
|
43
|
+
:options='$parent.$parent.pay'
|
|
44
|
+
class="select select_list"
|
|
45
|
+
:value-single="true"
|
|
46
|
+
close-on-select></v-select>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form-group col-sm-2">
|
|
49
|
+
<label class="font_normal_body">商户名称:</label>
|
|
50
|
+
<v-select
|
|
51
|
+
v-model="model.f_commercial_tenant" style="width: 60%"
|
|
52
|
+
placeholder='商户名称'
|
|
53
|
+
condition="otn.f_commercial_tenant = '{}'"
|
|
54
|
+
:value.sync="model.f_commercial_tenant"
|
|
55
|
+
:options='$parent.$parent.commercial_tenant'
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
close-on-select></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="form-group col-sm-2">
|
|
61
|
+
<label class="font_normal_body">操作人员:</label>
|
|
62
|
+
<v-select
|
|
63
|
+
v-model="model.f_service_person" style="width: 60%"
|
|
64
|
+
placeholder='操作人员'
|
|
65
|
+
condition="tc.f_service_person = '{}'"
|
|
66
|
+
:value.sync="model.f_service_person"
|
|
67
|
+
:options='$parent.$parent.person'
|
|
68
|
+
class="select select_list"
|
|
69
|
+
:value-single="true"
|
|
70
|
+
close-on-select></v-select>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="span" style = "float:right;">
|
|
74
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
75
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
76
|
+
<report-excel id='gasprice'></report-excel>
|
|
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
|
+
</thead>
|
|
98
|
+
<tr>
|
|
99
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
100
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
101
|
+
</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tfoot>
|
|
104
|
+
<tr style="text-align: left">
|
|
105
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
106
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
107
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
108
|
+
</tr>
|
|
109
|
+
</tfoot>
|
|
110
|
+
</table>
|
|
111
|
+
{{{ $parent.reportStr}}}
|
|
112
|
+
</div>
|
|
113
|
+
</criteria-paged>
|
|
114
|
+
</div>
|
|
115
|
+
</template>
|
|
116
|
+
|
|
117
|
+
<script>
|
|
118
|
+
import { DataModel } from 'vue-client'
|
|
119
|
+
import co from 'co'
|
|
120
|
+
|
|
121
|
+
export default {
|
|
122
|
+
title: '居民气量销售报表',
|
|
123
|
+
props: ['data'],
|
|
124
|
+
data () {
|
|
125
|
+
return {
|
|
126
|
+
printTime: this.$login.toStandardTimeString(),
|
|
127
|
+
depresid: [],
|
|
128
|
+
userresid: [],
|
|
129
|
+
f_orgid: this.$login.f.orgid,
|
|
130
|
+
f_depid: this.$login.f.depids,
|
|
131
|
+
// f_operatorid: this.$login.f.id,
|
|
132
|
+
operatorid: [],
|
|
133
|
+
depid: [],
|
|
134
|
+
orgname: '',
|
|
135
|
+
depname: '',
|
|
136
|
+
criteriaShow: false,
|
|
137
|
+
operatorname: '',
|
|
138
|
+
orgCondtionStr: '1=1',
|
|
139
|
+
model: new DataModel('api/af-revenue/report/gongdanshoufei', {f_orgid: 'this.model.f_orgid', groupbyname1: 'this.model.groupbyname1[0]', group1name: 'this.model.group1name'}),
|
|
140
|
+
reportStr: null,
|
|
141
|
+
resshow: ['company', 'department', 'operator'],
|
|
142
|
+
spans: 0,
|
|
143
|
+
group1: [
|
|
144
|
+
{label: '服务人员', value: 'otn.f_service_person'},
|
|
145
|
+
{label: '付款方式', value: 'tc.f_payment'},
|
|
146
|
+
{label: '全部', value: 'per'}
|
|
147
|
+
],
|
|
148
|
+
commercial_tenant: [{label: '全部', value: ''}, ...this.$appdata.getParam('商户名称')],
|
|
149
|
+
person: [{label: '全部', value: ''}, ...this.$appdata.getParam('操作人员')],
|
|
150
|
+
pay: [{label: '全部', value: ''}, ...this.$appdata.getParam('是否支付')],
|
|
151
|
+
initres: {
|
|
152
|
+
org: [this.$login.f.orgid],
|
|
153
|
+
dep: [],
|
|
154
|
+
user: []
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
ready () {
|
|
159
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
160
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
161
|
+
console.log(this.$login.f)
|
|
162
|
+
},
|
|
163
|
+
methods: {
|
|
164
|
+
searchData () {
|
|
165
|
+
this.$refs.paged.$refs.criteria.search()
|
|
166
|
+
},
|
|
167
|
+
selfSearch (args) {
|
|
168
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
169
|
+
this.$refs.paged.$refs.criteria.model.group1name = this.$refs.paged.$refs.criteria.$refs.groupone.selectedItems
|
|
170
|
+
let name1 = args.model.groupbyname1
|
|
171
|
+
if (name1 == null || name1 == '') {
|
|
172
|
+
this.$showAlert('请选择分组项!!!', 'warning', 3000)
|
|
173
|
+
return
|
|
174
|
+
}
|
|
175
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = this.$login.f.orgid
|
|
176
|
+
this.$refs.paged.search(args)
|
|
177
|
+
},
|
|
178
|
+
hidden() {
|
|
179
|
+
this.criteriaShow = !this.criteriaShow
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
watch: {
|
|
183
|
+
'model.data' (val) {
|
|
184
|
+
let len=0
|
|
185
|
+
let a=val.split('</tr>')
|
|
186
|
+
for(let i=0;i<a.length;i++){
|
|
187
|
+
if(a[i].split('</td>').length-1>len){
|
|
188
|
+
len=a[i].split('</td>').length-1
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
this.spans = len
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
computed: {
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
</script>
|
|
198
|
+
<style scoped>
|
|
199
|
+
.noborder{
|
|
200
|
+
border: none;
|
|
201
|
+
}
|
|
202
|
+
</style>
|