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,614 +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
|
-
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
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="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="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.f_userinfo_code"
|
|
33
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
-
</div>
|
|
35
|
-
<div class="col-sm-2 form-group">
|
|
36
|
-
<label class="font_normal_body">客户名称</label>
|
|
37
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div class="span" style="float:right;">
|
|
42
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
43
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
44
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
45
|
-
|
|
46
|
-
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
47
|
-
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
48
|
-
sqlurl="rs/logic/exportfile" sql-name="otherChargeQuery" template-name='其他收费查询导出'
|
|
49
|
-
:choose-col="true"></export-excel>
|
|
50
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
51
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
52
|
-
titletable="其他收费记录"
|
|
53
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
54
|
-
<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>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
59
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
60
|
-
<div class="col-sm-2 form-group">
|
|
61
|
-
<label class="font_normal_body">客户地址</label>
|
|
62
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
63
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="col-sm-2 form-group">
|
|
66
|
-
<label class="font_normal_body">收费类型</label>
|
|
67
|
-
<v-select v-model="model.f_brand_spec"
|
|
68
|
-
placeholder='请选择'
|
|
69
|
-
condition="f_brand_spec in {}"
|
|
70
|
-
:value.sync="model.f_brand_spec" multiple
|
|
71
|
-
:options='$parent.$parent.chargetype'
|
|
72
|
-
@change="$parent.$parent.setTypename"
|
|
73
|
-
close-on-select clear-button></v-select>
|
|
74
|
-
</div>
|
|
75
|
-
<div class="col-sm-2 form-group">
|
|
76
|
-
<label class="font_normal_body">品名规格</label>
|
|
77
|
-
<v-select v-model="model.f_typename"
|
|
78
|
-
placeholder='请选择'
|
|
79
|
-
condition="f_typename in {}"
|
|
80
|
-
:value.sync="model.f_typename" multiple
|
|
81
|
-
:options='$parent.$parent.typeNameList'
|
|
82
|
-
@change="$parent.$parent.setTypenumber"
|
|
83
|
-
close-on-select clear-button>
|
|
84
|
-
</v-select>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="col-sm-2 form-group">
|
|
87
|
-
<label class="font_normal_body">型  号</label>
|
|
88
|
-
<v-select v-model="model.f_typenumber"
|
|
89
|
-
placeholder='请选择'
|
|
90
|
-
condition="f_typenumber = '{}'"
|
|
91
|
-
:value.sync="model.f_typenumber"
|
|
92
|
-
:options='$parent.$parent.typenumberList'
|
|
93
|
-
close-on-select clear-button>
|
|
94
|
-
</v-select>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="col-sm-2 form-group">
|
|
97
|
-
<label class="font_normal_body">用户类型</label>
|
|
98
|
-
<v-select id="f_user_type"
|
|
99
|
-
v-model="model.f_user_type"
|
|
100
|
-
placeholder='请选择'
|
|
101
|
-
condition="f_user_type ='{}'"
|
|
102
|
-
:value.sync="model.f_user_type"
|
|
103
|
-
@change="$parent.$parent.userTypeChange(model.f_user_type)"
|
|
104
|
-
:options='$parent.$parent.userTypes'
|
|
105
|
-
close-on-select clear-button></v-select>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="col-sm-2 form-group">
|
|
108
|
-
<label class="font_normal_body">用气性质</label>
|
|
109
|
-
<v-select id="f_gasproperties"
|
|
110
|
-
v-model="model.f_gasproperties"
|
|
111
|
-
placeholder='请选择'
|
|
112
|
-
condition="f_gasproperties ='{}'"
|
|
113
|
-
:value.sync="model.f_gasproperties"
|
|
114
|
-
:options='$parent.$parent.gasproperties'
|
|
115
|
-
close-on-select clear-button></v-select>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="col-sm-2 form-group">
|
|
118
|
-
<label class="font_normal_body">收费状态</label>
|
|
119
|
-
<v-select id="f_state"
|
|
120
|
-
v-model="model.f_state"
|
|
121
|
-
placeholder='请选择'
|
|
122
|
-
condition="f_state in {}"
|
|
123
|
-
multiple="true"
|
|
124
|
-
:value.sync="model.f_state"
|
|
125
|
-
:options='$parent.$parent.chargeState'
|
|
126
|
-
close-on-select clear-button>
|
|
127
|
-
</v-select>
|
|
128
|
-
</div>
|
|
129
|
-
|
|
130
|
-
<div class="col-sm-2 form-group">
|
|
131
|
-
<label class="font_normal_body">付款方式</label>
|
|
132
|
-
<v-select id="f_payment"
|
|
133
|
-
v-model="model.f_payment"
|
|
134
|
-
placeholder='请选择'
|
|
135
|
-
condition="f_payment in {}"
|
|
136
|
-
multiple="true"
|
|
137
|
-
:value.sync="model.f_payment"
|
|
138
|
-
:options='$parent.$parent.payments'
|
|
139
|
-
close-on-select clear-button>
|
|
140
|
-
</v-select>
|
|
141
|
-
</div>
|
|
142
|
-
<div class="col-sm-2 form-group">
|
|
143
|
-
<label class="font_normal_body">服务人员</label>
|
|
144
|
-
<v-select id="f_service_person"
|
|
145
|
-
v-model="model.f_service_person"
|
|
146
|
-
placeholder='请选择'
|
|
147
|
-
condition="f_service_person ='{}'"
|
|
148
|
-
:value.sync="model.f_service_person"
|
|
149
|
-
:options='$parent.$parent.service_person'
|
|
150
|
-
close-on-select clear-button>
|
|
151
|
-
</v-select>
|
|
152
|
-
</div>
|
|
153
|
-
<div class="col-sm-2 form-group">
|
|
154
|
-
<label class="font_normal_body">气表类型</label>
|
|
155
|
-
<v-select :value.sync="model.f_meter_classify" multiple
|
|
156
|
-
:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
|
|
157
|
-
condition="f_meter_classify in {}"
|
|
158
|
-
close-on-select></v-select>
|
|
159
|
-
</div>
|
|
160
|
-
<div class="col-sm-2 form-group">
|
|
161
|
-
<label class="font_normal_body">气表品牌</label>
|
|
162
|
-
<v-select :value.sync="model.f_meter_brand" multiple
|
|
163
|
-
v-model="model.f_meter_brand"
|
|
164
|
-
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
165
|
-
condition="f_meter_brand in {}"
|
|
166
|
-
close-on-select></v-select>
|
|
167
|
-
</div>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
</criteria>
|
|
171
|
-
|
|
172
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
173
|
-
<template partial='head'>
|
|
174
|
-
<tr>
|
|
175
|
-
<th>
|
|
176
|
-
<nobr>客户编号</nobr>
|
|
177
|
-
</th>
|
|
178
|
-
<th>
|
|
179
|
-
<nobr>收费编号</nobr>
|
|
180
|
-
</th>
|
|
181
|
-
<th>
|
|
182
|
-
<nobr>客户名称</nobr>
|
|
183
|
-
</th>
|
|
184
|
-
<th>
|
|
185
|
-
<nobr>客户地址</nobr>
|
|
186
|
-
</th>
|
|
187
|
-
<th>
|
|
188
|
-
<nobr>气表类型</nobr>
|
|
189
|
-
</th>
|
|
190
|
-
<th>
|
|
191
|
-
<nobr>气表品牌</nobr>
|
|
192
|
-
</th>
|
|
193
|
-
<th>
|
|
194
|
-
<nobr>卡号</nobr>
|
|
195
|
-
</th>
|
|
196
|
-
<th>
|
|
197
|
-
<nobr>收据票号</nobr>
|
|
198
|
-
</th>
|
|
199
|
-
|
|
200
|
-
<th>
|
|
201
|
-
<nobr>收费类型</nobr>
|
|
202
|
-
</th>
|
|
203
|
-
<th>
|
|
204
|
-
<nobr>品名规格</nobr>
|
|
205
|
-
</th>
|
|
206
|
-
<th>
|
|
207
|
-
<nobr>型号</nobr>
|
|
208
|
-
</th>
|
|
209
|
-
<th>
|
|
210
|
-
<nobr>单价</nobr>
|
|
211
|
-
</th>
|
|
212
|
-
<th>
|
|
213
|
-
<nobr>数量</nobr>
|
|
214
|
-
</th>
|
|
215
|
-
<th>
|
|
216
|
-
<nobr>收款</nobr>
|
|
217
|
-
</th>
|
|
218
|
-
<th>
|
|
219
|
-
<nobr>付款方式</nobr>
|
|
220
|
-
</th>
|
|
221
|
-
<th>
|
|
222
|
-
<nobr>状态</nobr>
|
|
223
|
-
</th>
|
|
224
|
-
<th>
|
|
225
|
-
<nobr>收费日期</nobr>
|
|
226
|
-
</th>
|
|
227
|
-
<th>
|
|
228
|
-
<nobr>服务人员</nobr>
|
|
229
|
-
</th>
|
|
230
|
-
<th>
|
|
231
|
-
<nobr>备注</nobr>
|
|
232
|
-
</th>
|
|
233
|
-
<th>
|
|
234
|
-
<nobr>人员</nobr>
|
|
235
|
-
</th>
|
|
236
|
-
<th>
|
|
237
|
-
<nobr>部门</nobr>
|
|
238
|
-
</th>
|
|
239
|
-
<th>
|
|
240
|
-
<nobr>公司</nobr>
|
|
241
|
-
</th>
|
|
242
|
-
<th><nobr>附件</nobr></th>
|
|
243
|
-
<!--<th><nobr>查看详情</nobr></th>-->
|
|
244
|
-
</tr>
|
|
245
|
-
</template>
|
|
246
|
-
<template partial='body'>
|
|
247
|
-
<td style="text-align: center;">
|
|
248
|
-
<nobr>
|
|
249
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
250
|
-
</td>
|
|
251
|
-
<td style="text-align: center;">
|
|
252
|
-
<nobr>{{row.id}}</nobr>
|
|
253
|
-
</td>
|
|
254
|
-
<td style="text-align: center;">
|
|
255
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
256
|
-
</td>
|
|
257
|
-
<td style="text-align: center;">
|
|
258
|
-
<nobr>{{row.f_address}}</nobr>
|
|
259
|
-
</td>
|
|
260
|
-
<td style="text-align: center;">
|
|
261
|
-
<nobr>{{row.f_meter_classify}}</nobr>
|
|
262
|
-
</td>
|
|
263
|
-
<td style="text-align: center;">
|
|
264
|
-
<nobr>{{row.f_meter_brand}}</nobr>
|
|
265
|
-
</td>
|
|
266
|
-
<td style="text-align: center;">
|
|
267
|
-
<nobr>{{row.f_card_id}}</nobr>
|
|
268
|
-
</td>
|
|
269
|
-
|
|
270
|
-
<td style="text-align: center;">
|
|
271
|
-
<nobr>{{row.f_bill_number}}</nobr>
|
|
272
|
-
</td>
|
|
273
|
-
<td style="text-align: center;">
|
|
274
|
-
<nobr>{{row.f_brand_spec}}</nobr>
|
|
275
|
-
</td>
|
|
276
|
-
<td style="text-align: center;">
|
|
277
|
-
<nobr>{{row.f_typename}}</nobr>
|
|
278
|
-
</td>
|
|
279
|
-
<td style="text-align: center;">
|
|
280
|
-
<nobr>{{row.f_typenumber}}</nobr>
|
|
281
|
-
</td>
|
|
282
|
-
<td style="text-align: center;">
|
|
283
|
-
<nobr>{{row.f_unitprice}}</nobr>
|
|
284
|
-
</td>
|
|
285
|
-
<td style="text-align: center;">
|
|
286
|
-
<nobr>{{row.f_number}}</nobr>
|
|
287
|
-
</td>
|
|
288
|
-
<td style="text-align: center;">
|
|
289
|
-
<nobr>{{row.f_money}}</nobr>
|
|
290
|
-
</td>
|
|
291
|
-
<td style="text-align: center;">
|
|
292
|
-
<nobr>{{row.f_payment}}</nobr>
|
|
293
|
-
</td>
|
|
294
|
-
<td style="text-align: center;">
|
|
295
|
-
<nobr>{{row.f_state}}</nobr>
|
|
296
|
-
</td>
|
|
297
|
-
<td style="text-align: center;">
|
|
298
|
-
<nobr>{{row.f_operate_date}}</nobr>
|
|
299
|
-
</td>
|
|
300
|
-
<td style="text-align: center;">
|
|
301
|
-
<nobr>{{row.f_service_person}}</nobr>
|
|
302
|
-
</td>
|
|
303
|
-
<td style="text-align: center;">
|
|
304
|
-
<nobr>{{row.f_comments}}</nobr>
|
|
305
|
-
</td>
|
|
306
|
-
<td style="text-align: center;">
|
|
307
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
308
|
-
</td>
|
|
309
|
-
<td style="text-align: center;">
|
|
310
|
-
<nobr>{{row.f_depname}}</nobr>
|
|
311
|
-
</td>
|
|
312
|
-
<td style="text-align: center;">
|
|
313
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
314
|
-
</td>
|
|
315
|
-
<td style="text-align: center;"><nobr>
|
|
316
|
-
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
317
|
-
</nobr></td>
|
|
318
|
-
<!--<td style="text-align: center;">-->
|
|
319
|
-
<!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showchargedetail(row)">查看</button>-->
|
|
320
|
-
<!--</td>-->
|
|
321
|
-
</template>
|
|
322
|
-
<template partial='foot'></template>
|
|
323
|
-
</data-grid>
|
|
324
|
-
|
|
325
|
-
</criteria-paged>
|
|
326
|
-
|
|
327
|
-
<table class="table-hover">
|
|
328
|
-
<tr style="position: relative" class="table-bordered">
|
|
329
|
-
<td
|
|
330
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
331
|
-
汇总信息
|
|
332
|
-
</td>
|
|
333
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
334
|
-
收款合计: {{sumsmodel.f_money}}
|
|
335
|
-
</td>
|
|
336
|
-
</tr>
|
|
337
|
-
</table>
|
|
338
|
-
|
|
339
|
-
</div>
|
|
340
|
-
<div class="flex" v-if="show">
|
|
341
|
-
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
342
|
-
</div>
|
|
343
|
-
</div>
|
|
344
|
-
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
345
|
-
<article slot="modal-body">
|
|
346
|
-
<upload :blodid="selected.f_blod_id" v-ref:upload isupload="false" takeimg="false" fusetype="其他收费" :isremark="false" style="width:auto" ></upload>
|
|
347
|
-
</article>
|
|
348
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
349
|
-
</footer>
|
|
350
|
-
</modal>
|
|
351
|
-
</div>
|
|
352
|
-
|
|
353
|
-
<modal v-if="showdetail" :show.sync="showdetail" title="详细记录" v-ref:modal large backdrop="false">
|
|
354
|
-
<article slot="modal-body" class="modal-body">
|
|
355
|
-
<other-charge-detail-query :otherchargeid="otherchargeid" ></other-charge-detail-query>
|
|
356
|
-
</article>
|
|
357
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
358
|
-
</footer>
|
|
359
|
-
</modal>
|
|
360
|
-
|
|
361
|
-
</template>
|
|
362
|
-
|
|
363
|
-
<script>
|
|
364
|
-
import {PagedList} from 'vue-client'
|
|
365
|
-
import defaultPrint from '../../../src/components/sale/config/DefaultPrint'
|
|
366
|
-
import exportConfig from '../../../src/components/sale/config/exportConfig'
|
|
367
|
-
import OtherChargeDetailQuery from "../../../src/components/sale/businessquery/OtherChargeDetailQuery";
|
|
368
|
-
|
|
369
|
-
let readySomething = async function (self) {
|
|
370
|
-
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
371
|
-
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
372
|
-
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
373
|
-
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
374
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
375
|
-
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
376
|
-
await self.$MagLoadParams.loadParam()
|
|
377
|
-
|
|
378
|
-
self.initParams()
|
|
379
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
380
|
-
}
|
|
381
|
-
export default {
|
|
382
|
-
components: {
|
|
383
|
-
OtherChargeDetailQuery
|
|
384
|
-
},
|
|
385
|
-
props:['data'],
|
|
386
|
-
title: '其他收费查询',
|
|
387
|
-
data() {
|
|
388
|
-
return {
|
|
389
|
-
data: {},
|
|
390
|
-
other:[],
|
|
391
|
-
footer:[],
|
|
392
|
-
model: new PagedList('rs/sql/otherChargeQuery', 20, {}, {f_money: 0}),
|
|
393
|
-
criteriaShow: false,
|
|
394
|
-
orgCondtionStr: '',
|
|
395
|
-
modelval: [],
|
|
396
|
-
printshow: false,
|
|
397
|
-
all: false,
|
|
398
|
-
fields: {},
|
|
399
|
-
config: {
|
|
400
|
-
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_brand_spec', 'f_typename', 'f_typenumber', 'f_unitprice', 'f_number', 'f_money','f_operate_date', 'f_operator']
|
|
401
|
-
},
|
|
402
|
-
//默认打印列
|
|
403
|
-
defaultfield: [],
|
|
404
|
-
thead: '',
|
|
405
|
-
tfoot: '',
|
|
406
|
-
initres: {
|
|
407
|
-
org:[this.$login.f.orgid],
|
|
408
|
-
dep:[],
|
|
409
|
-
user:[],
|
|
410
|
-
},
|
|
411
|
-
show:false,
|
|
412
|
-
showdetail:false,
|
|
413
|
-
otherchargeid:'',
|
|
414
|
-
rowdata:{},
|
|
415
|
-
meterbrands: [],
|
|
416
|
-
//合计数据
|
|
417
|
-
sumsmodel: {},
|
|
418
|
-
showupload:false,
|
|
419
|
-
selected:{},
|
|
420
|
-
// 用气性质
|
|
421
|
-
gasproperties: [],
|
|
422
|
-
// 品名规格
|
|
423
|
-
typeNameList: [],
|
|
424
|
-
// 型号
|
|
425
|
-
typenumberList: []
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
ready() {
|
|
429
|
-
readySomething(this).then(() => {
|
|
430
|
-
this.$emit('ready')
|
|
431
|
-
}).catch((error) => {
|
|
432
|
-
this.$emit('error', error)
|
|
433
|
-
})
|
|
434
|
-
},
|
|
435
|
-
methods: {
|
|
436
|
-
view(row){
|
|
437
|
-
this.showupload = true
|
|
438
|
-
this.selected= row
|
|
439
|
-
console.log(this.selected)
|
|
440
|
-
},
|
|
441
|
-
initParams() {
|
|
442
|
-
// 初始化气表品牌
|
|
443
|
-
let brandArr = []
|
|
444
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
445
|
-
let temp = {}
|
|
446
|
-
temp.label = item.label
|
|
447
|
-
temp.value = item.value.f_meter_brand
|
|
448
|
-
brandArr.push(temp)
|
|
449
|
-
})
|
|
450
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
451
|
-
},
|
|
452
|
-
getotherfooter(){
|
|
453
|
-
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
454
|
-
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
455
|
-
this.other=[];
|
|
456
|
-
this.footer=[];
|
|
457
|
-
let exportdata = this.getCondition;
|
|
458
|
-
let otherInData=[];
|
|
459
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
460
|
-
let footerData=[],exportfield=this.getfield;
|
|
461
|
-
footerData.push("合计");
|
|
462
|
-
let self = this;
|
|
463
|
-
for(var field in self.sumsmodel){
|
|
464
|
-
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
465
|
-
}
|
|
466
|
-
this.footer.push(footerData);
|
|
467
|
-
this.other.push(otherInData);
|
|
468
|
-
},
|
|
469
|
-
search(){
|
|
470
|
-
this.$refs.paged.$refs.cri.search()
|
|
471
|
-
},
|
|
472
|
-
selfSearch(args) {
|
|
473
|
-
if (this.data) {
|
|
474
|
-
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
475
|
-
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
476
|
-
}
|
|
477
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
478
|
-
this.model.search(args.condition, args.model)
|
|
479
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
480
|
-
},
|
|
481
|
-
clear() {
|
|
482
|
-
//清空部门和人员
|
|
483
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
484
|
-
//部门和人员变为全选
|
|
485
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
486
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
487
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
488
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
489
|
-
})
|
|
490
|
-
},
|
|
491
|
-
show() {
|
|
492
|
-
this.criteriaShow = true
|
|
493
|
-
},
|
|
494
|
-
hidden() {
|
|
495
|
-
this.criteriaShow = !this.criteriaShow
|
|
496
|
-
},
|
|
497
|
-
getRes(obj) {
|
|
498
|
-
this.orgCondtionStr = obj
|
|
499
|
-
},
|
|
500
|
-
cancel() {
|
|
501
|
-
this.show = false
|
|
502
|
-
},
|
|
503
|
-
dealmsg(val) {
|
|
504
|
-
console.log('---------------dealmsg')
|
|
505
|
-
this.rowdata=val
|
|
506
|
-
this.show=true
|
|
507
|
-
val.model = this.model.model
|
|
508
|
-
this.$dispatch('deal-msg', val)
|
|
509
|
-
},
|
|
510
|
-
stamp() {
|
|
511
|
-
this.all = false
|
|
512
|
-
//默认选择要打印的列
|
|
513
|
-
this.modelval = defaultPrint.config
|
|
514
|
-
this.fields = this.getfield
|
|
515
|
-
console.log('所有打印字段', this.fields)
|
|
516
|
-
this.printshow = true
|
|
517
|
-
this.put()
|
|
518
|
-
},
|
|
519
|
-
put() {
|
|
520
|
-
// 对Modelval进行排序
|
|
521
|
-
this.sortModelval()
|
|
522
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>其他收费查询统计报表</th></tr><tr>`
|
|
523
|
-
for (let key of this.modelval) {
|
|
524
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
525
|
-
}
|
|
526
|
-
this.thead += '</tr>'
|
|
527
|
-
},
|
|
528
|
-
print() {
|
|
529
|
-
this.$refs.print.PrintAsFile()
|
|
530
|
-
this.printshow = false
|
|
531
|
-
},
|
|
532
|
-
close() {
|
|
533
|
-
this.printshow = false
|
|
534
|
-
this.all = false
|
|
535
|
-
},
|
|
536
|
-
// 对选择的列进行排序
|
|
537
|
-
sortModelval() {
|
|
538
|
-
let sortModel = []
|
|
539
|
-
Object.keys(this.fields).forEach((key) => {
|
|
540
|
-
if (this.modelval.includes(key)) {
|
|
541
|
-
sortModel.push(key)
|
|
542
|
-
}
|
|
543
|
-
})
|
|
544
|
-
this.modelval = sortModel
|
|
545
|
-
console.log('选择的打印的字段', this.modelval)
|
|
546
|
-
},
|
|
547
|
-
showchargedetail(row){
|
|
548
|
-
this.showdetail=true
|
|
549
|
-
this.otherchargeid=row.id
|
|
550
|
-
},
|
|
551
|
-
userTypeChange (f_user_type) {
|
|
552
|
-
this.gasproperties = []
|
|
553
|
-
if (f_user_type) {
|
|
554
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties = ''
|
|
555
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
556
|
-
} else {
|
|
557
|
-
this.gasproperties = [{label: '全部', value: ''}]
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
setTypename (val) {
|
|
561
|
-
this.typenumberList = []
|
|
562
|
-
this.typeNameList = this.$appdata.getParam(val)
|
|
563
|
-
},
|
|
564
|
-
setTypenumber (val) {
|
|
565
|
-
this.typenumberList = this.$appdata.getParam(val)
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
watch: {
|
|
569
|
-
'all'(val) {
|
|
570
|
-
if (val) {
|
|
571
|
-
this.modelval = this.bodyData
|
|
572
|
-
} else {
|
|
573
|
-
this.modelval = defaultPrint.config
|
|
574
|
-
this.put()
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
'modelval.length'() {
|
|
578
|
-
this.put()
|
|
579
|
-
},
|
|
580
|
-
sumsmodel:{
|
|
581
|
-
handler: function(val) {
|
|
582
|
-
this.getotherfooter();
|
|
583
|
-
},
|
|
584
|
-
deep: true
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
computed: {
|
|
588
|
-
getCondition() {
|
|
589
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
590
|
-
},
|
|
591
|
-
service_person() {
|
|
592
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('服务人员')]
|
|
593
|
-
},
|
|
594
|
-
getfield() {
|
|
595
|
-
return exportConfig.otherchargeConfig
|
|
596
|
-
},
|
|
597
|
-
chargetype() {
|
|
598
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('品名及规格')]
|
|
599
|
-
},
|
|
600
|
-
userTypes() {
|
|
601
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
602
|
-
},
|
|
603
|
-
chargeState() {
|
|
604
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
605
|
-
},
|
|
606
|
-
metertypes() {
|
|
607
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
608
|
-
},
|
|
609
|
-
payments() {
|
|
610
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
</script>
|