manage-client 3.2.90 → 3.2.91-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 (42) hide show
  1. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  2. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  3. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  4. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  5. package/build/dev-server.js +1 -1
  6. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  7. package/build/tmp/jar/MANIFEST.MF +2 -0
  8. package/package.json +1 -1
  9. package/src/components/SellReport/NonResidentGas.vue +216 -216
  10. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  11. package/src/components/SellReport/ReportItems.vue +246 -246
  12. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -934
  13. package/src/components/sale/businessquery/ChangeMeterQuery.vue +15 -9
  14. package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
  15. package/src/components/sale/businessquery/InspectListGas.vue +552 -552
  16. package/src/components/sale/businessquery/InspectListUser.vue +449 -449
  17. package/src/components/sale/businessquery/sellingChargePrice.vue +126 -76
  18. package/src/components/sale/config/exportConfig.js +2 -2
  19. package/src/components/webmeter/gasStatistics/GasStatistics.vue +465 -465
  20. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  21. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  22. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  23. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  24. package/src/filiale/macheng/FxGasTable.vue +236 -236
  25. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  26. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  27. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  28. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  29. package/src/filiale/macheng/ManageSellType.vue +287 -287
  30. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  31. package/src/filiale/macheng/SellingTable.vue +219 -219
  32. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  33. package/src/filiale/macheng/config/exportConfig.js +67 -67
  34. package/src/filiale/macheng/reportManage.js +19 -19
  35. package/src/filiale/macheng/sale.js +11 -11
  36. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1234
  37. package/src/filiale/meihekou/UserQuery.vue +773 -773
  38. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  39. package/src/filiale/qianneng/SellDepReport.vue +295 -269
  40. package/src/filiale/qianneng/reportManage.js +10 -10
  41. package/src/filiale/qianneng/sale.js +12 -12
  42. package/src/main.js +65 -66
