manage-client 3.2.103-4 → 3.2.103-99

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 (80) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/SellReport/GFReportWH.vue +181 -0
  4. package/src/components/SellReport/ManageBusSummary.vue +75 -62
  5. package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
  6. package/src/components/SellReport/PriceReportWHwu.vue +180 -0
  7. package/src/components/SellReport/SellDepReport.vue +270 -269
  8. package/src/components/SellReport/UserGasFillCard.vue +6 -6
  9. package/src/components/daping/CallCenter.vue +378 -378
  10. package/src/components/daping/DataManagement.vue +543 -543
  11. package/src/components/daping/SafecheckBarChart.vue +1 -1
  12. package/src/components/sale/businessquery/BusinesQuery.vue +6 -0
  13. package/src/components/sale/businessquery/BusinessManage.vue +6 -0
  14. package/src/components/sale/businessquery/CancellationQuery.vue +6 -0
  15. package/src/components/sale/businessquery/CardHandplanQuery.vue +7 -0
  16. package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -1
  17. package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
  18. package/src/components/sale/businessquery/CollectManage.vue +3 -0
  19. package/src/components/sale/businessquery/DisableQuery.vue +6 -0
  20. package/src/components/sale/businessquery/EnableQuery.vue +6 -0
  21. package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
  22. package/src/components/sale/businessquery/FillCardQuery.vue +7 -5
  23. package/src/components/sale/businessquery/FillGasQuery.vue +6 -0
  24. package/src/components/sale/businessquery/GasLossQuery.vue +18 -0
  25. package/src/components/sale/businessquery/GroupChargeQuery.vue +0 -6
  26. package/src/components/sale/businessquery/MoveMeterQuery.vue +9 -3
  27. package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +643 -0
  28. package/src/components/sale/businessquery/OtherChargeQuery.vue +6 -0
  29. package/src/components/sale/businessquery/PriceChange.vue +4 -0
  30. package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
  31. package/src/components/sale/businessquery/PrivilegeQuery.vue +6 -1
  32. package/src/components/sale/businessquery/ReceiptQuery.vue +21 -8
  33. package/src/components/sale/businessquery/ReverseQuery.vue +6 -0
  34. package/src/components/sale/businessquery/SendbookQuery.vue +6 -0
  35. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +4 -0
  36. package/src/components/sale/businessquery/TransferQuery.vue +467 -461
  37. package/src/components/sale/businessquery/TransferRecordQuery.vue +179 -0
  38. package/src/components/sale/businessquery/overDueQuery.vue +11 -5
  39. package/src/components/sale/businessquery/priceadjustQuery.vue +533 -527
  40. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +8 -2
  41. package/src/components/sale/businessquery/reportDetail.vue +256 -0
  42. package/src/components/sale/businessquery/sellingChargePrice.vue +4 -5
  43. package/src/components/sale/businessquery/yucunDetails.vue +6 -0
  44. package/src/components/sale/config/exportConfig.js +1059 -1009
  45. package/src/components/sale/filesquery/MeterQuery.vue +0 -1
  46. package/src/components/sale/resourcequery/LoginQuery.vue +244 -0
  47. package/src/components/sale/resourcequery/ResourceManage.vue +36 -0
  48. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +12 -0
  49. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +12 -0
  50. package/src/components/webmeter/WebmeterQuery.vue +3 -3
  51. package/src/filiale/WEINAN/MeterQuery.vue +34 -7
  52. package/src/filiale/gaomi/MeterQuery.vue +37 -7
  53. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +30 -7
  54. package/src/filiale/jingwei/RecordInfoQuery.vue +15 -32
  55. package/src/filiale/macheng/MeterQuery.vue +28 -5
  56. package/src/filiale/meihekou/UserQuery.vue +10 -0
  57. package/src/filiale/qianneng/ArrearsQuery.vue +25 -5
  58. package/src/filiale/qianneng/BusinessManage.vue +182 -179
  59. package/src/filiale/qianneng/HandplanQuery.vue +12 -0
  60. package/src/filiale/qianneng/MeterQuery.vue +33 -0
  61. package/src/filiale/qianneng/UserQuery.vue +1 -1
  62. package/src/filiale/qianneng/exportConfig.js +19 -32
  63. package/src/filiale/qingtongxia/MeterQuery.vue +30 -7
  64. package/src/filiale/rizhao/ChargeQuery.vue +1295 -0
  65. package/src/filiale/rizhao/sale.js +10 -0
  66. package/src/filiale/shaoguan/config/exportConfig.js +1 -1
  67. package/src/filiale/tongchuan/ChargeQuery.vue +3 -3
  68. package/src/filiale/tongchuan/DeviceQuery.vue +1 -1
  69. package/src/filiale/tongchuan/FillGasQuery.vue +11 -2
  70. package/src/filiale/tongchuan/MeterQuery.vue +2 -4
  71. package/src/filiale/tongchuan/PriceChangeQuery.vue +1 -1
  72. package/src/filiale/tongchuan/UserDeviceQuery.vue +1 -1
  73. package/src/filiale/tongchuan/config/exportConfig.js +2 -2
  74. package/src/filiale/wuhai/ChargeQuery.vue +17 -0
  75. package/src/filiale/zhongyi/GasStatistics.vue +499 -0
  76. package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
  77. package/src/filiale/zhongyi/sale.js +13 -0
  78. package/src/reportManage.js +12 -1
  79. package/src/saleManage.js +19 -0
  80. package/.gradle/6.1/gc.properties +0 -0
