manage-client 3.2.180 → 3.2.181
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/build/dev-server.js +8 -2
- package/package.json +1 -1
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/filiale/kelai/AreaChargeQuery.vue +1 -1
- package/src/filiale/kelai/exportConfig.js +1 -1
- package/src/filiale/qianneng/RecordInfoQuery.vue +1287 -0
- package/src/filiale/qianneng/exportConfig.js +22 -0
- package/src/filiale/qianneng/sale.js +3 -1
- package/src/filiale/tongchuan/ChargeQuery.vue +1 -1
- package/src/filiale/zhongyi/FillCardQuery.vue +581 -0
- package/src/filiale/zhongyi/GasStatistics.vue +22 -0
- package/src/filiale/zhongyi/LostContactAnalysisList.vue +650 -0
- package/src/filiale/zhongyi/exportConfig.js +1080 -0
- package/src/filiale/zhongyi/sale.js +2 -3
- package/src/filiale/zhongyi/webmeterManage.js +12 -0
|
@@ -9,6 +9,28 @@ export default{
|
|
|
9
9
|
'f_debt_money': '已交金额', 'f_oughtfee_new': '应交气费', 'overdue': '违约金', 'f_garbage_fee': '附加费',
|
|
10
10
|
'f_balance': '上期余额', 'f_oughtfee_all': '合计欠费', 'f_comments': '备注'
|
|
11
11
|
},
|
|
12
|
+
compreConfig: {
|
|
13
|
+
'f_user_state': '客户状态', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_card_id': '卡号', 'f_user_name': '客户名称',
|
|
14
|
+
'f_province':'省','f_city':'市','f_district':'区/县',
|
|
15
|
+
'f_residential_area': '小区名称', 'f_building': '楼栋', 'f_unit': '单元', 'f_floor': '楼层', 'f_room': '门牌号', 'f_address': '客户地址','f_iscity':'地区类型', 'f_user_phone': '客户电话', 'f_usetype': '使用类型',
|
|
16
|
+
'f_gas_date': '通气日期', 'f_price_name': '气价名称', 'f_position': '安装位置', 'f_meter_type': '气表类型', 'f_meter_brand': '气表品牌',
|
|
17
|
+
'f_meternumber': '表号', 'f_metertitles': '表封号', 'f_aroundmeter': '左右表', 'f_install_date': '安装日期', 'f_meter_base': '气表底数',
|
|
18
|
+
'f_balance': '账户余额', 'f_hand_date': '最后抄表日期', 'f_whether_hairpin': '是否发卡',
|
|
19
|
+
'f_valve_state': '阀门状态', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'value': '气价详情',
|
|
20
|
+
'f_open_date': '开户时间', 'f_credentials': '证件类型', 'f_idnumber': '证件号码', 'f_people_num': '人口数', 'f_ins_stop_date': '保险结束日期',
|
|
21
|
+
'f_createfile_date': '建档日期', 'f_createfile_person': '建档人', 'f_depname': '所属营业厅', 'f_comments': '备注信息',
|
|
22
|
+
'f_used_name': '曾用名', 'f_rent_phone': '备用电话', 'f_rent_name': '租户姓名', 'f_zuhu_phone': '租户电话',
|
|
23
|
+
'f_contract_id': '发票编码', 'f_is_mgq': '是否煤改气', 'f_send_usegas_card': '是否发放天然气使用证',
|
|
24
|
+
'f_meter_style': '气表型号', 'f_table_state': '表状态', 'f_initial_base': '初始气表底数',
|
|
25
|
+
'f_total_usegas_amount': '累计用气金额', 'f_total_gas': '表累购气量', 'f_total_fee': '表累购金额', 'f_inputtor': '档案抄表员',
|
|
26
|
+
'f_book_inputtor': '表册抄表员',
|
|
27
|
+
'f_userfiles_address': '安装地址', 'f_install_person': '安装人', 'f_gas_person': '通气人',
|
|
28
|
+
'f_meter_book_num': '抄表册编号', 'f_meter_book_sort': '抄表册顺序',
|
|
29
|
+
'f_balance_amount': '表剩余金额', 'f_times': '写卡次数',
|
|
30
|
+
'f_fillcard_times': '补卡次数', 'f_sendsuccess': '表同步状态', 'f_isband': '微信绑定', 'f_cost_type': '缴费类型'
|
|
31
|
+
, 'f_bank_accopen': '银行户名', 'f_bank_name': '银行名称', 'f_bank_account': '银行账号',
|
|
32
|
+
'f_bank_idnumber': '银行身份证号', 'f_bank_pay_number': '缴费编号', 'f_maxdate': '换表时间', 'f_devices_type': '灶具信息', 'f_network_valve': '自动阀控'
|
|
33
|
+
},
|
|
12
34
|
chargeConfig: {
|
|
13
35
|
'id': '收费编号', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_user_name': '客户名称', 'f_user_phone': '客户电话', 'f_address': '客户地址', 'f_zones': '片区', 'f_user_type': '客户类型',
|
|
14
36
|
'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_times': '购气次数',
|
|
@@ -9,7 +9,9 @@ let specialComp = {
|
|
|
9
9
|
'meter-query': (resolve) => { require(['./MeterQuery'], resolve) },
|
|
10
10
|
// 用户查询
|
|
11
11
|
'user-query': (resolve) => { require(['./UserQuery'], resolve) },
|
|
12
|
-
'business-manage': (resolve) => { require(['./BusinessManage'], resolve) }
|
|
12
|
+
'business-manage': (resolve) => { require(['./BusinessManage'], resolve) },
|
|
13
|
+
//综合档案信息查询
|
|
14
|
+
'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) }
|
|
13
15
|
}
|
|
14
16
|
exports.specialComp = specialComp
|
|
15
17
|
|
|
@@ -908,7 +908,7 @@
|
|
|
908
908
|
selected:{},
|
|
909
909
|
meterbooks:[{label: '全部',value: ''}], //抄表册
|
|
910
910
|
inputtores:[{label: '全部',value: ''}],
|
|
911
|
-
writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'}],
|
|
911
|
+
writecard:[{label: '全部',value: ''},{label: '已写卡',value: '已写卡'},{label: '未写卡',value: '未写卡'},{label: '写卡失败',value: '写卡失败'}],
|
|
912
912
|
bluetoothpackage:[{label: '全部',value: ''},{label: '发送成功',value: '发送成功'},{label: '执行成功',value: '执行成功'}],
|
|
913
913
|
allorgid:[],
|
|
914
914
|
tempfalg :false,
|
|
@@ -0,0 +1,581 @@
|
|
|
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 @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 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" title="旧客户编号">档案编号</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
38
|
+
condition="f_olduserinfo_code = '{}' " 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="fillCardQuery" 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_user_name"
|
|
63
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="col-sm-2 form-group">
|
|
66
|
+
<label class="font_normal_body">客户地址</label>
|
|
67
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
68
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="col-sm-2 form-group">
|
|
71
|
+
<label class="font_normal_body">小  区</label>
|
|
72
|
+
<v-select :value.sync="model.f_residential_area"
|
|
73
|
+
class="select_list select"
|
|
74
|
+
v-model="model.f_residential_area"
|
|
75
|
+
style="width: 60%"
|
|
76
|
+
multiple
|
|
77
|
+
condition="f_residential_area in {}"
|
|
78
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
79
|
+
close-on-select>
|
|
80
|
+
|
|
81
|
+
</v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-2 form-group">
|
|
84
|
+
<label class="font_normal_body">补卡类型</label>
|
|
85
|
+
<v-select :value.sync="model.f_type"
|
|
86
|
+
v-model="model.f_type"
|
|
87
|
+
:value-single="true"
|
|
88
|
+
:options='$parent.$parent.fillCardTypes' placeholder='请选择'
|
|
89
|
+
condition=" f_type = '{}'"
|
|
90
|
+
close-on-select clear-button></v-select>
|
|
91
|
+
</div>
|
|
92
|
+
|
|
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_card_id"
|
|
96
|
+
condition="f_card_id like '%{}%'" placeholder='卡号'>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="col-sm-2 form-group">
|
|
99
|
+
<label class="font_normal_body">表  号</label>
|
|
100
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
101
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="col-sm-2 form-group">
|
|
104
|
+
<label class="font_normal_body">气表品牌</label>
|
|
105
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
106
|
+
v-model="model.f_meter_brand"
|
|
107
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
108
|
+
condition="f_meter_brand = '{}'"
|
|
109
|
+
close-on-select></v-select>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-2 form-group">
|
|
112
|
+
<label class="font_normal_body">补卡状态</label>
|
|
113
|
+
<v-select :value.sync="model.f_state"
|
|
114
|
+
v-model="model.f_state"
|
|
115
|
+
:options='$parent.$parent.chargeState' placeholder='请选择'
|
|
116
|
+
condition="f_state = '{}'"
|
|
117
|
+
close-on-select></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="col-sm-2 form-group">
|
|
120
|
+
<label class="font_normal_body">付款方式</label>
|
|
121
|
+
<v-select id="f_payment"
|
|
122
|
+
v-model="model.f_payment"
|
|
123
|
+
placeholder='请选择'
|
|
124
|
+
condition="f_payment ='{}'"
|
|
125
|
+
:value.sync="model.f_payment"
|
|
126
|
+
:options='$parent.$parent.payments'
|
|
127
|
+
close-on-select clear-button>
|
|
128
|
+
</v-select>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="col-sm-2 flex-row" style="white-space: nowrap" >
|
|
131
|
+
<label class="font_normal_body">卡费</label>
|
|
132
|
+
<div class="row">
|
|
133
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.f_cardfeesmin"
|
|
134
|
+
condition="f_cardfees >= {} " placeholder="">
|
|
135
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
136
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.f_cardfeesmax"
|
|
137
|
+
condition="f_cardfees <= {} " placeholder="">
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
|
|
142
|
+
</div>
|
|
143
|
+
</criteria>
|
|
144
|
+
|
|
145
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
146
|
+
<template partial='head'>
|
|
147
|
+
<tr>
|
|
148
|
+
<th>
|
|
149
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
150
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
151
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
152
|
+
</th>
|
|
153
|
+
<th>
|
|
154
|
+
<nobr>客户名称</nobr>
|
|
155
|
+
</th>
|
|
156
|
+
<th>
|
|
157
|
+
<nobr>档案编号</nobr>
|
|
158
|
+
</th>
|
|
159
|
+
<th>
|
|
160
|
+
<nobr>收据票号</nobr>
|
|
161
|
+
</th>
|
|
162
|
+
<th>
|
|
163
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
164
|
+
<data-order field="f_address" name="客户地址"
|
|
165
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
166
|
+
</th>
|
|
167
|
+
<th>
|
|
168
|
+
<nobr>表号</nobr>
|
|
169
|
+
</th>
|
|
170
|
+
<th>
|
|
171
|
+
<nobr>小区</nobr>
|
|
172
|
+
</th>
|
|
173
|
+
<th>
|
|
174
|
+
<nobr>卡号</nobr>
|
|
175
|
+
</th>
|
|
176
|
+
<th>
|
|
177
|
+
<nobr>气表品牌</nobr>
|
|
178
|
+
</th>
|
|
179
|
+
<th>
|
|
180
|
+
<nobr>补卡类型</nobr>
|
|
181
|
+
</th>
|
|
182
|
+
<th>
|
|
183
|
+
<nobr>补卡种类</nobr>
|
|
184
|
+
</th>
|
|
185
|
+
<th>
|
|
186
|
+
<nobr>补卡原因</nobr>
|
|
187
|
+
</th>
|
|
188
|
+
<th>
|
|
189
|
+
<nobr>卡费</nobr>
|
|
190
|
+
</th>
|
|
191
|
+
<th>
|
|
192
|
+
<!-- <nobr>补卡日期</nobr>-->
|
|
193
|
+
<data-order field="f_operate_date" name="补卡日期"
|
|
194
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
195
|
+
</th>
|
|
196
|
+
<th>
|
|
197
|
+
<nobr>付款方式</nobr>
|
|
198
|
+
</th>
|
|
199
|
+
<th>
|
|
200
|
+
<nobr>人员</nobr>
|
|
201
|
+
</th>
|
|
202
|
+
<th>
|
|
203
|
+
<nobr>部门</nobr>
|
|
204
|
+
</th>
|
|
205
|
+
<th>
|
|
206
|
+
<nobr>公司</nobr>
|
|
207
|
+
</th>
|
|
208
|
+
<th><nobr>附件</nobr></th>
|
|
209
|
+
</tr>
|
|
210
|
+
</template>
|
|
211
|
+
<template partial='body'>
|
|
212
|
+
<td style="text-align: center;">
|
|
213
|
+
<nobr>
|
|
214
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr>
|
|
215
|
+
</td>
|
|
216
|
+
<td style="text-align: center;">
|
|
217
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
218
|
+
</td>
|
|
219
|
+
<td style="text-align: center;">
|
|
220
|
+
<nobr>{{row.f_olduserinfo_code}}</nobr>
|
|
221
|
+
</td>
|
|
222
|
+
<td style="text-align: center;">
|
|
223
|
+
<nobr>{{row.f_bill_number}}</nobr>
|
|
224
|
+
</td>
|
|
225
|
+
<td style="text-align: center;">
|
|
226
|
+
<nobr>{{row.f_address}}</nobr>
|
|
227
|
+
</td>
|
|
228
|
+
<td style="text-align: center;">
|
|
229
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
230
|
+
</td>
|
|
231
|
+
<td style="text-align: center;">
|
|
232
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
233
|
+
</td>
|
|
234
|
+
<td style="text-align: center;">
|
|
235
|
+
<nobr>{{row.f_card_id}}</nobr>
|
|
236
|
+
</td>
|
|
237
|
+
<td style="text-align: center;">
|
|
238
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
239
|
+
</td>
|
|
240
|
+
<td style="text-align: center;">
|
|
241
|
+
<nobr>{{row. f_type}}</nobr>
|
|
242
|
+
</td>
|
|
243
|
+
<td style="text-align: center;">
|
|
244
|
+
<nobr>{{row. f_fill_type}}</nobr>
|
|
245
|
+
</td>
|
|
246
|
+
<td style="text-align: center;">
|
|
247
|
+
<nobr>{{row.f_comments}}</nobr>
|
|
248
|
+
</td>
|
|
249
|
+
<td style="text-align: center;">
|
|
250
|
+
<nobr>{{row.f_cardfees}}</nobr>
|
|
251
|
+
</td>
|
|
252
|
+
<td style="text-align: center;">
|
|
253
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
254
|
+
</td>
|
|
255
|
+
<td style="text-align: center;">
|
|
256
|
+
<nobr>{{row.f_payment}}</nobr>
|
|
257
|
+
</td>
|
|
258
|
+
<td style="text-align: center;">
|
|
259
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
260
|
+
</td>
|
|
261
|
+
<td style="text-align: center;">
|
|
262
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
263
|
+
</td>
|
|
264
|
+
<td style="text-align: center;">
|
|
265
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
266
|
+
</td>
|
|
267
|
+
<td style="text-align: center;"><nobr>
|
|
268
|
+
<button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
|
|
269
|
+
</nobr></td>
|
|
270
|
+
</template>
|
|
271
|
+
<template partial='foot'></template>
|
|
272
|
+
</data-grid>
|
|
273
|
+
|
|
274
|
+
</criteria-paged>
|
|
275
|
+
|
|
276
|
+
<table class="table-hover">
|
|
277
|
+
<tr style="position: relative" class="table-bordered">
|
|
278
|
+
<td
|
|
279
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
280
|
+
汇总信息
|
|
281
|
+
</td>
|
|
282
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
283
|
+
卡费合计: {{sumsmodel.f_cardfees}}
|
|
284
|
+
</td>
|
|
285
|
+
</tr>
|
|
286
|
+
</table>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="flex" v-if="show">
|
|
289
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
<modal :show.sync="showupload" v-if="showupload" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
|
|
293
|
+
<article slot="modal-body">
|
|
294
|
+
<upload :blodid="selected.f_userinfo_id" v-ref:upload isupload="false" takeimg="false" fusetype="补卡" :isremark="false" style="width:auto" ></upload>
|
|
295
|
+
</article>
|
|
296
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
297
|
+
</footer>
|
|
298
|
+
</modal>
|
|
299
|
+
</div>
|
|
300
|
+
</template>
|
|
301
|
+
|
|
302
|
+
<script>
|
|
303
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
304
|
+
import defaultPrint from '../../components/sale/config/DefaultPrint'
|
|
305
|
+
import exportConfig from './exportConfig'
|
|
306
|
+
|
|
307
|
+
let readySomething = async function (self) {
|
|
308
|
+
|
|
309
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
310
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
311
|
+
// self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
312
|
+
// self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
313
|
+
// await self.$refs.paged.$refs.cri.search()
|
|
314
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
315
|
+
await self.$MagLoadParams.loadParam()
|
|
316
|
+
self.initParams()
|
|
317
|
+
|
|
318
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
319
|
+
}
|
|
320
|
+
export default {
|
|
321
|
+
props:['data'],
|
|
322
|
+
title: '补卡查询',
|
|
323
|
+
data() {
|
|
324
|
+
return {
|
|
325
|
+
data: {},
|
|
326
|
+
other:[],
|
|
327
|
+
footer:[],
|
|
328
|
+
model: new PagedList('rs/sql/fillCardQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_cardfees: 0}),
|
|
329
|
+
criteriaShow: false,
|
|
330
|
+
headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补卡类型", "表编号", "卡号", "气表品牌", "气表状态", "卡费", "补卡日期", "人员", "部门", "公司","付款方式"],
|
|
331
|
+
bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", " f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_cardfees", "f_operate_date", "f_operator", "f_depname", "f_orgname","f_payment"],
|
|
332
|
+
config: {
|
|
333
|
+
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_idnumber', 'f_card_id', 'f_meter_brand', 'f_operate_date', 'f_cardfees', 'f_operator']
|
|
334
|
+
},
|
|
335
|
+
f_cardfeesmin:0,
|
|
336
|
+
f_cardfeesmax:0,
|
|
337
|
+
//排序
|
|
338
|
+
orderitem:'f_operate_date desc',
|
|
339
|
+
orderFields: {
|
|
340
|
+
f_operate_date: 'no'
|
|
341
|
+
},
|
|
342
|
+
//默认打印列
|
|
343
|
+
defaultfield: [],
|
|
344
|
+
orgCondtionStr: '',
|
|
345
|
+
initres: {
|
|
346
|
+
org:[this.$login.f.orgid],
|
|
347
|
+
dep:[],
|
|
348
|
+
user:[],
|
|
349
|
+
},
|
|
350
|
+
modelval: [],
|
|
351
|
+
printshow: false,
|
|
352
|
+
all: false,
|
|
353
|
+
fields: {},
|
|
354
|
+
thead: '',
|
|
355
|
+
tfoot: '',
|
|
356
|
+
showupload:false,
|
|
357
|
+
selected:{},
|
|
358
|
+
//小区
|
|
359
|
+
residentialArea: [],
|
|
360
|
+
meterbrands: [],
|
|
361
|
+
// tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
|
|
362
|
+
|
|
363
|
+
show:false,
|
|
364
|
+
rowdata:{},
|
|
365
|
+
//合计数据
|
|
366
|
+
sumsmodel: {}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
ready() {
|
|
370
|
+
this.getaddress()
|
|
371
|
+
readySomething(this).then(() => {
|
|
372
|
+
this.$emit('ready')
|
|
373
|
+
}).catch((error) => {
|
|
374
|
+
this.$emit('error', error)
|
|
375
|
+
})
|
|
376
|
+
},
|
|
377
|
+
methods: {
|
|
378
|
+
view(row){
|
|
379
|
+
this.showupload = true
|
|
380
|
+
this.selected= row
|
|
381
|
+
},
|
|
382
|
+
getotherfooter(){
|
|
383
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
384
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
385
|
+
this.other=[];
|
|
386
|
+
this.footer=[];
|
|
387
|
+
let exportdata = this.getCondition;
|
|
388
|
+
let otherInData=[];
|
|
389
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
390
|
+
let footerData=[],exportfield=this.getfield;
|
|
391
|
+
footerData.push("合计");
|
|
392
|
+
let self = this;
|
|
393
|
+
for(var field in self.sumsmodel){
|
|
394
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
395
|
+
}
|
|
396
|
+
this.footer.push(footerData);
|
|
397
|
+
this.other.push(otherInData);
|
|
398
|
+
},
|
|
399
|
+
search(){
|
|
400
|
+
this.$refs.paged.$refs.cri.search()
|
|
401
|
+
},
|
|
402
|
+
cancel() {
|
|
403
|
+
this.show = false
|
|
404
|
+
},
|
|
405
|
+
async selfSearch(args) {
|
|
406
|
+
console.log("--------------------?")
|
|
407
|
+
if (this.data) {
|
|
408
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
409
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
410
|
+
}
|
|
411
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
412
|
+
args.condition = args.condition.replace(/f_zones/, "f_slice_area")
|
|
413
|
+
await this.model.search(args.condition, args.model)
|
|
414
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
415
|
+
},
|
|
416
|
+
|
|
417
|
+
initParams() {
|
|
418
|
+
// 初始化气表品牌
|
|
419
|
+
let brandArr = []
|
|
420
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
421
|
+
let temp = {}
|
|
422
|
+
temp.label = item.label
|
|
423
|
+
temp.value = item.value.f_meter_brand
|
|
424
|
+
brandArr.push(temp)
|
|
425
|
+
})
|
|
426
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
427
|
+
},
|
|
428
|
+
async getaddress(){
|
|
429
|
+
console.log('开始获取小区')
|
|
430
|
+
let HttpReset = new HttpResetClass()
|
|
431
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
432
|
+
data: {
|
|
433
|
+
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
|
|
434
|
+
}
|
|
435
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
436
|
+
console.log('小区',data)
|
|
437
|
+
let house = [{label: '全部', value: ''}]
|
|
438
|
+
for (let row of data.data){
|
|
439
|
+
console.log('开始保存小区')
|
|
440
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
441
|
+
}
|
|
442
|
+
this.residentialArea = house
|
|
443
|
+
},
|
|
444
|
+
|
|
445
|
+
clear() {
|
|
446
|
+
//清空部门和人员
|
|
447
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
448
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].selectres = []
|
|
449
|
+
this.$refs.paged.$refs.cri.$refs.sel.slice_area = []
|
|
450
|
+
//部门和人员变为全选
|
|
451
|
+
// this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
452
|
+
// this.$refs.paged.$refs.cri.$refs.sel.$children[3].$children[0].isSelectAll = false
|
|
453
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
454
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
455
|
+
})
|
|
456
|
+
},
|
|
457
|
+
show() {
|
|
458
|
+
this.criteriaShow = true
|
|
459
|
+
},
|
|
460
|
+
hidden() {
|
|
461
|
+
this.criteriaShow = !this.criteriaShow
|
|
462
|
+
},
|
|
463
|
+
getRes(condition) {
|
|
464
|
+
this.orgCondtionStr = condition
|
|
465
|
+
},
|
|
466
|
+
dealmsg(val) {
|
|
467
|
+
console.log('---------------dealmsg')
|
|
468
|
+
this.rowdata=val
|
|
469
|
+
this.show=true
|
|
470
|
+
val.model = this.model.model
|
|
471
|
+
this.$dispatch('deal-msg', val)
|
|
472
|
+
},
|
|
473
|
+
stamp() {
|
|
474
|
+
this.all = false
|
|
475
|
+
//默认选择要打印的列
|
|
476
|
+
this.modelval = defaultPrint.config
|
|
477
|
+
this.fields = this.getfield
|
|
478
|
+
console.log('所有打印字段', this.fields)
|
|
479
|
+
this.printshow = true
|
|
480
|
+
this.put()
|
|
481
|
+
},
|
|
482
|
+
put() {
|
|
483
|
+
// 对Modelval进行排序
|
|
484
|
+
this.sortModelval()
|
|
485
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>补卡查询统计报表</th></tr><tr>`
|
|
486
|
+
for (let key of this.modelval) {
|
|
487
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
488
|
+
}
|
|
489
|
+
this.thead += '</tr>'
|
|
490
|
+
},
|
|
491
|
+
print() {
|
|
492
|
+
this.$refs.print.PrintAsFile()
|
|
493
|
+
this.printshow = false
|
|
494
|
+
},
|
|
495
|
+
close() {
|
|
496
|
+
this.printshow = false
|
|
497
|
+
this.all = false
|
|
498
|
+
},
|
|
499
|
+
// 对选择的列进行排序
|
|
500
|
+
sortModelval() {
|
|
501
|
+
let sortModel = []
|
|
502
|
+
Object.keys(this.fields).forEach((key) => {
|
|
503
|
+
if (this.modelval.includes(key)) {
|
|
504
|
+
sortModel.push(key)
|
|
505
|
+
}
|
|
506
|
+
})
|
|
507
|
+
this.modelval = sortModel
|
|
508
|
+
console.log('选择的打印的字段', this.modelval)
|
|
509
|
+
},
|
|
510
|
+
sort (field, rule) {
|
|
511
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
512
|
+
for (let key in this.orderFields) {
|
|
513
|
+
if (key === field) {
|
|
514
|
+
this.orderFields[key] = rule
|
|
515
|
+
} else {
|
|
516
|
+
this.orderFields[key] = 'no'
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
// 如果新规则不排序,还原为默认排序
|
|
520
|
+
if (rule === 'no') {
|
|
521
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
522
|
+
} else {
|
|
523
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
this.search()
|
|
527
|
+
},
|
|
528
|
+
async updateParams() {
|
|
529
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
530
|
+
this.initParams()
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
watch: {
|
|
534
|
+
'all'(val) {
|
|
535
|
+
if (val) {
|
|
536
|
+
this.modelval = this.bodyData
|
|
537
|
+
} else {
|
|
538
|
+
this.modelval = defaultPrint.config
|
|
539
|
+
this.put()
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
'modelval.length'() {
|
|
543
|
+
this.put()
|
|
544
|
+
},
|
|
545
|
+
sumsmodel:{
|
|
546
|
+
handler: function(val) {
|
|
547
|
+
this.getotherfooter();
|
|
548
|
+
},
|
|
549
|
+
deep: true
|
|
550
|
+
},
|
|
551
|
+
'orgCondtionStr'(val) {
|
|
552
|
+
let res = val.match(/'(.*?)'/)
|
|
553
|
+
console.log('正则提取:',res && res[1])
|
|
554
|
+
if (res) {
|
|
555
|
+
this.f_filialeid = res[1]
|
|
556
|
+
this.updateParams()
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
computed: {
|
|
561
|
+
getCondition() {
|
|
562
|
+
return {
|
|
563
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
564
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
getfield() {
|
|
568
|
+
return exportConfig.fillcardConfig
|
|
569
|
+
},
|
|
570
|
+
fillCardTypes() {
|
|
571
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('补卡类型')]
|
|
572
|
+
},
|
|
573
|
+
chargeState() {
|
|
574
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('补卡状态')]
|
|
575
|
+
},
|
|
576
|
+
payments() {
|
|
577
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
</script>
|
|
@@ -148,6 +148,22 @@
|
|
|
148
148
|
:show-reset-button="reset">
|
|
149
149
|
</datepicker>
|
|
150
150
|
</div>
|
|
151
|
+
<div class="col-sm-2 form-group">
|
|
152
|
+
<label class="font_normal_body">用气类型</label>
|
|
153
|
+
<v-select :value.sync="model.f_user_nature"
|
|
154
|
+
v-model="model.f_user_nature"
|
|
155
|
+
:options="$parent.$parent.usernatures"
|
|
156
|
+
condition="ss.f_user_nature = '{}'"
|
|
157
|
+
close-on-select></v-select>
|
|
158
|
+
</div>
|
|
159
|
+
<div class="col-sm-2 form-group">
|
|
160
|
+
<label class="font_normal_body">用气性质</label>
|
|
161
|
+
<v-select :value.sync="model.f_gasproperties"
|
|
162
|
+
v-model="model.f_gasproperties"
|
|
163
|
+
:options="$parent.$parent.gasProperties"
|
|
164
|
+
condition="ss.f_gasproperties = '{}'"
|
|
165
|
+
close-on-select></v-select>
|
|
166
|
+
</div>
|
|
151
167
|
</div>
|
|
152
168
|
</div>
|
|
153
169
|
</criteria>
|
|
@@ -463,6 +479,12 @@
|
|
|
463
479
|
pricetypes() {
|
|
464
480
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
465
481
|
},
|
|
482
|
+
usernatures(){
|
|
483
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
484
|
+
},
|
|
485
|
+
gasProperties(){
|
|
486
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
487
|
+
},
|
|
466
488
|
gasState() {
|
|
467
489
|
return [{label:'正常', value:'正常'},
|
|
468
490
|
{label:'异常', value:'异常'},
|