sale-client 3.5.171 → 3.5.172
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 +201 -201
- package/package.json +1 -1
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +31 -17
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +2 -1
- package/src/filiale/rongchuang/CardMeterCenter.vue +36 -7
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -1,201 +1,201 @@
|
|
|
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://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400'
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
// var fuwu = 'http://192.168.50.4:8450'
|
|
16
|
-
// 梅河口
|
|
17
|
-
// var fuwu = 'http://139.214.92.34:8301'
|
|
18
|
-
// 单县
|
|
19
|
-
// var fuwu = 'http://119.187.112.234:8400'
|
|
20
|
-
// 中盛
|
|
21
|
-
// var fuwu = 'http://39.99.85.14:8400'
|
|
22
|
-
// 燎原
|
|
23
|
-
var fuwu = 'http://121.
|
|
24
|
-
// 葛华
|
|
25
|
-
// var fuwu = 'http://219.138.226.181:8401'
|
|
26
|
-
// 乌海
|
|
27
|
-
// var fuwu = 'http://203.57.101.233:8400'
|
|
28
|
-
// 铜川
|
|
29
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
30
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
31
|
-
// 韶关
|
|
32
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
33
|
-
// 巩义测试服务
|
|
34
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
35
|
-
// 燎原测试服务
|
|
36
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
37
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
38
|
-
|
|
39
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
40
|
-
|
|
41
|
-
var proxyTable = {
|
|
42
|
-
// '/'
|
|
43
|
-
// '/rs/logic/stopBasicLivingNew':{
|
|
44
|
-
// target:'http://127.0.0.1:8080'
|
|
45
|
-
// },
|
|
46
|
-
// '/rs/logic/getBatchOperaPro':{
|
|
47
|
-
// target:'http://127.0.0.1:8080'
|
|
48
|
-
// },
|
|
49
|
-
// '/rs/sql/sale_getUser':{
|
|
50
|
-
// target:'http://127.0.0.1:8080'
|
|
51
|
-
// },
|
|
52
|
-
// '/rs/logic/getOperBtns':{
|
|
53
|
-
// target:'http://127.0.0.1:8080'
|
|
54
|
-
// },
|
|
55
|
-
// '/rs/file/uploadFile':{
|
|
56
|
-
// target:'http://127.0.0.1:8080'
|
|
57
|
-
// },
|
|
58
|
-
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
59
|
-
// target:'http://127.0.0.1:8080'
|
|
60
|
-
// },
|
|
61
|
-
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
62
|
-
// target:'http:127.0.0.1:8080'
|
|
63
|
-
// },
|
|
64
|
-
// '/rs/sql/getDownPlan':{
|
|
65
|
-
// target:'http:127.0.0.1:8080'
|
|
66
|
-
// },
|
|
67
|
-
// '/rs/logic/saleExport': {
|
|
68
|
-
// target: fuwu
|
|
69
|
-
// },
|
|
70
|
-
// '/rs/logic/saleGetExportProgress': {
|
|
71
|
-
// target: fuwu
|
|
72
|
-
// },
|
|
73
|
-
// '/rs/logic/getWarningMsg': {
|
|
74
|
-
// target: 'http://localhost:8080/'
|
|
75
|
-
// },
|
|
76
|
-
'/rs/file': {
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/files': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
// 查找资源服务数据
|
|
83
|
-
'/rs/search': {
|
|
84
|
-
target: fuwu
|
|
85
|
-
},
|
|
86
|
-
// 查找资源服务数据
|
|
87
|
-
'/rs/logic/getLogin': {
|
|
88
|
-
target: fuwu
|
|
89
|
-
},
|
|
90
|
-
// 查找资源服务数据
|
|
91
|
-
'/rs/logic/getInitData': {
|
|
92
|
-
target: fuwu
|
|
93
|
-
},
|
|
94
|
-
'/rs/logic/getSaleInitData': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/invoice': {
|
|
98
|
-
target: fuwu
|
|
99
|
-
},
|
|
100
|
-
// 用户登录服务地址
|
|
101
|
-
'/rs/user': {
|
|
102
|
-
target: fuwu
|
|
103
|
-
},
|
|
104
|
-
'/rs/path/getParams': {
|
|
105
|
-
target: fuwu
|
|
106
|
-
},
|
|
107
|
-
'/rs/data': {
|
|
108
|
-
target: fuwu
|
|
109
|
-
},
|
|
110
|
-
'/rs/license': {
|
|
111
|
-
target: fuwu
|
|
112
|
-
},
|
|
113
|
-
'/rs/db': {
|
|
114
|
-
target: fuwu
|
|
115
|
-
},
|
|
116
|
-
'/excel': {
|
|
117
|
-
target: fuwu
|
|
118
|
-
},
|
|
119
|
-
'/rs/config': {
|
|
120
|
-
target: fuwu
|
|
121
|
-
},
|
|
122
|
-
'/rs/sql/getLicenseById': {
|
|
123
|
-
target: fuwu
|
|
124
|
-
},
|
|
125
|
-
'/rs/sql/manage_getarealist': {
|
|
126
|
-
target: fuwu
|
|
127
|
-
},
|
|
128
|
-
'/rs/sql/manage_getstreetlist': {
|
|
129
|
-
target: fuwu
|
|
130
|
-
},
|
|
131
|
-
'/rs/report': {
|
|
132
|
-
target: 'http://121.36.106.17:8400/'
|
|
133
|
-
},
|
|
134
|
-
'/rs/vue': {
|
|
135
|
-
target: fuwu
|
|
136
|
-
},
|
|
137
|
-
'/webmeter': {
|
|
138
|
-
target: 'http://192.168.50.4:8450'
|
|
139
|
-
},
|
|
140
|
-
'/rs': {
|
|
141
|
-
// target: 'http://192.168.30.63:8081/'
|
|
142
|
-
// target: 'http://121.36.106.17:8400/'
|
|
143
|
-
target: fuwu
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
148
|
-
publicPath: config.output.publicPath,
|
|
149
|
-
stats: {
|
|
150
|
-
colors: true,
|
|
151
|
-
chunks: false
|
|
152
|
-
}
|
|
153
|
-
})
|
|
154
|
-
|
|
155
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
156
|
-
// force page reload when html-webpack-plugin template changes
|
|
157
|
-
compiler.plugin('compilation', function (compilation) {
|
|
158
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
159
|
-
hotMiddleware.publish({action: 'reload'})
|
|
160
|
-
cb()
|
|
161
|
-
})
|
|
162
|
-
})
|
|
163
|
-
|
|
164
|
-
// proxy api requests
|
|
165
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
166
|
-
var options = proxyTable[context]
|
|
167
|
-
if (typeof options === 'string') {
|
|
168
|
-
options = {target: options}
|
|
169
|
-
}
|
|
170
|
-
app.use(proxyMiddleware(context, options))
|
|
171
|
-
})
|
|
172
|
-
|
|
173
|
-
// handle fallback for HTML5 history API
|
|
174
|
-
app.use(require('connect-history-api-fallback')())
|
|
175
|
-
// app.use(function (req, res, next) {
|
|
176
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
177
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
178
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
179
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
180
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
181
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
182
|
-
// next()
|
|
183
|
-
// })
|
|
184
|
-
|
|
185
|
-
// serve webpack bundle output
|
|
186
|
-
app.use(devMiddleware)
|
|
187
|
-
|
|
188
|
-
// enable hot-reload and state-preserving
|
|
189
|
-
// compilation error display
|
|
190
|
-
app.use(hotMiddleware)
|
|
191
|
-
|
|
192
|
-
// serve pure static assets
|
|
193
|
-
app.use('/static', express.static('./static'))
|
|
194
|
-
|
|
195
|
-
module.exports = app.listen(8089, function (err) {
|
|
196
|
-
if (err) {
|
|
197
|
-
console.log(err)
|
|
198
|
-
return
|
|
199
|
-
}
|
|
200
|
-
console.log('Listening at http://localhost:8089')
|
|
201
|
-
})
|
|
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://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
// var fuwu = 'http://192.168.50.4:8450'
|
|
16
|
+
// 梅河口
|
|
17
|
+
// var fuwu = 'http://139.214.92.34:8301'
|
|
18
|
+
// 单县
|
|
19
|
+
// var fuwu = 'http://119.187.112.234:8400'
|
|
20
|
+
// 中盛
|
|
21
|
+
// var fuwu = 'http://39.99.85.14:8400'
|
|
22
|
+
// 燎原
|
|
23
|
+
var fuwu = 'http://121.36.106.17:8400'
|
|
24
|
+
// 葛华
|
|
25
|
+
// var fuwu = 'http://219.138.226.181:8401'
|
|
26
|
+
// 乌海
|
|
27
|
+
// var fuwu = 'http://203.57.101.233:8400'
|
|
28
|
+
// 铜川
|
|
29
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
30
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
31
|
+
// 韶关
|
|
32
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
33
|
+
// 巩义测试服务
|
|
34
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
35
|
+
// 燎原测试服务
|
|
36
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
37
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
38
|
+
|
|
39
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
40
|
+
|
|
41
|
+
var proxyTable = {
|
|
42
|
+
// '/'
|
|
43
|
+
// '/rs/logic/stopBasicLivingNew':{
|
|
44
|
+
// target:'http://127.0.0.1:8080'
|
|
45
|
+
// },
|
|
46
|
+
// '/rs/logic/getBatchOperaPro':{
|
|
47
|
+
// target:'http://127.0.0.1:8080'
|
|
48
|
+
// },
|
|
49
|
+
// '/rs/sql/sale_getUser':{
|
|
50
|
+
// target:'http://127.0.0.1:8080'
|
|
51
|
+
// },
|
|
52
|
+
// '/rs/logic/getOperBtns':{
|
|
53
|
+
// target:'http://127.0.0.1:8080'
|
|
54
|
+
// },
|
|
55
|
+
// '/rs/file/uploadFile':{
|
|
56
|
+
// target:'http://127.0.0.1:8080'
|
|
57
|
+
// },
|
|
58
|
+
// '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
|
|
59
|
+
// target:'http://127.0.0.1:8080'
|
|
60
|
+
// },
|
|
61
|
+
// '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
|
|
62
|
+
// target:'http:127.0.0.1:8080'
|
|
63
|
+
// },
|
|
64
|
+
// '/rs/sql/getDownPlan':{
|
|
65
|
+
// target:'http:127.0.0.1:8080'
|
|
66
|
+
// },
|
|
67
|
+
// '/rs/logic/saleExport': {
|
|
68
|
+
// target: fuwu
|
|
69
|
+
// },
|
|
70
|
+
// '/rs/logic/saleGetExportProgress': {
|
|
71
|
+
// target: fuwu
|
|
72
|
+
// },
|
|
73
|
+
// '/rs/logic/getWarningMsg': {
|
|
74
|
+
// target: 'http://localhost:8080/'
|
|
75
|
+
// },
|
|
76
|
+
'/rs/file': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/files': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
// 查找资源服务数据
|
|
83
|
+
'/rs/search': {
|
|
84
|
+
target: fuwu
|
|
85
|
+
},
|
|
86
|
+
// 查找资源服务数据
|
|
87
|
+
'/rs/logic/getLogin': {
|
|
88
|
+
target: fuwu
|
|
89
|
+
},
|
|
90
|
+
// 查找资源服务数据
|
|
91
|
+
'/rs/logic/getInitData': {
|
|
92
|
+
target: fuwu
|
|
93
|
+
},
|
|
94
|
+
'/rs/logic/getSaleInitData': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/invoice': {
|
|
98
|
+
target: fuwu
|
|
99
|
+
},
|
|
100
|
+
// 用户登录服务地址
|
|
101
|
+
'/rs/user': {
|
|
102
|
+
target: fuwu
|
|
103
|
+
},
|
|
104
|
+
'/rs/path/getParams': {
|
|
105
|
+
target: fuwu
|
|
106
|
+
},
|
|
107
|
+
'/rs/data': {
|
|
108
|
+
target: fuwu
|
|
109
|
+
},
|
|
110
|
+
'/rs/license': {
|
|
111
|
+
target: fuwu
|
|
112
|
+
},
|
|
113
|
+
'/rs/db': {
|
|
114
|
+
target: fuwu
|
|
115
|
+
},
|
|
116
|
+
'/excel': {
|
|
117
|
+
target: fuwu
|
|
118
|
+
},
|
|
119
|
+
'/rs/config': {
|
|
120
|
+
target: fuwu
|
|
121
|
+
},
|
|
122
|
+
'/rs/sql/getLicenseById': {
|
|
123
|
+
target: fuwu
|
|
124
|
+
},
|
|
125
|
+
'/rs/sql/manage_getarealist': {
|
|
126
|
+
target: fuwu
|
|
127
|
+
},
|
|
128
|
+
'/rs/sql/manage_getstreetlist': {
|
|
129
|
+
target: fuwu
|
|
130
|
+
},
|
|
131
|
+
'/rs/report': {
|
|
132
|
+
target: 'http://121.36.106.17:8400/'
|
|
133
|
+
},
|
|
134
|
+
'/rs/vue': {
|
|
135
|
+
target: fuwu
|
|
136
|
+
},
|
|
137
|
+
'/webmeter': {
|
|
138
|
+
target: 'http://192.168.50.4:8450'
|
|
139
|
+
},
|
|
140
|
+
'/rs': {
|
|
141
|
+
// target: 'http://192.168.30.63:8081/'
|
|
142
|
+
// target: 'http://121.36.106.17:8400/'
|
|
143
|
+
target: fuwu
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
148
|
+
publicPath: config.output.publicPath,
|
|
149
|
+
stats: {
|
|
150
|
+
colors: true,
|
|
151
|
+
chunks: false
|
|
152
|
+
}
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
156
|
+
// force page reload when html-webpack-plugin template changes
|
|
157
|
+
compiler.plugin('compilation', function (compilation) {
|
|
158
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
159
|
+
hotMiddleware.publish({action: 'reload'})
|
|
160
|
+
cb()
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
// proxy api requests
|
|
165
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
166
|
+
var options = proxyTable[context]
|
|
167
|
+
if (typeof options === 'string') {
|
|
168
|
+
options = {target: options}
|
|
169
|
+
}
|
|
170
|
+
app.use(proxyMiddleware(context, options))
|
|
171
|
+
})
|
|
172
|
+
|
|
173
|
+
// handle fallback for HTML5 history API
|
|
174
|
+
app.use(require('connect-history-api-fallback')())
|
|
175
|
+
// app.use(function (req, res, next) {
|
|
176
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
177
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
178
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
179
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
180
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
181
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
182
|
+
// next()
|
|
183
|
+
// })
|
|
184
|
+
|
|
185
|
+
// serve webpack bundle output
|
|
186
|
+
app.use(devMiddleware)
|
|
187
|
+
|
|
188
|
+
// enable hot-reload and state-preserving
|
|
189
|
+
// compilation error display
|
|
190
|
+
app.use(hotMiddleware)
|
|
191
|
+
|
|
192
|
+
// serve pure static assets
|
|
193
|
+
app.use('/static', express.static('./static'))
|
|
194
|
+
|
|
195
|
+
module.exports = app.listen(8089, function (err) {
|
|
196
|
+
if (err) {
|
|
197
|
+
console.log(err)
|
|
198
|
+
return
|
|
199
|
+
}
|
|
200
|
+
console.log('Listening at http://localhost:8089')
|
|
201
|
+
})
|
package/package.json
CHANGED
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
:options='$parent.$parent.insuranceType'
|
|
27
27
|
close-on-select clear-button>
|
|
28
28
|
</v-select>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body" for="f_days">到期天数内</label>
|
|
32
|
+
<input id="f_days" type="text" class="input_search" style="width: 60%" v-model="model.f_days"
|
|
33
|
+
condition="f_days < {}" placeholder='请输入天数到期天数之内'>
|
|
29
34
|
</div>
|
|
30
35
|
<div style="float: right">
|
|
31
36
|
<button class="button_search" @click="search()">查 询</button>
|
|
@@ -68,6 +73,9 @@
|
|
|
68
73
|
<th>
|
|
69
74
|
<nobr>客户姓名</nobr>
|
|
70
75
|
</th>
|
|
76
|
+
<th>
|
|
77
|
+
<nobr>客户地址</nobr>
|
|
78
|
+
</th>
|
|
71
79
|
<th>
|
|
72
80
|
<nobr>身份证号</nobr>
|
|
73
81
|
</th>
|
|
@@ -77,32 +85,33 @@
|
|
|
77
85
|
<th>
|
|
78
86
|
<nobr>费用类型</nobr>
|
|
79
87
|
</th>
|
|
88
|
+
<th>
|
|
89
|
+
<nobr>购买日期</nobr>
|
|
90
|
+
</th>
|
|
80
91
|
<th>
|
|
81
92
|
<nobr>到期日期</nobr>
|
|
82
93
|
</th>
|
|
83
94
|
<th>
|
|
84
|
-
<nobr
|
|
95
|
+
<nobr>保费开始日期</nobr>
|
|
85
96
|
</th>
|
|
86
97
|
<th>
|
|
87
|
-
<nobr
|
|
98
|
+
<nobr>上期保费截至日期</nobr>
|
|
88
99
|
</th>
|
|
89
100
|
<th>
|
|
90
|
-
<nobr
|
|
101
|
+
<nobr>到期剩余天数</nobr>
|
|
91
102
|
</th>
|
|
92
103
|
<th>
|
|
93
|
-
<nobr
|
|
104
|
+
<nobr>金额</nobr>
|
|
94
105
|
</th>
|
|
95
106
|
<th>
|
|
96
|
-
<nobr
|
|
107
|
+
<nobr>收款方式</nobr>
|
|
97
108
|
</th>
|
|
98
109
|
<th>
|
|
99
|
-
<nobr
|
|
110
|
+
<nobr>状态</nobr>
|
|
100
111
|
</th>
|
|
101
112
|
<th>
|
|
102
|
-
<nobr
|
|
113
|
+
<nobr>缴费时间</nobr>
|
|
103
114
|
</th>
|
|
104
|
-
|
|
105
|
-
|
|
106
115
|
<th>
|
|
107
116
|
<nobr>确认书编号</nobr>
|
|
108
117
|
</th>
|
|
@@ -128,6 +137,9 @@
|
|
|
128
137
|
<td style="text-align: center;">
|
|
129
138
|
<nobr>{{row.f_user_name}}</nobr>
|
|
130
139
|
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{row.f_address}}</nobr>
|
|
142
|
+
</td>
|
|
131
143
|
<td style="text-align: center;">
|
|
132
144
|
<nobr>{{row.f_idnumber}}</nobr>
|
|
133
145
|
</td>
|
|
@@ -137,31 +149,33 @@
|
|
|
137
149
|
<td style="text-align: center;">
|
|
138
150
|
<nobr>{{row.f_fee_type}}</nobr>
|
|
139
151
|
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr>{{row.f_buy_date}}</nobr>
|
|
154
|
+
</td>
|
|
140
155
|
<td style="text-align: center;">
|
|
141
156
|
<nobr>{{row.f_expiration_date}}</nobr>
|
|
142
157
|
</td>
|
|
143
158
|
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.
|
|
159
|
+
<nobr>{{row.f_shengxiao_date}}</nobr>
|
|
145
160
|
</td>
|
|
146
161
|
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.
|
|
162
|
+
<nobr>{{row.f_last_insexpiration_date}}</nobr>
|
|
148
163
|
</td>
|
|
149
164
|
<td style="text-align: center;">
|
|
150
|
-
<nobr>{{row.
|
|
165
|
+
<nobr>{{row.f_days > 0 ? row.f_days : '已到期'}}</nobr>
|
|
151
166
|
</td>
|
|
152
167
|
<td style="text-align: center;">
|
|
153
|
-
<nobr>{{row.
|
|
168
|
+
<nobr>{{row.f_money}}</nobr>
|
|
154
169
|
</td>
|
|
155
170
|
<td style="text-align: center;">
|
|
156
|
-
<nobr>{{row.
|
|
171
|
+
<nobr>{{row.f_payment}}</nobr>
|
|
157
172
|
</td>
|
|
158
173
|
<td style="text-align: center;">
|
|
159
|
-
<nobr>{{row.
|
|
174
|
+
<nobr>{{row.f_state}}</nobr>
|
|
160
175
|
</td>
|
|
161
176
|
<td style="text-align: center;">
|
|
162
|
-
<nobr>{{row.
|
|
177
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
163
178
|
</td>
|
|
164
|
-
|
|
165
179
|
<td style="text-align: center;">
|
|
166
180
|
<nobr>{{row.f_ok_number}}</nobr>
|
|
167
181
|
</td>
|
|
@@ -474,7 +474,8 @@
|
|
|
474
474
|
import axios from 'axios'
|
|
475
475
|
|
|
476
476
|
let loadParamGem = async function (self) {
|
|
477
|
-
|
|
477
|
+
self.$refs.paged.$refs.criteria.model.f_user_state = ['正常']
|
|
478
|
+
await self.$getConfig(self, 'UserFiles')
|
|
478
479
|
self.headers.username = Vue.$login.f.name
|
|
479
480
|
self.headers.username = Vue.$login.guid()
|
|
480
481
|
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
@@ -17,24 +17,30 @@
|
|
|
17
17
|
<div class="col-sm-4" v-if="row.f_collection_type == '按气量'"
|
|
18
18
|
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']">
|
|
19
19
|
<label for="f_pregas" class=" font_normal_body">*预购气量</label>
|
|
20
|
-
<input class="input_search" style="width:60%" type="number"
|
|
20
|
+
<input class="input_search" style="width:60%" type="number" :disabled="preDisable"
|
|
21
21
|
@blur="pregas()" v-model="model.f_pregas"
|
|
22
22
|
v-validate:f_pregas='{required: true, dctest: [maxgas, "<=" ]}' placeholder="预购气量"
|
|
23
23
|
v-next-el='sk'>
|
|
24
24
|
</div>
|
|
25
25
|
<div class="col-sm-4" v-if="row.f_collection_type == '按金额'">
|
|
26
26
|
<label for="f_pregas" class=" font_normal_body">*预购气量</label>
|
|
27
|
-
<input class="input_search" style="width:60%" type="number"
|
|
27
|
+
<input class="input_search" style="width:60%" type="number" :disabled="preDisable"
|
|
28
28
|
@blur="pregas()" v-model="model.f_pregas" placeholder="预购气量"
|
|
29
29
|
v-next-el='sk'>
|
|
30
30
|
</div>
|
|
31
31
|
<div class="col-sm-4"
|
|
32
|
-
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']"
|
|
32
|
+
:class="[$v.f_pregas.required || $v.f_pregas.dctest? 'has-error' : 'has-success']"
|
|
33
|
+
@mouseenter="onHover"
|
|
34
|
+
@mouseleave="onHoverOut"
|
|
35
|
+
>
|
|
33
36
|
<label for="f_pregas" class=" font_normal_body">*预购金额</label>
|
|
34
|
-
<input class="input_search" style="width:
|
|
35
|
-
@blur="preamount()" v-model="model.f_preamount"
|
|
37
|
+
<input class="input_search" style="width:40%" type="number"
|
|
38
|
+
@blur="preamount()" v-model="model.f_preamount" :disabled="preDisable"
|
|
36
39
|
v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ]}' placeholder="预购金额"
|
|
37
40
|
v-next-el='sk'>
|
|
41
|
+
<button class="button_clear btn-danger" style="margin: 5px 2px;padding: 2px 8px;background-color: #d9534f" v-show="resetShow" @click="resetParam()"
|
|
42
|
+
:disabled='!$v.valid || validateOk || !islegal || clickConfirm'>重置
|
|
43
|
+
</button>
|
|
38
44
|
</div><!--
|
|
39
45
|
<div class="col-sm-4" v-if="row.f_collection_type == '按气量'">
|
|
40
46
|
<label for="f_preamount" class=" font_normal_body"> 预购金额</label>
|
|
@@ -97,14 +103,14 @@
|
|
|
97
103
|
<div class="col-sm-4" v-if="row.f_collection_type === '按气量' && model.f_payment!='赠气'"
|
|
98
104
|
:class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">
|
|
99
105
|
<label for="f_collection" class=" font_normal_body">*收  款</label>
|
|
100
|
-
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
106
|
+
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection":disabled="preDisable"
|
|
101
107
|
v-validate:f_collection='{required: true, dctest: [(model.f_totalcost - 0), ">=" ] }'
|
|
102
108
|
v-el:sk v-scale="[model.f_totalcost, 4]">
|
|
103
109
|
</div>
|
|
104
110
|
<div class="col-sm-4" v-if="row.f_collection_type === '按气量' && model.f_payment=='赠气'"
|
|
105
111
|
:class="[$v.f_collection.required || $v.f_collection.dctest ? 'has-error' : 'has-success']">
|
|
106
112
|
<label for="f_collection" class=" font_normal_body">*收  款</label>
|
|
107
|
-
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection"
|
|
113
|
+
<input id="f_collection" class="input_search" style="width:60%" type="number" v-model="model.f_collection":disabled="preDisable"
|
|
108
114
|
v-el:sk v-scale="[model.f_totalcost, 4]">
|
|
109
115
|
</div>
|
|
110
116
|
<div class="col-sm-4" v-if="row.f_collection_type === '按金额'">
|
|
@@ -364,6 +370,7 @@
|
|
|
364
370
|
let asyncCardMeterCenter = async function (self) {
|
|
365
371
|
await self.$getConfig(self, 'CardMeterCenter')
|
|
366
372
|
console.log('卡表收费config', self.config)
|
|
373
|
+
console.log('row', self.row)
|
|
367
374
|
// 默认打印格式
|
|
368
375
|
if(self.row.f_paper_type){
|
|
369
376
|
self.model.f_print=self.row.f_paper_type instanceof Array ? self.row.f_paper_type : [self.row.f_paper_type ]
|
|
@@ -453,6 +460,8 @@
|
|
|
453
460
|
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
454
461
|
payment: '现金缴费'
|
|
455
462
|
},
|
|
463
|
+
resetShow: false,
|
|
464
|
+
preDisable: false,
|
|
456
465
|
model: {
|
|
457
466
|
f_purchase: 0,
|
|
458
467
|
f_payment: [],
|
|
@@ -583,6 +592,22 @@
|
|
|
583
592
|
}
|
|
584
593
|
},
|
|
585
594
|
methods: {
|
|
595
|
+
onHoverOut(){
|
|
596
|
+
this.resetShow = false
|
|
597
|
+
},
|
|
598
|
+
onHover(){
|
|
599
|
+
this.resetShow = true
|
|
600
|
+
},
|
|
601
|
+
resetParam(){
|
|
602
|
+
this.model.f_preamount = 0
|
|
603
|
+
this.model.f_pregas = 0
|
|
604
|
+
this.model.f_collection = 0
|
|
605
|
+
this.model.f_totalcost = 0
|
|
606
|
+
this.dymoney = 0
|
|
607
|
+
this.preDisable = false
|
|
608
|
+
this.pregas()
|
|
609
|
+
this.preamount()
|
|
610
|
+
},
|
|
586
611
|
checkInvoiceMsg () {
|
|
587
612
|
if (this.model.f_print[0] === '电子发票') {
|
|
588
613
|
if (!this.row.f_taxpayer_id) {
|
|
@@ -658,6 +683,7 @@
|
|
|
658
683
|
this.model.f_pregas = null
|
|
659
684
|
} else {
|
|
660
685
|
pregasGen(this)
|
|
686
|
+
this.preDisable = true
|
|
661
687
|
}
|
|
662
688
|
} catch (error) {
|
|
663
689
|
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
@@ -674,6 +700,9 @@
|
|
|
674
700
|
this.model.f_userinfo_id = this.row.f_userinfo_id
|
|
675
701
|
try {
|
|
676
702
|
preamountGen(this)
|
|
703
|
+
if (this.model.f_preamount>0&&this.model.f_preamount){
|
|
704
|
+
this.preDisable = true
|
|
705
|
+
}
|
|
677
706
|
} catch (error) {
|
|
678
707
|
this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
|
|
679
708
|
this.$dispatch('error', '发卡售气', this.model, error)
|