manage-client 3.2.241 → 3.2.242
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 +5 -3
- package/src/filiale/WEINAN/reportManage.js +6 -9
- package/src/filiale/WEINAN/sale.js +50 -54
- package/src/filiale/WEINAN/webmeterManage.js +4 -7
- package/src/filiale/alashan/reportManage.js +4 -6
- package/src/filiale/aode/sale.js +7 -12
- package/src/filiale/ceshi/reportManage.js +5 -3
- package/src/filiale/ceshi/sale.js +6 -9
- package/src/filiale/dongguan/reportManage.js +5 -14
- package/src/filiale/gaomi/sale.js +10 -9
- package/src/filiale/gehua/sale.js +5 -4
- package/src/filiale/gehua/webmeterManage.js +4 -8
- package/src/filiale/gongyi/sale.js +15 -15
- package/src/filiale/huayin/sale.js +5 -6
- package/src/filiale/jingwei/sale.js +4 -4
- package/src/filiale/jingzhou/sale.js +5 -8
- package/src/filiale/kelai/sale.js +5 -7
- package/src/filiale/konggang/sale.js +5 -6
- package/src/filiale/liaoyuan/sale.js +10 -9
- package/src/filiale/macheng/reportManage.js +14 -16
- package/src/filiale/macheng/sale.js +13 -12
- package/src/filiale/macheng/webmeterManage.js +4 -7
- package/src/filiale/meihekou/sale.js +25 -28
- package/src/filiale/pingxiang/sale.js +3 -7
- package/src/filiale/qianneng/QnJgqCbjbZD.vue +672 -0
- package/src/filiale/qianneng/QnJgqCbwlwZD.vue +654 -0
- package/src/filiale/qianneng/QnJgqGsxsmxJX.vue +708 -0
- package/src/filiale/qianneng/QnJgqMyxsmxJX.vue +708 -0
- package/src/filiale/qianneng/QnJgqReport.vue +24 -0
- package/src/filiale/qianneng/QnJgqSfZD.vue +684 -0
- package/src/filiale/qianneng/QnJgqXsjgbbJX.vue +642 -0
- package/src/filiale/qianneng/QnJgqZhdacxZD.vue +638 -0
- package/src/filiale/qianneng/exportConfig.js +34 -0
- package/src/filiale/qianneng/reportManage.js +17 -1
- package/src/filiale/qingtongxia/sale.js +8 -11
- package/src/filiale/qingtongxia/webmeterManage.js +3 -6
- package/src/filiale/rizhao/sale.js +9 -20
- package/src/filiale/rongcheng/sale.js +8 -12
- package/src/filiale/rongchuang/reportManage.js +4 -8
- package/src/filiale/rongchuang/sale.js +6 -10
- package/src/filiale/shangluo/reportManage.js +4 -7
- package/src/filiale/shangluo/sale.js +4 -8
- package/src/filiale/shanxian/reportManage.js +8 -13
- package/src/filiale/shanxian/sale.js +12 -16
- package/src/filiale/shaoguan/sale.js +19 -18
- package/src/filiale/shennongjia/sale.js +4 -7
- package/src/filiale/shiquan/reportManage.js +7 -5
- package/src/filiale/tongchuan/reportManage.js +7 -4
- package/src/filiale/tongchuan/sale.js +11 -18
- package/src/filiale/tongchuan/webmeterManage.js +3 -7
- package/src/filiale/wenxi/sale.js +5 -8
- package/src/filiale/wuan/sale.js +4 -7
- package/src/filiale/wuhai/sale.js +8 -7
- package/src/filiale/wuhai/webmeterManage.js +4 -3
- package/src/filiale/xiangyun/sale.js +3 -3
- package/src/filiale/xinkang/reportManage.js +6 -5
- package/src/filiale/xinkang/sale.js +8 -11
- package/src/filiale/zhongsheng/sale.js +3 -7
- package/src/filiale/zhongyi/reportManage.js +6 -11
- package/src/filiale/zhongyi/sale.js +27 -41
- package/src/filiale/zhongyi/webmeterManage.js +7 -10
- package/src/main.js +1 -1
- package/src/newmanage.js +1 -1
- package/src/reportManage.js +1 -8
- package/src/saleManage.js +1 -9
- package/src/webmeterManage.js +1 -9
- package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/OtherChargeQuery.vue +0 -614
- package/src/filiale/zhoukou/TransferQuery.vue +0 -404
- package/src/filiale/zhoukou/sale.js +0 -15
|
@@ -1,457 +0,0 @@
|
|
|
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
|
-
condition="f_hand_date >= '{}'">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 form-group">
|
|
20
|
-
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
-
v-model="model.endDate"
|
|
23
|
-
:value.sync="model.endDate"
|
|
24
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
-
:show-reset-button="true"
|
|
26
|
-
condition="f_hand_date <= '{}'">
|
|
27
|
-
</datepicker>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-sm-2 form-group">
|
|
30
|
-
<label class="font_normal_body">客户编号</label>
|
|
31
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="span" style="float:right;">
|
|
37
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
38
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
39
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
40
|
-
:field="$parent.$parent.getfield"
|
|
41
|
-
sqlurl="rs/logic/exportfile" sql-name="cardhandplanQuery" template-name='卡表抄表查询导出'
|
|
42
|
-
:choose-col="true"></export-excel>
|
|
43
|
-
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
44
|
-
:defaultfield="$parent.$parent.defaultfield" print-name="抄表查询打印"
|
|
45
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
46
|
-
|
|
47
|
-
<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>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
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_address"
|
|
59
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col-sm-2 form-group">
|
|
62
|
-
<label class="font_normal_body">抄表状态</label>
|
|
63
|
-
<v-select :value.sync="model.f_meter_state"
|
|
64
|
-
v-model="model.f_meter_state"
|
|
65
|
-
:options='$parent.$parent.meterstate' placeholder='请选择'
|
|
66
|
-
condition="f_meter_state = '{}'"
|
|
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="model.f_hand_state"
|
|
72
|
-
v-model="model.f_hand_state"
|
|
73
|
-
:options='$parent.$parent.handstate' placeholder='请选择'
|
|
74
|
-
condition="f_hand_state = '{}'"
|
|
75
|
-
close-on-select></v-select>
|
|
76
|
-
</div>-->
|
|
77
|
-
<div class="col-sm-2 form-group">
|
|
78
|
-
<label class="font_normal_body"> 抄表员</label>
|
|
79
|
-
<v-select :value.sync="model.f_inputtor"
|
|
80
|
-
v-model="model.f_inputtor"
|
|
81
|
-
:options='$parent.$parent.inputtor' placeholder='请选择'
|
|
82
|
-
multiple = "true"
|
|
83
|
-
close-on-select></v-select>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="col-sm-2 form-group">
|
|
86
|
-
<label class="font_normal_body">客户类型</label>
|
|
87
|
-
<v-select :value.sync="model.f_user_type"
|
|
88
|
-
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
89
|
-
condition="f_user_type = '{}'"
|
|
90
|
-
close-on-select></v-select>
|
|
91
|
-
</div>
|
|
92
|
-
<!--<div class="col-sm-2 form-group">
|
|
93
|
-
<label class="font_normal_body">是否缴费</label>
|
|
94
|
-
<v-select :value.sync="model.f_whether_pay"
|
|
95
|
-
:options='$parent.$parent.accountsState' placeholder='请选择' v-model="model.f_whether_pay"
|
|
96
|
-
condition="f_whether_pay = '{}'"
|
|
97
|
-
close-on-select></v-select>
|
|
98
|
-
</div>-->
|
|
99
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
100
|
-
<div class="col-sm-2 form-group">
|
|
101
|
-
<label class="font_normal_body">误差范围</label>
|
|
102
|
-
<input type="number" style="width:20%" class="input_search" v-model="model.wucha1"
|
|
103
|
-
condition="wucha >= {}" placeholder="">
|
|
104
|
-
>误差<
|
|
105
|
-
<input type="number" style="width:20%" class="input_search" v-model="model.wucha2"
|
|
106
|
-
condition="wucha <= {}" placeholder="">
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</criteria>
|
|
111
|
-
|
|
112
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
113
|
-
<template partial='head'>
|
|
114
|
-
<tr>
|
|
115
|
-
<th>
|
|
116
|
-
<nobr>客户编号</nobr>
|
|
117
|
-
</th>
|
|
118
|
-
<th>
|
|
119
|
-
<nobr>客户名称</nobr>
|
|
120
|
-
</th>
|
|
121
|
-
<!-- <th>-->
|
|
122
|
-
<!-- <nobr>客户地址</nobr>-->
|
|
123
|
-
<!-- </th>-->
|
|
124
|
-
<th>
|
|
125
|
-
<nobr>表号</nobr>
|
|
126
|
-
</th>
|
|
127
|
-
<th>
|
|
128
|
-
<nobr>上期底数</nobr>
|
|
129
|
-
</th>
|
|
130
|
-
<th>
|
|
131
|
-
<nobr>本期底数</nobr>
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr>气量</nobr>
|
|
135
|
-
</th>
|
|
136
|
-
<th>
|
|
137
|
-
<nobr>总购气量</nobr>
|
|
138
|
-
</th>
|
|
139
|
-
<th>
|
|
140
|
-
<nobr>剩余气量</nobr>
|
|
141
|
-
</th>
|
|
142
|
-
<th>
|
|
143
|
-
<nobr>余量</nobr>
|
|
144
|
-
</th>
|
|
145
|
-
<th>
|
|
146
|
-
<nobr>录入日期</nobr>
|
|
147
|
-
</th>
|
|
148
|
-
<th>
|
|
149
|
-
<nobr>抄表员</nobr>
|
|
150
|
-
</th>
|
|
151
|
-
|
|
152
|
-
<th>
|
|
153
|
-
<nobr>抄表状态</nobr>
|
|
154
|
-
</th>
|
|
155
|
-
<th>
|
|
156
|
-
<nobr>人员</nobr>
|
|
157
|
-
</th>
|
|
158
|
-
<th>
|
|
159
|
-
<nobr>部门</nobr>
|
|
160
|
-
</th>
|
|
161
|
-
<!-- <th>-->
|
|
162
|
-
<!-- <nobr>公司</nobr>-->
|
|
163
|
-
<!-- </th>-->
|
|
164
|
-
</tr>
|
|
165
|
-
</template>
|
|
166
|
-
<template partial='body'>
|
|
167
|
-
<td style="text-align: center;">
|
|
168
|
-
<nobr>
|
|
169
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
170
|
-
</td>
|
|
171
|
-
<td style="text-align: center;">
|
|
172
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
173
|
-
</td>
|
|
174
|
-
<!-- <td style="text-align: center;">-->
|
|
175
|
-
<!-- <nobr>{{row.f_address}}</nobr>-->
|
|
176
|
-
<!-- </td>-->
|
|
177
|
-
<td style="text-align: center;">
|
|
178
|
-
<nobr>{{row.f_meternumber}}</nobr>
|
|
179
|
-
</td>
|
|
180
|
-
<td style="text-align: center;">
|
|
181
|
-
<nobr>{{row.f_last_tablebase}}</nobr>
|
|
182
|
-
</td>
|
|
183
|
-
<td style="text-align: center;">
|
|
184
|
-
<nobr>{{row.f_tablebase}}</nobr>
|
|
185
|
-
</td>
|
|
186
|
-
<td style="text-align: center;">
|
|
187
|
-
<nobr>{{row.f_real_amount}}</nobr>
|
|
188
|
-
</td>
|
|
189
|
-
<td style="text-align: center;">
|
|
190
|
-
<nobr>{{row.f_total_gas}}</nobr>
|
|
191
|
-
</td>
|
|
192
|
-
<td style="text-align: center;">
|
|
193
|
-
<nobr>{{row.f_margin_volume}}</nobr>
|
|
194
|
-
</td>
|
|
195
|
-
<td style="text-align: center;">
|
|
196
|
-
<nobr>{{row.f_shengyu_gas}}</nobr>
|
|
197
|
-
</td>
|
|
198
|
-
<td style="text-align: center;">
|
|
199
|
-
<nobr>{{row.f_hand_date}}</nobr>
|
|
200
|
-
</td>
|
|
201
|
-
<td style="text-align: center;">
|
|
202
|
-
<nobr>{{row.f_inputtor}}</nobr>
|
|
203
|
-
</td>
|
|
204
|
-
|
|
205
|
-
<td style="text-align: center;">
|
|
206
|
-
<nobr>{{row.f_meter_state}}</nobr>
|
|
207
|
-
</td>
|
|
208
|
-
<td style="text-align: center;">
|
|
209
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
210
|
-
</td>
|
|
211
|
-
<td style="text-align: center;">
|
|
212
|
-
<nobr>{{row.f_depname}}</nobr>
|
|
213
|
-
</td>
|
|
214
|
-
<!-- <td style="text-align: center;">-->
|
|
215
|
-
<!-- <nobr>{{row.f_orgname}}</nobr>-->
|
|
216
|
-
<!-- </td>-->
|
|
217
|
-
</template>
|
|
218
|
-
<template partial='foot'></template>
|
|
219
|
-
</data-grid>
|
|
220
|
-
</criteria-paged>
|
|
221
|
-
|
|
222
|
-
</div>
|
|
223
|
-
<modal :show.sync="batchmoneyShow" width="500px" title="反盘导入" v-ref:modal large backdrop="false">
|
|
224
|
-
<article slot="modal-body" class="modal-body">
|
|
225
|
-
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
226
|
-
</article>
|
|
227
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
228
|
-
</footer>
|
|
229
|
-
</modal>
|
|
230
|
-
<div v-if="show">
|
|
231
|
-
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
232
|
-
</div>
|
|
233
|
-
</div>
|
|
234
|
-
</div>
|
|
235
|
-
</template>
|
|
236
|
-
|
|
237
|
-
<script>
|
|
238
|
-
import {PagedList, HttpResetClass} from 'vue-client'
|
|
239
|
-
import defaultPrint from '../../../src/components/sale/config/DefaultPrint'
|
|
240
|
-
import exportConfig from '../../../src/components/sale/config/exportConfig'
|
|
241
|
-
|
|
242
|
-
let readySomething = async function (self) {
|
|
243
|
-
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
244
|
-
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
245
|
-
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
246
|
-
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
247
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
248
|
-
await self.$getConfig(self, 'CardHandplanQuery')
|
|
249
|
-
console.log('抄表查询获取默认配置', self.config)
|
|
250
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
251
|
-
console.log('开始初始化参数', self.defaultfield)
|
|
252
|
-
await self.$MagLoadParams.loadParam()
|
|
253
|
-
// await self.$MagLoadParams.loadParam()
|
|
254
|
-
// self.initParams()
|
|
255
|
-
console.log('开始查询')
|
|
256
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
257
|
-
}
|
|
258
|
-
export default {
|
|
259
|
-
props:['data'],
|
|
260
|
-
title: '卡表抄表查询',
|
|
261
|
-
data() {
|
|
262
|
-
return {
|
|
263
|
-
data: {},
|
|
264
|
-
model: new PagedList('rs/sql/cardhandplanQueryzk', 20, {}, {
|
|
265
|
-
f_real_amount: 0
|
|
266
|
-
}),
|
|
267
|
-
initres: {
|
|
268
|
-
org:[this.$login.f.orgid],
|
|
269
|
-
dep:[],
|
|
270
|
-
user:[],
|
|
271
|
-
},
|
|
272
|
-
show:false,
|
|
273
|
-
rowdata:{},
|
|
274
|
-
criteriaShow: false,
|
|
275
|
-
orgCondtionStr: '',
|
|
276
|
-
modelval: [],
|
|
277
|
-
inputtouPerson: [],
|
|
278
|
-
printshow: false,
|
|
279
|
-
all: false,
|
|
280
|
-
fields: {},
|
|
281
|
-
thead: '',
|
|
282
|
-
tfoot: '',
|
|
283
|
-
|
|
284
|
-
// 下拉框
|
|
285
|
-
|
|
286
|
-
//合计数据
|
|
287
|
-
sumsmodel: {},
|
|
288
|
-
defaultfield: [],
|
|
289
|
-
config: {
|
|
290
|
-
defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
|
|
291
|
-
},
|
|
292
|
-
batchmoneyShow:false
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
ready() {
|
|
296
|
-
readySomething(this).then(() => {
|
|
297
|
-
this.$emit('ready')
|
|
298
|
-
}).catch((error) => {
|
|
299
|
-
this.$emit('error', error)
|
|
300
|
-
})
|
|
301
|
-
},
|
|
302
|
-
methods: {
|
|
303
|
-
Fileinput(){
|
|
304
|
-
this.batchmoneyShow=true;
|
|
305
|
-
},
|
|
306
|
-
search(){
|
|
307
|
-
this.$refs.paged.$refs.cri.search()
|
|
308
|
-
},
|
|
309
|
-
cancel() {
|
|
310
|
-
this.show = false
|
|
311
|
-
},
|
|
312
|
-
selfSearch(args) {
|
|
313
|
-
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
314
|
-
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
315
|
-
//抄表员查询条件
|
|
316
|
-
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
317
|
-
if(this.inputtouPerson.length !== 0){
|
|
318
|
-
let str = JSON.stringify(this.inputtouPerson)
|
|
319
|
-
str = str.replace(/"/g,`'`)
|
|
320
|
-
str = str.replace(/\[/g,``)
|
|
321
|
-
str = str.replace(/\]/g,``)
|
|
322
|
-
//查询多个抄表员时条件
|
|
323
|
-
args.condition += ` and f_inputtor in ( ${str} )`
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
args.condition = `${args.condition} ` + this.orgCondtionStr
|
|
327
|
-
this.model.search(args.condition, args.model)
|
|
328
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
329
|
-
},
|
|
330
|
-
clear() {
|
|
331
|
-
//清空部门和人员
|
|
332
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
333
|
-
//部门和人员变为全选
|
|
334
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
335
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
336
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
337
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
338
|
-
})
|
|
339
|
-
},
|
|
340
|
-
show() {
|
|
341
|
-
this.criteriaShow = true
|
|
342
|
-
},
|
|
343
|
-
hidden() {
|
|
344
|
-
this.criteriaShow = !this.criteriaShow
|
|
345
|
-
},
|
|
346
|
-
getRes(obj) {
|
|
347
|
-
this.orgCondtionStr = obj
|
|
348
|
-
},
|
|
349
|
-
stamp() {
|
|
350
|
-
this.all = false
|
|
351
|
-
//默认选择要打印的列
|
|
352
|
-
this.modelval = defaultPrint.config
|
|
353
|
-
this.fields = this.getfield
|
|
354
|
-
console.log('所有打印字段', this.fields)
|
|
355
|
-
this.printshow = true
|
|
356
|
-
this.put()
|
|
357
|
-
},
|
|
358
|
-
put() {
|
|
359
|
-
// 对Modelval进行排序
|
|
360
|
-
this.sortModelval()
|
|
361
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
|
|
362
|
-
for (let key of this.modelval) {
|
|
363
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
364
|
-
}
|
|
365
|
-
this.thead += '</tr>'
|
|
366
|
-
},
|
|
367
|
-
print() {
|
|
368
|
-
this.$refs.print.PrintAsFile()
|
|
369
|
-
this.printshow = false
|
|
370
|
-
},
|
|
371
|
-
dealmsg(val) {
|
|
372
|
-
console.log('---------------dealmsg')
|
|
373
|
-
this.rowdata=val
|
|
374
|
-
this.show=true
|
|
375
|
-
val.model = this.model.model
|
|
376
|
-
this.$dispatch('deal-msg', val)
|
|
377
|
-
},
|
|
378
|
-
close() {
|
|
379
|
-
this.printshow = false
|
|
380
|
-
this.all = false
|
|
381
|
-
},
|
|
382
|
-
// 对选择的列进行排序
|
|
383
|
-
sortModelval() {
|
|
384
|
-
let sortModel = []
|
|
385
|
-
Object.keys(this.fields).forEach((key) => {
|
|
386
|
-
if (this.modelval.includes(key)) {
|
|
387
|
-
sortModel.push(key)
|
|
388
|
-
}
|
|
389
|
-
})
|
|
390
|
-
this.modelval = sortModel
|
|
391
|
-
console.log('选择的打印的字段', this.modelval)
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
watch: {
|
|
395
|
-
'all'(val) {
|
|
396
|
-
if (val) {
|
|
397
|
-
this.modelval = this.bodyData
|
|
398
|
-
} else {
|
|
399
|
-
this.modelval = defaultPrint.config
|
|
400
|
-
this.put()
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
'modelval.length'() {
|
|
404
|
-
this.put()
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
computed: {
|
|
408
|
-
getCondition() {
|
|
409
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
410
|
-
},
|
|
411
|
-
getfield() {
|
|
412
|
-
return exportConfig.cardhandplanConfig
|
|
413
|
-
},
|
|
414
|
-
getBankfield(){
|
|
415
|
-
return exportConfig.batchBankConfig
|
|
416
|
-
},
|
|
417
|
-
usertypes() {
|
|
418
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
419
|
-
},
|
|
420
|
-
accountsState() {
|
|
421
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
|
|
422
|
-
},
|
|
423
|
-
meterstate() {
|
|
424
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
|
|
425
|
-
},
|
|
426
|
-
handstate() {
|
|
427
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
|
|
428
|
-
},
|
|
429
|
-
inputtor() {
|
|
430
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
|
|
431
|
-
},
|
|
432
|
-
whetherPay() {
|
|
433
|
-
return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
events:{
|
|
437
|
-
'onFileUpload': function (file, res) {
|
|
438
|
-
if (this.batchmoneyShow) {
|
|
439
|
-
let param = {
|
|
440
|
-
filepath: res.f_downloadpath,
|
|
441
|
-
f_operator: this.$login.f.name,
|
|
442
|
-
f_operatorid: this.$login.f.id,
|
|
443
|
-
f_orgid: this.$login.f.orgid,
|
|
444
|
-
f_orgname: this.$login.f.orgs,
|
|
445
|
-
f_depid: this.$login.f.depids,
|
|
446
|
-
f_depname: this.$login.f.deps
|
|
447
|
-
}
|
|
448
|
-
let http = new HttpResetClass();
|
|
449
|
-
http.load('POST', 'rs/logic/SumSettleFileImport', {data: param}, {
|
|
450
|
-
resolveMsg: null,
|
|
451
|
-
rejectMsg: '上传失败'
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
</script>
|