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.
Files changed (26) hide show
  1. package/build/dev-server.js +6 -6
  2. package/package.json +1 -1
  3. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +4 -4
  4. package/src/components/sale/businessquery/BusinesQuery.vue +1 -1
  5. package/src/components/sale/businessquery/CancellationQuery.vue +37 -6
  6. package/src/components/sale/businessquery/CardHandplanQuery.vue +34 -6
  7. package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -7
  8. package/src/components/sale/businessquery/DisableQuery.vue +39 -6
  9. package/src/components/sale/businessquery/EnableQuery.vue +40 -6
  10. package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
  11. package/src/components/sale/businessquery/FillGasQuery.vue +37 -6
  12. package/src/components/sale/businessquery/HandplanQuery.vue +55 -13
  13. package/src/components/sale/businessquery/MoveMeterQuery.vue +42 -8
  14. package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
  15. package/src/components/sale/businessquery/PrivilegeQuery.vue +36 -6
  16. package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
  17. package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
  18. package/src/components/sale/businessquery/TransferQuery.vue +37 -6
  19. package/src/components/sale/businessquery/overDueQuery.vue +17 -6
  20. package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
  21. package/src/components/sale/filesquery/RecordInfoQuery.vue +1270 -1268
  22. package/src/components/sale/filesquery/UserQuery.vue +937 -933
  23. package/src/filiale/qianneng/ChargeQuery.vue +1289 -1289
  24. package/src/filiale/qianneng/HandplanQuery.vue +1352 -1344
  25. package/src/filiale/qianneng/exportConfig.js +69 -69
  26. package/src/main.js +66 -66
@@ -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">
@@ -99,7 +99,9 @@
99
99
  <template partial='head'>
100
100
  <tr>
101
101
  <th>
102
- <nobr>客户编号</nobr>
102
+ <!-- <nobr>客户编号</nobr>-->
103
+ <data-order field="f_userinfo_code" name="客户编号"
104
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
103
105
  </th>
104
106
  <th>
105
107
  <nobr>客户名称</nobr>
@@ -108,7 +110,9 @@
108
110
  <nobr>档案编号</nobr>
109
111
  </th>
110
112
  <th>
111
- <nobr>客户地址</nobr>
113
+ <!-- <nobr>客户地址</nobr>-->
114
+ <data-order field="f_address" name="客户地址"
115
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
112
116
  </th>
113
117
  <th>
114
118
  <nobr>冲正类型</nobr>
@@ -123,7 +127,9 @@
123
127
  <nobr>冲正收款</nobr>
124
128
  </th>
125
129
  <th>
126
- <nobr>冲正日期</nobr>
130
+ <!-- <nobr>冲正日期</nobr>-->
131
+ <data-order field="f_operate_date" name="冲正日期"
132
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
127
133
  </th>
128
134
  <th>
129
135
  <nobr>人员</nobr>
@@ -238,7 +244,7 @@
238
244
  data: {},
239
245
  other:[],
240
246
  footer:[],
241
- model: new PagedList('rs/sql/reverseQuery', 20, {}, {f_pregas: 0, f_preamount: 0, f_collection: 0}),
247
+ model: new PagedList('rs/sql/reverseQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_pregas: 0, f_preamount: 0, f_collection: 0}),
242
248
  criteriaShow: false,
243
249
  orgCondtionStr: '',
244
250
  initres: {
@@ -246,6 +252,11 @@
246
252
  dep:[],
247
253
  user:[],
248
254
  },
255
+ //排序
256
+ orderitem:'f_operate_date desc',
257
+ orderFields: {
258
+ f_operate_date: 'no'
259
+ },
249
260
  show:false,
250
261
  rowdata:{},
251
262
  modelval: [],
@@ -371,6 +382,24 @@
371
382
  })
372
383
  this.modelval = sortModel
373
384
  console.log('选择的打印的字段', this.modelval)
385
+ },
386
+ sort (field, rule) {
387
+ // 将所有排序方式设为不排序,实现相互排斥
388
+ for (let key in this.orderFields) {
389
+ if (key === field) {
390
+ this.orderFields[key] = rule
391
+ } else {
392
+ this.orderFields[key] = 'no'
393
+ }
394
+ }
395
+ // 如果新规则不排序,还原为默认排序
396
+ if (rule === 'no') {
397
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
398
+ } else {
399
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
400
+ }
401
+
402
+ this.search()
374
403
  }
375
404
  },
376
405
  watch: {
@@ -394,7 +423,9 @@
394
423
  },