@@ -1,269 +1,295 @@
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" >
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 00:00:00'"
16
- :show-reset-button="reset"
17
- :disabled="$parent.$parent.noshow">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2" >
21
- <label class="font_normal_body" for="endDate">结束日期:</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
25
- :disabled-days-of-Week="[]"
26
- :format="'yyyy-MM-dd 23:59:59'"
27
- :show-reset-button="reset">
28
- </datepicker>
29
- </div>
30
- <!--<div class="col-sm-2">-->
31
- <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式:</label>-->
32
- <!--<v-select :value.sync="model.f_payment" multiple-->
33
- <!--v-model="model.f_payment"-->
34
- <!--:options='$parent.$parent.payment' placeholder='请选择'-->
35
- <!--condition="f_payment in {}"-->
36
- <!--close-on-select></v-select>-->
37
- <!--</div>-->
38
- <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>
39
- </div>
40
- <div class="span" style = "float:right;">
41
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
42
- <tie-an-account v-if="this.$login.r.includes('报表扎帐')"
43
- :org="$parent.$parent.org"
44
- @update="$parent.$parent.update"
45
- :model="$parent.$parent.data"
46
- :fee-str="$parent.model.data"
47
- :end-date="model.endDate" ></tie-an-account>
48
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
49
- <report-excel id='gasprice'></report-excel>
50
- </div>
51
- </div>
52
- </criteria>
53
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
54
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
55
- <thead>
56
- <tr>
57
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
58
- <h3 style="text-align: center">营业厅日结账</h3>
59
- </th>
60
- </tr>
61
- <tr>
62
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
63
- 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
64
- 打印时间:{{$parent.printTime}}
65
- </th>
66
- </tr>
67
- <tr>
68
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
69
- <div>
70
- <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
71
- <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
72
- <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
73
- </div>
74
- </th>
75
- </tr>
76
- </thead>
77
- <tr>
78
- <td :colspan='$parent.tablen' class="noborder">
79
- {{{ $parent.datas }}}
80
- </td>
81
- </tr>
82
- <tfoot>
83
- <tr style="text-align: left">
84
- <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
85
- <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
86
- <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
87
- </tr>
88
- </tfoot>
89
- </table>
90
- {{{ $parent.reportStr}}}
91
- </div>
92
- </criteria-paged>
93
- <modal :show.sync="show" v-ref:modal small backdrop="false">
94
- <header slot="modal-header" class="modal-header">
95
- <h4 class="modal-title">输入文件名称</h4>
96
- </header>
97
- <article slot="modal-body" class="modal-body">
98
- <div class="form-group">
99
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
100
- </div>
101
- </article>
102
- <footer slot="modal-footer" class="modal-footer">
103
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
104
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
105
- </footer>
106
- </modal>
107
- </div>
108
- </template>
109
-
110
- <script>
111
- import { DataModel } from 'vue-client'
112
- import co from 'co'
113
- let saveFile = function * (self) {
114
- // 线验证文件是否重名
115
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
116
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
117
- {resolveMsg: null, rejectMsg: null})
118
- if (count.data.length > 0) {
119
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
120
- return
121
- }
122
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
123
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
124
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
125
- f_outlets: this.$login.f.depname})
126
- if (saveBack.data.status === 'succeed') {
127
- self.show = false
128
- self.filename = ''
129
- // 后台保存完成,通知刷新
130
- self.$dispatch('save-success', self.filename)
131
- }
132
- }
133
- export default {
134
- title: '营业厅日结账',
135
- props: ['data'],
136
- data () {
137
- return {
138
- printTime: this.$login.toStandardTimeString(),
139
- depresid: [],
140
- userresid: [],
141
- f_orgid: this.$login.f.orgid,
142
- f_depid: this.$login.f.depids,
143
- f_operatorid: this.$login.f.id,
144
- operatorid: [],
145
- depid: [],
146
- org: {
147
- f_orgname:'',
148
- f_depname: '',
149
- f_operator: ''
150
- },
151
- tablen:0,
152
- noshow: false,
153
- datas: '',
154
- orgname: '',
155
- depname: '',
156
- operatorname: '',
157
- orgCondtionStr: '1=1',
158
- model: new DataModel('rs/report/sellDepReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
159
- f_orgid: 'this.model.f_orgid'}),
160
- reportStr: null,
161
- resshow:['company','department','operator'],
162
- show: false,
163
- spans: 0,
164
- initres: {
165
- org: [this.$login.f.orgid],
166
- dep: [],
167
- user: []
168
- }
169
- }
170
- },
171
- ready () {
172
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
173
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardTimeString()
174
- console.log(this.$login.f)
175
- },
176
- methods: {
177
- searchData () {
178
- this.$refs.paged.$refs.criteria.search()
179
- },
180
- selfSearch (args) {
181
- this.printTime = this.$login.toStandardTimeString()
182
- let orgcondition = '1=1'
183
- let orgstr = this.orgCondtionStr
184
- this.org.f_depname = this.depname
185
- this.org.f_operator = this.operatorname
186
- orgcondition = orgcondition + orgstr
187
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
188
- this.$refs.paged.search(args)
189
- },
190
- update (val) {
191
- if (val !== ''){
192
- this.$refs.paged.$refs.criteria.model.startDate = val
193
- this.noshow = true
194
- } else {
195
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
196
- this.noshow = false
197
- }
198
- },
199
- getRes (condition, obj) {
200
- this.orgCondtionStr = condition
201
- this.org.f_orgname = obj.orgnames[0]
202
- this.orgname = obj.orgnames[0]
203
- this.depname = obj.depnames[0]
204
- this.operatorname = obj.operatornames[0]
205
- },
206
- getdep (obj, val) {
207
- this.org.f_depname = this.depname = val[0]
208
- this.userresid = obj
209
- this.f_depid = obj
210
- },
211
- getuser ( obj, val) {
212
- this.org.f_operator = this.operatorname = val[0]
213
- this.f_operatorid = obj
214
- },
215
- // 根据文件路径获取储存的报表内容
216
- getFileContent (path) {
217
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
218
- this.reportStr = res.data.filecontent
219
- this.model.state = '正确'
220
- })
221
- },
222
- confirm () {
223
- if (!this.filename || this.filename === '') {
224
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
225
- }
226
- let saveGen = saveFile(this)
227
- co(saveGen)
228
- },
229
- close () {
230
- this.show = false
231
- },
232
- // 将报表保存成文件
233
- confirmReport () {
234
- this.show = true
235
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
236
- }
237
- },
238
- watch: {
239
- 'data' (val) {
240
- if (val.f_files_path) {
241
- this.getFileContent(val.f_files_path)
242
- } else {
243
- this.reportStr = null
244
- }
245
- },
246
- 'model.data' (val) {
247
- this.datas = val.replace(/#\(|\)|\^(.+?)\)/g, '').toString().substring(26, val.length - 8)
248
- let len=0
249
- let a=val.split('</tr>')
250
- for(let i=0;i<a.length;i++){
251
- if(a[i].split('</td>').length-1>len){
252
- len=a[i].split('</td>').length-1
253
- }
254
- }
255
- this.tablen=len
256
- }
257
- },
258
- computed: {
259
- payment() {
260
- return [...this.$appdata.getParam('付款方式查询')]
261
- }
262
- }
263
- }
264
- </script>
265
- <style scoped>
266
- .noborder{
267
- border: none;
268
- }
269
- </style>
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" >
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 00:00:00'"
16
+ :show-reset-button="reset"
17
+ :disabled="$parent.$parent.noshow">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2" >
21
+ <label class="font_normal_body" for="endDate">结束日期:</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :disabled-days-of-Week="[]"
26
+ :format="'yyyy-MM-dd 23:59:59'"
27
+ :show-reset-button="reset">
28
+ </datepicker>
29
+ </div>
30
+ <!--<div class="col-sm-2">-->
31
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式:</label>-->
32
+ <!--<v-select :value.sync="model.f_payment" multiple-->
33
+ <!--v-model="model.f_payment"-->
34
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
35
+ <!--condition="f_payment in {}"-->
36
+ <!--close-on-select></v-select>-->
37
+ <!--</div>-->
38
+ <res-select-group :show-component="$parent.$parent.resshow"
39
+ :selectin="true" :initres="$parent.$parent.initres"
40
+ @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
41
+ </div>
42
+ <div class="span" style = "float:right;">
43
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
44
+ <!--<tie-an-account v-if="this.$login.r.includes('报表扎帐')"-->
45
+ <!--:org="$parent.$parent.org"-->
46
+ <!--@update="$parent.$parent.update"-->
47
+ <!--:model="$parent.$parent.data"-->
48
+ <!--:fee-str="$parent.model.data"-->
49
+ <!--:end-date="model.endDate" ></tie-an-account>-->
50
+ <report-print id='gasprice' top='1cm' left='0' width='100%' height='100%' :preview="true"
51
+ :style="styledata"
52
+ ></report-print>
53
+ <report-excel id='gasprice'></report-excel>
54
+ </div>
55
+ </div>
56
+ </criteria>
57
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
58
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
59
+ <thead>
60
+ <tr>
61
+ <th :colspan='$parent.tablen+1' style="font-weight: normal; text-align: left;">
62
+ <h3 style="text-align: center">营业厅日结账</h3>
63
+ </th>
64
+ </tr>
65
+ <tr>
66
+ <th :colspan='$parent.tablen+1' style="font-weight: normal; text-align: center;">
67
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
68
+ 打印时间:{{$parent.printTime}}
69
+ </th>
70
+ </tr>
71
+ <tr>
72
+ <th :colspan='$parent.tablen+1' style="font-weight: normal; text-align: center;">
73
+ <div>
74
+ <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
75
+ <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
76
+ <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
77
+ </div>
78
+ </th>
79
+ </tr>
80
+ </thead>
81
+ <tr>
82
+ <td :colspan='$parent.tablen+1' class="noborder">
83
+ {{{ $parent.datas }}}
84
+ </td>
85
+ </tr>
86
+ <tfoot>
87
+ <tr style="text-align: left">
88
+ <th :colspan='Math.floor(($parent.tablen+1)/3)'>财务审核:</th>
89
+ <th :colspan='Math.round(($parent.tablen+1)/3)'>收款审核:</th>
90
+ <th :colspan='Math.round(($parent.tablen+1)/3)'>收款员:</th>
91
+ </tr>
92
+ </tfoot>
93
+ </table>
94
+ {{{ $parent.reportStr}}}
95
+ </div>
96
+ </criteria-paged>
97
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
98
+ <header slot="modal-header" class="modal-header">
99
+ <h4 class="modal-title">输入文件名称</h4>
100
+ </header>
101
+ <article slot="modal-body" class="modal-body">
102
+ <div class="form-group">
103
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
104
+ </div>
105
+ </article>
106
+ <footer slot="modal-footer" class="modal-footer">
107
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
108
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
109
+ </footer>
110
+ </modal>
111
+ </div>
112
+ </template>
113
+
114
+ <script>
115
+ import { DataModel } from 'vue-client'
116
+ import co from 'co'
117
+ let saveFile = function * (self) {
118
+ // 线验证文件是否重名
119
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
120
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
121
+ {resolveMsg: null, rejectMsg: null})
122
+ if (count.data.length > 0) {
123
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
124
+ return
125
+ }
126
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
127
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
128
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
129
+ f_outlets: this.$login.f.depname})
130
+ if (saveBack.data.status === 'succeed') {
131
+ self.show = false
132
+ self.filename = ''
133
+ // 后台保存完成,通知刷新
134
+ self.$dispatch('save-success', self.filename)
135
+ }
136
+ }
137
+ export default {
138
+ title: '营业厅日结账',
139
+ props: ['data'],
140
+ data () {
141
+ return {
142
+ printTime: this.$login.toStandardTimeString(),
143
+ depresid: [],
144
+ userresid: [],
145
+ f_orgid: this.$login.f.orgid,
146
+ f_depid: this.$login.f.depids,
147
+ f_operatorid: this.$login.f.id,
148
+ operatorid: [],
149
+ styledata: '',
150
+ depid: [],
151
+ org: {
152
+ f_orgname:'',
153
+ f_depname: '',
154
+ f_operator: ''
155
+ },
156
+ tablen:0,
157
+ noshow: false,
158
+ datas: '',
159
+ orgname: '',
160
+ depname: '',
161
+ operatorname: '',
162
+ orgCondtionStr: '1=1',
163
+ model: new DataModel('rs/report/sellDepReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
164
+ f_orgid: 'this.model.f_orgid'}),
165
+ reportStr: null,
166
+ resshow:['company','department','operator'],
167
+ show: false,
168
+ spans: 0,
169
+ initres: {
170
+ org: [this.$login.f.orgid],
171
+ dep: [],
172
+ user: []
173
+ }
174
+ }
175
+ },
176
+ ready () {
177
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
178
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardTimeString()
179
+ this.styledata =
180
+ 'td {border-width: 1px;padding: 0.3px;border-style: solid; border-color:#000000;font-size: 0.375em;} \n' +
181
+ 'table{border-collapse:collapse; border}\n' +
182
+ '.noborder{border-width: 0px;}\n' +
183
+ '.tdleft{text-align: left;}\n' +
184
+ '.tdright{text-align: right;} \n' +
185
+ '.tdcenter{text-align: center;}\n' +
186
+ '.fs10{font-size: 0.4em;}\n' +
187
+ '.fs11{font-size: 0.5em;}\n' +
188
+ '.fs12{font-size: 0.6em;}\n' +
189
+ '.fs13{font-size: 0.7em;}\n' +
190
+ '.fs15{font-size: 0.9em;}\n' +
191
+ '.fs17{font-size: 1.1em;}\n' +
192
+ '.fs19{font-size: 1.2em;}\n' +
193
+ '.fs24{font-size: 1.5em;}\n' +
194
+ '.fs26{font-size: 1.6em;}\n' +
195
+ '.b{font-weight: bold;}\n' +
196
+ '.td-border-right{BORDER-RIGHT: #000000 1px solid; }\n' +
197
+ '.td-border-top{BORDER-TOP: #000000 1px solid; }\n' +
198
+ '.td-border-left{BORDER-LEFT: #000000 1px solid;}\n' +
199
+ '.td-border-bottom{BORDER-BOTTOM: #000000 1px solid;}'
200
+ console.log(this.$login.f)
201
+ },
202
+ methods: {
203
+ searchData () {
204
+ this.$refs.paged.$refs.criteria.search()
205
+ },
206
+ selfSearch (args) {
207
+ this.printTime = this.$login.toStandardTimeString()
208
+ let orgcondition = '1=1'
209
+ let orgstr = this.orgCondtionStr
210
+ this.org.f_depname = this.depname
211
+ this.org.f_operator = this.operatorname
212
+ orgcondition = orgcondition + orgstr
213
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
214
+ this.$refs.paged.search(args)
215
+ },
216
+ update (val) {
217
+ if (val !== ''){
218
+ this.$refs.paged.$refs.criteria.model.startDate = val
219
+ this.noshow = true
220
+ } else {
221
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
222
+ this.noshow = false
223
+ }
224
+ },
225
+ getRes (condition, obj) {
226
+ this.orgCondtionStr = condition
227
+ this.org.f_orgname = obj.orgnames[0]
228
+ this.orgname = obj.orgnames[0]
229
+ this.depname = obj.depnames[0]
230
+ this.operatorname = obj.operatornames[0]
231
+ },
232
+ getdep (obj, val) {
233
+ this.org.f_depname = this.depname = val[0]
234
+ this.userresid = obj
235
+ this.f_depid = obj
236
+ },
237
+ getuser ( obj, val) {
238
+ this.org.f_operator = this.operatorname = val[0]
239
+ this.f_operatorid = obj
240
+ },
241
+ // 根据文件路径获取储存的报表内容
242
+ getFileContent (path) {
243
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
244
+ this.reportStr = res.data.filecontent
245
+ this.model.state = '正确'
246
+ })
247
+ },
248
+ confirm () {
249
+ if (!this.filename || this.filename === '') {
250
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
251
+ }
252
+ let saveGen = saveFile(this)
253
+ co(saveGen)
254
+ },
255
+ close () {
256
+ this.show = false
257
+ },
258
+ // 将报表保存成文件
259
+ confirmReport () {
260
+ this.show = true
261
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
262
+ }
263
+ },
264
+ watch: {
265
+ 'data' (val) {
266
+ if (val.f_files_path) {
267
+ this.getFileContent(val.f_files_path)
268
+ } else {
269
+ this.reportStr = null
270
+ }
271
+ },
272
+ 'model.data' (val) {
273
+ this.datas = val.replace(/#\(|\)|\^(.+?)\)/g, '').toString().substring(26, val.length - 8)
274
+ let len=0
275
+ let a=val.split('</tr>')
276
+ for(let i=0;i<a.length;i++){
277
+ if(a[i].split('</td>').length-1>len){
278
+ len=a[i].split('</td>').length-1
279
+ }
280
+ }
281
+ this.tablen=len
282
+ }
283
+ },
284
+ computed: {
285
+ payment() {
286
+ return [...this.$appdata.getParam('付款方式查询')]
287
+ }
288
+ }
289
+ }
290
+ </script>
291
+ <style scoped>
292
+ .noborder{
293
+ border: none;
294
+ }
295
+ </style>
@@ -1,10 +1,10 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- // 营业分项汇总报表
4
- 'sell-dep-report': (resolve) => { require(['./SellDepReport'], resolve) }
5
- }
6
- exports.specialComp = specialComp
7
-
8
-
9
-
10
-
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 营业分项汇总报表
4
+ 'sell-dep-report': (resolve) => { require(['./SellDepReport'], resolve) }
5
+ }
6
+ exports.specialComp = specialComp
7
+
8
+
9
+
10
+
@@ -1,12 +1,12 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
4
- 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
5
- 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
6
- 'handplan-query': (resolve) => { require(['./HandplanQuery'], resolve) }
7
- }
8
- exports.specialComp = specialComp
9
-
10
-
11
-
12
-
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
4
+ 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
5
+ 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
6
+ 'handplan-query': (resolve) => { require(['./HandplanQuery'], resolve) }
7
+ }
8
+ exports.specialComp = specialComp
9
+
10
+
11
+
12
+