manage-client 3.2.158 → 3.2.160
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.
- package/build/dev-server.js +176 -176
- package/package.json +1 -1
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/FlotsamChargeQuery.vue +187 -0
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/filiale/meihekou/ChargeQuery.vue +7 -2
- package/src/filiale/qianneng/QnChaobiaomingxi.vue +690 -0
- package/src/filiale/qianneng/QnChaobiaoyhhz.vue +582 -0
- package/src/filiale/qianneng/QnChaobiaoyqxzhz.vue +551 -0
- package/src/filiale/qianneng/QnOtherReport.vue +55 -0
- package/src/filiale/qianneng/QnWeiyuejingmx.vue +574 -0
- package/src/filiale/qianneng/exportConfig.js +21 -0
- package/src/filiale/qianneng/reportManage.js +24 -1
- package/src/main.js +66 -66
- package/src/saleManage.js +4 -0
package/build/dev-server.js
CHANGED
|
@@ -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://192.168.50.4:8400'
|
|
17
|
-
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu =
|
|
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: fuwu
|
|
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://192.168.50.4:8400'
|
|
17
|
+
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
+
var fuwu = 'http://192.168.50.4: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: fuwu
|
|
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
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
<tabs header="其他收费查询" v-if="permission('其他收费查询')">
|
|
23
23
|
<other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
|
|
24
24
|
</tabs>
|
|
25
|
+
<tabs header="垃圾处理费查询" v-if="permission('垃圾处理费查询')">
|
|
26
|
+
<flotsamprice-query v-if="show.includes('垃圾处理费查询')" @deal-msg="dealMsg" :data="data"></flotsamprice-query>
|
|
27
|
+
</tabs>
|
|
25
28
|
<tabs header="其他收费欠费查询" v-if="permission('其他收费欠费查询')">
|
|
26
29
|
<other-charge-nopay-query v-if="show.includes('其他收费欠费查询')" @deal-msg="dealMsg" :data="data"></other-charge-nopay-query>
|
|
27
30
|
</tabs>
|
|
@@ -0,0 +1,187 @@
|
|
|
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
|
+
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="f_operate_date >= '{}'">
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_operate_date <= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">客户编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body">客户名称</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</criteria>
|
|
47
|
+
|
|
48
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
49
|
+
<template partial='head'>
|
|
50
|
+
<tr>
|
|
51
|
+
<th>
|
|
52
|
+
<nobr>客户编号</nobr>
|
|
53
|
+
</th>
|
|
54
|
+
<th>
|
|
55
|
+
<nobr>客户名称</nobr>
|
|
56
|
+
</th>
|
|
57
|
+
<th>
|
|
58
|
+
<nobr>客户电话</nobr>
|
|
59
|
+
</th>
|
|
60
|
+
<th>
|
|
61
|
+
<nobr>收费类型</nobr>
|
|
62
|
+
</th>
|
|
63
|
+
<th>
|
|
64
|
+
<nobr>单价</nobr>
|
|
65
|
+
</th>
|
|
66
|
+
<th>
|
|
67
|
+
<nobr>收费金额</nobr>
|
|
68
|
+
</th>
|
|
69
|
+
<th>
|
|
70
|
+
<nobr>垃圾费生成时间</nobr>
|
|
71
|
+
</th>
|
|
72
|
+
<th>
|
|
73
|
+
<nobr>收费时间</nobr>
|
|
74
|
+
</th>
|
|
75
|
+
<th>
|
|
76
|
+
<nobr>人员</nobr>
|
|
77
|
+
</th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>部门</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>公司</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
</tr>
|
|
85
|
+
</template>
|
|
86
|
+
<template partial='body'>
|
|
87
|
+
<td style="text-align: center;">
|
|
88
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
89
|
+
</td>
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
92
|
+
</td>
|
|
93
|
+
<td style="text-align: center;">
|
|
94
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
95
|
+
</td>
|
|
96
|
+
<td style="text-align: center;">
|
|
97
|
+
<nobr>{{row.f_price_type}}</nobr>
|
|
98
|
+
</td>
|
|
99
|
+
<td style="text-align: center;">
|
|
100
|
+
<nobr>{{row.f_price}}</nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr>{{row.f_money}}</nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr>{{row.f_hand_date}}</nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr>{{row.f_depname}}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
119
|
+
</td>
|
|
120
|
+
</template>
|
|
121
|
+
<template partial='foot'></template>
|
|
122
|
+
</data-grid>
|
|
123
|
+
</criteria-paged>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
</template>
|
|
130
|
+
|
|
131
|
+
<script>
|
|
132
|
+
import {PagedList} from 'vue-client'
|
|
133
|
+
let readySomething = async function (self) {
|
|
134
|
+
self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
|
|
135
|
+
self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
|
|
136
|
+
}
|
|
137
|
+
export default {
|
|
138
|
+
props:['data'],
|
|
139
|
+
title: '垃圾费查询',
|
|
140
|
+
data() {
|
|
141
|
+
return {
|
|
142
|
+
data: {},
|
|
143
|
+
model: new PagedList('rs/sql/flotsampriceChargeQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " 'f_operate_date desc'"}),
|
|
144
|
+
orgCondtionStr: '',
|
|
145
|
+
//排序
|
|
146
|
+
orderitem:'f_operate_date desc',
|
|
147
|
+
show:false
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
ready() {
|
|
151
|
+
readySomething(this).then(() => {
|
|
152
|
+
this.$emit('ready')
|
|
153
|
+
}).catch((error) => {
|
|
154
|
+
this.$emit('error', error)
|
|
155
|
+
})
|
|
156
|
+
},
|
|
157
|
+
methods: {
|
|
158
|
+
search(){
|
|
159
|
+
this.$refs.paged.$refs.cri.search()
|
|
160
|
+
},
|
|
161
|
+
async selfSearch(args) {
|
|
162
|
+
if (this.data) {
|
|
163
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
164
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
165
|
+
}
|
|
166
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
167
|
+
await this.model.search(args.condition, args.model)
|
|
168
|
+
|
|
169
|
+
},
|
|
170
|
+
clear() {
|
|
171
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
172
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
173
|
+
})
|
|
174
|
+
},
|
|
175
|
+
cancel() {
|
|
176
|
+
this.show = false
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
computed: {
|
|
180
|
+
getCondition() {
|
|
181
|
+
return {
|
|
182
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
183
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
</script>
|
|
@@ -276,7 +276,7 @@ export default{
|
|
|
276
276
|
'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_user_name': '客户名称', 'f_address': '客户地址', 'f_user_phone': '客户电话', 'f_meter_classify': '气表类型',
|
|
277
277
|
'f_meter_brand': '气表品牌',
|
|
278
278
|
'f_bill_number': '收据票号', 'f_brand_spec': '收费类型', 'f_typename': '品名规格',
|
|
279
|
-
'f_typenumber': '型号', 'f_unitprice': '单价', 'f_number': '数量',
|
|
279
|
+
'f_typenumber': '型号', 'f_unitprice': '单价', 'f_number': '数量','hushu':'户数',
|
|
280
280
|
'f_money': '收款', 'f_payment': '付款方式', 'f_state': '状态', 'f_operate_date': '收费日期',
|
|
281
281
|
'f_service_person': '服务人员', 'f_comments': '备注',
|
|
282
282
|
'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
dep:[],
|
|
830
830
|
user:[]
|
|
831
831
|
},
|
|
832
|
-
model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
|
|
832
|
+
model: new PagedList('rs/sql/chargeQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate',orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`},{
|
|
833
833
|
f_pregas: 0,
|
|
834
834
|
f_preamount: 0,
|
|
835
835
|
f_delaypay: 0,
|
|
@@ -1034,7 +1034,12 @@
|
|
|
1034
1034
|
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
1035
1035
|
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1037
|
+
if (!this.$refs.paged.$refs.cri.model.startDate){
|
|
1038
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
1039
|
+
}
|
|
1040
|
+
if (!this.$refs.paged.$refs.cri.model.endDate){
|
|
1041
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.$login.toStandardDateString() + ' 23:59:59'
|
|
1042
|
+
}
|
|
1038
1043
|
let f_orgstr = this.orgCondtionStr
|
|
1039
1044
|
args.condition = `${args.condition} ` + f_orgstr
|
|
1040
1045
|
if(this.card!=''){
|