manage-client 3.2.78 → 3.2.79-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 (33) hide show
  1. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  3. package/build/dev-server.js +176 -176
  4. package/package.json +107 -101
  5. package/src/components/SellReport/OperatorCheckoutTwo.vue +210 -210
  6. package/src/components/sale/businessquery/ChargeQuery.vue +1276 -1277
  7. package/src/components/sale/config/exportConfig.js +925 -925
  8. package/src/components/sale/filesquery/RecordInfoQuery.vue +5 -4
  9. package/src/components/webmeter/gasStatistics/GasStatistics.vue +3 -8
  10. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  11. package/src/filiale/jinbin/exportConfig.js +1110 -0
  12. package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +1372 -0
  13. package/src/filiale/jinbin/sale.js +7 -0
  14. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  15. package/src/filiale/macheng/config/exportConfig.js +67 -67
  16. package/src/filiale/macheng/sale.js +11 -11
  17. package/src/main.js +66 -66
  18. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  19. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  20. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  21. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  22. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  23. package/build/tmp/jar/MANIFEST.MF +0 -2
  24. package/src/filiale/macheng/FxGasTable.vue +0 -236
  25. package/src/filiale/macheng/ManageBusSummary.vue +0 -224
  26. package/src/filiale/macheng/ManageDayGas.vue +0 -248
  27. package/src/filiale/macheng/ManageHandSellMoney.vue +0 -249
  28. package/src/filiale/macheng/ManageMonthGas.vue +0 -250
  29. package/src/filiale/macheng/ManageOtherCharge.vue +0 -251
  30. package/src/filiale/macheng/ManageSellType.vue +0 -287
  31. package/src/filiale/macheng/SellingTable.vue +0 -219
  32. package/src/filiale/macheng/UserBalanceReport.vue +0 -178
  33. package/src/filiale/macheng/reportManage.js +0 -19
