manage-client 3.2.83-2 → 3.2.83-jb

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 (111) hide show
  1. package/build/dev-server.js +176 -176
  2. package/package.json +107 -101
  3. package/src/App.vue +5 -2
  4. package/src/components/SellReport/BusinessReport.vue +5 -5
  5. package/src/components/SellReport/ManageGasFee.vue +2 -2
  6. package/src/components/SellReport/NonResidentGas.vue +203 -216
  7. package/src/components/SellReport/OperatorCheckoutTwo.vue +210 -210
  8. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -507
  9. package/src/components/SellReport/SellBySelfHelp.vue +29 -3
  10. package/src/components/SellReport/SellDepReport.vue +46 -49
  11. package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
  12. package/src/components/sale/businessquery/AreaGeneralQuery.vue +40 -35
  13. package/src/components/sale/businessquery/BalanceTable.vue +31 -29
  14. package/src/components/sale/businessquery/BusinesQuery.vue +18 -57
  15. package/src/components/sale/businessquery/BusinessManage.vue +1 -3
  16. package/src/components/sale/businessquery/CancellationQuery.vue +6 -37
  17. package/src/components/sale/businessquery/CardHandplanQuery.vue +6 -34
  18. package/src/components/sale/businessquery/ChangeMeterQuery.vue +7 -38
  19. package/src/components/sale/businessquery/ChargeQuery.vue +1276 -1277
  20. package/src/components/sale/businessquery/CollectManage.vue +3 -9
  21. package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
  22. package/src/components/sale/businessquery/DepositDetail.vue +17 -16
  23. package/src/components/sale/businessquery/DisableQuery.vue +9 -40
  24. package/src/components/sale/businessquery/EnableQuery.vue +34 -66
  25. package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
  26. package/src/components/sale/businessquery/FillCardQuery.vue +6 -38
  27. package/src/components/sale/businessquery/FillGasQuery.vue +6 -44
  28. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  29. package/src/components/sale/businessquery/HandBookQuery.vue +38 -37
  30. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +37 -38
  31. package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
  32. package/src/components/sale/businessquery/Handgasquery.vue +33 -30
  33. package/src/components/sale/businessquery/HandplanQuery.vue +43 -88
  34. package/src/components/sale/businessquery/InfoOperateRecord.vue +1 -13
  35. package/src/components/sale/businessquery/MonthGasQuery.vue +1 -2
  36. package/src/components/sale/businessquery/MoveMeterQuery.vue +9 -43
  37. package/src/components/sale/businessquery/NoBusinessQuery.vue +26 -23
  38. package/src/components/sale/businessquery/OtherChargeQuery.vue +6 -37
  39. package/src/components/sale/businessquery/PlotSummaryQuery.vue +21 -22
  40. package/src/components/sale/businessquery/PrickBillQuery.vue +13 -15
  41. package/src/components/sale/businessquery/PrivilegeQuery.vue +7 -37
  42. package/src/components/sale/businessquery/ProceedsOper.vue +10 -4
  43. package/src/components/sale/businessquery/ReceiptQuery.vue +6 -9
  44. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +24 -23
  45. package/src/components/sale/businessquery/ResidentialQuery.vue +28 -21
  46. package/src/components/sale/businessquery/ReverseQuery.vue +6 -37
  47. package/src/components/sale/businessquery/SellOrgnameQuery.vue +27 -29
  48. package/src/components/sale/businessquery/SellPeopleQuery.vue +30 -29
  49. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +26 -27
  50. package/src/components/sale/businessquery/TransferQuery.vue +23 -55
  51. package/src/components/sale/businessquery/UserSellHeadDetail.vue +33 -30
  52. package/src/components/sale/businessquery/YingShouMingXi.vue +15 -10
  53. package/src/components/sale/businessquery/YonghuJieyu.vue +2 -4
  54. package/src/components/sale/businessquery/gasPriceQuery.vue +2 -1
  55. package/src/components/sale/businessquery/overDueQuery.vue +29 -39
  56. package/src/components/sale/businessquery/priceadjustQuery.vue +6 -36
  57. package/src/components/sale/config/exportConfig.js +4 -23
  58. package/src/components/sale/filesquery/RecordInfoQuery.vue +5 -4
  59. package/src/components/webmeter/gasStatistics/GasStatistics.vue +3 -8
  60. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  61. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  62. package/src/filiale/macheng/config/exportConfig.js +67 -67
  63. package/src/filiale/macheng/sale.js +11 -11
  64. package/src/filiale/qianneng/OtherChargeQuery.vue +634 -646
  65. package/src/filiale/qianneng/exportConfig.js +0 -34
  66. package/src/filiale/qianneng/sale.js +10 -12
  67. package/src/main.js +66 -65
  68. package/src/reportManage.js +0 -26
  69. package/src/saleManage.js +2 -10
  70. package/yarn-error.log +8362 -0
  71. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  72. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  73. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  74. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  75. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  76. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  77. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  78. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  79. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  80. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  81. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  82. package/.gradle/6.1/gc.properties +0 -0
  83. package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
  84. package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
  85. package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
  86. package/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
  87. package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
  88. package/.gradle/6.1.1/gc.properties +0 -0
  89. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  90. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  91. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  92. package/.gradle/checksums/checksums.lock +0 -0
  93. package/.gradle/vcs-1/gc.properties +0 -0
  94. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  95. package/build/tmp/jar/MANIFEST.MF +0 -2
  96. package/src/components/SellReport/GasBusinessDayMoney.vue +0 -263
  97. package/src/components/sale/businessquery/UnhandBusiness.vue +0 -324
  98. package/src/components/sale/businessquery/handplan-info.vue +0 -405
  99. package/src/components/sale/businessquery/sellingChargePrice.vue +0 -667
  100. package/src/filiale/macheng/FxGasTable.vue +0 -236
  101. package/src/filiale/macheng/ManageBusSummary.vue +0 -224
  102. package/src/filiale/macheng/ManageDayGas.vue +0 -248
  103. package/src/filiale/macheng/ManageHandSellMoney.vue +0 -249
  104. package/src/filiale/macheng/ManageMonthGas.vue +0 -250
  105. package/src/filiale/macheng/ManageOtherCharge.vue +0 -251
  106. package/src/filiale/macheng/ManageSellType.vue +0 -287
  107. package/src/filiale/macheng/SellingTable.vue +0 -219
  108. package/src/filiale/macheng/UserBalanceReport.vue +0 -178
  109. package/src/filiale/macheng/reportManage.js +0 -19
  110. package/src/filiale/qianneng/ChargeQuery.vue +0 -1289
  111. package/src/filiale/qianneng/HandplanQuery.vue +0 -1352