@@ -12,11 +12,11 @@ var compiler = webpack(config)
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
14
  var shaoguan='https://qnjtkf.cn:8400'
15
- var qtx='https://qnjtkf.cn:8400'
15
+ var qtx='https://qnjtkf.cn:7400'
16
16
  var bendi = 'https://qnjtkf.cn:8400'
17
17
  // var bendi = 'http://172.168.1.11:9001'
18
18
  var fuwu = 'https://qnjtkf.cn:8400'
19
- // var fuwu = 'http://172.168.1.11:9001'
19
+ // var fuwu = 'http://203.57.101.233:9001'
20
20
  var system = 'https://qnjtkf.cn:8400'
21
21
  //192.168.
22
22
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.103-04",
3
+ "version": "3.2.103-99",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,181 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-4" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-4" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-4 form-group" >
28
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
29
+ <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-4 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
+ <res-select id="dep" restype='department' style="width: 60%"
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid' >
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-4 form-group">
42
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
43
+ <res-select id="oper" restype='user' style="width: 60%"
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ </div>
51
+ <div class="span" style = "float:right;">
52
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
53
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
54
+ <report-excel id='gasprice'></report-excel>
55
+ </div>
56
+ </div>
57
+ </criteria>
58
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
59
+ <table class='tableprint' style="margin: 0px auto">
60
+ <thead>
61
+ <tr>
62
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
63
+ <h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
64
+ </th>
65
+ </tr>
66
+ <tr>
67
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
68
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
69
+ 打印时间:{{$parent.printTime}}
70
+ </th>
71
+ </tr>
72
+ <tr>
73
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
74
+ <div>
75
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
76
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
77
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
78
+ </div>
79
+ </th>
80
+ </tr>
81
+ </thead>
82
+ <tr>
83
+ <td :colspan='$parent.tablen' class="noborder">
84
+ {{{ model.data.substring(26,model.data.length-8) }}}
85
+ </td>
86
+ </tr>
87
+ <tfoot>
88
+ <tr style="text-align: left">
89
+ <th :colspan='Math.floor($parent.tablen/4)'>部门负责人:</th>
90
+ <th :colspan='Math.floor($parent.tablen/4)'>财务审核:</th>
91
+ <th :colspan='Math.round($parent.tablen/4)'>审核人:</th>
92
+ <th :colspan='Math.round($parent.tablen/4)'>制表人:</th>
93
+ </tr>
94
+ </tfoot>
95
+ </table>
96
+ </div>
97
+ </criteria-paged>
98
+ </div>
99
+ </template>
100
+
101
+ <script>
102
+ import { DataModel } from 'vue-client'
103
+
104
+ export default {
105
+ title: '报表',
106
+ props: ['data'],
107
+ data () {
108
+ return {
109
+ printTime: this.$login.toStandardTimeString(),
110
+ depresid: [],
111
+ userresid: [],
112
+ f_orgid: this.$login.f.orgid,
113
+ f_depid: this.$login.f.depids,
114
+ f_operatorid: this.$login.f.id,
115
+ operatorid: [],
116
+ depid: [],
117
+ tablen: 0,
118
+ orgname: '',
119
+ depname: '',
120
+ operatorname: '',
121
+ orgCondtionStr: '1=1',
122
+ model: new DataModel('rs/report/wuhai_gfreport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
123
+ f_orgid: 'this.model.f_orgid'}),
124
+ reportStr: null,
125
+ show: false
126
+ }
127
+ },
128
+ ready () {
129
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
130
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
131
+ console.log(this.$login.f)
132
+ },
133
+ methods: {
134
+ searchData () {
135
+ this.$refs.paged.$refs.criteria.search()
136
+ },
137
+ selfSearch (args) {
138
+ this.printTime = this.$login.toStandardTimeString()
139
+ let orgcondition = '1=1'
140
+ if (this.f_orgid && this.f_orgid[0]) {
141
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
142
+ }
143
+ if (this.f_depid && this.f_depid[0]) {
144
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
145
+ }
146
+ if (this.f_operatorid && this.f_operatorid[0]) {
147
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
148
+ }
149
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
150
+ this.$refs.paged.search(args)
151
+ },
152
+ getRes (obj) {
153
+ this.orgname = obj.res[0]
154
+ this.depresid = obj.resids
155
+ this.userresid = obj.resids
156
+ this.f_orgid = obj.resids
157
+ },
158
+ getdep (obj, val) {
159
+ this.depname = val[0]
160
+ // this.userresid = obj
161
+ this.f_depid = obj
162
+ },
163
+ getuser (obj, val) {
164
+ this.operatorname = val[0]
165
+ this.f_operatorid = obj
166
+ }
167
+ },
168
+ watch: {
169
+ 'model.data' (val) {
170
+ this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
171
+ }
172
+ },
173
+ computed: {
174
+ }
175
+ }
176
+ </script>
177
+ <style scoped>
178
+ .noborder{
179
+ border: none;
180
+ }
181
+ </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
6
  <div class="row">