@@ -1,219 +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='6' 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='6' 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='6' 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='6'>
63
- {{{ model.data.substring(26,model.data.length-8) }}}
64
- </td>
65
- </tr>
66
- <tfoot>
67
- <tr style="text-align: left">
68
- <th colspan='2'>财务审核:</th>
69
- <th colspan='2'>收款审核:</th>
70
- <th colspan='2'>收款员:</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/sellingTable', {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
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
163
- this.$refs.paged.search(args)
164
- },
165
- getRes (condition, obj) {
166
- this.orgCondtionStr = condition
167
- this.orgname = obj.orgnames[0]
168
- this.depname = obj.depnames[0]
169
- },
170
- getdep (obj, val) {
171
- this.depname = val[0]
172
- this.userresid = obj
173
- this.f_depid = obj
174
- },
175
- getuser (obj, val) {
176
- this.operatorname = val[0]
177
- this.f_operatorid = obj
178
- },
179
- // 根据文件路径获取储存的报表内容
180
- getFileContent (path) {
181
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
182
- this.reportStr = res.data.filecontent
183
- this.model.state = '正确'
184
- })
185
- },
186
- confirm () {
187
- if (!this.filename || this.filename === '') {
188
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
189
- }
190
- let saveGen = saveFile(this)
191
- co(saveGen)
192
- },
193
- close () {
194
- this.show = false
195
- },
196
- // 将报表保存成文件
197
- confirmReport () {
198
- this.show = true
199
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
200
- }
201
- },
202
- watch: {
203
- 'data' (val) {
204
- if (val.f_files_path) {
205
- this.getFileContent(val.f_files_path)
206
- } else {
207
- this.reportStr = null
208
- }
209
- }
210
- },
211
- computed: {
212
- }
213
- }
214
- </script>
215
- <style scoped>
216
- .noborder{
217
- border: none;
218
- }
219
- </style>
@@ -1,178 +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" >
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" >
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
- v-model="model.endDate"
21
- :value.sync="model.endDate"
22
- :disabled-days-of-Week="[]"
23
- :format="'yyyy-MM-dd HH:mm:ss'"
24
- :show-reset-button="reset">
25
- </datepicker>
26
- </div><!--
27
- <div class="col-sm-4 form-group" >
28
- <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
29
- <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
- </div>
31
- <div class="col-sm-4 form-group">
32
- <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
- <res-select id="dep" restype='department' style="width: 60%"
34
- is-mul="false"
35
- @res-select="$parent.$parent.getdep"
36
- :parentresid="$parent.$parent.depresid"
37
- :initresid='$parent.$parent.depid' >
38
- </res-select>
39
-
40
- </div>
41
- <div class="col-sm-4 form-group">
42
- <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
43
- <res-select id="oper" restype='user' style="width: 60%"
44
- is-mul="false"
45
- @res-select="$parent.$parent.getuser"
46
- :parentresid="$parent.$parent.userresid"
47
- :initresid='$parent.$parent.operatorid'>
48
- </res-select>
49
- </div>-->
50
- <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>
51
- </div>
52
- <div class="span" style = "float:right;">
53
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
54
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
55
- <report-excel id='gasprice'></report-excel>
56
- </div>
57
- </div>
58
- </criteria>
59
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
60
- <table class='tableprint' style="margin: 0px auto">
61
- <thead>
62
- <tr>
63
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
64
- <h3 style="text-align: center">{{$parent.data.f_report_name}}</h3>
65
- </th>
66
- </tr>
67
- <tr>
68
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
69
- 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
70
- 打印时间:{{$parent.printTime}}
71
- </th>
72
- </tr>
73
- <tr>
74
- <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
75
- <div>
76
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
77
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
78
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
79
- </div>
80
- </th>
81
- </tr>
82
- </thead>
83
- <tr>
84
- <td :colspan='$parent.tablen' class="noborder">
85
- {{{ model.data.substring(26,model.data.length-8) }}}
86
- </td>
87
- </tr>
88
- <tfoot>
89
- <tr style="text-align: left">
90
- <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
91
- <th :colspan='Math.round($parent.tablen/3)'>复核人:</th>
92
- <th :colspan='Math.round($parent.tablen/3)'>汇总人:</th>
93
- </tr>
94
- </tfoot>
95
- </table>
96
- </div>
97
- </criteria-paged>
98
- </div>
99
- </template>
100
-
101
- <script>
102
- import { DataModel } from 'vue-client'
103
-
104
- export default {
105
- title: '报表',
106
- props: ['data'],
107
- data () {
108
- return {
109
- printTime: this.$login.toStandardTimeString(),
110
- depresid: [],
111
- userresid: [],
112
- f_orgid: this.$login.f.orgid,
113
- f_depid: this.$login.f.depids,
114
- f_operatorid: this.$login.f.id,
115
- operatorid: [],
116
- depid: [],
117
- tablen: 0,
118
- orgname: '',
119
- depname: '',
120
- operatorname: '',
121
- orgCondtionStr: '1=1',
122
- model: new DataModel('rs/report/UserBalanceReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
123
- f_orgid: 'this.model.f_orgid'}),
124
- reportStr: null,
125
- resshow:['company','department','operator'],
126
- initres: {
127
- org: [this.$login.f.orgid],
128
- dep: [],
129
- user: []
130
- },
131
- show: false
132
- }
133
- },
134
- ready () {
135
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
136
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
137
- console.log(this.$login.f)
138
- },
139
- methods: {
140
- searchData () {
141
- this.$refs.paged.$refs.criteria.search()
142
- },
143
- selfSearch (args) {
144
- this.printTime = this.$login.toStandardTimeString()
145
- let orgstr = this.orgCondtionStr
146
- args.condition = `${args.condition} ` + orgstr
147
- this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
148
- this.$refs.paged.search(args)
149
- },
150
- getRes (condition, obj) {
151
- this.orgCondtionStr = condition
152
- this.orgname = obj.orgnames[0]
153
- this.depname = obj.depnames[0]
154
- },
155
- getdep (obj, val) {
156
- this.depname = val[0]
157
- this.userresid = obj
158
- this.f_depid = obj
159
- },
160
- getuser (obj, val) {
161
- this.operatorname = val[0]
162
- this.f_operatorid = obj
163
- }
164
- },
165
- watch: {
166
- 'model.data' (val) {
167
- this.tablen = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
168
- }
169
- },
170
- computed: {
171
- }
172
- }
173
- </script>
174
- <style scoped>
175
- .noborder{
176
- border: none;
177
- }
178
- </style>
@@ -1,19 +0,0 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- // 营业分项汇总报表
4
- 'manage-sell-type': (resolve) => { require(['./ManageSellType'], resolve) },
5
- //用户账户余额报表
6
- 'user-balance-report': (resolve) => { require(['./UserBalanceReport'], resolve) },
7
- 'manage-month-gas': (resolve) => { require(['./ManageMonthGas'], resolve) },
8
- 'manage-bus-summary': (resolve) => { require(['./ManageBusSummary'], resolve) },
9
- 'manage-hand-sell-money': (resolve) => { require(['./ManageHandSellMoney'], resolve) },
10
- 'manage-other-charge': (resolve) => { require(['./ManageOtherCharge'], resolve) },
11
- 'manage-day-gas': (resolve) => { require(['./ManageDayGas'], resolve) },
12
- 'selling-table': (resolve) => { require(['./SellingTable'], resolve) },
13
- 'fx-gas-table': (resolve) => { require(['./FxGasTable'], resolve) }
14
- }
15
- exports.specialComp = specialComp
16
-
17
-
18
-
19
-