manage-client 3.2.83 → 3.2.86
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/ReportComponrnt/TieAnAccount.vue +4 -4
- package/src/components/sale/businessquery/BusinesQuery.vue +1 -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/DisableQuery.vue +39 -6
- package/src/components/sale/businessquery/EnableQuery.vue +40 -6
- package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
- package/src/components/sale/businessquery/FillGasQuery.vue +37 -6
- package/src/components/sale/businessquery/HandplanQuery.vue +55 -13
- package/src/components/sale/businessquery/MoveMeterQuery.vue +42 -8
- package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
- package/src/components/sale/businessquery/PrivilegeQuery.vue +36 -6
- package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
- package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
- package/src/components/sale/businessquery/TransferQuery.vue +37 -6
- package/src/components/sale/businessquery/overDueQuery.vue +17 -6
- package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1270 -1268
- package/src/components/sale/filesquery/UserQuery.vue +937 -933
- package/src/filiale/qianneng/ChargeQuery.vue +1289 -1289
- package/src/filiale/qianneng/HandplanQuery.vue +1352 -1344
- package/src/filiale/qianneng/exportConfig.js +69 -69
- package/src/main.js +66 -66
package/build/dev-server.js
CHANGED
|
@@ -11,13 +11,13 @@ var compiler = webpack(config)
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
var shaoguan='
|
|
15
|
-
var qtx='
|
|
16
|
-
var bendi = '
|
|
14
|
+
var shaoguan='https://qnjtkf.cn:7400'
|
|
15
|
+
var qtx='https://qnjtkf.cn:7400'
|
|
16
|
+
var bendi = 'https://qnjtkf.cn:7400'
|
|
17
17
|
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = '
|
|
18
|
+
var fuwu = 'https://qnjtkf.cn:7400'
|
|
19
19
|
// var fuwu = 'http://172.168.1.11:9001'
|
|
20
|
-
var system = '
|
|
20
|
+
var system = 'https://qnjtkf.cn:7400'
|
|
21
21
|
//192.168.
|
|
22
22
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
23
23
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
@@ -78,7 +78,7 @@ var proxyTable = {
|
|
|
78
78
|
target: bendi
|
|
79
79
|
},
|
|
80
80
|
'/rs/logic/SumSettleFileImport': {
|
|
81
|
-
target: '
|
|
81
|
+
target: 'https://qnjtkf.cn:7400'
|
|
82
82
|
},
|
|
83
83
|
'/rs': {
|
|
84
84
|
target: bendi
|
package/package.json
CHANGED
|
@@ -231,7 +231,7 @@ export default {
|
|
|
231
231
|
f_orgname: this.$login.f.orgs,
|
|
232
232
|
f_depid: this.$login.f.depids,
|
|
233
233
|
f_depname: this.$login.f.deps,
|
|
234
|
-
|
|
234
|
+
f_operator_id: this.$login.f.id,
|
|
235
235
|
f_operator: this.$login.f.name,
|
|
236
236
|
f_remarks: '',
|
|
237
237
|
reportstr: '',
|
|
@@ -260,7 +260,7 @@ export default {
|
|
|
260
260
|
condition += ' and f_depid = ' + this.f_depid
|
|
261
261
|
}
|
|
262
262
|
if (this.config.isUser) {
|
|
263
|
-
condition += ' and
|
|
263
|
+
condition += ' and f_operator_id = ' + this.f_operator_id
|
|
264
264
|
}
|
|
265
265
|
this.condition = condition
|
|
266
266
|
let querys= await this.$resetpost('rs/sql/PrickBillQuery?pageNo=1&pageSize=7',
|
|
@@ -282,7 +282,7 @@ export default {
|
|
|
282
282
|
f_orgname: this.$login.f.orgs,
|
|
283
283
|
f_depid: this.$login.f.depids,
|
|
284
284
|
f_depname: this.$login.f.deps,
|
|
285
|
-
|
|
285
|
+
f_operator_id: this.$login.f.id,
|
|
286
286
|
f_operator: this.$login.f.name,
|
|
287
287
|
data: {
|
|
288
288
|
id: val.id,
|
|
@@ -426,7 +426,7 @@ export default {
|
|
|
426
426
|
f_orgname: this.f_orgname,
|
|
427
427
|
f_depid: this.f_depid,
|
|
428
428
|
f_depname: this.f_depname,
|
|
429
|
-
|
|
429
|
+
f_operator_id: this.f_operator_id,
|
|
430
430
|
f_operator: this.f_operator,
|
|
431
431
|
f_remarks: this.f_remarks,
|
|
432
432
|
f_condition: condition + rs.name
|
|
@@ -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 >
|
|
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">
|
|
@@ -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">
|
|
@@ -83,7 +83,9 @@
|
|
|
83
83
|
<template partial='head'>
|
|
84
84
|
<tr>
|
|
85
85
|
<th>
|
|
86
|
-
<nobr>客户编号</nobr
|
|
86
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
87
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
88
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
87
89
|
</th>
|
|
88
90
|
<th>
|
|
89
91
|
<nobr>客户名称</nobr>
|
|
@@ -98,7 +100,9 @@
|
|
|
98
100
|
<nobr>联系电话</nobr>
|
|
99
101
|
</th>
|
|
100
102
|
<th>
|
|
101
|
-
<nobr>客户地址</nobr
|
|
103
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
104
|
+
<data-order field="f_address" name="客户地址"
|
|
105
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
102
106
|
</th>
|
|
103
107
|
<th>
|
|
104
108
|
<nobr>销户原因</nobr>
|
|
@@ -107,7 +111,9 @@
|
|
|
107
111
|
<nobr>状态</nobr>
|
|
108
112
|
</th>
|
|
109
113
|
<th>
|
|
110
|
-
<nobr>销户日期</nobr
|
|
114
|
+
<!-- <nobr>销户日期</nobr>-->
|
|
115
|
+
<data-order field="f_operate_date" name="销户日期"
|
|
116
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
111
117
|
</th>
|
|
112
118
|
<th>
|
|
113
119
|
<nobr>操作类型</nobr>
|
|
@@ -219,7 +225,7 @@
|
|
|
219
225
|
data: {},
|
|
220
226
|
other: [],
|
|
221
227
|
footer: [],
|
|
222
|
-
model: new PagedList('rs/sql/CancellationQuery', 20, {}),
|
|
228
|
+
model: new PagedList('rs/sql/CancellationQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}),
|
|
223
229
|
criteriaShow: false,
|
|
224
230
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "销户状态", "销户原因", "同步状态"],
|
|
225
231
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_sendsuccess"],
|
|
@@ -235,6 +241,11 @@
|
|
|
235
241
|
config: {
|
|
236
242
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_type', 'f_changemeter_fee', 'f_meternumber_old', 'f_meternumber', 'f_change_operator', 'f_state', 'f_operate_date']
|
|
237
243
|
},
|
|
244
|
+
//排序
|
|
245
|
+
orderitem:'f_operate_date desc',
|
|
246
|
+
orderFields: {
|
|
247
|
+
f_operate_date: 'no'
|
|
248
|
+
},
|
|
238
249
|
defaultfield: [],
|
|
239
250
|
selected:{},
|
|
240
251
|
tfoot: '',
|
|
@@ -317,6 +328,25 @@
|
|
|
317
328
|
this.printshow = true
|
|
318
329
|
this.put()
|
|
319
330
|
},
|
|
331
|
+
sort (field, rule) {
|
|
332
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
333
|
+
for (let key in this.orderFields) {
|
|
334
|
+
if (key === field) {
|
|
335
|
+
this.orderFields[key] = rule
|
|
336
|
+
} else {
|
|
337
|
+
this.orderFields[key] = 'no'
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
// 如果新规则不排序,还原为默认排序
|
|
341
|
+
if (rule === 'no') {
|
|
342
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
343
|
+
} else {
|
|
344
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
this.search()
|
|
348
|
+
},
|
|
349
|
+
|
|
320
350
|
put() {
|
|
321
351
|
// 对Modelval进行排序
|
|
322
352
|
this.sortModelval()
|
|
@@ -377,7 +407,8 @@
|
|
|
377
407
|
},
|
|
378
408
|
computed: {
|
|
379
409
|
getCondition() {
|
|
380
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
410
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
411
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
381
412
|
},
|
|
382
413
|
getfield() {
|
|
383
414
|
return exportConfig.CancellationConfig
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search" >
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
@@ -110,7 +110,9 @@
|
|
|
110
110
|
<template partial='head'>
|
|
111
111
|
<tr>
|
|
112
112
|
<th>
|
|
113
|
-
<nobr>客户编号</nobr
|
|
113
|
+
<!-- <nobr>客户编号</nobr>-->
|
|
114
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
115
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
114
116
|
</th>
|
|
115
117
|
<th>
|
|
116
118
|
<nobr>客户名称</nobr>
|
|
@@ -137,7 +139,9 @@
|
|
|
137
139
|
<nobr>余量</nobr>
|
|
138
140
|
</th>
|
|
139
141
|
<th>
|
|
140
|
-
<nobr>录入日期</nobr
|
|
142
|
+
<!-- <nobr>录入日期</nobr>-->
|
|
143
|
+
<data-order field="f_hand_date" name="录入日期"
|
|
144
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
|
|
141
145
|
</th>
|
|
142
146
|
<th>
|
|
143
147
|
<nobr>抄表员</nobr>
|
|
@@ -252,7 +256,12 @@
|
|
|
252
256
|
data() {
|
|
253
257
|
return {
|
|
254
258
|
data: {},
|
|
255
|
-
|
|
259
|
+
//排序
|
|
260
|
+
orderitem:'f_input_date desc',
|
|
261
|
+
orderFields: {
|
|
262
|
+
f_input_date : 'no'
|
|
263
|
+
},
|
|
264
|
+
model: new PagedList('rs/sql/cardhandplanQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_input_date desc"}, {
|
|
256
265
|
f_real_amount: 0
|
|
257
266
|
}),
|
|
258
267
|
initres: {
|
|
@@ -380,6 +389,24 @@
|
|
|
380
389
|
})
|
|
381
390
|
this.modelval = sortModel
|
|
382
391
|
console.log('选择的打印的字段', this.modelval)
|
|
392
|
+
},
|
|
393
|
+
sort (field, rule) {
|
|
394
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
395
|
+
for (let key in this.orderFields) {
|
|
396
|
+
if (key === field) {
|
|
397
|
+
this.orderFields[key] = rule
|
|
398
|
+
} else {
|
|
399
|
+
this.orderFields[key] = 'no'
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// 如果新规则不排序,还原为默认排序
|
|
403
|
+
if (rule === 'no') {
|
|
404
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
405
|
+
} else {
|
|
406
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
this.search()
|
|
383
410
|
}
|
|
384
411
|
},
|
|
385
412
|
watch: {
|
|
@@ -397,7 +424,8 @@
|
|
|
397
424
|
},
|
|
398
425
|
computed: {
|
|
399
426
|
getCondition() {
|
|
400
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
427
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
428
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_input_date desc "}
|
|
401
429
|
},
|
|
402
430
|
getfield() {
|
|
403
431
|
return exportConfig.cardhandplanConfig
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="unit" class="flex-row" >
|
|
3
3
|
<div class="basic-main" @keyup.enter="search" >
|
|
4
4
|
<div class="flex" :class="{showbottom:showbottomsum}" v-if="!show">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
@@ -181,7 +181,9 @@
|
|
|
181
181
|
<template partial='head'>
|
|
182
182
|
<tr>
|
|
183
183
|
<th>
|
|
184
|
-
|
|
184
|
+
<!--<nobr>客户编号</nobr>-->
|
|
185
|
+
<data-order field="f_userinfo_code" name="客户编号"
|
|
186
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
185
187
|
</th>
|
|
186
188
|
<th>
|
|
187
189
|
<nobr>客户名称</nobr>
|
|
@@ -193,7 +195,9 @@
|
|
|
193
195
|
<nobr>付款方式</nobr>
|
|
194
196
|
</th>
|
|
195
197
|
<th>
|
|
196
|
-
|
|
198
|
+
<!--<nobr>客户地址</nobr>-->
|
|
199
|
+
<data-order field="f_address" name="客户地址"
|
|
200
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
197
201
|
</th>
|
|
198
202
|
<th>
|
|
199
203
|
<nobr>换表类型</nobr>
|
|
@@ -235,7 +239,9 @@
|
|
|
235
239
|
<nobr>状态</nobr>
|
|
236
240
|
</th>
|
|
237
241
|
<th>
|
|
238
|
-
<nobr>换表日期</nobr
|
|
242
|
+
<!-- <nobr>换表日期</nobr>-->
|
|
243
|
+
<data-order field="f_operate_date" name="换表日期"
|
|
244
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
239
245
|
</th>
|
|
240
246
|
<th>
|
|
241
247
|
<nobr>人员</nobr>
|
|
@@ -424,7 +430,7 @@
|
|
|
424
430
|
footer:[],
|
|
425
431
|
meterbrands: [],
|
|
426
432
|
pricenames: [],
|
|
427
|
-
model: new PagedList('rs/sql/changeMeterQuery', 20, {}, {f_changemeter_fee: 0,f_remanent_money:0,f_remanent_gas:0,hushu:0}),
|
|
433
|
+
model: new PagedList('rs/sql/changeMeterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_changemeter_fee: 0,f_remanent_money:0,f_remanent_gas:0,hushu:0}),
|
|
428
434
|
criteriaShow: false,
|
|
429
435
|
orgCondtionStr: '',
|
|
430
436
|
modelval: [],
|
|
@@ -439,6 +445,11 @@
|
|
|
439
445
|
config: {
|
|
440
446
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_type', 'f_changemeter_fee', 'f_meternumber_old', 'f_meternumber', 'f_change_operator', 'f_state', 'f_operate_date']
|
|
441
447
|
},
|
|
448
|
+
//排序
|
|
449
|
+
orderitem:'f_operate_date desc',
|
|
450
|
+
orderFields: {
|
|
451
|
+
f_operate_date: 'no'
|
|
452
|
+
},
|
|
442
453
|
show:false,
|
|
443
454
|
rowdata:{},
|
|
444
455
|
showupload:false,
|
|
@@ -586,7 +597,25 @@
|
|
|
586
597
|
})
|
|
587
598
|
this.modelval = sortModel
|
|
588
599
|
console.log('选择的打印的字段', this.modelval)
|
|
589
|
-
}
|
|
600
|
+
},
|
|
601
|
+
sort (field, rule) {
|
|
602
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
603
|
+
for (let key in this.orderFields) {
|
|
604
|
+
if (key === field) {
|
|
605
|
+
this.orderFields[key] = rule
|
|
606
|
+
} else {
|
|
607
|
+
this.orderFields[key] = 'no'
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
// 如果新规则不排序,还原为默认排序
|
|
611
|
+
if (rule === 'no') {
|
|
612
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
613
|
+
} else {
|
|
614
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
this.search()
|
|
618
|
+
},
|
|
590
619
|
},
|
|
591
620
|
watch: {
|
|
592
621
|
'all'(val) {
|
|
@@ -612,7 +641,9 @@
|
|
|
612
641
|
// return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
|
|
613
642
|
// },
|
|
614
643
|
getCondition() {
|
|
615
|
-
return {
|
|
644
|
+
return {
|
|
645
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
646
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
616
647
|
},
|
|
617
648
|
getfield() {
|
|
618
649
|
return exportConfig.changemeterConfig
|
|
@@ -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">
|
|
@@ -133,7 +133,9 @@
|
|
|
133
133
|
<template partial='head'>
|
|
134
134
|
<tr>
|
|
135
135
|
<th>
|
|
136
|
-
<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>
|
|
137
139
|
</th>
|
|
138
140
|
<th>
|
|
139
141
|
<nobr>客户名称</nobr>
|
|
@@ -154,7 +156,9 @@
|
|
|
154
156
|
<nobr>用气点名称</nobr>
|
|
155
157
|
</th>
|
|
156
158
|
<th>
|
|
157
|
-
<nobr>客户地址</nobr
|
|
159
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
160
|
+
<data-order field="f_address" name="客户地址"
|
|
161
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
158
162
|
</th>
|
|
159
163
|
<th>
|
|
160
164
|
<nobr>停用原因</nobr>
|
|
@@ -166,7 +170,9 @@
|
|
|
166
170
|
<nobr>状态</nobr>
|
|
167
171
|
</th>
|
|
168
172
|
<th>
|
|
169
|
-
<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>
|
|
170
176
|
</th>
|
|
171
177
|
<th>
|
|
172
178
|
<nobr>操作类型</nobr>
|
|
@@ -288,7 +294,7 @@
|
|
|
288
294
|
data: {},
|
|
289
295
|
other: [],
|
|
290
296
|
footer: [],
|
|
291
|
-
model: new PagedList('rs/sql/disableQuery', 20, {}),
|
|
297
|
+
model: new PagedList('rs/sql/disableQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
292
298
|
criteriaShow: false,
|
|
293
299
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
294
300
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -302,6 +308,11 @@
|
|
|
302
308
|
config: {
|
|
303
309
|
defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_othereason', 'f_state', 'f_operate_date', 'f_operat_type', 'f_operator']
|
|
304
310
|
},
|
|
311
|
+
//排序
|
|
312
|
+
orderitem:'f_operate_date desc',
|
|
313
|
+
orderFields: {
|
|
314
|
+
f_operate_date: 'no'
|
|
315
|
+
},
|
|
305
316
|
thead: '',
|
|
306
317
|
showupload:false,
|
|
307
318
|
selected:{},
|
|
@@ -424,7 +435,26 @@
|
|
|
424
435
|
})
|
|
425
436
|
this.modelval = sortModel
|
|
426
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()
|
|
427
456
|
}
|
|
457
|
+
|
|
428
458
|
},
|
|
429
459
|
watch: {
|
|
430
460
|
'all'(val) {
|
|
@@ -447,7 +477,10 @@
|
|
|
447
477
|
},
|
|
448
478
|
computed: {
|
|
449
479
|
getCondition() {
|
|
450
|
-
return {
|
|
480
|
+
return {
|
|
481
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
482
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
483
|
+
}
|
|
451
484
|
},
|
|
452
485
|
getfield() {
|
|
453
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">
|
|
@@ -115,7 +115,9 @@
|
|
|
115
115
|
<template partial='head'>
|
|
116
116
|
<tr>
|
|
117
117
|
<th>
|
|
118
|
-
<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>
|
|
119
121
|
</th>
|
|
120
122
|
<th>
|
|
121
123
|
<nobr>客户名称</nobr>
|
|
@@ -127,7 +129,9 @@
|
|
|
127
129
|
<nobr>客户类型</nobr>
|
|
128
130
|
</th>
|
|
129
131
|
<th>
|
|
130
|
-
<nobr>客户地址</nobr
|
|
132
|
+
<!-- <nobr>客户地址</nobr>-->
|
|
133
|
+
<data-order field="f_address" name="客户地址"
|
|
134
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
131
135
|
</th>
|
|
132
136
|
<th>
|
|
133
137
|
<nobr>启用原因</nobr>
|
|
@@ -139,7 +143,9 @@
|
|
|
139
143
|
<nobr>状态</nobr>
|
|
140
144
|
</th>
|
|
141
145
|
<th>
|
|
142
|
-
<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>
|
|
143
149
|
</th>
|
|
144
150
|
<th>
|
|
145
151
|
<nobr>操作类型</nobr>
|
|
@@ -250,7 +256,7 @@
|
|
|
250
256
|
data: {},
|
|
251
257
|
other: [],
|
|
252
258
|
footer: [],
|
|
253
|
-
model: new PagedList('rs/sql/enableQuery', 20, {}),
|
|
259
|
+
model: new PagedList('rs/sql/enableQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
|
|
254
260
|
criteriaShow: false,
|
|
255
261
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "启用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
256
262
|
bodyData: ["f_userinfo_id", "f_user_name", "f_operator", "f_operate_date", "f_state", "f_comments", "f_othereason", "f_sendsuccess"],
|
|
@@ -262,6 +268,11 @@
|
|
|
262
268
|
config: {
|
|
263
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']
|
|
264
270
|
},
|
|
271
|
+
//排序
|
|
272
|
+
orderitem:'f_operate_date desc',
|
|
273
|
+
orderFields: {
|
|
274
|
+
f_operate_date: 'no'
|
|
275
|
+
},
|
|
265
276
|
//默认打印列
|
|
266
277
|
defaultfield: [],
|
|
267
278
|
initres: {
|
|
@@ -269,6 +280,7 @@
|
|
|
269
280
|
dep: [],
|
|
270
281
|
user: [],
|
|
271
282
|
},
|
|
283
|
+
|
|
272
284
|
show: false,
|
|
273
285
|
rowdata: {},
|
|
274
286
|
thead: '',
|
|
@@ -384,8 +396,27 @@
|
|
|
384
396
|
})
|
|
385
397
|
this.modelval = sortModel
|
|
386
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()
|
|
387
417
|
}
|
|
388
418
|
},
|
|
419
|
+
|
|
389
420
|
watch: {
|
|
390
421
|
'all'(val) {
|
|
391
422
|
if (val) {
|
|
@@ -407,7 +438,10 @@
|
|
|
407
438
|
},
|
|
408
439
|
computed: {
|
|
409
440
|
getCondition() {
|
|
410
|
-
return {
|
|
441
|
+
return {
|
|
442
|
+
condition: `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr,
|
|
443
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
444
|
+
}
|
|
411
445
|
},
|
|
412
446
|
getfield() {
|
|
413
447
|
return exportConfig.enableConfig
|
|
@@ -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
|