manage-client 3.2.88-2 → 3.2.90

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/NonResidentGas.vue +216 -216
  3. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  4. package/src/components/SellReport/ReportItems.vue +246 -246
  5. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -934
  6. package/src/components/sale/businessquery/ChargeQuery.vue +1277 -1277
  7. package/src/components/sale/businessquery/InspectListGas.vue +552 -552
  8. package/src/components/sale/businessquery/InspectListUser.vue +449 -449
  9. package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
  10. package/src/components/sale/config/exportConfig.js +944 -944
  11. package/src/components/webmeter/gasStatistics/GasStatistics.vue +8 -12
  12. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  13. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  14. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  15. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  16. package/src/filiale/macheng/FxGasTable.vue +236 -236
  17. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  18. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  19. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  20. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  21. package/src/filiale/macheng/ManageSellType.vue +287 -287
  22. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  23. package/src/filiale/macheng/SellingTable.vue +219 -219
  24. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  25. package/src/filiale/macheng/config/exportConfig.js +67 -67
  26. package/src/filiale/macheng/reportManage.js +19 -19
  27. package/src/filiale/macheng/sale.js +11 -11
  28. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1234
  29. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  30. package/src/filiale/qianneng/SellDepReport.vue +269 -269
  31. package/src/filiale/qianneng/reportManage.js +10 -10
  32. package/src/filiale/qianneng/sale.js +12 -12
  33. package/src/main.js +66 -65
  34. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  35. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  36. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  37. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  38. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  39. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -1,269 +1,269 @@
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" :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,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
+