7
7
  <div class="col-sm-2 form-group" >
@@ -59,59 +59,67 @@
59
59
  </div>
60
60
  <div class="row" v-show="$parent.$parent.criteriaShow">
61
61
  <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">收费状态</label>
63
- <v-select :value.sync="$parent.$parent.f_state" multiple
64
- v-model="$parent.$parent.f_state"
65
- :options='$parent.$parent.charge_state' placeholder='请选择'
66
- condition="f_state in {}"
62
+ <label class="font_normal_body">用户类型</label>
63
+ <v-select :value.sync="$parent.$parent.f_user_type"
64
+ v-model="$parent.$parent.f_user_type"
65
+ :options='$parent.$parent.user_type' placeholder='请选择'
66
+ condition="f_user_type = '{}'"
67
67
  close-on-select></v-select>
68
68
  </div>
69
+ <!--<div class="col-sm-2 form-group">-->
70
+ <!--<label class="font_normal_body">收费状态</label>-->
71
+ <!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
72
+ <!--v-model="$parent.$parent.f_state"-->
73
+ <!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
74
+ <!--condition="f_state in {}"-->
75
+ <!--close-on-select></v-select>-->
76
+ <!--</div>-->
69
77
  </div>
70
78
  </div>
71
- </criteria>
72
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
73
- <table class='tableprint' style="margin: 0px auto">
74
- <thead>
75
- <tr>
76
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
77
- <h3 style="text-align: center">收费结账报表</h3>
78
- </th>
79
- </tr>
80
- <tr>
81
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
82
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
83
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
84
- <!--打印时间:{{{$parent.printTime}}}-->
85
- 打印时间:{{$parent.printTime}}
86
- <!--收费员:{{// $parent.operatorname}}-->
87
- </th>
88
- </tr>
89
- <tr>
90
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
- <div>
92
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
93
- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
94
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
95
- </div>
96
- </th>
97
- </tr>
98
- </thead>
99
- <tr>
100
- <td :colspan='$parent.spans' class="noborder">
101
- {{{ model.data.substring(26,model.data.length-8) }}}
102
- </td>
103
- </tr>
104
- <tfoot>
105
- <tr style="text-align: left">
106
- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
107
- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
108
- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
109
- </tr>
110
- </tfoot>
111
- </table>
112
- {{{ $parent.reportStr}}}
113
- </div>
114
- </criteria-paged>
79
+ </criteria>
80
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
81
+ <table class='tableprint' style="margin: 0px auto">
82
+ <thead>
83
+ <tr>
84
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
85
+ <h3 style="text-align: center">收费结账报表</h3>
86
+ </th>
87
+ </tr>
88
+ <tr>
89
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
90
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
91
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
92
+ <!--打印时间:{{{$parent.printTime}}}-->
93
+ 打印时间:{{$parent.printTime}}
94
+ <!--收费员:{{// $parent.operatorname}}-->
95
+ </th>
96
+ </tr>
97
+ <tr>
98
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
99
+ <div>
100
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
101
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
102
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
103
+ </div>
104
+ </th>
105
+ </tr>
106
+ </thead>
107
+ <tr>
108
+ <td :colspan='$parent.spans' class="noborder">
109
+ {{{ model.data.substring(26,model.data.length-8) }}}
110
+ </td>
111
+ </tr>
112
+ <tfoot>
113
+ <tr style="text-align: left">
114
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
115
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
116
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
117
+ </tr>
118
+ </tfoot>
119
+ </table>
120
+ {{{ $parent.reportStr}}}
121
+ </div>
122
+ </criteria-paged>
115
123
  </div>
116
124
  </template>
117
125
 
@@ -137,6 +145,7 @@
137
145
  criteriaShow: false,
138
146
  operatorname: '',
139
147
  orgCondtionStr: '1=1',
148
+ f_user_type: '',
140
149
  f_state:['有效'],
141
150
  model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
151
  f_orgid: 'this.model.f_orgid'}),
@@ -164,18 +173,19 @@
164
173
  let orgcondition = '1=1'
165
174
  let orgstr = this.orgCondtionStr
166
175
  orgcondition = orgcondition + orgstr
167
- /* if (this.f_orgid && this.f_orgid[0]) {
168
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
169
- }
170
- if (this.f_depid && this.f_depid[0]) {
171
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
172
- }
173
- if(this.f_operatorid && this.f_operatorid[0]) {
174
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
175
- }*/
176
- if(this.f_state && this.f_state[0]) {
177
- orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
176
+ console.log('23231312321:',this.f_user_type)
177
+ if(this.f_user_type && this.f_user_type[0]) {
178
+ orgcondition += ` and f_user_type = '${ this.f_user_type} '`
178
179
  }
180
+ /* if (this.f_orgid && this.f_orgid[0]) {
181
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
182
+ }
183
+ if (this.f_depid && this.f_depid[0]) {
184
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
185
+ }
186
+ if(this.f_operatorid && this.f_operatorid[0]) {
187
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
188
+ }*/
179
189
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
180
190
  this.$refs.paged.search(args)
181
191
  },
@@ -213,6 +223,9 @@
213
223
  computed: {
214
224
  charge_state() {
215
225
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
226
+ },
227
+ user_type () {
228
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
216
229
  }
217
230
  }
218
231
  }
@@ -0,0 +1,237 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div><!--
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid'>
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
+ <res-select restype='user'
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ -->
51
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
52
+ </div>
53
+ <div class="span" style = "float:right;">
54
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
+ <report-excel id='gasprice'></report-excel>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">用户类型</label>
63
+ <v-select :value.sync="$parent.$parent.f_user_type"
64
+ v-model="$parent.$parent.f_user_type"
65
+ :options='$parent.$parent.user_type' placeholder='请选择'
66
+ condition="f_user_type = '{}'"
67
+ close-on-select></v-select>
68
+ </div>
69
+ <!--<div class="col-sm-2 form-group">-->
70
+ <!--<label class="font_normal_body">收费状态</label>-->
71
+ <!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
72
+ <!--v-model="$parent.$parent.f_state"-->
73
+ <!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
74
+ <!--condition="f_state in {}"-->
75
+ <!--close-on-select></v-select>-->
76
+ <!--</div>-->
77
+ </div>
78
+ </div>
79
+ </criteria>
80
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
81
+ <table class='tableprint' style="margin: 0px auto">
82
+ <thead>
83
+ <tr>
84
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
85
+ <h3 style="text-align: center">收费结账报表</h3>
86
+ </th>
87
+ </tr>
88
+ <tr>
89
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
90
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
91
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
92
+ <!--打印时间:{{{$parent.printTime}}}-->
93
+ 打印时间:{{$parent.printTime}}
94
+ <!--收费员:{{// $parent.operatorname}}-->
95
+ </th>
96
+ </tr>
97
+ <tr>
98
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
99
+ <div>
100
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
101
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
102
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
103
+ </div>
104
+ </th>
105
+ </tr>
106
+ </thead>
107
+ <tr>
108
+ <td :colspan='$parent.spans' class="noborder">
109
+ {{{ model.data.substring(26,model.data.length-8) }}}
110
+ </td>
111
+ </tr>
112
+ <tfoot>
113
+ <tr style="text-align: left">
114
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
115
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
116
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
117
+ </tr>
118
+ </tfoot>
119
+ </table>
120
+ {{{ $parent.reportStr}}}
121
+ </div>
122
+ </criteria-paged>
123
+ </div>
124
+ </template>
125
+
126
+ <script>
127
+ import { DataModel } from 'vue-client'
128
+ import co from 'co'
129
+
130
+ export default {
131
+ title: '收费结账报表',
132
+ props: ['data'],
133
+ data () {
134
+ return {
135
+ printTime: this.$login.toStandardTimeString(),
136
+ depresid: [],
137
+ userresid: [],
138
+ f_orgid: this.$login.f.orgid,
139
+ f_depid: this.$login.f.depids,
140
+ f_operatorid: this.$login.f.id,
141
+ operatorid: [],
142
+ depid: [],
143
+ orgname: '',
144
+ depname: '',
145
+ criteriaShow: false,
146
+ operatorname: '',
147
+ orgCondtionStr: '1=1',
148
+ f_user_type: '',
149
+ f_state:['有效'],
150
+ model: new DataModel('rs/report/getmoneyallnopay', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
151
+ f_orgid: 'this.model.f_orgid'}),
152
+ reportStr: null,
153
+ resshow:['company','department','operator'],
154
+ spans: 0,
155
+ initres: {
156
+ org: [this.$login.f.orgid],
157
+ dep: [],
158
+ user: []
159
+ }
160
+ }
161
+ },
162
+ ready () {
163
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
164
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
165
+ console.log(this.$login.f)
166
+ },
167
+ methods: {
168
+ searchData () {
169
+ this.$refs.paged.$refs.criteria.search()
170
+ },
171
+ selfSearch (args) {
172
+ this.printTime = this.$login.toStandardTimeString()
173
+ let orgcondition = '1=1'
174
+ let orgstr = this.orgCondtionStr
175
+ orgcondition = orgcondition + orgstr
176
+ console.log('23231312321:',this.f_user_type)
177
+ if(this.f_user_type && this.f_user_type[0]) {
178
+ orgcondition += ` and f_user_type = '${ this.f_user_type} '`
179
+ }
180
+ /* if (this.f_orgid && this.f_orgid[0]) {
181
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
182
+ }
183
+ if (this.f_depid && this.f_depid[0]) {
184
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
185
+ }
186
+ if(this.f_operatorid && this.f_operatorid[0]) {
187
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
188
+ }*/
189
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
190
+ this.$refs.paged.search(args)
191
+ },
192
+
193
+ hidden() {
194
+ this.criteriaShow = !this.criteriaShow
195
+ },
196
+ getRes (condition, obj) {
197
+ this.orgCondtionStr = condition
198
+ this.orgname = obj.orgnames[0]
199
+ this.depname = obj.depnames[0]
200
+ },
201
+ getdep (obj, val) {
202
+ this.depname = val[0]
203
+ this.userresid = obj
204
+ this.f_depid = obj
205
+ },
206
+ getuser ( obj, val) {
207
+ this.operatorname = val[0]
208
+ this.f_operatorid = obj
209
+ }
210
+ },
211
+ watch: {
212
+ 'model.data' (val) {
213
+ let len=0
214
+ let a=val.split('</tr>')
215
+ for(let i=0;i<a.length;i++){
216
+ if(a[i].split('</td>').length-1>len){
217
+ len=a[i].split('</td>').length-1
218
+ }
219
+ }
220
+ this.spans = len
221
+ }
222
+ },
223
+ computed: {
224
+ charge_state() {
225
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
226
+ },
227
+ user_type () {
228
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
229
+ }
230
+ }
231
+ }
232
+ </script>
233
+ <style scoped>
234
+ .noborder{
235
+ border: none;
236
+ }
237
+ </style>