manage-client 3.2.120 → 3.2.121

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.
@@ -1,176 +1,176 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan='http://119.146.1.106:8300/'
15
- var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://127.0.0.1:8090'
17
- // var bendi = 'http://172.168.1.11:9001'
18
- var fuwu = 'http://121.36.106.17:8400'
19
- // var fuwu = 'http://203.57.101.233:9001'
20
- var system = 'http://192.168.50.4:8400'
21
- //192.168.
22
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
23
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
24
- var proxyTable = {
25
- '/rs/logic/exportfile': {
26
- target: fuwu
27
- },
28
- '/files': {
29
- target: fuwu
30
- },
31
- // 查找资源服务数据
32
- '/rs/search': {
33
- target: fuwu
34
- },
35
- // 查找资源服务数据
36
- '/rs/logic/getLogin': {
37
- target: fuwu
38
- },
39
- // 查找资源服务数据
40
- '/rs/logic/getInitData': {
41
- target: fuwu
42
- },
43
- '/rs/logic/getSaleInitData':{
44
- target: fuwu
45
- },
46
- // 用户登录服务地址
47
- '/rs/user': {
48
- target: fuwu
49
- },
50
- '/rs/path/getParams': {
51
- target: fuwu
52
- },
53
- '/rs/data': {
54
- target: fuwu
55
- },
56
- '/rs/license': {
57
- target: fuwu
58
- },
59
- '/rs/db': {
60
- target: fuwu
61
- },
62
- '/excel': {
63
- target: fuwu
64
- },
65
- '/rs/config': {
66
- target: fuwu
67
- },
68
- '/rs/sql/getLicenseById': {
69
- target: fuwu
70
- },
71
- '/rs/report': {
72
- target: bendi
73
- },
74
- '/rs/vue': {
75
- target: fuwu
76
- },
77
- '/rs/file': {
78
- target: bendi
79
- },
80
- '/rs/logic/SumSettleFileImport': {
81
- target: 'http://127.0.0.1:8080'
82
- },
83
- '/rs': {
84
- target: bendi
85
- }
86
- }
87
-
88
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
89
- publicPath: config.output.publicPath,
90
- stats: {
91
- colors: true,
92
- chunks: false
93
- }
94
- })
95
-
96
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
97
- // force page reload when html-webpack-plugin template changes
98
- compiler.plugin('compilation', function (compilation) {
99
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
100
- hotMiddleware.publish({action: 'reload'})
101
- cb()
102
- })
103
- })
104
-
105
- // proxy api requests
106
- Object.keys(proxyTable).forEach(function (context) {
107
- var options = proxyTable[context]
108
- if (typeof options === 'string') {
109
- options = {target: options}
110
- }
111
- app.use(proxyMiddleware(context, options))
112
- })
113
-
114
- // handle fallback for HTML5 history API
115
- app.use(require('connect-history-api-fallback')())
116
- // app.use(function (req, res, next) {
117
- // res.header('Access-Control-Allow-Origin', '*')
118
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
119
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
120
- // res.header('X-Powered-By', '3,2,1')
121
- // res.header('Access-Control-Allow-Credentials', 'true')
122
- // res.header('Content-Type', 'application/json;charset=utf-8')
123
- // next()
124
- // })
125
-
126
- // serve webpack bundle output
127
- app.use(devMiddleware)
128
-
129
- // enable hot-reload and state-preserving
130
- // compilation error display
131
- app.use(hotMiddleware)
132
-
133
- // serve pure static assets
134
- app.use('/static', express.static('./static'))
135
-
136
- // app.all('/rs/*', function (req, res) {
137
- // proxy.web(req, res, {
138
- // target: 'http://127.0.0.1:8081/reports'
139
- // })
140
- // })
141
-
142
- // app.all('/rs/*', function (req, res) {
143
- // proxy.web(req, res, {
144
- // target: 'http://127.0.0.1:8081/ldap'
145
- // })
146
- // })
147
- // app.all('/excel/*', function (req, res) {
148
- // proxy.web(req, res, {
149
- // target: 'http://127.0.0.1:8081/charge'
150
- // })
151
- // })
152
-
153
- // app.all('/rs/*', function (req, res) {
154
- // proxy.web(req, res, {
155
- // target: 'http://127.0.0.1:82/charge'
156
- // })
157
- // })
158
-
159
- // app.all('/*', function (req, res) {
160
- // proxy.web(req, res, {
161
- // target: 'http://127.0.0.1:82'
162
- // })
163
- // })
164
- // app.all('/rs/user', function (req, res) {
165
- // proxy.web(req, res, {
166
- // target: 'http://127.0.0.1:82'
167
- // })
168
- // })
169
-
170
- module.exports = app.listen(8085, function (err) {
171
- if (err) {
172
- console.log(err)
173
- return
174
- }
175
- console.log('Listening at http://localhost:8085')
176
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
+ var shaoguan='http://119.146.1.106:8300/'
15
+ var qtx='http://36.103.222.144:6300/'
16
+ var bendi = 'http://127.0.0.1:8090'
17
+ // var bendi = 'http://172.168.1.11:9001'
18
+ var fuwu = 'http://121.36.106.17:8400'
19
+ // var fuwu = 'http://203.57.101.233:9001'
20
+ var system = 'http://192.168.50.4:8400'
21
+ //192.168.
22
+ // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
23
+ // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
24
+ var proxyTable = {
25
+ '/rs/logic/exportfile': {
26
+ target: fuwu
27
+ },
28
+ '/files': {
29
+ target: fuwu
30
+ },
31
+ // 查找资源服务数据
32
+ '/rs/search': {
33
+ target: fuwu
34
+ },
35
+ // 查找资源服务数据
36
+ '/rs/logic/getLogin': {
37
+ target: fuwu
38
+ },
39
+ // 查找资源服务数据
40
+ '/rs/logic/getInitData': {
41
+ target: fuwu
42
+ },
43
+ '/rs/logic/getSaleInitData':{
44
+ target: fuwu
45
+ },
46
+ // 用户登录服务地址
47
+ '/rs/user': {
48
+ target: fuwu
49
+ },
50
+ '/rs/path/getParams': {
51
+ target: fuwu
52
+ },
53
+ '/rs/data': {
54
+ target: fuwu
55
+ },
56
+ '/rs/license': {
57
+ target: fuwu
58
+ },
59
+ '/rs/db': {
60
+ target: fuwu
61
+ },
62
+ '/excel': {
63
+ target: fuwu
64
+ },
65
+ '/rs/config': {
66
+ target: fuwu
67
+ },
68
+ '/rs/sql/getLicenseById': {
69
+ target: fuwu
70
+ },
71
+ '/rs/report': {
72
+ target: bendi
73
+ },
74
+ '/rs/vue': {
75
+ target: fuwu
76
+ },
77
+ '/rs/file': {
78
+ target: bendi
79
+ },
80
+ '/rs/logic/SumSettleFileImport': {
81
+ target: 'http://127.0.0.1:8080'
82
+ },
83
+ '/rs': {
84
+ target: bendi
85
+ }
86
+ }
87
+
88
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
89
+ publicPath: config.output.publicPath,
90
+ stats: {
91
+ colors: true,
92
+ chunks: false
93
+ }
94
+ })
95
+
96
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
97
+ // force page reload when html-webpack-plugin template changes
98
+ compiler.plugin('compilation', function (compilation) {
99
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
100
+ hotMiddleware.publish({action: 'reload'})
101
+ cb()
102
+ })
103
+ })
104
+
105
+ // proxy api requests
106
+ Object.keys(proxyTable).forEach(function (context) {
107
+ var options = proxyTable[context]
108
+ if (typeof options === 'string') {
109
+ options = {target: options}
110
+ }
111
+ app.use(proxyMiddleware(context, options))
112
+ })
113
+
114
+ // handle fallback for HTML5 history API
115
+ app.use(require('connect-history-api-fallback')())
116
+ // app.use(function (req, res, next) {
117
+ // res.header('Access-Control-Allow-Origin', '*')
118
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
119
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
120
+ // res.header('X-Powered-By', '3,2,1')
121
+ // res.header('Access-Control-Allow-Credentials', 'true')
122
+ // res.header('Content-Type', 'application/json;charset=utf-8')
123
+ // next()
124
+ // })
125
+
126
+ // serve webpack bundle output
127
+ app.use(devMiddleware)
128
+
129
+ // enable hot-reload and state-preserving
130
+ // compilation error display
131
+ app.use(hotMiddleware)
132
+
133
+ // serve pure static assets
134
+ app.use('/static', express.static('./static'))
135
+
136
+ // app.all('/rs/*', function (req, res) {
137
+ // proxy.web(req, res, {
138
+ // target: 'http://127.0.0.1:8081/reports'
139
+ // })
140
+ // })
141
+
142
+ // app.all('/rs/*', function (req, res) {
143
+ // proxy.web(req, res, {
144
+ // target: 'http://127.0.0.1:8081/ldap'
145
+ // })
146
+ // })
147
+ // app.all('/excel/*', function (req, res) {
148
+ // proxy.web(req, res, {
149
+ // target: 'http://127.0.0.1:8081/charge'
150
+ // })
151
+ // })
152
+
153
+ // app.all('/rs/*', function (req, res) {
154
+ // proxy.web(req, res, {
155
+ // target: 'http://127.0.0.1:82/charge'
156
+ // })
157
+ // })
158
+
159
+ // app.all('/*', function (req, res) {
160
+ // proxy.web(req, res, {
161
+ // target: 'http://127.0.0.1:82'
162
+ // })
163
+ // })
164
+ // app.all('/rs/user', function (req, res) {
165
+ // proxy.web(req, res, {
166
+ // target: 'http://127.0.0.1:82'
167
+ // })
168
+ // })
169
+
170
+ module.exports = app.listen(8085, function (err) {
171
+ if (err) {
172
+ console.log(err)
173
+ return
174
+ }
175
+ console.log('Listening at http://localhost:8085')
176
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.120",
3
+ "version": "3.2.121",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -185,22 +185,22 @@
185
185
  汇总信息
186
186
  </td>
187
187
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
188
- 卡费:&emsp;{{sumsmodel.cardfee.toFixed(1)}}
188
+ 卡费:&emsp;{{sumsmodel.cardfee.toFixed(2)}}
189
189
  </td>
190
190
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
191
- 合计方量:&emsp;{{sumsmodel.f_pregas.toFixed(1)}}
191
+ 合计方量:&emsp;{{sumsmodel.f_pregas.toFixed(2)}}
192
192
  </td>
193
193
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
194
- 小计:{{sumsmodel.xiaoji.toFixed(1)}}
194
+ 小计:{{sumsmodel.xiaoji.toFixed(2)}}
195
195
  </td>
196
196
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
197
- 现金收入:&emsp;{{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(1)}}
197
+ 现金收入:&emsp;{{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(2)}}
198
198
  </td>
199
199
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
200
- 转账收入:&emsp;{{sumsmodel.zhuanzhang.toFixed(1)}}&emsp;
200
+ 转账收入:&emsp;{{sumsmodel.zhuanzhang.toFixed(2)}}&emsp;
201
201
  </td>
202
202
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
203
- 合计金额:&emsp;{{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(1)}}
203
+ 合计金额:&emsp;{{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(2)}}
204
204
  </td>
205
205
  </tr>
206
206
  </table>
@@ -90,6 +90,9 @@
90
90
  <tabs header="未抄表用户报表" v-if="permission('未抄表用户报表')">
91
91
  <unhand-business @deal-msg="dealMsg"></unhand-business>
92
92
  </tabs>
93
+ <tabs header="明细报表查询" v-if="permission('明细报表查询')">
94
+ <report-detail ></report-detail>
95
+ </tabs>
93
96
  </tab-button>
94
97
 
95
98
  </template>
@@ -100,9 +100,12 @@
100
100
  <th>
101
101
  <nobr>系统金额</nobr>
102
102
  </th>
103
+ <th>
104
+ <nobr>扎帐归属开始时间</nobr>
105
+ </th>
103
106
  <th>
104
107
  <!--<nobr>扎帐归属时间</nobr>-->
105
- <data-order field="f_end_date" name="扎帐归属时间" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
108
+ <data-order field="f_end_date" name="扎帐归属结束时间" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
106
109
  </th>
107
110
  <th>
108
111
  <!--<nobr>操作时间</nobr>-->
@@ -135,6 +138,9 @@
135
138
  <td style="text-align: center;">
136
139
  <nobr>{{row.f_report_fee}}</nobr>
137
140
  </td>
141
+ <td style="text-align: center;">
142
+ <nobr>{{row.f_start_date}}</nobr>
143
+ </td>
138
144
  <td style="text-align: center;">
139
145
  <nobr>{{row.f_end_date}}</nobr>
140
146
  </td>
@@ -0,0 +1,256 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
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 for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ format="yyyy-MM-dd HH:mm:ss"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ format="yyyy-MM-dd HH:mm:ss"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">客户编号</label>
29
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
30
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
31
+ </div>
32
+ <div class="span" style="float:right;">
33
+ <button class="button_search button_spacing" @click="search()">查询</button>
34
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
36
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
37
+ <export-excel :data="$parent.$parent.getCondition"
38
+ :field="$parent.$parent.getfield"
39
+ sqlurl="rs/logic/exportfile"
40
+ sql-name="reportDetail"
41
+ template-name='报表明细导出'
42
+ :choose-col="true"></export-excel>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
46
+ <div class="col-sm-2 form-group">
47
+ <label class="font_normal_body">支付流水号</label>
48
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
49
+ condition="f_serial_id = '{}'" placeholder="支付流水号">
50
+ </div>
51
+ <div class="col-sm-2 form-group">
52
+ <label class="font_normal_body">客户名称</label>
53
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
54
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
55
+ </div>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">用户电话</label>
58
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
59
+ placeholder="用户电话" condition="f_user_phone='{}'">
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">用户地址</label>
63
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
64
+ placeholder="地址" condition="f_address like '%{}%'">
65
+ </div>
66
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','department','operator']" v-ref:sel></res-select-group>
67
+ </div>
68
+ </div>
69
+ </criteria>
70
+
71
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
72
+ <template partial='head'>
73
+ <tr>
74
+ <th>
75
+ <nobr>用户编号</nobr>
76
+ </th>
77
+ <th>
78
+ <nobr>用户名称</nobr>
79
+ </th>
80
+ <th>
81
+ <nobr>用户地址</nobr>
82
+ </th>
83
+ <th>
84
+ <nobr>联系方式</nobr>
85
+ </th>
86
+ <th>
87
+ <nobr>用户类型</nobr>
88
+ </th>
89
+ <th>
90
+ <nobr>表号</nobr>
91
+ </th>
92
+ <th>
93
+ <nobr>支付流水号</nobr>
94
+ </th>
95
+ <th>
96
+ <nobr>收费类型</nobr>
97
+ </th>
98
+ <th>
99
+ <nobr>规格名称</nobr>
100
+ </th>
101
+ <th>
102
+ <nobr>型号</nobr>
103
+ </th>
104
+ <th>
105
+ <nobr>单价</nobr>
106
+ </th>
107
+ <th>
108
+ <nobr>数量</nobr>
109
+ </th>
110
+ <th>
111
+ <nobr>收款</nobr>
112
+ </th>
113
+ <th>
114
+ <nobr>付款方式</nobr>
115
+ </th>
116
+ <th>
117
+ <nobr>收费日期</nobr>
118
+ </th>
119
+ <th>
120
+ <nobr>状态</nobr>
121
+ </th>
122
+ <th>
123
+ <nobr>所属机构</nobr>
124
+ </th>
125
+ <th>
126
+ <nobr>部门</nobr>
127
+ </th>
128
+ <th>
129
+ <nobr>操作人</nobr>
130
+ </th>
131
+ </tr>
132
+ </template>
133
+ <template partial='body'>
134
+ <td style="text-align: center;">{{row.f_userinfo_code}}</td>
135
+ <td style="text-align: center;">{{row.f_user_name}}</td>
136
+ <td style="text-align: center;">{{row.f_address}}</td>
137
+ <td style="text-align: center;">{{row.f_user_phone}}</td>
138
+ <td style="text-align: center;">{{row.f_user_nature}}</td>
139
+ <td style="text-align: center;">{{row.f_meternumber}}</td>
140
+ <td style="text-align: center;">{{row.f_serial_id}}</td>
141
+ <td style="text-align: center;">{{row.f_type}}</td>
142
+ <td style="text-align: center;">{{row.f_brand_spec}}</td>
143
+ <td style="text-align: center;">{{row.f_typenumber}}</td>
144
+ <td style="text-align: center;">{{row.f_unitprice}}</td>
145
+ <td style="text-align: center;">{{row.f_number}}</td>
146
+ <td style="text-align: center;">{{row.f_collection}}</td>
147
+ <td style="text-align: center;">{{row.f_payment}}</td>
148
+ <td style="text-align: center;">{{row.f_operate_date}}</td>
149
+ <td style="text-align: center;">{{row.f_state}}</td>
150
+ <td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
151
+ <td style="text-align: center;">{{row.f_depname}}</td>
152
+ <td style="text-align: center;">{{row.f_operator}}</td>
153
+ </template>
154
+ </data-grid>
155
+ </criteria-paged>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ </template>
161
+ <script>
162
+ /**
163
+ *档案查询列表以及添加操作组件
164
+ */
165
+ import {PagedList} from 'vue-client'
166
+ import defaultPrint from '../config/DefaultPrint'
167
+ import exportConfig from '../config/exportConfig'
168
+
169
+ let readySomething = async function (self) {
170
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
171
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
172
+ }
173
+
174
+ export default {
175
+ title: '报表明细',
176
+ data() {
177
+ return {
178
+ rows: null,
179
+ criteriaShow: false,
180
+ model: new PagedList('rs/sql/reportDetail', 20,
181
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
182
+ orgCondtionStr: '',
183
+ getfield: '',
184
+ show:false,
185
+ rowdata:{},
186
+ initres: {
187
+ org:[this.$login.f.orgid],
188
+ dep:[],
189
+ user:[],
190
+ },
191
+ defaultfield: []
192
+ }
193
+ },
194
+ ready() {
195
+ debugger
196
+ readySomething(this).then(() => {
197
+ this.$emit('ready')
198
+ }).catch((error) => {
199
+ this.$emit('error', error)
200
+ })
201
+ },
202
+ methods: {
203
+ search(){
204
+ this.$refs.paged.$refs.cri.search()
205
+ },
206
+ selfSearch(args) {
207
+ if (this.data) {
208
+ this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
209
+ this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
210
+ }
211
+ args.condition = `${args.condition}` + this.orgCondtionStr
212
+ this.model.search(args.condition, args.model)
213
+ },
214
+ show() {
215
+ this.criteriaShow = true
216
+ },
217
+ cancel() {
218
+ this.show = false
219
+ },
220
+ hidden() {
221
+ this.criteriaShow = !this.criteriaShow
222
+ },
223
+ clear() {
224
+ //清空部门和人员
225
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
226
+ //部门和人员变为全选
227
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
228
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
229
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
230
+ this.$refs.paged.$refs.cri.model[key] = []
231
+ })
232
+ },
233
+ getRes(obj) {
234
+ this.orgCondtionStr = obj
235
+ }
236
+ },
237
+ watch: {
238
+
239
+ },
240
+ computed: {
241
+ getCondition() {
242
+ let result = {
243
+ condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
244
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
245
+ endDate: this.$refs.paged.$refs.cri.model.endDate
246
+ }
247
+
248
+ return result
249
+ },
250
+ getfield() {
251
+ return exportConfig.reportDetailConfig
252
+ }
253
+ }
254
+ }
255
+ </script>
256
+
@@ -666,7 +666,8 @@ export default{
666
666
  'f_operator': '操作员', 'f_operate_date': '时间', 'f_meternumber': '表号'
667
667
  },
668
668
  PrickBillConfig: {
669
- 'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额', 'f_end_date': '扎帐归属时间',
669
+ 'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额',
670
+ 'f_start_date': '扎帐归属开始时间', 'f_end_date': '扎帐归属结束时间',
670
671
  'f_operate_date': '操作时间', 'f_payment': '付款方式', 'f_state': '状态', 'f_orgname': '公司', 'f_depname': '部门',
671
672
  'f_operator': '操作员', 'f_remarks': '备注'
672
673
  },
@@ -1047,5 +1048,12 @@ export default{
1047
1048
  'itemname':'增值服务类型','yearstartdate':'上次购买时间','yearenddate':'本次购买时间',
1048
1049
  'f_orgname': '所属公司'
1049
1050
  },
1051
+ reportDetailConfig: {
1052
+ 'f_userinfo_code': '用户编号', 'f_user_name': '用户名称', 'f_address': '用户地址', 'f_user_phone': '联系方式',
1053
+ 'f_user_nature': '用户类型', 'f_meternumber': '表号', 'f_serial_id': '支付流水号',
1054
+ 'f_type': '收费类型', 'f_brand_spec': '规格名称', 'f_typenumber': '型号', 'f_unitprice': '单价','f_number': '数量',
1055
+ 'f_collection': '收款', 'f_payment': '付款方式', 'f_operate_date': '收费日期', 'f_state': '状态',
1056
+ 'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
1057
+ },
1050
1058
  }
1051
1059
 
package/src/saleManage.js CHANGED
@@ -576,6 +576,8 @@ export default function (filiale) {
576
576
  Vue.component('handplan-info',(resolve) =>{ require(['./components/sale/businessquery/handplan-info'], resolve)})
577
577
  // 未抄表用户报表
578
578
  Vue.component('unhand-business',(resolve) =>{ require(['./components/sale/businessquery/UnhandBusiness'], resolve)})
579
+ // 报表明细
580
+ Vue.component('report-detail',(resolve) =>{ require(['./components/sale/businessquery/reportDetail'], resolve)})
579
581
  // 分公司选择新组件,默认全选
580
582
  Vue.component('res-select-new', (resolve) => { require(['./filiale/tongchuan/ResSelectNew'], resolve)})
581
583
  // 分公司特殊页面注册替换