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.
Files changed (60) hide show
  1. package/build/dev-server.js +6 -6
  2. package/package.json +1 -1
  3. package/src/components/SellReport/NonResidentGas.vue +13 -0
  4. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
  5. package/src/components/SellReport/SellDepReport.vue +269 -266
  6. package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
  7. package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
  8. package/src/components/sale/businessquery/BalanceTable.vue +29 -31
  9. package/src/components/sale/businessquery/BusinesQuery.vue +57 -18
  10. package/src/components/sale/businessquery/BusinessManage.vue +3 -1
  11. package/src/components/sale/businessquery/CancellationQuery.vue +37 -6
  12. package/src/components/sale/businessquery/CardHandplanQuery.vue +34 -6
  13. package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -7
  14. package/src/components/sale/businessquery/CollectManage.vue +9 -3
  15. package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
  16. package/src/components/sale/businessquery/DepositDetail.vue +16 -17
  17. package/src/components/sale/businessquery/DisableQuery.vue +40 -9
  18. package/src/components/sale/businessquery/EnableQuery.vue +66 -34
  19. package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
  20. package/src/components/sale/businessquery/FillCardQuery.vue +38 -6
  21. package/src/components/sale/businessquery/FillGasQuery.vue +45 -7
  22. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  23. package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
  24. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
  25. package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
  26. package/src/components/sale/businessquery/Handgasquery.vue +30 -33
  27. package/src/components/sale/businessquery/HandplanQuery.vue +1372 -1327
  28. package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
  29. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
  30. package/src/components/sale/businessquery/MoveMeterQuery.vue +43 -9
  31. package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
  32. package/src/components/sale/businessquery/OtherChargeQuery.vue +37 -6
  33. package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
  34. package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
  35. package/src/components/sale/businessquery/PrivilegeQuery.vue +37 -7
  36. package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
  37. package/src/components/sale/businessquery/ReceiptQuery.vue +9 -6
  38. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
  39. package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
  40. package/src/components/sale/businessquery/ReverseQuery.vue +37 -6
  41. package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
  42. package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
  43. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
  44. package/src/components/sale/businessquery/TransferQuery.vue +55 -23
  45. package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
  46. package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
  47. package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
  48. package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
  49. package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
  50. package/src/components/sale/businessquery/handplan-info.vue +405 -0
  51. package/src/components/sale/businessquery/overDueQuery.vue +39 -29
  52. package/src/components/sale/businessquery/priceadjustQuery.vue +36 -6
  53. package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
  54. package/src/components/sale/config/exportConfig.js +20 -1
  55. package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
  56. package/src/filiale/qianneng/HandplanQuery.vue +1352 -0
  57. package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
  58. package/src/filiale/qianneng/exportConfig.js +69 -35
  59. package/src/filiale/qianneng/sale.js +3 -1
  60. package/src/saleManage.js +10 -2
@@ -6,44 +6,6 @@
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">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
10
- <!--<div class="col-sm-2 form-group">-->
11
- <!--<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
-
21
- <div class="span" style="float:right;">
22
- <!--<read-idcard></read-idcard>-->
23
- <button class="button_search button_spacing" @click="search()">查询</button>
24
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
25
-
26
- <export-excel :data="$parent.$parent.getCondition"
27
- :field="$parent.$parent.getfield"
28
- :footer="$parent.$parent.footer"
29
- :header="$parent.$parent.other"
30
- sqlurl="rs/logic/exportfile"
31
- sql-name="areaGeneralQuery"
32
- template-name='小区综合查询导出'
33
- :choose-col="true"></export-excel>
34
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
35
- :defaultfield="$parent.$parent.defaultfield"
36
- titletable="小区综合查询导出"
37
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
38
-
39
- <!--<print-data :model="$parent.model" :field="$parent.$parent.getfield"-->
40
- <!--:defaultfield="$parent.$parent.defaultfield" print-name="收费查询"-->
41
- <!--:sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
42
- <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>
43
-
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow">
47
9
  <div class="col-sm-2 form-group">
48
10
  <label for="startDate" class="font_normal_body">开始日期</label>
49
11
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -83,6 +45,41 @@
83
45
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
84
46
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
85
47
  </div>
48
+ <!--<div class="col-sm-2 form-group">-->
49
+ <!--<label class="font_normal_body">客户编号</label>-->
50
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"-->
51
+ <!--condition="f_userinfo_code = '{}' " placeholder="客户编号">-->
52
+ <!--</div>-->
53
+ <!--<div class="col-sm-2 form-group">-->
54
+ <!--<label class="font_normal_body">客户名称</label>-->
55
+ <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
56
+ <!--condition="f_user_name like '%{}%'" placeholder="客户名称">-->
57
+ <!--</div>-->
58
+
59
+ <div class="span" style="float:right;">
60
+ <!--<read-idcard></read-idcard>-->
61
+ <button class="button_search button_spacing" @click="search()">查询</button>
62
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
63
+ <export-excel :data="$parent.$parent.getCondition"
64
+ :field="$parent.$parent.getfield"
65
+ :footer="$parent.$parent.footer"
66
+ :header="$parent.$parent.other"
67
+ sqlurl="rs/logic/exportfile"
68
+ sql-name="areaGeneralQuery"
69
+ template-name='小区综合查询导出'
70
+ :choose-col="true"></export-excel>
71
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
72
+ :defaultfield="$parent.$parent.defaultfield"
73
+ titletable="小区综合查询导出"
74
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
75
+ <!--<print-data :model="$parent.model" :field="$parent.$parent.getfield"-->
76
+ <!--:defaultfield="$parent.$parent.defaultfield" print-name="收费查询"-->
77
+ <!--:sumsmodel="$parent.$parent.sumsmodel"></print-data>-->
78
+ <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>
79
+ </div>
80
+ </div>
81
+ <div class="row" v-show="$parent.$parent.criteriaShow">
82
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
86
83
  <!--<div class="col-sm-2 form-group">-->
