manage-client 3.2.80 → 3.2.83-1
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 +6 -6
- package/package.json +1 -1
- package/src/components/SellReport/NonResidentGas.vue +13 -0
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
- package/src/components/SellReport/SellDepReport.vue +269 -266
- package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
- package/src/components/sale/businessquery/BalanceTable.vue +29 -31
- package/src/components/sale/businessquery/BusinesQuery.vue +57 -18
- package/src/components/sale/businessquery/BusinessManage.vue +3 -1
- package/src/components/sale/businessquery/CancellationQuery.vue +37 -6
- package/src/components/sale/businessquery/CardHandplanQuery.vue +34 -6
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -7
- package/src/components/sale/businessquery/CollectManage.vue +9 -3
- package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
- package/src/components/sale/businessquery/DepositDetail.vue +16 -17
- package/src/components/sale/businessquery/DisableQuery.vue +40 -9
- package/src/components/sale/businessquery/EnableQuery.vue +66 -34
- package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
- package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
- package/src/components/sale/businessquery/FillGasQuery.vue +45 -7
- package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
- package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
- package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
- package/src/components/sale/businessquery/Handgasquery.vue +30 -33
- package/src/components/sale/businessquery/HandplanQuery.vue +1372 -1327
- package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
- package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
- package/src/components/sale/businessquery/MoveMeterQuery.vue +43 -9
- package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
- package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
- package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
- package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
- package/src/components/sale/businessquery/PrivilegeQuery.vue +37 -7
- package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
- package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
- package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
- package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
- package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
- package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
- package/src/components/sale/businessquery/TransferQuery.vue +55 -23
- package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
- package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
- package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
- package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
- package/src/components/sale/businessquery/handplan-info.vue +405 -0
- package/src/components/sale/businessquery/overDueQuery.vue +39 -29
- package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
- package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
- package/src/components/sale/config/exportConfig.js +20 -1
- package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
- package/src/filiale/qianneng/HandplanQuery.vue +1352 -0
- package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
- package/src/filiale/qianneng/exportConfig.js +69 -35
- package/src/filiale/qianneng/sale.js +3 -1
- package/src/saleManage.js +10 -2
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
<tabs header="小区汇总(机表)" v-if="permission('小区汇总(机表)')">
|
|
16
16
|
<residential-query v-if="show.includes('小区汇总(机表)')" @deal-msg="dealMsg"></residential-query>
|
|
17
17
|
</tabs>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
<!--<tabs header="小区欠费汇总(机表)" v-if="permission('小区欠费汇总(机表)')">-->
|
|
19
|
+
<!--<residential-arrears-query v-if="show.includes('小区欠费汇总(机表)')" @deal-msg="dealMsg"></residential-arrears-query>-->
|
|
20
|
+
<!--</tabs>-->
|
|
21
21
|
<tabs header="收费员汇总表" v-if="permission('收费员汇总表')">
|
|
22
22
|
<sell-people-query v-if="show.includes('收费员汇总表')" @deal-msg="dealMsg"></sell-people-query>
|
|
23
23
|
</tabs>
|
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
<tabs header="操作员日结列表" v-if="permission('操作员日结列表')">
|
|
85
85
|
<proceeds-oper v-if="show.includes('操作员日结列表')" @deal-msg="dealMsg"></proceeds-oper>
|
|
86
86
|
</tabs>
|
|
87
|
+
<tabs header="抄表情况记录表" v-if="permission('抄表情况记录表')">
|
|
88
|
+
<handplan-info v-if="show.includes('抄表情况记录表')" @deal-msg="dealMsg"></handplan-info>
|
|
89
|
+
</tabs>
|
|
90
|
+
<tabs header="未抄表用户报表" v-if="permission('未抄表用户报表')">
|
|
91
|
+
<unhand-business @deal-msg="dealMsg"></unhand-business>
|
|
92
|
+
</tabs>
|
|
87
93
|
</tab-button>
|
|
88
94
|
|
|
89
95
|
</template>
|
|
@@ -7,30 +7,6 @@
|
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
10
|
-
<res-select-group :initres="$parent.$parent.initres" :show-component="$parent.$parent.showComponent" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
11
|
-
|
|
12
|
-
<div class="span" style="float:right;">
|
|
13
|
-
<button class="button_search button_spacing" @click="search">查询</button>
|
|
14
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
15
|
-
|
|
16
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
17
|
-
:field="$parent.$parent.getfield"
|
|
18
|
-
:footer="$parent.$parent.footer"
|
|
19
|
-
:header="$parent.$parent.other"
|
|
20
|
-
sqlurl="rs/logic/exportfile"
|
|
21
|
-
sql-name="CommunityPaymen"
|
|
22
|
-
template-name='小区缴费汇总(机表)导出'
|
|
23
|
-
:choose-col="true"></export-excel>
|
|
24
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
25
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
26
|
-
titletable="小区缴费汇总(机表)导出"
|
|
27
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
28
|
-
<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>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
34
10
|
<div class="col-sm-2 form-group">
|
|
35
11
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
36
12
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
@@ -63,6 +39,30 @@
|
|
|
63
39
|
close-on-select search="true">
|
|
64
40
|
</v-select>
|
|
65
41
|
</div>
|
|
42
|
+
<div class="span" style="float:right;">
|
|
43
|
+
<button class="button_search button_spacing" @click="search">查询</button>
|
|
44
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
45
|
+
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
+
:field="$parent.$parent.getfield"
|
|
48
|
+
:footer="$parent.$parent.footer"
|
|
49
|
+
:header="$parent.$parent.other"
|
|
50
|
+
sqlurl="rs/logic/exportfile"
|
|
51
|
+
sql-name="CommunityPaymen"
|
|
52
|
+
template-name='小区缴费汇总(机表)导出'
|
|
53
|
+
:choose-col="true"></export-excel>
|
|
54
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
55
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
56
|
+
titletable="小区缴费汇总(机表)导出"
|
|
57
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
58
|
+
<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>
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
64
|
+
<res-select-group :initres="$parent.$parent.initres" :show-component="$parent.$parent.showComponent" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
65
|
+
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
68
|
</criteria>
|
|
@@ -7,8 +7,21 @@
|
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
10
|
-
<
|
|
11
|
-
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label class="font_normal_body">客户编号</label>
|
|
12
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
13
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2 form-group">
|
|
16
|
+
<label class="font_normal_body">客户名称</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
23
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
24
|
+
</div>
|
|
12
25
|
|
|
13
26
|
<div class="span" style="float:right;">
|
|
14
27
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
@@ -25,21 +38,7 @@
|
|
|
25
38
|
</div>
|
|
26
39
|
</div>
|
|
27
40
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
28
|
-
<
|
|
29
|
-
<label class="font_normal_body">客户编号</label>
|
|
30
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
31
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
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.f_user_name"
|
|
36
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
37
|
-
</div>
|
|
38
|
-
<div class="col-sm-2 form-group">
|
|
39
|
-
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
40
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
41
|
-
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
42
|
-
</div>
|
|
41
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
43
42
|
|
|
44
43
|
<div class="col-sm-2 form-group">
|
|
45
44
|
<label class="font_normal_body">小区名称</label>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -103,9 +103,6 @@
|
|
|
103
103
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_othereason"
|
|
104
104
|
condition="f_othereason like '%{}%'" placeholder='其他原因'>
|
|
105
105
|
</div>
|
|
106
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="row">
|
|
109
106
|
<div class="col-sm-2 form-group">
|
|
110
107
|
<label class="font_normal_body">小 区</label>
|
|
111
108
|
<v-select class="select_list select"
|
|
@@ -127,6 +124,7 @@
|
|
|
127
124
|
<input type="text" style="width: 36%;" placeholder="室号" class="input_search" v-model="model.f_room" condition="f_room = '{}'" />
|
|
128
125
|
</div>
|
|
129
126
|
</div>
|
|
127
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
130
128
|
</div>
|
|
131
129
|
</div>
|
|
132
130
|
</criteria>
|
|
@@ -135,7 +133,9 @@
|
|
|
135
133
|
<template partial='head'>
|
|
136
134
|
<tr>
|
|
137
135
|
<th>
|
|
138
|
-
<nobr>客户编号</nobr
|
|
136
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
137
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
138
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
139
139
|
</th>
|
|
140
140
|
<th>
|
|
141
141
|
<nobr>客户名称</nobr>
|
|
@@ -156,7 +156,9 @@
|
|
|
156
156
|
<nobr>用气点名称</nobr>
|
|
157
157
|
</th>
|
|
158
158
|
<th>
|
|
159
|
-
<nobr>客户地址</nobr
|
|
159
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
160
|
+
<data-order field="f_address" name="客户地址"
|
|
161
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
160
162
|
</th>
|
|
161
163
|
<th>
|
|
162
164
|
<nobr>停用原因</nobr>
|
|
@@ -168,7 +170,9 @@
|
|
|
168
170
|
<nobr>状态</nobr>
|
|
169
171
|
</th>
|
|
170
172
|
<th>
|
|
171
|
-
<nobr>停用日期</nobr
|
|
173
|
+
<!-- <nobr>停用日期</nobr>-->
|
|
174
|
+
<data-order field="f_operate_date" name="停用日期"
|
|
175
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
172
176
|
</th>
|
|
173
177
|
<th>
|
|
174
178
|
<nobr>操作类型</nobr>
|
|
@@ -290,7 +294,7 @@
|
|
|
290
294
|
data: {},
|
|
291
295
|
other: [],
|
|
292
296
|
footer: [],
|
|
293
|
-
model: new PagedList('rs/sql/disableQuery', 20, {}),
|
|
297
|
+
model: new PagedList('rs/sql/disableQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
294
298
|
criteriaShow: false,
|
|
295
299
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
296
300
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -304,6 +308,11 @@
|
|
|
304
308
|
config: {
|
|
305
309
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_othereason', 'f_state', 'f_operate_date', 'f_operat_type', 'f_operator']
|
|
306
310
|
},
|
|
311
|
+
//排序
|
|
312
|
+
orderitem:'f_operate_date desc',
|
|
313
|
+
orderFields: {
|
|
314
|
+
f_operate_date: 'no'
|
|
315
|
+
},
|
|
307
316
|
thead: '',
|
|
308
317
|
showupload:false,
|
|
309
318
|
selected:{},
|
|
@@ -426,7 +435,26 @@
|
|
|
426
435
|
})
|
|
427
436
|
this.modelval = sortModel
|
|
428
437
|
console.log('选择的打印的字段', this.modelval)
|
|
438
|
+
},
|
|
439
|
+
sort (field, rule) {
|
|
440
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
441
|
+
for (let key in this.orderFields) {
|
|
442
|
+
if (key === field) {
|
|
443
|
+
this.orderFields[key] = rule
|
|
444
|
+
} else {
|
|
445
|
+
this.orderFields[key] = 'no'
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
// 如果新规则不排序,还原为默认排序
|
|
449
|
+
if (rule === 'no') {
|
|
450
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
451
|
+
} else {
|
|
452
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
this.search()
|
|
429
456
|
}
|
|
457
|
+
|
|
430
458
|
},
|
|
431
459
|
watch: {
|
|
432
460
|
'all'(val) {
|
|
@@ -449,7 +477,10 @@
|
|
|
449
477
|
},
|
|
450
478
|
computed: {
|
|
451
479
|
getCondition() {
|
|
452
|
-
return {
|
|
480
|
+
return {
|
|
481
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
482
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
483
|
+
}
|
|
453
484
|
},
|
|
454
485
|
getfield() {
|
|
455
486
|
return exportConfig.disableConfig
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -56,38 +56,16 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
|
|
58
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
59
|
<div class="col-sm-2 form-group">
|
|
61
|
-
<label class="font_normal_body"
|
|
62
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
63
|
-
condition="
|
|
64
|
-
:size="model.f_user_name ? model.f_user_name.length * 2 : 1">
|
|
60
|
+
<label class="font_normal_body">表  号</label>
|
|
61
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
62
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
65
63
|
</div>
|
|
66
64
|
<div class="col-sm-2 form-group">
|
|
67
|
-
<label class="font_normal_body"
|
|
68
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
69
|
-
condition="
|
|
65
|
+
<label class="font_normal_body">卡  号</label>
|
|
66
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
67
|
+
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
70
68
|
</div>
|
|
71
|
-
<div class="col-sm-2 form-group">
|
|
72
|
-
<label class="font_normal_body">操作类型</label>
|
|
73
|
-
<v-select :value.sync="model.f_operat_type"
|
|
74
|
-
v-model="model.f_operat_type"
|
|
75
|
-
:options='$parent.$parent.operattype' placeholder='请选择'
|
|
76
|
-
condition="f_operat_type = '{}'"
|
|
77
|
-
close-on-select></v-select>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="col-sm-2 form-group">
|
|
81
|
-
<label class="font_normal_body">表  号</label>
|
|
82
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
83
|
-
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="col-sm-2 form-group">
|
|
86
|
-
<label class="font_normal_body">卡  号</label>
|
|
87
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
88
|
-
condition="f_card_id = '{}'" placeholder='卡号'>
|
|
89
|
-
</div>
|
|
90
|
-
<div class="row">
|
|
91
69
|
<div class="col-sm-2 form-group">
|
|
92
70
|
<label class="font_normal_body">小 区</label>
|
|
93
71
|
<v-select class="select_list select"
|
|
@@ -109,6 +87,26 @@
|
|
|
109
87
|
<input type="text" style="width: 36%;" placeholder="室号" class="input_search" v-model="model.f_room" condition="f_room = '{}'" />
|
|
110
88
|
</div>
|
|
111
89
|
</div>
|
|
90
|
+
<div class="col-sm-2 form-group">
|
|
91
|
+
<label class="font_normal_body">客户名称</label>
|
|
92
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
93
|
+
condition=" f_user_name like '%{}%'" placeholder='客户名称'
|
|
94
|
+
:size="model.f_user_name ? model.f_user_name.length * 2 : 1">
|
|
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_address"
|
|
99
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="col-sm-2 form-group">
|
|
102
|
+
<label class="font_normal_body">操作类型</label>
|
|
103
|
+
<v-select :value.sync="model.f_operat_type"
|
|
104
|
+
v-model="model.f_operat_type"
|
|
105
|
+
:options='$parent.$parent.operattype' placeholder='请选择'
|
|
106
|
+
condition="f_operat_type = '{}'"
|
|
107
|
+
close-on-select></v-select>
|
|
108
|
+
</div>
|
|
109
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
112
110
|
</div>
|
|
113
111
|
</div>
|
|
114
112
|
</criteria>
|
|
@@ -117,7 +115,9 @@
|
|
|
117
115
|
<template partial='head'>
|
|
118
116
|
<tr>
|
|
119
117
|
<th>
|
|
120
|
-
<nobr>客户编号</nobr
|
|
118
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
119
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
120
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
121
121
|
</th>
|
|
122
122
|
<th>
|
|
123
123
|
<nobr>客户名称</nobr>
|
|
@@ -129,7 +129,9 @@
|
|
|
129
129
|
<nobr>客户类型</nobr>
|
|
130
130
|
</th>
|
|
131
131
|
<th>
|
|
132
|
-
<nobr>客户地址</nobr
|
|
132
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
133
|
+
<data-order field="f_address" name="客户地址"
|
|
134
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
133
135
|
</th>
|
|
134
136
|
<th>
|
|
135
137
|
<nobr>启用原因</nobr>
|
|
@@ -141,7 +143,9 @@
|
|
|
141
143
|
<nobr>状态</nobr>
|
|
142
144
|
</th>
|
|
143
145
|
<th>
|
|
144
|
-
<nobr>启用日期</nobr
|
|
146
|
+
<!-- <nobr>启用日期</nobr>-->
|
|
147
|
+
<data-order field="f_operate_date" name="启用日期"
|
|
148
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
145
149
|
</th>
|
|
146
150
|
<th>
|
|
147
151
|
<nobr>操作类型</nobr>
|
|
@@ -252,7 +256,7 @@
|
|
|
252
256
|
data: {},
|
|
253
257
|
other: [],
|
|
254
258
|
footer: [],
|
|
255
|
-
model: new PagedList('rs/sql/enableQuery', 20, {}),
|
|
259
|
+
model: new PagedList('rs/sql/enableQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
256
260
|
criteriaShow: false,
|
|
257
261
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "启用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
258
262
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -264,6 +268,11 @@
|
|
|
264
268
|
config: {
|
|
265
269
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_enable_reason', 'f_othereason', 'f_state', 'f_operate_date', 'f_operat_type', 'f_operator']
|
|
266
270
|
},
|
|
271
|
+
//排序
|
|
272
|
+
orderitem:'f_operate_date desc',
|
|
273
|
+
orderFields: {
|
|
274
|
+
f_operate_date: 'no'
|
|
275
|
+
},
|
|
267
276
|
//默认打印列
|
|
268
277
|
defaultfield: [],
|
|
269
278
|
initres: {
|
|
@@ -271,6 +280,7 @@
|
|
|
271
280
|
dep: [],
|
|
272
281
|
user: [],
|
|
273
282
|
},
|
|
283
|
+
|
|
274
284
|
show: false,
|
|
275
285
|
rowdata: {},
|
|
276
286
|
thead: '',
|
|
@@ -386,8 +396,27 @@
|
|
|
386
396
|
})
|
|
387
397
|
this.modelval = sortModel
|
|
388
398
|
console.log('选择的打印的字段', this.modelval)
|
|
399
|
+
},
|
|
400
|
+
sort (field, rule) {
|
|
401
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
402
|
+
for (let key in this.orderFields) {
|
|
403
|
+
if (key === field) {
|
|
404
|
+
this.orderFields[key] = rule
|
|
405
|
+
} else {
|
|
406
|
+
this.orderFields[key] = 'no'
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
// 如果新规则不排序,还原为默认排序
|
|
410
|
+
if (rule === 'no') {
|
|
411
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
412
|
+
} else {
|
|
413
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
this.search()
|
|
389
417
|
}
|
|
390
418
|
},
|
|
419
|
+
|
|
391
420
|
watch: {
|
|
392
421
|
'all'(val) {
|
|
393
422
|
if (val) {
|
|
@@ -409,7 +438,10 @@
|
|
|
409
438
|
},
|
|
410
439
|
computed: {
|
|
411
440
|
getCondition() {
|
|
412
|
-
return {
|
|
441
|
+
return {
|
|
442
|
+
condition: `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr,
|
|
443
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
444
|
+
}
|
|
413
445
|
},
|
|
414
446
|
getfield() {
|
|
415
447
|
return exportConfig.enableConfig
|
|
@@ -6,32 +6,6 @@
|
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-inline auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"
|
|
10
|
-
v-ref:sel></res-select-group>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<div class="span" style="float:right;">
|
|
14
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
15
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
16
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
17
|
-
:field="$parent.$parent.getfield"
|
|
18
|
-
:footer="$parent.$parent.footer"
|
|
19
|
-
:header="$parent.$parent.other"
|
|
20
|
-
sqlurl="rs/logic/exportfile"
|
|
21
|
-
sql-name="FMYgasQuery"
|
|
22
|
-
template-name='用气查询导出'
|
|
23
|
-
:choose-col="true"></export-excel>
|
|
24
|
-
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
25
|
-
:defaultfield="$parent.$parent.defaultfield" print-name="用气查询打印"
|
|
26
|
-
></print-data>
|
|
27
|
-
|
|
28
|
-
<div style="float: right" class="button_spacing"
|
|
29
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
30
|
-
@click="$parent.$parent.hidden()"></div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
34
|
-
|
|
35
9
|
<div class="col-sm-2 form-group">
|
|
36
10
|
<label for="startDate" class="font_normal_body">录入日期</label>
|
|
37
11
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
@@ -72,6 +46,32 @@
|
|
|
72
46
|
>
|
|
73
47
|
</datepicker>
|
|
74
48
|
</div>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<div class="span" style="float:right;">
|
|
52
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
53
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
55
|
+
:field="$parent.$parent.getfield"
|
|
56
|
+
:footer="$parent.$parent.footer"
|
|
57
|
+
:header="$parent.$parent.other"
|
|
58
|
+
sqlurl="rs/logic/exportfile"
|
|
59
|
+
sql-name="FMYgasQuery"
|
|
60
|
+
template-name='用气查询导出'
|
|
61
|
+
:choose-col="true"></export-excel>
|
|
62
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
|
63
|
+
:defaultfield="$parent.$parent.defaultfield" print-name="用气查询打印"
|
|
64
|
+
></print-data>
|
|
65
|
+
|
|
66
|
+
<div style="float: right" class="button_spacing"
|
|
67
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
68
|
+
@click="$parent.$parent.hidden()"></div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
72
|
+
|
|
73
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
74
|
+
|
|
75
75
|
<div class="col-sm-2 form-group">
|
|
76
76
|
|
|
77
77
|
<label class="font_normal_body">客户编号</label>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -123,7 +123,9 @@
|
|
|
123
123
|
<template partial='head'>
|
|
124
124
|
<tr>
|
|
125
125
|
<th>
|
|
126
|
-
<nobr>客户编号</nobr
|
|
126
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
127
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
128
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
127
129
|
</th>
|
|
128
130
|
<th>
|
|
129
131
|
<nobr>客户名称</nobr>
|
|
@@ -135,7 +137,9 @@
|
|
|
135
137
|
<nobr>收据票号</nobr>
|
|
136
138
|
</th>
|
|
137
139
|
<th>
|
|
138
|
-
<nobr>客户地址</nobr
|
|
140
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
141
|
+
<data-order field="f_address" name="客户地址"
|
|
142
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
139
143
|
</th>
|
|
140
144
|
<th>
|
|
141
145
|
<nobr>卡号</nobr>
|
|
@@ -156,7 +160,9 @@
|
|
|
156
160
|
<nobr>卡费</nobr>
|
|
157
161
|
</th>
|
|
158
162
|
<th>
|
|
159
|
-
<nobr>补卡日期</nobr
|
|
163
|
+
<!-- <nobr>补卡日期</nobr>-->
|
|
164
|
+
<data-order field="f_operate_date" name="补卡日期"
|
|
165
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
160
166
|
</th>
|
|
161
167
|
<th>
|
|
162
168
|
<nobr>付款方式</nobr>
|
|
@@ -287,13 +293,18 @@
|
|
|
287
293
|
data: {},
|
|
288
294
|
other:[],
|
|
289
295
|
footer:[],
|
|
290
|
-
model: new PagedList('rs/sql/fillCardQuery', 20, {}, {f_cardfees: 0,hushu:0}),
|
|
296
|
+
model: new PagedList('rs/sql/fillCardQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_cardfees: 0,hushu:0}),
|
|
291
297
|
criteriaShow: false,
|
|
292
298
|
headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补卡类型", "表编号", "卡号", "气表品牌", "气表状态", "卡费", "补卡日期", "人员", "部门", "公司"],
|
|
293
299
|
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"],
|
|
294
300
|
config: {
|
|
295
301
|
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']
|
|
296
302
|
},
|
|
303
|
+
//排序
|
|
304
|
+
orderitem:'f_operate_date desc',
|
|
305
|
+
orderFields: {
|
|
306
|
+
f_operate_date: 'no'
|
|
307
|
+
},
|
|
297
308
|
//默认打印列
|
|
298
309
|
defaultfield: [],
|
|
299
310
|
orgCondtionStr: '',
|
|
@@ -444,6 +455,24 @@
|
|
|
444
455
|
this.modelval = sortModel
|
|
445
456
|
console.log('选择的打印的字段', this.modelval)
|
|
446
457
|
},
|
|
458
|
+
sort (field, rule) {
|
|
459
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
460
|
+
for (let key in this.orderFields) {
|
|
461
|
+
if (key === field) {
|
|
462
|
+
this.orderFields[key] = rule
|
|
463
|
+
} else {
|
|
464
|
+
this.orderFields[key] = 'no'
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
// 如果新规则不排序,还原为默认排序
|
|
468
|
+
if (rule === 'no') {
|
|
469
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
470
|
+
} else {
|
|
471
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
this.search()
|
|
475
|
+
},
|
|
447
476
|
async updateParams() {
|
|
448
477
|
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
449
478
|
this.initParams()
|
|
@@ -478,7 +507,10 @@
|
|
|
478
507
|
},
|
|
479
508
|
computed: {
|
|
480
509
|
getCondition() {
|
|
481
|
-
return {
|
|
510
|
+
return {
|
|
511
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
512
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
513
|
+
}
|
|
482
514
|
},
|
|
483
515
|
getfield() {
|
|
484
516
|
return exportConfig.fillcardConfig
|