manage-client-xy 3.2.26 → 3.2.28

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.
@@ -11,7 +11,7 @@ var compiler = webpack(config)
11
11
  // Define HTTP proxies to your custom API backend
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
- var bendi = 'http://172.16.16.162:8300/'
14
+ var bendi = 'http://127.0.0.1:9014/'
15
15
  , fuwu = 'http://172.16.16.162:8300/'
16
16
  // ,fuwu = 'http://172.16.16.162:8300/'
17
17
  var proxyTable = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.26",
3
+ "version": "3.2.28",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,241 +1,241 @@
1
- <template>
2
- <div class="basic-main">
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-4" >
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-4" >
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
- <div class="col-sm-4">
30
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
31
- <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
- </div>
33
- <div class="col-sm-4">
34
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
35
- <res-select restype='department'
36
- is-mul="false"
37
- @res-select="$parent.$parent.getdep"
38
- :parentresid="$parent.$parent.depresid"
39
- :initresid='$parent.$parent.depid'>
40
- </res-select>
41
-
42
- </div>
43
- <div class="col-sm-4">
44
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
45
- <res-select restype='user'
46
- is-mul="false"
47
- @res-select="$parent.$parent.getuser"
48
- :parentresid="$parent.$parent.userresid"
49
- :initresid='$parent.$parent.operatorid'>
50
- </res-select>
51
- </div>
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%'></report-print>
56
- <report-excel id='gasprice'></report-excel>
57
- </div>
58
- </div>
59
- </criteria>
60
- <div partial='list' v-el:handcollect id='gasprice'>
61
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
62
- <thead>
63
- <tr>
64
- <th colspan='9' style="font-weight: normal; text-align: left;">
65
- <h3 style="text-align: center">收费结账报表</h3>
66
- </th>
67
- </tr>
68
- <tr>
69
- <th colspan='9' style="font-weight: normal; text-align: center;">
70
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
71
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
72
- 打印时间:{{{$parent.printTime}}}
73
- </th>
74
- </tr>
75
- <tr>
76
- <th colspan='9' style="font-weight: normal; text-align: center;">
77
- <div>
78
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
79
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
80
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
81
- </div>
82
- </th>
83
- </tr>
84
- </thead>
85
- <tr>
86
- <td colspan='9'>
87
- {{{ model.data.substring(26,model.data.length-8) }}}
88
- </td>
89
- </tr>
90
- <tfoot>
91
- <tr style="text-align: left">
92
- <th colspan='3'>财务审核:</th>
93
- <th colspan='3'>收款审核:</th>
94
- <th colspan='3'>收款员:</th>
95
- </tr>
96
- </tfoot>
97
- </table>
98
- {{{ $parent.reportStr}}}
99
- </div>
100
- </criteria-paged>
101
- <modal :show.sync="show" v-ref:modal small backdrop="false">
102
- <header slot="modal-header" class="modal-header">
103
- <h4 class="modal-title">输入文件名称</h4>
104
- </header>
105
- <article slot="modal-body" class="modal-body">
106
- <div class="form-group">
107
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
108
- </div>
109
- </article>
110
- <footer slot="modal-footer" class="modal-footer">
111
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
112
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
113
- </footer>
114
- </modal>
115
- </div>
116
- </template>
117
-
118
- <script>
119
- import { DataModel } from 'vue-client'
120
- import co from 'co'
121
- let saveFile = function * (self) {
122
- // 线验证文件是否重名
123
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
124
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
125
- {resolveMsg: null, rejectMsg: null})
126
- if (count.data.length > 0) {
127
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
128
- return
129
- }
130
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
131
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
132
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
133
- f_outlets: this.$login.f.depname})
134
- if (saveBack.data.status === 'succeed') {
135
- self.show = false
136
- self.filename = ''
137
- // 后台保存完成,通知刷新
138
- self.$dispatch('save-success', self.filename)
139
- }
140
- }
141
- export default {
142
- title: '收费结账报表',
143
- props: ['data'],
144
- data () {
145
- return {
146
- printTime: this.$login.toStandardTimeString(),
147
- depresid: [],
148
- userresid: [],
149
- f_orgid: this.$login.f.orgid,
150
- f_depid: this.$login.f.depids,
151
- f_operatorid: this.$login.f.id,
152
- operatorid: [],
153
- depid: [],
154
- orgname: '',
155
- depname: '',
156
- operatorname: '',
157
- orgCondtionStr: '1=1',
158
- model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
159
- f_orgid: 'this.model.f_orgid'}),
160
- reportStr: null,
161
- show: false,
162
- }
163
- },
164
- ready () {
165
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
166
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
167
- this.$refs.paged.$refs.criteria.search()
168
- console.log(this.$login.f)
169
- },
170
- methods: {
171
- searchData () {
172
- this.$refs.paged.$refs.criteria.search()
173
- },
174
- selfSearch (args) {
175
- this.printTime = this.$login.toStandardTimeString()
176
- let orgcondition = 'f_orgid = ' + this.f_orgid
177
- if (this.f_depid[0]) {
178
- orgcondition += ' and f_depid = ' + this.f_depid
179
- }
180
- if(this.f_operatorid[0]) {
181
- orgcondition += ' and f_operatorid = ' + this.f_operatorid
182
- }
183
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
- this.$refs.paged.search(args)
185
- },
186
- getRes (obj) {
187
- this.orgname = obj.res[0]
188
- this.depresid = obj.resids
189
- this.f_orgid = obj.resids
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
- // 根据文件路径获取储存的报表内容
202
- getFileContent (path) {
203
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
204
- this.reportStr = res.data.filecontent
205
- this.model.state = '正确'
206
- })
207
- },
208
- confirm () {
209
- if (!this.filename || this.filename === '') {
210
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
211
- }
212
- let saveGen = saveFile(this)
213
- co(saveGen)
214
- },
215
- close () {
216
- this.show = false
217
- },
218
- // 将报表保存成文件
219
- confirmReport () {
220
- this.show = true
221
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
222
- },
223
- },
224
- watch: {
225
- 'data' (val) {
226
- if (val.f_files_path) {
227
- this.getFileContent(val.f_files_path)
228
- } else {
229
- this.reportStr = null
230
- }
231
- }
232
- },
233
- computed: {
234
- }
235
- }
236
- </script>
237
- <style scoped>
238
- .noborder{
239
- border: none;
240
- }
241
- </style>
1
+ <template>
2
+ <div class="basic-main">
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-4" >
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-4" >
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
+ <div class="col-sm-4">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
35
+ <res-select restype='department'
36
+ is-mul="false"
37
+ @res-select="$parent.$parent.getdep"
38
+ :parentresid="$parent.$parent.depresid"
39
+ :initresid='$parent.$parent.depid'>
40
+ </res-select>
41
+
42
+ </div>
43
+ <div class="col-sm-4">
44
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
45
+ <res-select restype='user'
46
+ is-mul="false"
47
+ @res-select="$parent.$parent.getuser"
48
+ :parentresid="$parent.$parent.userresid"
49
+ :initresid='$parent.$parent.operatorid'>
50
+ </res-select>
51
+ </div>
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%'></report-print>
56
+ <report-excel id='gasprice'></report-excel>
57
+ </div>
58
+ </div>
59
+ </criteria>
60
+ <div partial='list' v-el:handcollect id='gasprice'>
61
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
62
+ <thead>
63
+ <tr>
64
+ <th colspan='9' style="font-weight: normal; text-align: left;">
65
+ <h3 style="text-align: center">收费结账报表</h3>
66
+ </th>
67
+ </tr>
68
+ <tr>
69
+ <th colspan='9' style="font-weight: normal; text-align: center;">
70
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
71
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
72
+ 打印时间:{{{$parent.printTime}}}
73
+ </th>
74
+ </tr>
75
+ <tr>
76
+ <th colspan='9' style="font-weight: normal; text-align: center;">
77
+ <div>
78
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
79
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
80
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
81
+ </div>
82
+ </th>
83
+ </tr>
84
+ </thead>
85
+ <tr>
86
+ <td colspan='9'>
87
+ {{{ model.data.substring(26,model.data.length-8) }}}
88
+ </td>
89
+ </tr>
90
+ <tfoot>
91
+ <tr style="text-align: left">
92
+ <th colspan='3'>财务审核:</th>
93
+ <th colspan='3'>收款审核:</th>
94
+ <th colspan='3'>收款员:</th>
95
+ </tr>
96
+ </tfoot>
97
+ </table>
98
+ {{{ $parent.reportStr}}}
99
+ </div>
100
+ </criteria-paged>
101
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
102
+ <header slot="modal-header" class="modal-header">
103
+ <h4 class="modal-title">输入文件名称</h4>
104
+ </header>
105
+ <article slot="modal-body" class="modal-body">
106
+ <div class="form-group">
107
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
108
+ </div>
109
+ </article>
110
+ <footer slot="modal-footer" class="modal-footer">
111
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
112
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
113
+ </footer>
114
+ </modal>
115
+ </div>
116
+ </template>
117
+
118
+ <script>
119
+ import { DataModel } from 'vue-client'
120
+ import co from 'co'
121
+ let saveFile = function * (self) {
122
+ // 线验证文件是否重名
123
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
124
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
125
+ {resolveMsg: null, rejectMsg: null})
126
+ if (count.data.length > 0) {
127
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
128
+ return
129
+ }
130
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
131
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
132
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
133
+ f_outlets: this.$login.f.depname})
134
+ if (saveBack.data.status === 'succeed') {
135
+ self.show = false
136
+ self.filename = ''
137
+ // 后台保存完成,通知刷新
138
+ self.$dispatch('save-success', self.filename)
139
+ }
140
+ }
141
+ export default {
142
+ title: '收费结账报表',
143
+ props: ['data'],
144
+ data () {
145
+ return {
146
+ printTime: this.$login.toStandardTimeString(),
147
+ depresid: [],
148
+ userresid: [],
149
+ f_orgid: this.$login.f.orgid,
150
+ f_depid: this.$login.f.depids,
151
+ f_operatorid: this.$login.f.id,
152
+ operatorid: [],
153
+ depid: [],
154
+ orgname: '',
155
+ depname: '',
156
+ operatorname: '',
157
+ orgCondtionStr: '1=1',
158
+ model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
159
+ f_orgid: 'this.model.f_orgid'}),
160
+ reportStr: null,
161
+ show: false,
162
+ }
163
+ },
164
+ ready () {
165
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
166
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
167
+ this.$refs.paged.$refs.criteria.search()
168
+ console.log(this.$login.f)
169
+ },
170
+ methods: {
171
+ searchData () {
172
+ this.$refs.paged.$refs.criteria.search()
173
+ },
174
+ selfSearch (args) {
175
+ this.printTime = this.$login.toStandardTimeString()
176
+ let orgcondition = 'f_orgid = ' + this.f_orgid
177
+ if (this.f_depid[0]) {
178
+ orgcondition += ' and f_depid = ' + this.f_depid
179
+ }
180
+ if(this.f_operatorid[0]) {
181
+ orgcondition += ' and f_operatorid = ' + this.f_operatorid
182
+ }
183
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
+ this.$refs.paged.search(args)
185
+ },
186
+ getRes (obj) {
187
+ this.orgname = obj.res[0]
188
+ this.depresid = obj.resids
189
+ this.f_orgid = obj.resids
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
+ // 根据文件路径获取储存的报表内容
202
+ getFileContent (path) {
203
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
204
+ this.reportStr = res.data.filecontent
205
+ this.model.state = '正确'
206
+ })
207
+ },
208
+ confirm () {
209
+ if (!this.filename || this.filename === '') {
210
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
211
+ }
212
+ let saveGen = saveFile(this)
213
+ co(saveGen)
214
+ },
215
+ close () {
216
+ this.show = false
217
+ },
218
+ // 将报表保存成文件
219
+ confirmReport () {
220
+ this.show = true
221
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
222
+ },
223
+ },
224
+ watch: {
225
+ 'data' (val) {
226
+ if (val.f_files_path) {
227
+ this.getFileContent(val.f_files_path)
228
+ } else {
229
+ this.reportStr = null
230
+ }
231
+ }
232
+ },
233
+ computed: {
234
+ }
235
+ }
236
+ </script>
237
+ <style scoped>
238
+ .noborder{
239
+ border: none;
240
+ }
241
+ </style>
@@ -0,0 +1,275 @@
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-4">
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-4">
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
+ <div class="col-sm-4">
30
+ <label class="font_normal_body">&emsp;&emsp;公司:</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">&emsp;&emsp;部门:</label>
35
+ <res-select restype='department'
36
+ is-mul="false"
37
+ @res-select="$parent.$parent.getdep"
38
+ :parentresid="$parent.$parent.depresid"
39
+ :initresid='$parent.$parent.depid'>
40
+ </res-select>
41
+
42
+ </div>
43
+ <div class="col-sm-4">
44
+ <label class="font_normal_body">&emsp;&emsp;人员:</label>
45
+ <res-select restype='user'
46
+ is-mul="false"
47
+ @res-select="$parent.$parent.getuser"
48
+ :parentresid="$parent.$parent.userresid"
49
+ :initresid='$parent.$parent.operatorid'>
50
+ </res-select>
51
+ </div>
52
+ <div class="col-sm-4" style="float:right;">
53
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;</label>
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'
57
+ v-if="$parent.$parent.jurisdiction.includes('excel导出')"
58
+ ></report-excel>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </criteria>
63
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
64
+ <table class='tableprint' style="margin: 0px auto">
65
+ <thead>
66
+ <tr>
67
+ <th colspan='17' style="font-weight: normal; text-align: left;">
68
+ <h3 style="text-align: center">智慧厨房报表</h3>
69
+ </th>
70
+ </tr>
71
+ <tr>
72
+ <th colspan='17' style="font-weight: normal; text-align: center;">
73
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
74
+ 结束时间:{{ model.model.endDate }}
75
+ </th>
76
+ </tr>
77
+ <tr>
78
+ <th colspan='17' style="font-weight: normal; text-align: center;">
79
+ 打印时间:{{{$parent.printTime}}}
80
+ </th>
81
+ </tr>
82
+ <tr>
83
+ <th colspan='17' style="font-weight: normal; text-align: center;">
84
+ <div>
85
+ <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
86
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
87
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
88
+ </div>
89
+ </th>
90
+ </tr>
91
+ </thead>
92
+ <tr>
93
+ <td colspan='17'>
94
+ {{{ model.data.substring(26,model.data.length-8) }}}
95
+ </td>
96
+ </tr>
97
+ <tfoot>
98
+ <tr style="text-align: left">
99
+ <th colspan='6'>财务审核:</th>
100
+ <th colspan='6'>收款审核:</th>
101
+ <th colspan='5'>收款员:</th>
102
+ </tr>
103
+ </tfoot>
104
+ </table>
105
+ {{{ $parent.reportStr}}}
106
+ </div>
107
+ </criteria-paged>
108
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
109
+ <header slot="modal-header" class="modal-header">
110
+ <h4 class="modal-title">输入文件名称</h4>
111
+ </header>
112
+ <article slot="modal-body" class="modal-body">
113
+ <div class="form-group">
114
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
115
+ </div>
116
+ </article>
117
+ <footer slot="modal-footer" class="modal-footer">
118
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
119
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
120
+ </footer>
121
+ </modal>
122
+ </div>
123
+ </template>
124
+
125
+ <script>
126
+ import { DataModel } from 'vue-client'
127
+ import co from 'co'
128
+ let saveFile = function * (self) {
129
+ // 线验证文件是否重名
130
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
131
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
132
+ {resolveMsg: null, rejectMsg: null})
133
+ if (count.data.length > 0) {
134
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
135
+ return
136
+ }
137
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
138
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
139
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
140
+ f_outlets: this.$login.f.depname})
141
+ if (saveBack.data.status === 'succeed') {
142
+ self.show = false
143
+ self.filename = ''
144
+ // 后台保存完成,通知刷新
145
+ self.$dispatch('save-success', self.filename)
146
+ }
147
+ }
148
+ export default {
149
+ title: '智慧厨房报表',
150
+ props: ['data'],
151
+ data () {
152
+ return {
153
+ printTime: this.$login.toStandardTimeString(),
154
+ depresid: [],
155
+ userresid: [],
156
+ f_orgid: this.$login.f.orgid,
157
+ f_depid: this.$login.f.depids,
158
+ f_operatorid: this.$login.f.id,
159
+ jurisdiction: this.$login.r,
160
+ operatorid: [],
161
+ depid: [],
162
+ orgname: '',
163
+ depname: '',
164
+ operatorname: '',
165
+ f_inputtor:[],
166
+ f_user_type:'',
167
+ orgCondtionStr: '1=1',
168
+ model: new DataModel('rs/report/smartKitchenReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
169
+ f_orgid: 'this.model.f_orgid'}),
170
+ reportStr: null,
171
+ show: false
172
+ }
173
+ },
174
+ ready () {
175
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
176
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
177
+ this.$refs.paged.$refs.criteria.search()
178
+ console.log(this.$login.f)
179
+ },
180
+ methods: {
181
+ searchData () {
182
+ this.$refs.paged.$refs.criteria.search()
183
+ },
184
+ selfSearch (args) {
185
+ this.printTime = this.$login.toStandardTimeString()
186
+ let orgcondition ='1=1'
187
+ if (this.f_orgid[0]) {
188
+ var id = this.f_orgid.toString()
189
+ var ids = id.split(',')
190
+ console.log('几个公司:'+ids.length)
191
+ var orgids = ''
192
+ var f_orgids = ''
193
+ if(ids.length==1){
194
+ f_orgids += "'"+ids[0]+"'"
195
+ }else{
196
+ for (var i = 0;i<ids.length;i++){
197
+ console.log('id = ' + ids[i])
198
+ orgids += "'"+ids[i]+"',"
199
+ }
200
+ f_orgids = orgids.substring(0,orgids.length-1)
201
+ }
202
+
203
+ orgcondition += " and f_orgid in ( " + f_orgids + " ) "
204
+ console.log('f_orgids:' + f_orgids)
205
+ }
206
+ if (this.f_depid[0]) {
207
+ orgcondition += " and F_DEPNAME like '%" + this.depname + "%'"
208
+ }
209
+ if(this.f_operatorid[0]) {
210
+ orgcondition += " and f_operator like '%" + this.operatorname + "%'"
211
+ }
212
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
213
+ this.$refs.paged.search(args)
214
+ },
215
+ getRes (obj) {
216
+ this.orgname = obj.res[0]
217
+ this.depresid = obj.resids
218
+ this.f_orgid = obj.resids
219
+ this.userresid = obj.resids
220
+ },
221
+ getdep (obj, val) {
222
+ this.depname = val[0]
223
+ this.f_depid = obj
224
+ },
225
+ getuser ( obj, val) {
226
+ this.operatorname = val[0]
227
+ this.f_operatorid = obj
228
+ },
229
+ // 根据文件路径获取储存的报表内容
230
+ getFileContent (path) {
231
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
232
+ this.reportStr = res.data.filecontent
233
+ this.model.state = '正确'
234
+ })
235
+ },
236
+ confirm () {
237
+ if (!this.filename || this.filename === '') {
238
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
239
+ }
240
+ let saveGen = saveFile(this)
241
+ co(saveGen)
242
+ },
243
+ close () {
244
+ this.show = false
245
+ },
246
+ // 将报表保存成文件
247
+ confirmReport () {
248
+ this.show = true
249
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
250
+ },
251
+ },
252
+ watch: {
253
+ 'data' (val) {
254
+ if (val.f_files_path) {
255
+ this.getFileContent(val.f_files_path)
256
+ } else {
257
+ this.reportStr = null
258
+ }
259
+ }
260
+ },
261
+ computed: {
262
+ usertypes() {
263
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
264
+ },
265
+ inputtor() {
266
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
267
+ },
268
+ }
269
+ }
270
+ </script>
271
+ <style scoped>
272
+ .noborder{
273
+ border: none;
274
+ }
275
+ </style>
@@ -0,0 +1,355 @@
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-3">
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-3">
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
+ <div class="col-sm-3">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-3">
34
+ <label class="font_normal_body">用户所属公司</label>
35
+ <res-select restype='organization'
36
+ @res-select="$parent.$parent.getRess"
37
+ :initresid="$parent.$parent.curorgid">
38
+ </res-select>
39
+ </div>
40
+ <div class="col-sm-3 ">
41
+ <label class="font_normal_body">用户分类</label>
42
+ <v-select :value.sync="model.f_user_type"
43
+ @change="$parent.$parent.userTypeChange"
44
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
45
+ condition="uf.f_user_type = '{}'"
46
+ close-on-select></v-select>
47
+ </div>
48
+ <div class="col-sm-3 ">
49
+ <label class="font_normal_body">用户类型</label>
50
+ <v-select :value.sync="model.f_user_mold"
51
+ @change="$parent.$parent.userMoldChange"
52
+ :options='$parent.$parent.usermold' placeholder='请选择' v-model="model.f_user_mold"
53
+ condition="uf.f_user_mold = '{}'"
54
+ close-on-select></v-select>
55
+ </div>
56
+ <div class="col-sm-3 ">
57
+ <label class="font_normal_body">用气性质</label>
58
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
59
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
60
+ condition="uf.f_gasproperties = '{}'"
61
+ close-on-select></v-select>
62
+ </div>
63
+ </div>
64
+ <div class="row" style="text-align: right">
65
+ <div class="span col-sm-3"></div>
66
+ <div class="span col-sm-3"></div>
67
+ <div class="span col-sm-3"></div>
68
+ <div class="span col-sm-3" style="text-align: right;">
69
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
70
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
71
+ <report-excel id='gasprice'
72
+ v-if="$parent.$parent.jurisdiction.includes('excel导出')"
73
+ ></report-excel>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </criteria>
78
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
79
+ <table class='tableprint' style="margin: 0px auto">
80
+ <thead>
81
+ <tr>
82
+ <th colspan='7' style="font-weight: normal; text-align: left;">
83
+ <h3 style="text-align: center">咸阳财务收费报表(新)</h3>
84
+ </th>
85
+ </tr>
86
+ <tr>
87
+ <th colspan='8' style="font-weight: normal; text-align: center;">
88
+ 开始时间:{{ model.model.startDate }}&nbsp;&nbsp;&nbsp;
89
+ 结束时间:{{ model.model.endDate }}
90
+ </th>
91
+ </tr>
92
+ <tr>
93
+ <th colspan='8' style="font-weight: normal; text-align: center;">
94
+ 打印时间:{{{ $parent.printTime }}}
95
+ </th>
96
+ </tr>
97
+ <tr>
98
+ <th colspan='8' style="font-weight: normal; text-align: center;">
99
+ <div>
100
+ <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
101
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
102
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
103
+ </div>
104
+ </th>
105
+ </tr>
106
+ </thead>
107
+ <tr>
108
+ <td colspan='12'>
109
+ {{{ model.data.substring(26, model.data.length - 8) }}}
110
+ </td>
111
+ </tr>
112
+ <tfoot>
113
+ <tr style="text-align: left">
114
+ <th colspan='3'>财务审核:</th>
115
+ <th colspan='3'>收款审核:</th>
116
+ <th colspan='1'>收款员:</th>
117
+ </tr>
118
+ </tfoot>
119
+ </table>
120
+ {{{ $parent.reportStr }}}
121
+ </div>
122
+ </criteria-paged>
123
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
124
+ <header slot="modal-header" class="modal-header">
125
+ <h4 class="modal-title">输入文件名称</h4>
126
+ </header>
127
+ <article slot="modal-body" class="modal-body">
128
+ <div class="form-group">
129
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
130
+ </div>
131
+ </article>
132
+ <footer slot="modal-footer" class="modal-footer">
133
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
134
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
135
+ </footer>
136
+ </modal>
137
+ </div>
138
+ </template>
139
+
140
+ <script>
141
+ import {DataModel} from 'vue-client'
142
+ import co from 'co'
143
+ import * as Util from "../../Util";
144
+
145
+ let saveFile = function* (self) {
146
+ // 线验证文件是否重名
147
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
148
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
149
+ {resolveMsg: null, rejectMsg: null})
150
+ if (count.data.length > 0) {
151
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
152
+ return
153
+ }
154
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {
155
+ f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
156
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
157
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
158
+ f_outlets: this.$login.f.depname
159
+ })
160
+ if (saveBack.data.status === 'succeed') {
161
+ self.show = false
162
+ self.filename = ''
163
+ // 后台保存完成,通知刷新
164
+ self.$dispatch('save-success', self.filename)
165
+ }
166
+ }
167
+ export default {
168
+ title: '咸阳财务收费报表(新)',
169
+ props: ['data'],
170
+ data() {
171
+ return {
172
+ printTime: this.$login.toStandardTimeString(),
173
+ depresid: [],
174
+ userresid: [],
175
+ gasproperties: [],
176
+ usermold: [],
177
+ curorgid: [this.$login.f.orgid],
178
+ f_orgid: this.$login.f.orgid,
179
+ f_orgid_other: this.$login.f.orgid,
180
+ f_depid: this.$login.f.depids,
181
+ f_operatorid: this.$login.f.id,
182
+ jurisdiction: this.$login.r,
183
+ operatorid: [],
184
+ depid: [],
185
+ orgname: '',
186
+ depname: '',
187
+ operatorname: '',
188
+ f_inputtor: [],
189
+ f_user_type: '',
190
+ orgCondtionStr: '1=1',
191
+ model: new DataModel('rs/report/咸阳财务收费新报表(总计)', {
192
+ startDate: 'this.model.startDate', endDate: 'this.model.endDate',
193
+ f_orgid: 'this.model.f_orgid',
194
+ f_orgid_other: 'this.model.f_orgid_other',
195
+ userCondition: 'this.model.userCondition'
196
+ }),
197
+ reportStr: null,
198
+ show: false,
199
+ userCondition: ' 1 = 1 '
200
+ }
201
+ },
202
+ ready() {
203
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
204
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
205
+ // this.$refs.paged.$refs.criteria.search()
206
+ console.log(this.$login.f)
207
+ },
208
+ methods: {
209
+ userTypeChange() {
210
+ this.usermold = []
211
+ this.f_gasproperties = []
212
+ if (this.$refs.paged.$refs.criteria.model !== null) {
213
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
214
+ this.$refs.paged.$refs.criteria.model.f_user_mold = ''
215
+ this.usermold = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
216
+ } else {
217
+ this.usermold = [{label: '全部', value: ''}]
218
+ }
219
+ },
220
+ userMoldChange() {
221
+ this.gasproperties = []
222
+ if (this.$refs.paged.$refs.criteria.model !== null) {
223
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
224
+ if (this.$refs.paged.$refs.criteria.model.f_user_mold[0] === '居民') {
225
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0] + this.$refs.paged.$refs.criteria.model.f_user_mold[0])
226
+ return
227
+ }
228
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_mold[0])
229
+ } else {
230
+ this.gasproperties = [{label: '全部', value: ''}]
231
+ }
232
+ },
233
+ getRes(obj) {
234
+ this.orgname = obj.res[0]
235
+ this.depresid = obj.resids
236
+ this.f_orgid = obj.resids
237
+ this.f_orgid_other = obj.resids
238
+ },
239
+ getdep(obj, val) {
240
+ // this.depname = val[0]
241
+ this.userresid = obj
242
+ this.f_depid = obj
243
+ },
244
+ getuser(obj, val) {
245
+ this.operatorname = val[0]
246
+ this.f_operatorid = obj
247
+ },
248
+ getRess(obj) {
249
+ if (obj.length > 0) {
250
+ this.userCondition = ` info.f_orgid in ${Util.convertToIn(obj)} `
251
+ } else {
252
+ this.userCondition = ' 1 = 1 '
253
+ }
254
+ },
255
+ searchData() {
256
+ this.$refs.paged.$refs.criteria.search()
257
+ },
258
+ selfSearch(args) {
259
+ this.printTime = this.$login.toStandardTimeString()
260
+ let orgcondition = '1=1'
261
+ let orgConditionOther = '1=1'
262
+ if (this.f_orgid[0]) {
263
+ var id = this.f_orgid.toString()
264
+ var ids = id.split(',')
265
+ console.log('几个公司:' + ids.length)
266
+ var orgids = ''
267
+ var f_orgids = ''
268
+ if (ids.length == 1) {
269
+ orgcondition += " and s.F_PAYMENT != '银行'"
270
+ f_orgids += "'" + ids[0] + "'"
271
+ } else {
272
+ for (var i = 0; i < ids.length; i++) {
273
+ console.log('id = ' + ids[i])
274
+ orgids += "'" + ids[i] + "',"
275
+ }
276
+ f_orgids = orgids.substring(0, orgids.length - 1)
277
+ }
278
+
279
+ orgcondition += " and s.f_orgid in ( " + f_orgids + " ) "
280
+ console.log('f_orgids:' + f_orgids)
281
+ }
282
+ if (this.f_orgid_other[0]) {
283
+ var id = this.f_orgid.toString()
284
+ var ids = id.split(',')
285
+ console.log('几个公司:' + ids.length)
286
+ var orgids = ''
287
+ var f_orgids = ''
288
+ if (ids.length == 1) {
289
+ orgConditionOther += " and 1= 1"
290
+ f_orgids += "'" + ids[0] + "'"
291
+ } else {
292
+ for (var i = 0; i < ids.length; i++) {
293
+ console.log('id = ' + ids[i])
294
+ orgids += "'" + ids[i] + "',"
295
+ }
296
+ f_orgids = orgids.substring(0, orgids.length - 1)
297
+ }
298
+ orgConditionOther += " and f_orgid in ( " + f_orgids + " ) "
299
+ console.log('f_orgids:' + f_orgids)
300
+ }
301
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
302
+ this.$refs.paged.$refs.criteria.model.f_orgid_other = orgConditionOther
303
+ this.$refs.paged.$refs.criteria.model.userCondition = this.userCondition
304
+ this.$refs.paged.search(args)
305
+ },
306
+ // 根据文件路径获取储存的报表内容
307
+ getFileContent(path) {
308
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {
309
+ resolveMsg: null,
310
+ rejectMsg: null
311
+ }).then((res) => {
312
+ this.reportStr = res.data.filecontent
313
+ this.model.state = '正确'
314
+ })
315
+ },
316
+ confirm() {
317
+ if (!this.filename || this.filename === '') {
318
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
319
+ }
320
+ let saveGen = saveFile(this)
321
+ co(saveGen)
322
+ },
323
+ close() {
324
+ this.show = false
325
+ },
326
+ // 将报表保存成文件
327
+ confirmReport() {
328
+ this.show = true
329
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
330
+ },
331
+ },
332
+ watch: {
333
+ 'data'(val) {
334
+ if (val.f_files_path) {
335
+ this.getFileContent(val.f_files_path)
336
+ } else {
337
+ this.reportStr = null
338
+ }
339
+ }
340
+ },
341
+ computed: {
342
+ usertypes() {
343
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
344
+ },
345
+ inputtor() {
346
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
347
+ },
348
+ }
349
+ }
350
+ </script>
351
+ <style scoped>
352
+ .noborder {
353
+ border: none;
354
+ }
355
+ </style>
@@ -279,4 +279,14 @@ export default function () {
279
279
  Vue.component('order-center', (resolve) => {
280
280
  require(['./components/SellReport/OrderCenter'], resolve)
281
281
  })
282
+
283
+ // 咸阳财务收费统计报表
284
+ Vue.component('xian-yang-new-charge', (resolve) => {
285
+ require(['./components/SellReport/XianYangNewCharge'], resolve)
286
+ })
287
+
288
+ // 咸阳智慧厨房统计报表
289
+ Vue.component('smart-kitchen-summary', (resolve) => {
290
+ require(['./components/SellReport/smartKitchenSummary'], resolve)
291
+ })
282
292
  }
File without changes