87
84
  <!--<label class="font_normal_body">客户电话</label>-->
88
85
  <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"-->
@@ -98,8 +95,6 @@
98
95
  <!--<input type="text" style="width:60%" class="input_search" v-model="model.f_address"-->
99
96
  <!--condition="f_address like '%{}%'" placeholder='客户地址'>-->
100
97
  <!--</div>-->
101
-
102
-
103
98
  <div class="col-sm-2 form-group">
104
99
  <label class="font_normal_body">客户类型</label>
105
100
  <v-select :value.sync="model.f_user_type"
@@ -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" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
-
12
-
13
-
14
- <div class="span" style="float:right;">
15
- <button class="button_search button_spacing" @click="search()">查询</button>
16
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
17
-
18
- <export-excel :data="$parent.$parent.getCondition"
19
- :field="$parent.$parent.getfield"
20
- :footer="$parent.$parent.footer"
21
- :header="$parent.$parent.other"
22
- sqlurl="rs/logic/exportfile"
23
- sql-name="BalanceTable"
24
- template-name='可用余额查询导出'
25
- :choose-col="true"></export-excel>
26
- <print-data :model="$parent.model" :field="$parent.$parent.getfield"
27
- :defaultfield="$parent.$parent.defaultfield" print-name="余额查询打印"
28
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
29
-
30
- <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>
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%"
@@ -38,7 +14,7 @@
38
14
  :value.sync="model.startDate"
39
15
  :format="'yyyy-MM-dd'"
40
16
  :show-reset-button="true"
41
- >
17
+ >
42
18
  </datepicker>
43
19
  </div>
44
20
  <div class="col-sm-2 form-group">
@@ -48,7 +24,7 @@
48
24
  :value.sync="model.endDate"
49
25
  :format="'yyyy-MM-dd'"
50
26
  :show-reset-button="true"
51
- >
27
+ >
52
28
  </datepicker>
53
29
  </div>
54
30
  <div class="col-sm-2 form-group">
@@ -56,17 +32,39 @@
56
32
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
57
33
  condition="f_userinfo_code = '{}' " placeholder="客户编号">
58
34
  </div>
59
- <div class="col-sm-2 form-group">
60
- <label class="font_normal_body">客户名称</label>
61
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
62
- condition="u.f_user_name like '%{}%'" placeholder="客户名称">
63
- </div>
64
35
  <div class="col-sm-2 form-group">
65
36
  <label class="font_normal_body" title="旧客户编号">档案编号</label>
66
37
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
67
38
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
68
39
  </div>
69
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
+
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getfield"
47
+ :footer="$parent.$parent.footer"
48
+ :header="$parent.$parent.other"
49
+ sqlurl="rs/logic/exportfile"
50
+ sql-name="BalanceTable"
51
+ template-name='可用余额查询导出'
52
+ :choose-col="true"></export-excel>
53
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield"
54
+ :defaultfield="$parent.$parent.defaultfield" print-name="余额查询打印"
55
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
+
57
+ <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>
58
+ </div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">客户名称</label>
65
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
66
+ condition="u.f_user_name like '%{}%'" placeholder="客户名称">
67
+ </div>
70
68
  <div class="col-sm-2 form-group">
71
69
  <label class="font_normal_body">客户类型</label>
72
70
  <v-select :value.sync="model.f_user_type"
@@ -3,21 +3,10 @@
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">
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">公&emsp;&emsp;司</label>
12
- <right-tree @re-res="getorg"
13
- :initresid='initres.org'></right-tree>
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_userinfo_code"
18
- condition="f_userinfo_code = '{}' " placeholder="用户编号">
19
- </div>
20
-
21
10
  <div class="col-sm-2 form-group">
22
11
  <label for="startDate" class="font_normal_body">开始日期</label>
23
12
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -38,7 +27,23 @@
38
27
  condition="f_operate_date <= '{}'">
39
28
  </datepicker>
40
29
  </div>
41
-
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">付款方式</label>
37
+ <v-select id="f_payment"
38
+ v-model="model.f_payment"
39
+ placeholder='请选择'
40
+ condition="f_payment in {}"
41
+ multiple="true"
42
+ :value.sync="model.f_payment"
43
+ :options='$parent.$parent.payments'
44
+ close-on-select clear-button>
45
+ </v-select>
46
+ </div>
42
47
 
