sale-client 4.2.80 → 4.2.82
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/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
- package/src/components/FilesManage/ncUserinfoList.vue +315 -0
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
- package/src/components/SendCard/SendCardData.vue +208 -0
- package/src/components/accounts/accountAdd.vue +276 -0
- package/src/components/accounts/accountsList.vue +183 -0
- package/src/components/accounts/accountsManage.vue +87 -0
- package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
- package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
- package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
- package/src/components/ncarchives/ncArchivesList.vue +159 -0
- package/src/components/ncarchives/ncUserfilesList.vue +373 -0
- package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
- package/src/components/revenue/IOTArrears/arrears.vue +323 -0
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +2 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
- package/src/components/thirdapply/thirdAdd.vue +289 -0
- package/src/components/thirdapply/thirdList.vue +162 -0
- package/src/components/thirdapply/thirdManage.vue +74 -0
- package/src/components/webMeter/InstructQuery.vue +414 -0
- package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
- package/src/components/webMeter/WebUserHand.vue +483 -0
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
- package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
- package/src/filiale/beifangshiye/FilesManage/UserEssentialInfoTest.vue +668 -0
- package/src/filiale/beifangshiye/sale.js +2 -0
- package/src/filiale/yuncheng/ChangeMeter.vue +9 -0
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/plugins/FileManageService.js +1 -0
- package/src/plugins/FileManageServicets.js +214 -0
- package/src/plugins/GetImg.js +53 -0
|
@@ -0,0 +1,483 @@
|
|
|
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
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
|
|
12
|
+
<label for="startDate" class="font_normal_body" title="归属日期">开始日期</label>
|
|
13
|
+
<datepicker id="startDate" placeholder="最新抄表开始日期" style="width:60%"
|
|
14
|
+
v-model="model.startDate"
|
|
15
|
+
:value.sync="model.startDate"
|
|
16
|
+
condition="f_hand_date >= '{}' "
|
|
17
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
18
|
+
:show-reset-button="true"
|
|
19
|
+
>
|
|
20
|
+
</datepicker>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2 form-group">
|
|
23
|
+
<label for="endDate" class="font_normal_body" title="归属日期">结束日期</label>
|
|
24
|
+
<datepicker id="endDate" placeholder="最新抄表结束日期" style="width:60%"
|
|
25
|
+
v-model="model.endDate"
|
|
26
|
+
:value.sync="model.endDate"
|
|
27
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
28
|
+
condition="f_hand_date <= '{}' "
|
|
29
|
+
:show-reset-button="true"
|
|
30
|
+
>
|
|
31
|
+
</datepicker>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-2 form-group">
|
|
34
|
+
<label class="font_normal_body">未抄表天数</label>
|
|
35
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.datediff"
|
|
36
|
+
condition="datediff >= '{}' " placeholder="未抄表天数">
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-sm-2 form-group">
|
|
39
|
+
<label class="font_normal_body">客户编号</label>
|
|
40
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
41
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-2 form-group">
|
|
44
|
+
<label class="font_normal_body">客户名称</label>
|
|
45
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
46
|
+
condition="f_user_name = '{}'" placeholder="客户名称">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="span" style="float:right;">
|
|
49
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
50
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
51
|
+
|
|
52
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
53
|
+
:field="$parent.$parent.getfield"
|
|
54
|
+
sqlurl="rs/logic/saleExport"
|
|
55
|
+
sql-name="getWebHandDateByUser"
|
|
56
|
+
template-name='未上报用户查询导出'
|
|
57
|
+
:choose-col="true"></export-excel>
|
|
58
|
+
|
|
59
|
+
<!-- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"-->
|
|
60
|
+
<!-- :defaultfield="$parent.$parent.defaultfield"-->
|
|
61
|
+
<!-- titletable="用户欠费查询导出"-->
|
|
62
|
+
<!-- :sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
|
|
63
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
64
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
65
|
+
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
77
|
+
<!--<label class="font_normal_body">收费编号</label>-->
|
|
78
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
|
|
79
|
+
<!--condition="id = '{}'" placeholder="收费编号">-->
|
|
80
|
+
<!--</div>-->
|
|
81
|
+
<div class="col-sm-2 form-group">
|
|
82
|
+
<label class="font_normal_body">客户电话</label>
|
|
83
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
84
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
85
|
+
</div>
|
|
86
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
87
|
+
<!--<label class="font_normal_body">身份证号</label>-->
|
|
88
|
+
<!--<input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"-->
|
|
89
|
+
<!--condition="f_idnumber like '%{}%'" placeholder="身份证号">-->
|
|
90
|
+
<!--</div>-->
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body">客户地址</label>
|
|
93
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
94
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body"> 小区 </label>
|
|
98
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
|
|
99
|
+
condition="f_residential_area like '%{}%'" placeholder='客户地址'>
|
|
100
|
+
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<div class="col-sm-2 form-group">
|
|
105
|
+
<label class="font_normal_body">客户类型</label>
|
|
106
|
+
<v-select :value.sync="model.f_user_type"
|
|
107
|
+
@change="$parent.$parent.userTypeChange()"
|
|
108
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
109
|
+
condition="f_user_type = '{}'"
|
|
110
|
+
close-on-select></v-select>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="col-sm-2 form-group">
|
|
113
|
+
<label class="font_normal_body">用气性质</label>
|
|
114
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
115
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
116
|
+
condition="f_gasproperties = '{}'"
|
|
117
|
+
close-on-select></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<!-- <div class="col-sm-2 form-group">-->
|
|
121
|
+
<!-- <label class="font_normal_body">抄 表 员</label>-->
|
|
122
|
+
<!-- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'-->
|
|
123
|
+
<!-- style="width:60%"-->
|
|
124
|
+
<!-- multiple="true"-->
|
|
125
|
+
<!-- :options='$parent.$parent.inputtores' placeholder='抄表员'-->
|
|
126
|
+
<!-- condition="f_inputtor = '{}'"-->
|
|
127
|
+
<!-- close-on-select-->
|
|
128
|
+
<!-- v-el:cc></v-select>-->
|
|
129
|
+
<!-- </div>-->
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</criteria>
|
|
133
|
+
|
|
134
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
135
|
+
<template partial='head'>
|
|
136
|
+
<tr>
|
|
137
|
+
<th>
|
|
138
|
+
<nobr>序号</nobr>
|
|
139
|
+
</th>
|
|
140
|
+
<th>
|
|
141
|
+
<nobr>客户编号</nobr>
|
|
142
|
+
</th>
|
|
143
|
+
<th>
|
|
144
|
+
<nobr>客户姓名</nobr>
|
|
145
|
+
</th>
|
|
146
|
+
<th>
|
|
147
|
+
<nobr>小区名称</nobr>
|
|
148
|
+
</th>
|
|
149
|
+
<th>
|
|
150
|
+
<nobr>地址</nobr>
|
|
151
|
+
</th>
|
|
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
|
+
|
|
165
|
+
<th>
|
|
166
|
+
<nobr>客户类型</nobr>
|
|
167
|
+
</th>
|
|
168
|
+
<th>
|
|
169
|
+
<nobr>用气性质</nobr>
|
|
170
|
+
</th>
|
|
171
|
+
</tr>
|
|
172
|
+
</template>
|
|
173
|
+
<template partial='body'>
|
|
174
|
+
<td style="text-align:center">
|
|
175
|
+
<nobr>{{$index+1}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
179
|
+
</td>
|
|
180
|
+
<td style="text-align: center;">
|
|
181
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
182
|
+
</td>
|
|
183
|
+
<td style="text-align: center;">
|
|
184
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
185
|
+
</td>
|
|
186
|
+
<td style="text-align: center;">
|
|
187
|
+
<nobr>{{row.f_address}}</nobr>
|
|
188
|
+
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
191
|
+
</td>
|
|
192
|
+
|
|
193
|
+
<td style="text-align: center;">
|
|
194
|
+
<nobr>{{row.f_meter_classify}}</nobr>
|
|
195
|
+
</td>
|
|
196
|
+
<td style="text-align: center;">
|
|
197
|
+
<nobr>{{row.f_hand_date}}</nobr>
|
|
198
|
+
</td>
|
|
199
|
+
<!-- <td style="text-align: center;">-->
|
|
200
|
+
<!-- <nobr>{{row.f_inputtor}}</nobr>-->
|
|
201
|
+
<!-- </td>-->
|
|
202
|
+
<td style="text-align: center;">
|
|
203
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
204
|
+
</td>
|
|
205
|
+
<td style="text-align: center;">
|
|
206
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
207
|
+
</td>
|
|
208
|
+
</template>
|
|
209
|
+
<template partial='foot'></template>
|
|
210
|
+
</data-grid>
|
|
211
|
+
</criteria-paged>
|
|
212
|
+
</div>
|
|
213
|
+
<div v-if="show">
|
|
214
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
</template>
|
|
219
|
+
|
|
220
|
+
<script>
|
|
221
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
222
|
+
|
|
223
|
+
let readySomething = async function (self) {
|
|
224
|
+
//
|
|
225
|
+
// self.getinputtores();
|
|
226
|
+
//加载抄表册
|
|
227
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
228
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
229
|
+
// self.$refs.paged.$refs.cri.search()
|
|
230
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
231
|
+
await self.$LoadParams.loadParam()
|
|
232
|
+
self.initParams()
|
|
233
|
+
}
|
|
234
|
+
export default {
|
|
235
|
+
title: '未上报用户',
|
|
236
|
+
data() {
|
|
237
|
+
return {
|
|
238
|
+
config: {
|
|
239
|
+
defaultPrint: ['f_userinfo_code', 'f_address']
|
|
240
|
+
},
|
|
241
|
+
other:[],
|
|
242
|
+
footer:[],
|
|
243
|
+
//f_price_name:[],
|
|
244
|
+
gasproperties:[],
|
|
245
|
+
showinfo: false,
|
|
246
|
+
data: {},
|
|
247
|
+
show:false,
|
|
248
|
+
rowdata:{},
|
|
249
|
+
initres: {
|
|
250
|
+
org:[this.$login.f.orgid],
|
|
251
|
+
dep:[],
|
|
252
|
+
user:[]
|
|
253
|
+
},
|
|
254
|
+
model: new PagedList('rs/sql/getWebHandDateByUser', 20, {}),
|
|
255
|
+
criteriaShow: false,
|
|
256
|
+
orgCondtionStr: '',
|
|
257
|
+
// 下拉框
|
|
258
|
+
meterbrands: [],
|
|
259
|
+
pricenames: [],
|
|
260
|
+
prices: [],
|
|
261
|
+
area: [],
|
|
262
|
+
//合计数据
|
|
263
|
+
defaultfield: [],
|
|
264
|
+
//小区
|
|
265
|
+
residentialArea: [],
|
|
266
|
+
sumsmodel: {},
|
|
267
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
268
|
+
meterbooks:[{label: '全部',value: ''}], //抄表册
|
|
269
|
+
// inputtores:[{label: '全部',value: ''}],
|
|
270
|
+
dainputtores:[{label: '全部',value: ''}],
|
|
271
|
+
allorgid:[],
|
|
272
|
+
tempfalg :false,
|
|
273
|
+
lastorgstr:'',
|
|
274
|
+
dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
ready() {
|
|
278
|
+
// this.hqdainputtores()
|
|
279
|
+
// this.getaddress()
|
|
280
|
+
readySomething(this).then(() => {
|
|
281
|
+
this.$emit('ready')
|
|
282
|
+
}).catch((error) => {
|
|
283
|
+
this.$emit('error', error)
|
|
284
|
+
})
|
|
285
|
+
},
|
|
286
|
+
methods: {
|
|
287
|
+
|
|
288
|
+
async hqdainputtores() {
|
|
289
|
+
let param = {
|
|
290
|
+
items: 'DISTINCT f_inputtor',
|
|
291
|
+
tablename: 't_userfiles',
|
|
292
|
+
condition: ` f_inputtor is NOT null`,
|
|
293
|
+
}
|
|
294
|
+
let getDainputtores = await new HttpResetClass().load("POST",'rs/sql/singleTableParam', {data: param}, {
|
|
295
|
+
resolveMsg: null,
|
|
296
|
+
rejectMsg: null
|
|
297
|
+
});
|
|
298
|
+
if (getDainputtores.data.length > 0) {
|
|
299
|
+
let rs = [];
|
|
300
|
+
getDainputtores.data.forEach((item) => {
|
|
301
|
+
if (item.f_inputtor.length > 0) {
|
|
302
|
+
let temp = {
|
|
303
|
+
label: item.f_inputtor,
|
|
304
|
+
value: item.f_inputtor
|
|
305
|
+
};
|
|
306
|
+
rs.push(temp);
|
|
307
|
+
}
|
|
308
|
+
})
|
|
309
|
+
this.dainputtores = [{label: '全部', value: ''}, ...rs];
|
|
310
|
+
} else {
|
|
311
|
+
this.dainputtores = [{label: '全部', value: ''}];
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
|
|
315
|
+
getinputtores () {
|
|
316
|
+
// 获取抄表员
|
|
317
|
+
let rs = []
|
|
318
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
319
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
320
|
+
let temp = {
|
|
321
|
+
label: this.$login.f.f_gasman[i].name,
|
|
322
|
+
value: this.$login.f.f_gasman[i].name
|
|
323
|
+
}
|
|
324
|
+
rs.push(temp)
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
328
|
+
},
|
|
329
|
+
|
|
330
|
+
search(){
|
|
331
|
+
|
|
332
|
+
this.$refs.paged.$refs.cri.search()
|
|
333
|
+
},
|
|
334
|
+
cancel() {
|
|
335
|
+
this.show = false
|
|
336
|
+
},
|
|
337
|
+
showmsg(obj){
|
|
338
|
+
this.rowdata=obj
|
|
339
|
+
this.show=true
|
|
340
|
+
},
|
|
341
|
+
userTypeChange () {
|
|
342
|
+
this.gasproperties=[]
|
|
343
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
344
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
345
|
+
|
|
346
|
+
console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
347
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
348
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
349
|
+
}
|
|
350
|
+
else{
|
|
351
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
initParams() {
|
|
355
|
+
// 初始化气表品牌
|
|
356
|
+
let brandArr = []
|
|
357
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
358
|
+
let temp = {}
|
|
359
|
+
temp.label = item.label
|
|
360
|
+
temp.value = item.value.id
|
|
361
|
+
brandArr.push(temp)
|
|
362
|
+
// // 取出对应气表型号
|
|
363
|
+
// let styleArr = []
|
|
364
|
+
// for (let row of item.value.gasmodel) {
|
|
365
|
+
// styleArr.push({label: row.label, value: row.value.id})
|
|
366
|
+
// }
|
|
367
|
+
// this.meterstyle[temp.value] = styleArr
|
|
368
|
+
})
|
|
369
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
370
|
+
//初始化气表价格
|
|
371
|
+
this.prices = this.$GetSaleParam.getPrice(this.$login.f.orgid)
|
|
372
|
+
},
|
|
373
|
+
selfSearch(args) {
|
|
374
|
+
args.condition=`${args.condition} `+this.orgCondtionStr
|
|
375
|
+
this.model.search(args.condition, args.model)
|
|
376
|
+
},
|
|
377
|
+
clear() {
|
|
378
|
+
//清空部门和人员
|
|
379
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
380
|
+
//部门和人员变为全选
|
|
381
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
382
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
383
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
384
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
385
|
+
})
|
|
386
|
+
|
|
387
|
+
},
|
|
388
|
+
dealmsg(val) {
|
|
389
|
+
val.model = this.model.model
|
|
390
|
+
this.$dispatch('deal-msg', val)
|
|
391
|
+
},
|
|
392
|
+
show() {
|
|
393
|
+
this.criteriaShow = true
|
|
394
|
+
},
|
|
395
|
+
hidden() {
|
|
396
|
+
this.criteriaShow = !this.criteriaShow
|
|
397
|
+
},
|
|
398
|
+
async getRes(condition,obj) {
|
|
399
|
+
this.orgCondtionStr = condition
|
|
400
|
+
this.orgname = obj.orgnames[0]
|
|
401
|
+
this.depname = obj.depnames[0]
|
|
402
|
+
|
|
403
|
+
},
|
|
404
|
+
async updateParams() {
|
|
405
|
+
await this.$LoadParams.loadParam(this.f_filialeid)
|
|
406
|
+
this.inputtores = [];
|
|
407
|
+
this.inputtores.push({label: "全部", value: ""})
|
|
408
|
+
if(this.allorgid!=null){
|
|
409
|
+
this.allorgid.forEach((res)=>{
|
|
410
|
+
this.inputtores = this.inputtores.concat(this.$GetSaleParam.getresinputtor(res));
|
|
411
|
+
})
|
|
412
|
+
}
|
|
413
|
+
this.initParams()
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
events:{
|
|
417
|
+
'getidcard'(IdCard){
|
|
418
|
+
this.$refs.paged.$refs.cri.model.f_info_idnumber=IdCard.strID
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
watch: {
|
|
422
|
+
|
|
423
|
+
},
|
|
424
|
+
computed: {
|
|
425
|
+
pricetypes() {
|
|
426
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
427
|
+
},
|
|
428
|
+
inputtores () {
|
|
429
|
+
// 获取抄表员
|
|
430
|
+
console.log('获取抄表员', this.$login.f)
|
|
431
|
+
let rs = []
|
|
432
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
433
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
434
|
+
let temp = {
|
|
435
|
+
label: this.$login.f.f_gasman[i].name,
|
|
436
|
+
value: this.$login.f.f_gasman[i].name
|
|
437
|
+
}
|
|
438
|
+
rs.push(temp)
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
return [...rs]
|
|
442
|
+
},
|
|
443
|
+
// getPricenames () {
|
|
444
|
+
// let f_filialeid = this.f_filialeid
|
|
445
|
+
// let result = []
|
|
446
|
+
// this.$GetSaleParam.prices.forEach((item) => {
|
|
447
|
+
// if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
|
|
448
|
+
// let value = {
|
|
449
|
+
// label: item.f_price_name,
|
|
450
|
+
// value: item
|
|
451
|
+
// }
|
|
452
|
+
// result.push(value)
|
|
453
|
+
// }
|
|
454
|
+
// })
|
|
455
|
+
// return Array.from(new Set(result))
|
|
456
|
+
// },
|
|
457
|
+
getCondition() {
|
|
458
|
+
return {
|
|
459
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
460
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
461
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
462
|
+
condValue: `${this.model.condValue}`
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
getfield() {
|
|
466
|
+
return {
|
|
467
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_residential_area': '小区名称', 'f_address': '客户地址',
|
|
468
|
+
'f_user_phone': '客户电话','f_user_type': '客户类型',
|
|
469
|
+
'f_gasproperties': '用气性质', 'f_hand_date': '欠费区间'
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
usertypes() {
|
|
473
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
474
|
+
},
|
|
475
|
+
metertypes() {
|
|
476
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
477
|
+
},
|
|
478
|
+
chargetype() {
|
|
479
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
</script>
|