395
424
  computed: {
396
425
  getCondition() {
397
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
426
+ return {
427
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
428
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
398
429
  },
399
430
  getfield() {
400
431
  return exportConfig.reverseConfig
@@ -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">
@@ -107,7 +107,9 @@
107
107
  <template partial='head'>
108
108
  <tr>
109
109
  <th>
110
- <nobr>客户编号</nobr>
110
+ <!-- <nobr>客户编号</nobr>-->
111
+ <data-order field="f_userinfo_code" name="客户编号"
112
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
111
113
  </th>
112
114
  <th>
113
115
  <nobr>客户名称</nobr>
@@ -116,7 +118,9 @@
116
118
  <nobr>档案编号</nobr>
117
119
  </th>
118
120
  <th>
119
- <nobr>客户地址</nobr>
121
+ <!-- <nobr>客户地址</nobr>-->
122
+ <data-order field="f_address" name="客户地址"
123
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
120
124
  </th>
121
125
  <th>
122
126
  <nobr>原客户名称</nobr>
@@ -131,7 +135,9 @@
131
135
  <nobr>过户费</nobr>
132
136
  </th>
133
137
  <th>
134
- <nobr>过户日期</nobr>
138
+ <!-- <nobr>过户日期</nobr>-->
139
+ <data-order field="f_operate_date" name="过户日期"
140
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
135
141
  </th>
136
142
  <th>
137
143
  <nobr>备注</nobr>
@@ -250,7 +256,7 @@
250
256
  footer:[],
251
257
  show:false,
252
258
  rowdata:{},
253
- model: new PagedList('rs/sql/transferQuery', 20, {}, {f_transfer_fees: 0,hushu:0}),
259
+ model: new PagedList('rs/sql/transferQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}, {f_transfer_fees: 0,hushu:0}),
254
260
  criteriaShow: false,
255
261
  initres: {
256
262
  org:[this.$login.f.orgid],
@@ -267,6 +273,11 @@
267
273
  config: {
268
274
  defaultPrint: ["f_userinfo_code", "f_newuser_name", "f_newuser_phone", "address", "f_state", "f_user_name","f_transfer_fees", "f_operate_date", "f_operator", "f_depname", "f_orgname"]
269
275
  },
276
+ //排序
277
+ orderitem:'f_operate_date desc',
278
+ orderFields: {
279
+ f_operate_date: 'no'
280
+ },
270
281
  //默认打印列
271
282
  defaultfield: [],
272
283
  thead: '',
@@ -397,6 +408,24 @@
397
408
  })
398
409
  this.modelval = sortModel
399
410
  console.log('选择的打印的字段', this.modelval)
411
+ },
412
+ sort (field, rule) {
413
+ // 将所有排序方式设为不排序,实现相互排斥
414
+ for (let key in this.orderFields) {
415
+ if (key === field) {
416
+ this.orderFields[key] = rule
417
+ } else {
418
+ this.orderFields[key] = 'no'
419
+ }
420
+ }
421
+ // 如果新规则不排序,还原为默认排序
422
+ if (rule === 'no') {
423
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
424
+ } else {
425
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
426
+ }
427
+
428
+ this.search()
400
429
  }
401
430
  },
402
431
  watch: {
@@ -420,7 +449,9 @@
420
449
  },
421
450
  computed: {
422
451
  getCondition() {
423
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
452
+ return {
453
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
454
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
424
455
  },
425
456
  getfield() {
426
457
  return exportConfig.transferConfig
@@ -80,7 +80,9 @@
80
80
  <template partial='head'>
81
81
  <tr>
82
82
  <th>
83
- <nobr>客户编号</nobr>
83
+ <!-- <nobr>客户编号</nobr>-->
84
+ <data-order field="f_userinfo_code" name="客户编号"
85
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
84
86
  </th>
85
87
  <th>
86
88
  <nobr>客户名称</nobr>
@@ -89,7 +91,9 @@
89
91
  <nobr>档案编号</nobr>
90
92
  </th>
91
93
  <th>
92
- <nobr>客户地址</nobr>
94
+ <!-- <nobr>客户地址</nobr>-->
95
+ <data-order field="f_address" name="客户地址"
96
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
93
97
  </th>
94
98
  <th>
95
99
  <nobr>上期底数</nobr>
@@ -98,7 +102,9 @@
98
102
  <nobr>本期底数</nobr>
99
103
  </th>
100
104
  <th>
101
- <nobr>抄表日期</nobr>
105
+ <!-- <nobr>抄表日期</nobr>-->
106
+ <data-order field="f_operate_date" name="抄表日期"
107
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
102
108
  </th>
103
109
  <th>
104
110
  <nobr>减免金额</nobr>
@@ -222,11 +228,13 @@
222
228
  dep:[],
223
229
  user:[],
224
230
  },
231
+ //排序
232
+ orderitem:'f_open_date desc',
225
233
  orderFields: {
226
- f_address: 'no'
234
+ f_open_date: 'no'
227
235
  },
228
236
  orderDefault: "'f_open_date desc'",
229
- model: new PagedList('rs/sql/overDueQuery', 20,{orderitem: "'f_open_date desc'"},{
237
+ model: new PagedList('rs/sql/overDueQuery', 20,{orderitem: this.orderitem?`${this.orderitem}`:"'f_open_date desc'"},{
230
238
  f_latefee_ought:0
231
239
  }),
232
240
  f_orgid: this.$login.f.orgid,
@@ -238,6 +246,7 @@
238
246
  config: {
239
247
  defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_latefee_ought', 'f_comments', 'f_operate_date', 'f_operator']
240
248
  },
249
+
241
250
  //默认打印列
242
251
  defaultfield: [],
243
252
  thead: '',
@@ -336,6 +345,7 @@
336
345
  val.model = this.model.model
337
346
  this.$dispatch('deal-msg', val)
338
347
  },
348
+
339
349
  stamp() {
340
350
  this.all = false
341
351
  //默认选择要打印的列
@@ -428,7 +438,8 @@
428
438
  con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in ('${this.$login.f.orgid}' )`
429
439
  }
430
440
  return {
431
- condition: con
441
+ condition: con,
442
+ orderitem: this.orderitem?`${this.orderitem}`: " f_open_date desc"
432
443
  }
433
444
  },
434
445
  getfield() {
@@ -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" 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">
@@ -116,7 +116,9 @@
116
116
  <nobr>补差编号</nobr>
117
117
  </th>
118
118
  <th>
119
- <nobr>客户编号</nobr>
119
+ <!-- <nobr>客户编号</nobr>-->
120
+ <data-order field="f_userinfo_code" name="客户编号"
121
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
120
122
  </th>
121
123
  <th>
122
124
  <nobr>客户名称</nobr>
@@ -125,7 +127,9 @@
125
127
  <nobr>档案编号</nobr>
126
128
  </th>
127
129
  <th>
128
- <nobr>客户地址</nobr>
130
+ <!-- <nobr>客户地址</nobr>-->
131
+ <data-order field="f_address" name="客户地址"
132
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
129
133
  </th>
130
134
  <th>
131
135
  <nobr>气表品牌</nobr>
@@ -174,7 +178,9 @@
174
178
  <nobr>状态</nobr>
175
179
  </th>
176
180
  <th>
177
- <nobr>操作日期</nobr>
181
+ <!-- <nobr>操作日期</nobr>-->
182
+ <data-order field="f_operate_date" name="操作日期"
183
+ :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
178
184
  </th>
179
185
 
180
186
  <th>
@@ -335,7 +341,12 @@
335
341
  dep:[],
336
342
  user:[]
337
343
  },
338
- model: new PagedList('rs/sql/surplusQuery', 20, {}, {
344
+ //排序
345
+ orderitem:'f_operate_date desc',
346
+ orderFields: {
347
+ f_operate_date: 'no'
348
+ },
349
+ model: new PagedList('rs/sql/surplusQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}, {
339
350
  f_real_amount: 0,
340
351
  f_surplus_fee: 0
341
352
  }),
@@ -464,6 +475,24 @@
464
475
  this.orgCondtionStr = condition
465
476
  this.orgname = obj.orgnames[0]
466
477
  this.depname = obj.depnames[0]
478
+ },
479
+ sort (field, rule) {
480
+ // 将所有排序方式设为不排序,实现相互排斥
481
+ for (let key in this.orderFields) {
482
+ if (key === field) {
483
+ this.orderFields[key] = rule
484
+ } else {
485
+ this.orderFields[key] = 'no'
486
+ }
487
+ }
488
+ // 如果新规则不排序,还原为默认排序
489
+ if (rule === 'no') {
490
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
491
+ } else {
492
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
493
+ }
494
+
495
+ this.search()
467
496
  }
468
497
 
469
498
  },
@@ -486,7 +515,8 @@
486
515
  return {
487
516
  startDate: this.$refs.paged.$refs.cri.model.startDate,
488
517
  endDate: this.$refs.paged.$refs.cri.model.endDate,
489
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
518
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
519
+ orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
490
520
  },
491
521
  getfield() {
492
522
  return exportConfig.surplusConfig