@@ -1,236 +0,0 @@
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
- <p class="bg-info text-center" style="padding: 8px;">月用气量分项报表</p>
6
- <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
9
- <div class="col-sm-2 form-group" >
10
- <label class="font_normal_body" for="startDate">开始日期:</label>
11
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
14
- :disabled-days-of-Week="[]"
15
- :format="'yyyy-MM-dd HH:mm:ss'"
16
- :show-reset-button="reset">
17
- </datepicker>
18
- </div>
19
- <div class="col-sm-2 form-group" >
20
- <label class="font_normal_body" for="endDate">结束日期:</label>
21
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
- v-model="model.endDate"
23
- :value.sync="model.endDate"
24
- :disabled-days-of-Week="[]"
25
- :format="'yyyy-MM-dd HH:mm:ss'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <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>
30
- </div>
31
- <div class="span" style = "float:right;">
32
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
33
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
34
- <report-excel id='gasprice'></report-excel>
35
- </div>
36
- </div>
37
- </criteria>
38
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
39
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
40
- <thead>
41
- <tr>
42
- <th colspan='25' style="font-weight: normal; text-align: left;">
43
- <h3 style="text-align: center">{{$parent.orgname==null||$parent.orgname==''?$parent.orgname}}月用气量分项报表</h3>
44
- </th>
45
- </tr>
46
- <tr>
47
- <th colspan='25' style="font-weight: normal; text-align: center;">
48
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
49
- 结束时间:{{ model.model.endDate }}<br>
50
- 打印时间:{{$parent.printTime}}
51
- </th>
52
- </tr>
53
- <tr>
54
- <th colspan='25' style="font-weight: normal; text-align: center;">
55
- <span style="font-weight: normal;" v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
56
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
57
- <span style="font-weight: normal" v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
58
- </th>
59
- </tr>
60
- </thead>
61
- <tr>
62
- <td colspan='25'>
63
- {{{ model.data.substring(26,model.data.length-8) }}}
64
- </td>
65
- </tr>
66
- <tfoot>
67
- <tr style="text-align: left">
68
- <th colspan='8'>财务审核:</th>
69
- <th colspan='8'>收款审核:</th>
70
- <th colspan='8'>收款员:</th>
71
- </tr>
72
- </tfoot>
73
- </table>
74
- {{{ $parent.reportStr}}}
75
- </div>
76
- </criteria-paged>
77
- <modal :show.sync="show" v-ref:modal small backdrop="false">
78
- <header slot="modal-header" class="modal-header">
79
- <h4 class="modal-title">输入文件名称</h4>
80
- </header>
81
- <article slot="modal-body" class="modal-body">
82
- <div class="form-group">
83
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
84
- </div>
85
- </article>
86
- <footer slot="modal-footer" class="modal-footer">
87
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
88
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
89
- </footer>
90
- </modal>
91
- </div>
92
- </template>
93
-
94
- <script>
95
- import { DataModel } from 'vue-client'
96
- import co from 'co'
97
- let saveFile = function * (self) {
98
- // 线验证文件是否重名
99
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
100
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
101
- {resolveMsg: null, rejectMsg: null})
102
- if (count.data.length > 0) {
103
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
104
- return
105
- }
106
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
107
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
108
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
109
- f_outlets: this.$login.f.depname})
110
- if (saveBack.data.status === 'succeed') {
111
- self.show = false
112
- self.filename = ''
113
- // 后台保存完成,通知刷新
114
- self.$dispatch('save-success', self.filename)
115
- }
116
- }
117
- export default {
118
- title: '月用气量分项报表',
119
- props: ['data'],
120
- data () {
121
- return {
122
- printTime: this.$login.toStandardTimeString(),
123
- depresid: [],
124
- userresid: [],
125
- f_orgid: this.$login.f.orgid,
126
- f_depid: this.$login.f.depids,
127
- f_operatorid: this.$login.f.id,
128
- operatorid: [],
129
- depid: [],
130
- orgname: '',
131
- depname: '',
132
- operatorname: '',
133
- orgCondtionStr: '1=1',
134
- model: new DataModel('rs/report/fxGas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
135
- f_orgid: 'this.model.f_orgid'}),
136
- reportStr: null,
137
- show: false,
138
- resshow:['company','department','operator'],
139
- initres: {
140
- org: [this.$login.f.orgid],
141
- dep: [],
142
- user: []
143
- }
144
- }
145
- },
146
- ready () {
147
- // this.$refs.paged.$refs.criteria.$refs.res_select.sliceareashow = false
148
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
149
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
150
- // this.$refs.paged.$refs.criteria.search()
151
- console.log(this.$login.f)
152
- },
153
- methods: {
154
- searchData () {
155
- this.$refs.paged.$refs.criteria.search()
156
- },
157
- selfSearch (args) {
158
- this.printTime = this.$login.toStandardTimeString()
159
- let orgcondition = '1=1 '
160
- let orgstr = this.orgCondtionStr
161
- orgcondition = orgcondition + orgstr
162
- /*if(this.orgCondtionStr){
163
- orgstr+=this.orgCondtionStr
164
- }*/
165
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
166
- this.$refs.paged.search(args)
167
- },
168
- // 根据文件路径获取储存的报表内容
169
- getFileContent (path) {
170
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
171
- this.reportStr = res.data.filecontent
172
- this.model.state = '正确'
173
- })
174
- },
175
- confirm () {
176
- if (!this.filename || this.filename === '') {
177
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
178
- }
179
- let saveGen = saveFile(this)
180
- co(saveGen)
181
- },
182
- close () {
183
- this.show = false
184
- },
185
- // 将报表保存成文件
186
- confirmReport () {
187
- this.show = true
188
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
189
- },
190
- // async getRes (condition, obj) {
191
- // this.orgCondtionStr = condition
192
- // if(obj.orgnames.length>0){
193
- // this.orgname = obj.orgnames[0];
194
- // }
195
- // if(obj.operatornames.length>0){
196
- // let users = await this.$resetpost('rs/sql/manageSingleTable',
197
- // {data: {tablename: 't_user', condition: ` id = '${obj.operatornames[0]}'`}},
198
- // {resolveMsg: null, rejectMsg: null});
199
- // if(users.data){
200
- // this.operatorname = users.data[0].name;
201
- // }
202
- // }
203
- // }
204
- getRes (condition, obj) {
205
- this.orgCondtionStr = condition
206
- this.orgname = obj.orgnames[0]
207
- this.depname = obj.depnames[0]
208
- },
209
- getdep (obj, val) {
210
- this.depname = val[0]
211
- this.userresid = obj
212
- this.f_depid = obj
213
- },
214
- getuser (obj, val) {
215
- this.operatorname = val[0]
216
- this.f_operatorid = obj
217
- }
218
- },
219
- watch: {
220
- 'data' (val) {
221
- if (val.f_files_path) {
222
- this.getFileContent(val.f_files_path)
223
- } else {
224
- this.reportStr = null
225
- }
226
- }
227
- },
228
- computed: {
229
- }
230
- }
231
- </script>
232
- <style scoped>
233
- .noborder{
234
- border: none;
235
- }
236
- </style>
@@ -1,224 +0,0 @@
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_state" multiple
64
- v-model="$parent.$parent.f_state"
65
- :options='$parent.$parent.charge_state' placeholder='请选择'
66
- condition="f_state in {}"
67
- close-on-select></v-select>
68
- </div>
69
- </div>
70
- </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>
115
- </div>
116
- </template>
117
-
118
- <script>
119
- import { DataModel } from 'vue-client'
120
- import co from 'co'
121
-
122
- export default {
123
- title: '收费结账报表',
124
- props: ['data'],
125
- data () {
126
- return {
127
- printTime: this.$login.toStandardTimeString(),
128
- depresid: [],
129
- userresid: [],
130
- f_orgid: this.$login.f.orgid,
131
- f_depid: this.$login.f.depids,
132
- f_operatorid: this.$login.f.id,
133
- operatorid: [],
134
- depid: [],
135
- orgname: '',
136
- depname: '',
137
- criteriaShow: false,
138
- operatorname: '',
139
- orgCondtionStr: '1=1',
140
- f_state:['有效'],
141
- model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
- f_orgid: 'this.model.f_orgid'}),
143
- reportStr: null,
144
- resshow:['company','department','operator'],
145
- spans: 0,
146
- initres: {
147
- org: [this.$login.f.orgid],
148
- dep: [],
149
- user: []
150
- }
151
- }
152
- },
153
- ready () {
154
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
- console.log(this.$login.f)
157
- },
158
- methods: {
159
- searchData () {
160
- this.$refs.paged.$refs.criteria.search()
161
- },
162
- selfSearch (args) {
163
- this.printTime = this.$login.toStandardTimeString()
164
- let orgcondition = '1=1'
165
- let orgstr = this.orgCondtionStr
166
- 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,"','")}')`
178
- }
179
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
180
- this.$refs.paged.search(args)
181
- },
182
-
183
- hidden() {
184
- this.criteriaShow = !this.criteriaShow
185
- },
186
- getRes (condition, obj) {
187
- this.orgCondtionStr = condition
188
- this.orgname = obj.orgnames[0]
189
- this.depname = obj.depnames[0]
190
- },
191
- getdep (obj, val) {
192
- this.depname = val[0]
193
- this.userresid = obj
194
- this.f_depid = obj
195
- },
196
- getuser ( obj, val) {
197
- this.operatorname = val[0]
198
- this.f_operatorid = obj
199
- }
200
- },
201
- watch: {
202
- 'model.data' (val) {
203
- let len=0
204
- let a=val.split('</tr>')
205
- for(let i=0;i<a.length;i++){
206
- if(a[i].split('</td>').length-1>len){
207
- len=a[i].split('</td>').length-1
208
- }
209
- }
210
- this.spans = len
211
- }
212
- },
213
- computed: {
214
- charge_state() {
215
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
216
- }
217
- }
218
- }
219
- </script>
220
- <style scoped>
221
- .noborder{
222
- border: none;
223
- }
224
- </style>