manage-client 3.2.132 → 3.2.135
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 +2 -2
- package/src/ManageHome.js +258 -263
- package/src/components/SellReport/ESaleMonthReport.vue +221 -0
- package/src/components/sale/businessquery/ChargeQuery.vue +5 -3
- package/src/components/sale/filesquery/MeterQuery.vue +9 -7
- package/src/filiale/WEINAN/BusinessManage.vue +13 -5
- package/src/filiale/WEINAN/CancellationQuery.vue +422 -0
- package/src/filiale/WEINAN/ChargeQuery.vue +70 -76
- package/src/filiale/WEINAN/CollectManage.vue +148 -0
- package/src/filiale/WEINAN/DisableQuery.vue +523 -0
- package/src/filiale/WEINAN/EnableQuery.vue +456 -0
- package/src/filiale/WEINAN/FillGasQuery.vue +6 -2
- package/src/filiale/WEINAN/NewAccountQuery.vue +432 -0
- package/src/filiale/WEINAN/OtherChargeQuery.vue +8 -7
- package/src/filiale/WEINAN/RecordInfoQuery.vue +5 -2
- package/src/filiale/WEINAN/config/exportConfig.js +24 -33
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +20 -12
- package/src/filiale/WEINAN/sale.js +13 -4
- package/src/filiale/macheng/HandplanQuery.vue +6 -0
- package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +33 -12
- package/src/filiale/macheng/config/exportConfig.js +1 -1
- package/src/filiale/macheng/webmeterManage.js +9 -0
- package/src/filiale/tongchuan/MeterQuery.vue +1 -1
- package/src/main.js +19 -19
- package/src/newmanage.js +503 -508
- package/src/reportManage.js +565 -566
- package/src/saleManage.js +563 -568
- package/src/webmeterManage.js +99 -104
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!showinfo">
|
|
5
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
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'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="f_open_date >= '{} 00:00:00'">
|
|
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'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_open_date <= '{} 23:59:59'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="span" style="float:right;">
|
|
31
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
34
|
+
|
|
35
|
+
<!--v-if="$parent.$parent.authArr.includes('开户查询导出')"-->
|
|
36
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
37
|
+
:field="$parent.$parent.getfield"
|
|
38
|
+
sqlurl="rs/logic/exportfile" sql-name="newAccountQuery" template-name='开户查询导出'
|
|
39
|
+
:choose-col="true"></export-excel>
|
|
40
|
+
|
|
41
|
+
<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>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
45
|
+
<div class="col-sm-2 form-group">
|
|
46
|
+
<label class="font_normal_body">客户编号</label>
|
|
47
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
48
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
49
|
+
</div>
|
|
50
|
+
<div class="col-sm-2 form-group">
|
|
51
|
+
<label class="font_normal_body">客户名称</label>
|
|
52
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
53
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-2 form-group">
|
|
56
|
+
<label class="font_normal_body">用户类型</label>
|
|
57
|
+
<v-select :value.sync="model.f_user_type"
|
|
58
|
+
@change="$parent.$parent.userTypeChange()"
|
|
59
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
60
|
+
condition="f_user_type = '{}'"
|
|
61
|
+
close-on-select>
|
|
62
|
+
</v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-sm-2 form-group">
|
|
65
|
+
<label class="font_normal_body">用气性质</label>
|
|
66
|
+
<v-select :value.sync="model.f_gasproperties"
|
|
67
|
+
v-model="model.f_gasproperties"
|
|
68
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
69
|
+
condition=" f_gasproperties = '{}'"
|
|
70
|
+
close-on-select></v-select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="col-sm-2 form-group">
|
|
73
|
+
<label class="font_normal_body">气价类型</label>
|
|
74
|
+
<v-select :value.sync="model.pricetype" v-model="model.pricetype"
|
|
75
|
+
placeholder='气价类型' :options="$parent.$parent.pricetypes"
|
|
76
|
+
condition="f_price_type = '{}'"
|
|
77
|
+
close-on-select>
|
|
78
|
+
</v-select>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="col-sm-2 form-group">
|
|
81
|
+
<label class="font_normal_body">气表品牌</label>
|
|
82
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
83
|
+
v-model="model.f_meter_brand"
|
|
84
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
85
|
+
condition="f_meter_brand = '{}'"
|
|
86
|
+
close-on-select></v-select>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="col-sm-2 form-group">
|
|
89
|
+
<label class="font_normal_body">客户地址</label>
|
|
90
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
91
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="col-sm-2 form-group">
|
|
94
|
+
<label class="font_normal_body"> 小区 </label>
|
|
95
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
|
|
96
|
+
condition="f_residential_area like '%{}%'" placeholder="小区"/>
|
|
97
|
+
</div>
|
|
98
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</criteria>
|
|
102
|
+
|
|
103
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
104
|
+
<template partial='head'>
|
|
105
|
+
<tr>
|
|
106
|
+
<th>
|
|
107
|
+
<nobr>客户编号</nobr>
|
|
108
|
+
</th>
|
|
109
|
+
<th>
|
|
110
|
+
<nobr>客户名称</nobr>
|
|
111
|
+
</th>
|
|
112
|
+
<th>
|
|
113
|
+
<data-order field="f_address" name="客户地址"></data-order>
|
|
114
|
+
</th>
|
|
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
|
+
<th>
|
|
152
|
+
<nobr>开户人</nobr>
|
|
153
|
+
</th>
|
|
154
|
+
</tr>
|
|
155
|
+
</template>
|
|
156
|
+
<template partial='body'>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
159
|
+
</td>
|
|
160
|
+
<td style="text-align: center;">
|
|
161
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
162
|
+
</td>
|
|
163
|
+
<td style="text-align: center;">
|
|
164
|
+
<nobr>{{row.f_address}}</nobr>
|
|
165
|
+
</td>
|
|
166
|
+
<td style="text-align: center;">
|
|
167
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
168
|
+
</td>
|
|
169
|
+
<td style="text-align: center;">
|
|
170
|
+
<nobr>{{row.f_idnumber}}</nobr>
|
|
171
|
+
</td>
|
|
172
|
+
<td style="text-align: center;">
|
|
173
|
+
<nobr>{{row.f_price_name}}</nobr>
|
|
174
|
+
</td>
|
|
175
|
+
<td style="text-align: center;">
|
|
176
|
+
<nobr>{{row.f_open_date}}</nobr>
|
|
177
|
+
</td>
|
|
178
|
+
<td style="text-align: center;">
|
|
179
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
180
|
+
</td>
|
|
181
|
+
<td style="text-align: center;">
|
|
182
|
+
<nobr>{{row.f_gas_person}}</nobr>
|
|
183
|
+
</td>
|
|
184
|
+
<td style="text-align: center;">
|
|
185
|
+
<nobr>{{row.f_gas_date}}</nobr>
|
|
186
|
+
</td>
|
|
187
|
+
<td style="text-align: center;">
|
|
188
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
189
|
+
</td>
|
|
190
|
+
<td style="text-align: center;">
|
|
191
|
+
<nobr>{{row.f_total_gas}}</nobr>
|
|
192
|
+
</td>
|
|
193
|
+
<td style="text-align: center;">
|
|
194
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
195
|
+
</td>
|
|
196
|
+
<td style="text-align: center;">
|
|
197
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
198
|
+
</td>
|
|
199
|
+
<td style="text-align: center;">
|
|
200
|
+
<nobr>{{row.isbgl}}</nobr>
|
|
201
|
+
</td>
|
|
202
|
+
<td style="text-align: center;">
|
|
203
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
204
|
+
</td>
|
|
205
|
+
</template>
|
|
206
|
+
<template partial='foot'></template>
|
|
207
|
+
</data-grid>
|
|
208
|
+
</criteria-paged>
|
|
209
|
+
</div>
|
|
210
|
+
<div v-if="showinfo">
|
|
211
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</template>
|
|
216
|
+
|
|
217
|
+
<script>
|
|
218
|
+
import {PagedList} from 'vue-client'
|
|
219
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
220
|
+
import exportConfig from '../config/exportConfig'
|
|
221
|
+
|
|
222
|
+
let readySomething = async function (self) {
|
|
223
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
224
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
225
|
+
await self.$MagLoadParams.loadParam()
|
|
226
|
+
self.initParams()
|
|
227
|
+
|
|
228
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
229
|
+
}
|
|
230
|
+
export default {
|
|
231
|
+
title: '开户查询',
|
|
232
|
+
data() {
|
|
233
|
+
return {
|
|
234
|
+
data: {},
|
|
235
|
+
initres: {
|
|
236
|
+
org:[this.$login.f.orgid],
|
|
237
|
+
dep:[],
|
|
238
|
+
user:[],
|
|
239
|
+
},
|
|
240
|
+
orderFields: {
|
|
241
|
+
f_address: 'no'
|
|
242
|
+
},
|
|
243
|
+
orderDefault: "'f_open_date desc'",
|
|
244
|
+
model: new PagedList('rs/sql/newAccountQuery', 20,{orderitem: "'f_open_date desc'"}),
|
|
245
|
+
f_orgid: this.$login.f.orgid,
|
|
246
|
+
criteriaShow: false,
|
|
247
|
+
modelval: [],
|
|
248
|
+
printshow: false,
|
|
249
|
+
all: false,
|
|
250
|
+
fields: {},
|
|
251
|
+
thead: '',
|
|
252
|
+
tfoot: '',
|
|
253
|
+
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
254
|
+
// orgCondtionStr: ` and f_orgid = '${this.$login.f.orgid}'`,
|
|
255
|
+
meterbrands: [],
|
|
256
|
+
showinfo:false,
|
|
257
|
+
rowdata:{},
|
|
258
|
+
//合计数据
|
|
259
|
+
sumsmodel: {},
|
|
260
|
+
gasproperties:[],
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
ready() {
|
|
264
|
+
readySomething(this).then(() => {
|
|
265
|
+
this.$emit('ready')
|
|
266
|
+
}).catch((error) => {
|
|
267
|
+
this.$emit('error', error)
|
|
268
|
+
})
|
|
269
|
+
},
|
|
270
|
+
methods: {
|
|
271
|
+
cancel() {
|
|
272
|
+
this.showinfo = false
|
|
273
|
+
},
|
|
274
|
+
search() {
|
|
275
|
+
this.$refs.paged.$refs.cri.search()
|
|
276
|
+
},
|
|
277
|
+
getRes(obj) {
|
|
278
|
+
console.log(obj,"========")
|
|
279
|
+
this.orgCondtionStr = obj
|
|
280
|
+
},
|
|
281
|
+
selfSearch(args) {
|
|
282
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
283
|
+
this.model.search(args.condition, args.model)
|
|
284
|
+
},
|
|
285
|
+
showmsg(obj){
|
|
286
|
+
this.rowdata=obj
|
|
287
|
+
this.showinfo=true
|
|
288
|
+
},
|
|
289
|
+
initParams() {
|
|
290
|
+
// 初始化气表品牌
|
|
291
|
+
let brandArr = []
|
|
292
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
293
|
+
let temp = {}
|
|
294
|
+
temp.label = item.label
|
|
295
|
+
temp.value = item.value.f_meter_brand
|
|
296
|
+
brandArr.push(temp)
|
|
297
|
+
})
|
|
298
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
clear() {
|
|
302
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
303
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
304
|
+
})
|
|
305
|
+
},
|
|
306
|
+
show() {
|
|
307
|
+
this.criteriaShow = true
|
|
308
|
+
},
|
|
309
|
+
hidden() {
|
|
310
|
+
this.criteriaShow = !this.criteriaShow
|
|
311
|
+
},
|
|
312
|
+
dealmsg(val) {
|
|
313
|
+
console.log('---------------dealmsg')
|
|
314
|
+
this.rowdata=val
|
|
315
|
+
this.show=true
|
|
316
|
+
val.model = this.model.model
|
|
317
|
+
this.$dispatch('deal-msg', val)
|
|
318
|
+
},
|
|
319
|
+
stamp() {
|
|
320
|
+
this.all = false
|
|
321
|
+
//默认选择要打印的列
|
|
322
|
+
this.modelval = defaultPrint.config
|
|
323
|
+
this.fields = this.getfield
|
|
324
|
+
console.log('所有打印字段', this.fields)
|
|
325
|
+
this.printshow = true
|
|
326
|
+
this.put()
|
|
327
|
+
},
|
|
328
|
+
put() {
|
|
329
|
+
// 对Modelval进行排序
|
|
330
|
+
this.sortModelval()
|
|
331
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>开户查询</th></tr><tr>`
|
|
332
|
+
for (let key of this.modelval) {
|
|
333
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
334
|
+
}
|
|
335
|
+
this.thead += '</tr>'
|
|
336
|
+
},
|
|
337
|
+
print() {
|
|
338
|
+
this.$refs.print.PrintAsFile()
|
|
339
|
+
this.printshow = false
|
|
340
|
+
},
|
|
341
|
+
close() {
|
|
342
|
+
this.printshow = false
|
|
343
|
+
this.all = false
|
|
344
|
+
},
|
|
345
|
+
// 对选择的列进行排序
|
|
346
|
+
sortModelval() {
|
|
347
|
+
let sortModel = []
|
|
348
|
+
Object.keys(this.fields).forEach((key) => {
|
|
349
|
+
if (this.modelval.includes(key)) {
|
|
350
|
+
sortModel.push(key)
|
|
351
|
+
}
|
|
352
|
+
})
|
|
353
|
+
this.modelval = sortModel
|
|
354
|
+
console.log('选择的打印的字段', this.modelval)
|
|
355
|
+
},
|
|
356
|
+
async updateParams() {
|
|
357
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
358
|
+
this.initParams()
|
|
359
|
+
},
|
|
360
|
+
sort (field, rule) {
|
|
361
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
362
|
+
for (let key in this.orderFields) {
|
|
363
|
+
if (key === field) {
|
|
364
|
+
this.orderFields[key] = rule
|
|
365
|
+
} else {
|
|
366
|
+
this.orderFields[key] = 'no'
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
// 如果新规则不排序,还原为默认排序
|
|
370
|
+
if (rule === 'no') {
|
|
371
|
+
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
|
372
|
+
} else {
|
|
373
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
this.search()
|
|
377
|
+
},
|
|
378
|
+
userTypeChange () {
|
|
379
|
+
this.gasproperties=[]
|
|
380
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
381
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
382
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
383
|
+
}
|
|
384
|
+
else{
|
|
385
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
watch: {
|
|
390
|
+
'all'(val) {
|
|
391
|
+
if (val) {
|
|
392
|
+
this.modelval = this.bodyData
|
|
393
|
+
} else {
|
|
394
|
+
this.modelval = defaultPrint.config
|
|
395
|
+
this.put()
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
'modelval.length'() {
|
|
399
|
+
this.put()
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
computed: {
|
|
403
|
+
authArr () {
|
|
404
|
+
return this.$login.r ? this.$login.r : []
|
|
405
|
+
},
|
|
406
|
+
getCondition () {
|
|
407
|
+
var con = ""
|
|
408
|
+
if (this.orgCondtionStr) {
|
|
409
|
+
con = `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
410
|
+
}
|
|
411
|
+
else {
|
|
412
|
+
con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in ('${this.$login.f.orgid}' )`
|
|
413
|
+
}
|
|
414
|
+
return {
|
|
415
|
+
condition: con
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
getfield() {
|
|
419
|
+
return exportConfig.NewAccountConfig
|
|
420
|
+
},
|
|
421
|
+
usertypes() {
|
|
422
|
+
return this.$appdata.getParam('用户类型')
|
|
423
|
+
},
|
|
424
|
+
pricetypes() {
|
|
425
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
426
|
+
},
|
|
427
|
+
gaspropertyTypes() {
|
|
428
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
</script>
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
condition="f_operate_date <= '{}'">
|
|
28
28
|
</datepicker>
|
|
29
29
|
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
30
|
+
<div class="col-sm-2 form-group" v-show="false">
|
|
31
31
|
<label class="font_normal_body">客户编号</label>
|
|
32
32
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
33
|
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
34
|
</div>
|
|
35
|
-
<div class="col-sm-2 form-group">
|
|
35
|
+
<div class="col-sm-2 form-group" v-show="false">
|
|
36
36
|
<label class="font_normal_body">客户名称</label>
|
|
37
37
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
38
|
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
|
|
54
54
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
56
|
-
<div class="col-sm-2 form-group">
|
|
55
|
+
<res-select-group :initres="$parent.$parent.initres" :show-component="$parent.$parent.showCom" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
56
|
+
<div class="col-sm-2 form-group" v-show="false">
|
|
57
57
|
<label class="font_normal_body">客户地址</label>
|
|
58
58
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
59
59
|
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
|
|
289
289
|
<script>
|
|
290
290
|
import {PagedList} from 'vue-client'
|
|
291
|
-
import defaultPrint from '
|
|
292
|
-
import exportConfig from '
|
|
291
|
+
import defaultPrint from './config/DefaultPrint'
|
|
292
|
+
import exportConfig from './config/exportConfig'
|
|
293
293
|
import OtherChargeDetailQuery from "../../components/sale/businessquery/OtherChargeDetailQuery";
|
|
294
294
|
|
|
295
295
|
let readySomething = async function (self) {
|
|
@@ -340,7 +340,8 @@
|
|
|
340
340
|
// 品名规格
|
|
341
341
|
typeNameList: [],
|
|
342
342
|
// 型号
|
|
343
|
-
typenumberList: []
|
|
343
|
+
typenumberList: [],
|
|
344
|
+
showCom:['company','department','operator']
|
|
344
345
|
}
|
|
345
346
|
},
|
|
346
347
|
ready() {
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
isSingleUser: null,
|
|
694
694
|
other:[],
|
|
695
695
|
footer:[],
|
|
696
|
-
model: new PagedList('rs/sql/compreQuerys', 20,{
|
|
696
|
+
model: new PagedList('rs/sql/compreQuerys', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userfiles_id desc'`}),
|
|
697
697
|
criteriaShow: false,
|
|
698
698
|
orgCondtionStr:'',
|
|
699
699
|
residentialArea: [],
|
|
@@ -1168,7 +1168,10 @@
|
|
|
1168
1168
|
},
|
|
1169
1169
|
getCondition(){
|
|
1170
1170
|
|
|
1171
|
-
return {
|
|
1171
|
+
return {
|
|
1172
|
+
condition:this.conditon2,
|
|
1173
|
+
orderitem: this.orderitem?`${this.orderitem}`: "f_userfiles_id desc"
|
|
1174
|
+
}
|
|
1172
1175
|
},
|
|
1173
1176
|
getfield(){
|
|
1174
1177
|
let data = {}
|
|
@@ -65,14 +65,11 @@ export default{
|
|
|
65
65
|
'f_depname': '部门','f_orgname': '公司'
|
|
66
66
|
},
|
|
67
67
|
chargeConfig: {
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'f_pregas': '气量','
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'f_yucun': '预存金额','f_card_id': '卡号','f_stairamount1':'一阶气量','f_stair1price':'一阶单价','f_stair1fee':'一阶气费',
|
|
74
|
-
'f_stair2amount': '二阶气量','f_stair2price': '二阶单价','f_stair2fee':'二阶气费',
|
|
75
|
-
'f_stair3amount':'三阶气量','f_stair3price': '三阶单价','f_stair3fee':'三阶气费','f_inputtor':'抄表员'
|
|
68
|
+
'f_type': '收费类型','f_comments': '备注','filltimes': '补打次数','f_userinfo_code': '客户编号','f_user_name':'客户名称',
|
|
69
|
+
'f_meternumber': '用户表号','f_card_id': '用户卡号','f_address': '用户地址',
|
|
70
|
+
'f_pregas': '气量','f_collection': '缴费金额','f_payment': '付款方式','f_operate_date': '收费日期','f_state': '状态',
|
|
71
|
+
'f_depname': '网点','f_operator': '操作员','f_bill_code':'发票订单','f_stairamount1':'一阶气量','f_stair1fee':'一阶气费',
|
|
72
|
+
'f_stair2amount': '二阶气量','f_stair2fee':'二阶气费','f_stair3amount':'三阶气量','f_stair3fee':'三阶气费'
|
|
76
73
|
},
|
|
77
74
|
pricetypeGasConfig: {
|
|
78
75
|
'f_price': '价格类型', 'f_gas': '当日售气量', 'f_money': '当日售气金额'
|
|
@@ -81,7 +78,7 @@ export default{
|
|
|
81
78
|
'f_operate_date': '收费日期', 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_meter_brand': '气表品牌', 'f_sell_price': '购气单价', 'f_pregas': '购气量', 'f_preamount': '购气金额', 'f_collection': '充值金额', 'f_surplus_fee': '调价补差', 'f_curbalance': '本期结余', 'f_payment': '付款方式', 'f_price': '单价', 'f_real_gas': '用气量', 'f_real_money': '用气金额', 'f_residual_volume': '余量', 'f_total_usegas_amount': '剩余金额'
|
|
82
79
|
},
|
|
83
80
|
chargeexportConfig: {
|
|
84
|
-
'
|
|
81
|
+
'f_pregas': '气量', 'f_collection': '缴费金额', 'f_stairamount1': '一阶气量', 'f_stair2amount': '二阶气量', 'f_stair3amount': '三阶气量'
|
|
85
82
|
},
|
|
86
83
|
reverseexportConfig: {
|
|
87
84
|
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址'
|
|
@@ -179,11 +176,10 @@ export default{
|
|
|
179
176
|
|
|
180
177
|
|
|
181
178
|
changemeterConfig: {
|
|
182
|
-
'f_userinfo_code': '客户编号',
|
|
183
|
-
'
|
|
184
|
-
'
|
|
185
|
-
'
|
|
186
|
-
'f_operator': '人员','f_depname': '部门','f_orgname': '公司'
|
|
179
|
+
'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址','f_type': '换表类型','f_meternumber_old': '旧表号','f_meternumber': '新表号','f_meter_brand_old': '旧气表品牌',
|
|
180
|
+
'f_meter_brand': '新气表品牌','f_remanent_gas': '补气量','f_remanent_money': '补气金额','f_comments': '备注',
|
|
181
|
+
'f_change_operator': '换表人','f_state': '状态','f_operate_date': '换表日期','f_operator': '人员','f_depname': '部门',
|
|
182
|
+
'f_orgname': '公司','f_meter_type_old': '旧表类型','f_meter_type': '新表类型','f_user_type': '用户类型'
|
|
187
183
|
},
|
|
188
184
|
changemeterprintConfig: {
|
|
189
185
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址',
|
|
@@ -203,13 +199,9 @@ export default{
|
|
|
203
199
|
|
|
204
200
|
|
|
205
201
|
otherchargeConfig: {
|
|
206
|
-
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址', '
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'f_typenumber': '型号','f_unitprice': '单价','f_number': '数量',
|
|
210
|
-
'f_money': '收款','f_payment': '付款方式','f_state': '状态','f_operate_date': '收费日期',
|
|
211
|
-
'f_service_person': '服务人员', 'f_comments': '备注',
|
|
212
|
-
'f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
|
|
202
|
+
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址','f_brand_spec': '收费类型','f_state': '状态',
|
|
203
|
+
'f_comments': '备注','filltimes': '补打次数','f_typename': '规格','f_typenumber': '型号', 'f_unitprice': '单价','f_number': '数量',
|
|
204
|
+
'f_collection': '金额','f_payment': '付款方式','f_operate_date': '收费日期','f_depname': '部门'
|
|
213
205
|
},
|
|
214
206
|
otherchargePrintConfig: {
|
|
215
207
|
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址',
|
|
@@ -316,9 +308,9 @@ export default{
|
|
|
316
308
|
},
|
|
317
309
|
|
|
318
310
|
enableConfig: {
|
|
319
|
-
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '客户地址',
|
|
320
|
-
'f_enable_reason': '启用原因','f_othereason': '其他原因','f_state': '启用状态','f_operate_date': '启用日期',
|
|
321
|
-
'f_operator': '
|
|
311
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称','f_olduserinfo_code':'档案编号','f_user_type': '客户类型', 'f_address': '客户地址',
|
|
312
|
+
'f_meternumber': '表号','f_enable_reason': '启用原因', 'f_othereason': '其他原因', 'f_state': '启用状态', 'f_operate_date': '启用日期',
|
|
313
|
+
'f_operat_type': '操作类型','f_operator': '人员', 'f_depname': '部门', 'f_orgname': '公司'
|
|
322
314
|
},
|
|
323
315
|
movemeterConfig: {
|
|
324
316
|
'f_userinfo_code': '客户编号','f_user_name': '客户名称', 'f_address': '旧地址',
|
|
@@ -373,20 +365,19 @@ monthGasConfig: {
|
|
|
373
365
|
'sep': '九月', 'oct': '十月', 'nov': '十一月', 'dec': '十二月', 'sum_oughtamount': '累计气量'
|
|
374
366
|
},
|
|
375
367
|
disableConfig: {
|
|
376
|
-
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称',
|
|
377
|
-
'f_userfiles_address': '用气点名称',
|
|
378
|
-
'f_othereason': '其他原因',
|
|
379
|
-
'
|
|
368
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称','f_olduserinfo_code':'档案编号','f_user_type':'客户类型','f_user_phone': '客户电话',
|
|
369
|
+
'cy_lxr': '联系电话','f_userfiles_address': '用气点名称','f_address': '客户地址','f_meternumber': '表号','f_meter_brand':'气表品牌',
|
|
370
|
+
'f_disable_reason': '停用原因','f_othereason': '其他原因','f_state': '停用状态','f_operate_date': '停用日期','f_operat_type': '操作类型',
|
|
371
|
+
'f_operator': '人员','f_depname': '部门', 'f_orgname': '公司'
|
|
380
372
|
},
|
|
381
373
|
sendbookConfig:{
|
|
382
374
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_user_type':'客户类型','f_user_phone': '联系电话','f_address': '客户地址',
|
|
383
|
-
'f_send_date':'发折时间',
|
|
384
|
-
'f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
|
|
375
|
+
'f_send_date':'发折时间','f_operator': '操作员','f_depname': '部门','f_orgname': '公司'
|
|
385
376
|
},
|
|
386
377
|
CancellationConfig: {
|
|
387
|
-
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称',
|
|
388
|
-
'
|
|
389
|
-
'
|
|
378
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称','f_olduserinfo_code':'档案编号','f_user_type':'客户类型','f_user_phone': '联系电话','f_address': '客户地址',
|
|
379
|
+
'f_meternumber':'表号','f_comments': '销户原因','f_state': '销户状态','f_operate_date': '销户日期', 'f_operat_type': '操作类型',
|
|
380
|
+
'f_operator': '人员', 'f_depname': '部门', 'f_orgname': '公司'
|
|
390
381
|
},
|
|
391
382
|
overDueQueryConfig: {
|
|
392
383
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址',
|