43
48
  <div class="span" style="float:right;">
44
49
  <button class="button_search button_spacing" @click="search()">查询</button>
@@ -52,16 +57,17 @@
52
57
  <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
53
58
  :defaultfield="$parent.$parent.defaultfield" titletable="业务记录"
54
59
  :sumsmodel="$parent.$parent.sumsmodel"></print-data>
60
+ <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
61
  </div>
56
62
  </div>
57
- <div class="row">
63
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
64
  <div class="col-sm-2 form-group">
59
65
  <label class="font_normal_body">用户名称</label>
60
66
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
61
67
  condition=" f_user_name like '%{}%'" placeholder='用户名称'>
62
68
  </div>
63
69
  <div class="col-sm-2 form-group">
64
- <label class="font_normal_body">操作人</label>
70
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;操作人</label>
65
71
  <input type="text" style="width:60%" class="input_search" v-model="model.f_operator"
66
72
  condition=" f_operator like '%{}%'" placeholder='操作人'>
67
73
  </div>
@@ -80,6 +86,12 @@
80
86
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
81
87
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
82
88
  </div>
89
+ <!--<div class="col-sm-2 form-group">-->
90
+ <!--<label class="font_normal_body">公&emsp;&emsp;司</label>-->
91
+ <!--<right-tree @re-res="getorg"-->
92
+ <!--:initresid='initres.org'></right-tree>-->
93
+ <!--</div>-->
94
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
83
95
  </div>
84
96
 
85
97
  </div>
@@ -112,9 +124,15 @@
112
124
  <th>
113
125
  <nobr>操作日期</nobr>
114
126
  </th>
127
+ <th>
128
+ <nobr>付款方式</nobr>
129
+ </th>
115
130
  <th>
116
131
  <nobr>组织名称</nobr>
117
132
  </th>
133
+ <th>
134
+ <nobr>支付渠道</nobr>
135
+ </th>
118
136
  <th>
119
137
  <nobr>部门名称</nobr>
120
138
  </th>
@@ -149,9 +167,15 @@
149
167
  <td style="text-align: center;">
150
168
  <nobr>{{row.f_operate_date}}</nobr>
151
169
  </td>
170
+ <td style="text-align: center;">
171
+ <nobr>{{row.f_payment}}</nobr>
172
+ </td>
152
173
  <td style="text-align: center;">
153
174
  <nobr>{{row.f_orgname}}</nobr>
154
175
  </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_bank_type}}</nobr>
178
+ </td>
155
179
  <td style="text-align: center;">
156
180
  <nobr>{{row.f_depname}}</nobr>
157
181
  </td>
@@ -230,8 +254,9 @@
230
254
  tfoot: '',
231
255
  orgrestype:'organization',
232
256
  defaultfield: [],
257
+ resshow:['company'],
233
258
  initres: {
234
- org:[this.$login.f.orgid],
259
+ org:[this.$login.f.orgid]
235
260
  },
236
261
  config: {
237
262
  defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_type', 'f_changemeter_fee', 'f_meternumber', 'f_change_operator', 'f_state', 'f_operate_date']
@@ -287,8 +312,19 @@
287
312
  this.$refs.paged.$refs.cri.model[key] = []
288
313
  })
289
314
  },
290
- getRes(obj) {
291
- this.orgCondtionStr = obj
315
+ // getRes(obj) {
316
+ // this.orgCondtionStr = obj
317
+ // },
318
+ show() {
319
+ this.criteriaShow = true
320
+ },
321
+ hidden() {
322
+ this.criteriaShow = !this.criteriaShow
323
+ },
324
+ getRes(condition,obj) {
325
+ this.orgCondtionStr = condition
326
+ this.orgname = obj.orgnames[0]
327
+ this.depname = obj.depnames[0]
292
328
  },
293
329
  stamp() {
294
330
  this.all = false
@@ -361,6 +397,9 @@
361
397
  getCondition() {
362
398
  return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
363
399
  },
400
+ payments() {
401
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
402
+ },
364
403
  getfield() {
365
404
  return exportConfig.businesConfig
366
405
  }
@@ -91,7 +91,9 @@
91
91
  <tabs header="团缴查询" v-if="permission('团缴查询')">
92
92
  <group-charge-query v-if="show.includes('团缴查询')" @deal-msg="dealMsg" :data="data"></group-charge-query>
93
93
  </tabs>
94
-
94
+ <tabs header="气费阶梯明细" v-if="permission('气费阶梯明细')">
95
+ <selling-charge-price v-if="show.includes('气费阶梯明细')" @deal-msg="dealMsg" :data="data"></selling-charge-price>
96
+ </tabs>
95
97
  </tab-button>
96
98
  <!-- </div>-->
97
99
  <!-- <div v-if="!listpage">-->
@@ -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
- model: new PagedList('rs/sql/cardhandplanQuery', 20, {}, {
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
- <nobr>客户编号</nobr>
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
- <nobr>客户地址</nobr>
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 {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
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