sale-client 3.5.28 → 3.5.29
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 +161 -161
- package/package.json +1 -1
- package/src/components/revenue/cardHandManage/cardDown.vue +15 -15
- package/src/components/revenue/invoiceuse/{ChargeList.vue → InvoiceChargeList.vue} +0 -0
- package/src/components/revenue/invoiceuse/InvoiceEntry.vue +2 -3
- package/src/components/webMeter/paramSave/ParamSet.vue +73 -74
- package/src/filiale/fugu/MeterinfoTest.vue +2 -2
- package/src/filiale/gongyi/charge/business/machine/MachineCharge.vue +1 -1
- package/src/filiale/gongyi/charge/business/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweDetailList.vue +3 -3
- package/src/filiale/gongyi/charge/business/machine/OweList.vue +2 -2
- package/src/filiale/gongyi/revenue/comprehen/ovdue/Overduetax.vue +8 -8
- package/src/filiale/gongyi/revenue/comprehen/ovdue/OverduetaxPrintBill.vue +1 -1
- package/src/filiale/gongyi/sale.js +1 -1
- package/src/filiale/guangxi/OtherGas.vue +1 -1
- package/src/filiale/jinjiang/MachineMeterCenter.vue +1 -1
- package/src/filiale/liaoyuan/Overduetax.vue +5 -5
- package/src/filiale/liaoyuan/sale.js +1 -1
- package/src/filiale/macheng/MachineMeterCenter.vue +1 -1
- package/src/filiale/meihekou/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +2 -2
- package/src/filiale/qianneng/MachineCharge.vue +1 -1
- package/src/filiale/qianneng/machine/ArrearsQuery.vue +3 -3
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +3 -3
- package/src/filiale/rizhao/ChargeQueryUser.vue +1 -1
- package/src/filiale/rizhao/MeterinfoTest.vue +2 -2
- package/src/filiale/rongchuang/handListMaintain.vue +2 -2
- package/src/filiale/shanggao/MeterinfoTest.vue +2 -2
- package/src/filiale/shaoguan/MachineMeterCenter.vue +3 -3
- package/src/filiale/wuhai/MeterinfoTest.vue +2 -2
- package/src/filiale/zhongyi/MeterinfoTest.vue +2 -2
- package/src/sale.js +6 -3
package/build/dev-server.js
CHANGED
|
@@ -1,161 +1,161 @@
|
|
|
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://
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
16
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
-
// 铜川正式
|
|
18
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
-
// 铜川测试
|
|
20
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
-
// 韶关
|
|
23
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
-
// 巩义测试服务
|
|
25
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
-
// 燎原测试服务
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
-
|
|
30
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
-
|
|
32
|
-
var proxyTable = {
|
|
33
|
-
'/rs/logic/saleExport': {
|
|
34
|
-
target: fuwu
|
|
35
|
-
},
|
|
36
|
-
'/rs/logic/saleGetExportProgress': {
|
|
37
|
-
target: fuwu
|
|
38
|
-
},
|
|
39
|
-
'/files': {
|
|
40
|
-
target: fuwu
|
|
41
|
-
},
|
|
42
|
-
// 查找资源服务数据
|
|
43
|
-
'/rs/search': {
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
// 查找资源服务数据
|
|
47
|
-
'/rs/logic/getLogin': {
|
|
48
|
-
target: fuwu
|
|
49
|
-
},
|
|
50
|
-
// 查找资源服务数据
|
|
51
|
-
'/rs/logic/getInitData': {
|
|
52
|
-
target: fuwu
|
|
53
|
-
},
|
|
54
|
-
'/rs/logic/getSaleInitData': {
|
|
55
|
-
target: fuwu
|
|
56
|
-
},
|
|
57
|
-
'/invoice': {
|
|
58
|
-
target: fuwu
|
|
59
|
-
},
|
|
60
|
-
// 用户登录服务地址
|
|
61
|
-
'/rs/user': {
|
|
62
|
-
target: fuwu
|
|
63
|
-
},
|
|
64
|
-
'/rs/path/getParams': {
|
|
65
|
-
target: fuwu
|
|
66
|
-
},
|
|
67
|
-
'/rs/data': {
|
|
68
|
-
target: fuwu
|
|
69
|
-
},
|
|
70
|
-
'/rs/license': {
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/rs/db': {
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
'/excel': {
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/rs/config': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
'/rs/sql/getLicenseById': {
|
|
83
|
-
target: fuwu
|
|
84
|
-
},
|
|
85
|
-
'/rs/sql/manage_getarealist': {
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/sql/manage_getstreetlist': {
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/rs/report': {
|
|
92
|
-
target: 'http://121.36.106.17:8400/'
|
|
93
|
-
},
|
|
94
|
-
'/rs/vue': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/webmeter': {
|
|
98
|
-
target:
|
|
99
|
-
},
|
|
100
|
-
'/rs': {
|
|
101
|
-
// target: 'http://192.168.30.63:8081/'
|
|
102
|
-
// target: 'http://121.36.106.17:8400/'
|
|
103
|
-
target: bendi
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
108
|
-
publicPath: config.output.publicPath,
|
|
109
|
-
stats: {
|
|
110
|
-
colors: true,
|
|
111
|
-
chunks: false
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
|
|
115
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
116
|
-
// force page reload when html-webpack-plugin template changes
|
|
117
|
-
compiler.plugin('compilation', function (compilation) {
|
|
118
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
119
|
-
hotMiddleware.publish({action: 'reload'})
|
|
120
|
-
cb()
|
|
121
|
-
})
|
|
122
|
-
})
|
|
123
|
-
|
|
124
|
-
// proxy api requests
|
|
125
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
126
|
-
var options = proxyTable[context]
|
|
127
|
-
if (typeof options === 'string') {
|
|
128
|
-
options = {target: options}
|
|
129
|
-
}
|
|
130
|
-
app.use(proxyMiddleware(context, options))
|
|
131
|
-
})
|
|
132
|
-
|
|
133
|
-
// handle fallback for HTML5 history API
|
|
134
|
-
app.use(require('connect-history-api-fallback')())
|
|
135
|
-
// app.use(function (req, res, next) {
|
|
136
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
-
// next()
|
|
143
|
-
// })
|
|
144
|
-
|
|
145
|
-
// serve webpack bundle output
|
|
146
|
-
app.use(devMiddleware)
|
|
147
|
-
|
|
148
|
-
// enable hot-reload and state-preserving
|
|
149
|
-
// compilation error display
|
|
150
|
-
app.use(hotMiddleware)
|
|
151
|
-
|
|
152
|
-
// serve pure static assets
|
|
153
|
-
app.use('/static', express.static('./static'))
|
|
154
|
-
|
|
155
|
-
module.exports = app.listen(8089, function (err) {
|
|
156
|
-
if (err) {
|
|
157
|
-
console.log(err)
|
|
158
|
-
return
|
|
159
|
-
}
|
|
160
|
-
console.log('Listening at http://localhost:8089')
|
|
161
|
-
})
|
|
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://39.108.82.124:8400/', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://39.108.82.124:8400/'
|
|
16
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
+
// 铜川正式
|
|
18
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
+
// 铜川测试
|
|
20
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
+
// 韶关
|
|
23
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
+
// 巩义测试服务
|
|
25
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
+
// 燎原测试服务
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
+
|
|
30
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
+
|
|
32
|
+
var proxyTable = {
|
|
33
|
+
'/rs/logic/saleExport': {
|
|
34
|
+
target: fuwu
|
|
35
|
+
},
|
|
36
|
+
'/rs/logic/saleGetExportProgress': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
'/files': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
// 查找资源服务数据
|
|
43
|
+
'/rs/search': {
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
// 查找资源服务数据
|
|
47
|
+
'/rs/logic/getLogin': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
// 查找资源服务数据
|
|
51
|
+
'/rs/logic/getInitData': {
|
|
52
|
+
target: fuwu
|
|
53
|
+
},
|
|
54
|
+
'/rs/logic/getSaleInitData': {
|
|
55
|
+
target: fuwu
|
|
56
|
+
},
|
|
57
|
+
'/invoice': {
|
|
58
|
+
target: fuwu
|
|
59
|
+
},
|
|
60
|
+
// 用户登录服务地址
|
|
61
|
+
'/rs/user': {
|
|
62
|
+
target: fuwu
|
|
63
|
+
},
|
|
64
|
+
'/rs/path/getParams': {
|
|
65
|
+
target: fuwu
|
|
66
|
+
},
|
|
67
|
+
'/rs/data': {
|
|
68
|
+
target: fuwu
|
|
69
|
+
},
|
|
70
|
+
'/rs/license': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/rs/db': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
'/excel': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/rs/config': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
'/rs/sql/getLicenseById': {
|
|
83
|
+
target: fuwu
|
|
84
|
+
},
|
|
85
|
+
'/rs/sql/manage_getarealist': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/sql/manage_getstreetlist': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/rs/report': {
|
|
92
|
+
target: 'http://121.36.106.17:8400/'
|
|
93
|
+
},
|
|
94
|
+
'/rs/vue': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/webmeter': {
|
|
98
|
+
target: fuwu
|
|
99
|
+
},
|
|
100
|
+
'/rs': {
|
|
101
|
+
// target: 'http://192.168.30.63:8081/'
|
|
102
|
+
// target: 'http://121.36.106.17:8400/'
|
|
103
|
+
target: bendi
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
108
|
+
publicPath: config.output.publicPath,
|
|
109
|
+
stats: {
|
|
110
|
+
colors: true,
|
|
111
|
+
chunks: false
|
|
112
|
+
}
|
|
113
|
+
})
|
|
114
|
+
|
|
115
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
116
|
+
// force page reload when html-webpack-plugin template changes
|
|
117
|
+
compiler.plugin('compilation', function (compilation) {
|
|
118
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
119
|
+
hotMiddleware.publish({action: 'reload'})
|
|
120
|
+
cb()
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
// proxy api requests
|
|
125
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
126
|
+
var options = proxyTable[context]
|
|
127
|
+
if (typeof options === 'string') {
|
|
128
|
+
options = {target: options}
|
|
129
|
+
}
|
|
130
|
+
app.use(proxyMiddleware(context, options))
|
|
131
|
+
})
|
|
132
|
+
|
|
133
|
+
// handle fallback for HTML5 history API
|
|
134
|
+
app.use(require('connect-history-api-fallback')())
|
|
135
|
+
// app.use(function (req, res, next) {
|
|
136
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
+
// next()
|
|
143
|
+
// })
|
|
144
|
+
|
|
145
|
+
// serve webpack bundle output
|
|
146
|
+
app.use(devMiddleware)
|
|
147
|
+
|
|
148
|
+
// enable hot-reload and state-preserving
|
|
149
|
+
// compilation error display
|
|
150
|
+
app.use(hotMiddleware)
|
|
151
|
+
|
|
152
|
+
// serve pure static assets
|
|
153
|
+
app.use('/static', express.static('./static'))
|
|
154
|
+
|
|
155
|
+
module.exports = app.listen(8089, function (err) {
|
|
156
|
+
if (err) {
|
|
157
|
+
console.log(err)
|
|
158
|
+
return
|
|
159
|
+
}
|
|
160
|
+
console.log('Listening at http://localhost:8089')
|
|
161
|
+
})
|
package/package.json
CHANGED
|
@@ -426,8 +426,8 @@ let readyGen = async function (self) {
|
|
|
426
426
|
let downGen = function* (type, condition, data, self) {
|
|
427
427
|
self.condition = condition
|
|
428
428
|
self.msg = '确认下发计划'
|
|
429
|
-
let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
-
|
|
429
|
+
// let getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {data: {startDate: self.startDate,
|
|
430
|
+
// condition: self.condition}}, {resolveMsg: null, rejectMsg: '获取待审核数据异常!!'})
|
|
431
431
|
// if (type === 'single') {
|
|
432
432
|
// getUnhand = yield Vue.resetpost('rs/sql/getUnhand', {
|
|
433
433
|
// data: {
|
|
@@ -461,19 +461,19 @@ let downGen = function* (type, condition, data, self) {
|
|
|
461
461
|
// console.log('========================================================================================')
|
|
462
462
|
// self.unhandplan.push(temp)
|
|
463
463
|
// }
|
|
464
|
-
for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
}
|
|
472
|
-
if (getUnhand.data.length > 0) {
|
|
473
|
-
|
|
474
|
-
} else {
|
|
475
|
-
|
|
476
|
-
}
|
|
464
|
+
// for (let i = 0; i < getUnhand.data.length; i++) {
|
|
465
|
+
// let temp = {
|
|
466
|
+
// id: getUnhand.data[i].id,
|
|
467
|
+
// f_user_id: getUnhand.data[i].f_user_id,
|
|
468
|
+
// f_userfiles_id: getUnhand.data[i].f_userfiles_id
|
|
469
|
+
// }
|
|
470
|
+
// self.unhandplan.push(temp)
|
|
471
|
+
// }
|
|
472
|
+
// if (getUnhand.data.length > 0) {
|
|
473
|
+
// self.msg = self.msg + `, 警告: 之前有 ${getUnhand.data.length} 条待审核数据`
|
|
474
|
+
// } else {
|
|
475
|
+
// self.unhandplan = []
|
|
476
|
+
// }
|
|
477
477
|
// console.log('1111111:',self.msg)
|
|
478
478
|
self.show = true
|
|
479
479
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id='InvoiceEntry' class="flex-row binary">
|
|
3
3
|
<div class="binary-left" v-if="sellgas">
|
|
4
|
-
<charge-list v-ref:charge_list></charge-list>
|
|
4
|
+
<invoice-charge-list v-ref:charge_list></invoice-charge-list>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="binary-right" v-if="sellgas">
|
|
7
7
|
<information-input v-if="InformationInputShow"></information-input>
|
|
@@ -13,14 +13,13 @@
|
|
|
13
13
|
</template>
|
|
14
14
|
|
|
15
15
|
<script>
|
|
16
|
-
import ChargeList from './ChargeList'
|
|
17
16
|
import InformationInput from './InformationInput'
|
|
18
17
|
import InvoiceInformationInput from './InvoiceInformationInput'
|
|
19
18
|
|
|
20
19
|
export default {
|
|
21
20
|
name: 'InvoiceEntry',
|
|
22
21
|
props: ['sellgas'],
|
|
23
|
-
components: {InformationInput,
|
|
22
|
+
components: {InformationInput, InvoiceInformationInput},
|
|
24
23
|
title: '发票信息录入',
|
|
25
24
|
data () {
|
|
26
25
|
return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<criteria :model='model' partial='criteria' v-ref:criteria @condition-changed='$parent.selfSearch'>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row">
|
|
7
|
-
<div class="col-sm-
|
|
7
|
+
<div class="col-sm-2">
|
|
8
8
|
<label class="font_normal_body" >气表协议类型</label>
|
|
9
9
|
<v-select style="width:60%" title="气表协议类型"
|
|
10
10
|
placeholder='气表协议类型'
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
close-on-select
|
|
16
16
|
:value-single="true" v-ref:brand> </v-select>
|
|
17
17
|
</div>
|
|
18
|
-
<div class="col-sm-
|
|
18
|
+
<div class="col-sm-2">
|
|
19
19
|
<label class="font_normal_body">气表品牌</label>
|
|
20
20
|
<v-select
|
|
21
21
|
placeholder='气表品牌'
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
condition="f_gasbrand_id = '{}'"
|
|
27
27
|
close-on-select></v-select>
|
|
28
28
|
</div>
|
|
29
|
-
<div class="col-sm-
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
30
|
<label class="font_normal_body">气表型号</label>
|
|
31
31
|
<v-select :value.sync="model.f_meter_style"
|
|
32
32
|
v-model="model.f_meter_style"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
condition="f_gasmodel_id = '{}'"
|
|
35
35
|
close-on-select></v-select>
|
|
36
36
|
</div>
|
|
37
|
-
<div class="col-sm-
|
|
37
|
+
<div class="col-sm-2 ">
|
|
38
38
|
<label class="font_normal_body">客户编号</label>
|
|
39
39
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search "
|
|
40
40
|
v-model="model.f_userinfo_code"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
-
<div class="col-sm-
|
|
55
|
+
<div class="col-sm-2 ">
|
|
56
56
|
<label class="font_normal_body">表 号 </label>
|
|
57
57
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
58
58
|
v-model="model.f_meternumber"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
condition="f_meternumber like '%{}%'"
|
|
61
61
|
>
|
|
62
62
|
</div>
|
|
63
|
-
<div class="col-sm-
|
|
63
|
+
<div class="col-sm-2 ">
|
|
64
64
|
<label class="font_normal_body">客户姓名</label>
|
|
65
65
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
66
66
|
v-model="model.f_user_name"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
condition="f_user_name like '%{}%'"
|
|
69
69
|
>
|
|
70
70
|
</div>
|
|
71
|
-
<div class="col-sm-
|
|
71
|
+
<div class="col-sm-2 ">
|
|
72
72
|
<label class="font_normal_body">小 区 </label>
|
|
73
73
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search"
|
|
74
74
|
v-model="model.f_residential_area"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
condition="f_residential_area like '%{}%'"
|
|
77
77
|
>
|
|
78
78
|
</div>
|
|
79
|
-
<div class="col-sm-
|
|
79
|
+
<div class="col-sm-2">
|
|
80
80
|
<label class="font_normal_body">用户类型</label>
|
|
81
81
|
<v-select
|
|
82
82
|
placeholder='用户类型'
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
</v-select>
|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
|
-
<div class="col-sm-
|
|
92
|
+
<div class="col-sm-2">
|
|
93
93
|
<label class="font_normal_body">用气性质</label>
|
|
94
94
|
<v-select
|
|
95
95
|
placeholder='用气性质'
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
</criteria>
|
|
107
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
107
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :optional="true">
|
|
108
108
|
<template partial='head'>
|
|
109
109
|
<tr>
|
|
110
|
-
<th style="text-align:center"
|
|
111
|
-
<nobr>全选</nobr
|
|
112
|
-
<input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'
|
|
113
|
-
@click="$parent.$parent.$parent.checkedALL()"
|
|
114
|
-
</th
|
|
110
|
+
<!-- <th style="text-align:center">-->
|
|
111
|
+
<!-- <nobr>全选</nobr>-->
|
|
112
|
+
<!-- <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'-->
|
|
113
|
+
<!-- @click="$parent.$parent.$parent.checkedALL()">-->
|
|
114
|
+
<!-- </th>-->
|
|
115
115
|
<!--<th >操作</th>-->
|
|
116
116
|
<th style="text-align:center">
|
|
117
117
|
<nobr>客户编号</nobr>
|
|
@@ -150,11 +150,8 @@
|
|
|
150
150
|
|
|
151
151
|
</tr>
|
|
152
152
|
</template>
|
|
153
|
-
<template partial='body'
|
|
153
|
+
<template partial='body'>
|
|
154
154
|
<tr>
|
|
155
|
-
<td style="text-align:center">
|
|
156
|
-
<input @keyup.enter="search" style="width:60%" type="checkbox" name="opertioninput"
|
|
157
|
-
@click="$parent.$parent.$parent.checked(row)"></td>
|
|
158
155
|
<!--<td>-->
|
|
159
156
|
<!--<button type="button" name="button" class="btn btn-link" v-if="row.f_user_state === '正常'"-->
|
|
160
157
|
<!--@click.stop="$parent.$parent.$parent.paramSet(row)">参数设置-->
|
|
@@ -354,8 +351,10 @@ export default {
|
|
|
354
351
|
},
|
|
355
352
|
showParam () {
|
|
356
353
|
this.conditionMsg = ''
|
|
357
|
-
if (
|
|
354
|
+
if (this.$refs.paged.$refs.grid.getRowData().length === 0) {
|
|
358
355
|
this.user = []
|
|
356
|
+
} else {
|
|
357
|
+
this.user = this.$refs.paged.$refs.grid.getRowData()
|
|
359
358
|
}
|
|
360
359
|
if (this.user.length === 0) {
|
|
361
360
|
this.$showMessage('是否要设置查询出来的所有表参数', ['confirm', 'cancel']).then((res) => {
|
|
@@ -400,19 +399,19 @@ export default {
|
|
|
400
399
|
closeParam () {
|
|
401
400
|
// this.$refs.form.row={}
|
|
402
401
|
this.showParame = !this.showParame
|
|
403
|
-
if (this.isCheckAll) {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
this.isCheckAll = false
|
|
402
|
+
// if (this.isCheckAll) {
|
|
403
|
+
this.map.clear()
|
|
404
|
+
this.user = []
|
|
405
|
+
// }
|
|
406
|
+
// this.isCheckAll = false
|
|
408
407
|
},
|
|
409
408
|
clear () {
|
|
410
409
|
this.$refs.form.paramtype = ''
|
|
411
|
-
this.isCheckAll = false
|
|
410
|
+
// this.isCheckAll = false
|
|
412
411
|
this.showParame = false
|
|
413
412
|
this.map.clear()
|
|
414
413
|
this.user = []
|
|
415
|
-
this.unCheckAll()
|
|
414
|
+
// this.unCheckAll()
|
|
416
415
|
this.search()
|
|
417
416
|
},
|
|
418
417
|
selfSearch (args) {
|
|
@@ -422,14 +421,14 @@ export default {
|
|
|
422
421
|
this.condition = args.condition
|
|
423
422
|
this.model.search(args.condition, args.model)
|
|
424
423
|
}
|
|
425
|
-
this.isCheckAll = false
|
|
424
|
+
// this.isCheckAll = false
|
|
426
425
|
},
|
|
427
426
|
showparam (setable) {
|
|
428
427
|
this.setable = setable
|
|
429
428
|
if (!setable) {
|
|
430
429
|
this.map.clear()
|
|
431
430
|
this.user = []
|
|
432
|
-
this.isCheckAll = false
|
|
431
|
+
// this.isCheckAll = false
|
|
433
432
|
}
|
|
434
433
|
},
|
|
435
434
|
search () {
|
|
@@ -467,42 +466,42 @@ export default {
|
|
|
467
466
|
getRes (obj) {
|
|
468
467
|
this.orgcondition = obj
|
|
469
468
|
},
|
|
470
|
-
unCheckAll () {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
checkedALL () {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
},
|
|
483
|
-
checked (val) {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
},
|
|
469
|
+
// unCheckAll () {
|
|
470
|
+
// let box = document.getElementsByName('opertioninput')
|
|
471
|
+
// for (var i = 0; i < box.length; i++) {
|
|
472
|
+
// box[i].checked = false
|
|
473
|
+
// }
|
|
474
|
+
// },
|
|
475
|
+
// checkedALL () {
|
|
476
|
+
// this.checked1 = !this.checked1
|
|
477
|
+
// let box = document.getElementsByName('opertioninput')
|
|
478
|
+
// for (var i = 0; i < box.length; i++) {
|
|
479
|
+
// box[i].checked = this.checked1
|
|
480
|
+
// }
|
|
481
|
+
// },
|
|
482
|
+
// checked (val) {
|
|
483
|
+
// let userid = val.f_userfiles_id
|
|
484
|
+
// if (this.map.has(userid)) {
|
|
485
|
+
// this.map.delete(userid)
|
|
486
|
+
// /* 遍历数组,然后根据选中的状态获取对应的下标,然后进行删除 */
|
|
487
|
+
// for (let i = 0; i < this.user.length; i++) {
|
|
488
|
+
// if (val.f_userfiles_id === this.user[i].f_userfiles_id) {
|
|
489
|
+
// this.user.splice(i, 1)
|
|
490
|
+
// }
|
|
491
|
+
// }
|
|
492
|
+
// } else {
|
|
493
|
+
// this.user.push(val)
|
|
494
|
+
// this.map.set(userid, {
|
|
495
|
+
// id: null,
|
|
496
|
+
// f_user_id: userid,
|
|
497
|
+
// f_alias: val.f_alias,
|
|
498
|
+
// f_userinfo_id: val.f_userinfo_id,
|
|
499
|
+
// f_orgname: val.f_orgname,
|
|
500
|
+
// f_orgid: val.f_orgid,
|
|
501
|
+
// f_meternumber: val.f_meternumber
|
|
502
|
+
// })
|
|
503
|
+
// }
|
|
504
|
+
// },
|
|
506
505
|
showModal (val) {
|
|
507
506
|
this.val1 = val
|
|
508
507
|
this.isShowUserException = true
|
|
@@ -559,16 +558,16 @@ export default {
|
|
|
559
558
|
this.$refs.paged.$refs.criteria.model.f_gasbrand_id = val[0]
|
|
560
559
|
this.search()
|
|
561
560
|
}
|
|
562
|
-
},
|
|
563
|
-
'checked1' (val) {
|
|
564
|
-
if (val) {
|
|
565
|
-
this.user = this.model.rows
|
|
566
|
-
this.mapset(this.model.rows)
|
|
567
|
-
} else {
|
|
568
|
-
this.map.clear()
|
|
569
|
-
this.user = []
|
|
570
|
-
}
|
|
571
561
|
}
|
|
562
|
+
// 'checked1' (val) {
|
|
563
|
+
// if (val) {
|
|
564
|
+
// this.user = this.model.rows
|
|
565
|
+
// this.mapset(this.model.rows)
|
|
566
|
+
// } else {
|
|
567
|
+
// this.map.clear()
|
|
568
|
+
// this.user = []
|
|
569
|
+
// }
|
|
570
|
+
// }
|
|
572
571
|
}
|
|
573
572
|
}
|
|
574
573
|
</script>
|
|
@@ -324,9 +324,9 @@
|
|
|
324
324
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
325
325
|
</div>
|
|
326
326
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
327
|
-
<label class="font_normal_body"
|
|
327
|
+
<label class="font_normal_body">违约金规则</label>
|
|
328
328
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
329
|
-
:options='overdueset' placeholder='
|
|
329
|
+
:options='overdueset' placeholder='违约金规则'
|
|
330
330
|
close-on-select></v-select>
|
|
331
331
|
</div>
|
|
332
332
|
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
this.model.f_collection = this.config.floor ? Math.floor(this.model.f_totalcost - 0) : this.model.f_totalcost
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
//
|
|
151
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
152
152
|
getMaxIndex (val) {
|
|
153
153
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
154
154
|
return val.findIndex((item) => { return item.f_oughtfee < 0 })
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<input class="input_search" style="width:60%" type="number" v-model="newOverdue"
|
|
36
36
|
v-scale="[newOverdue,2]" placeholder="违约金"
|
|
37
37
|
disabled>
|
|
38
|
-
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('
|
|
38
|
+
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>-->
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="row" style="padding-top: 0.5em;" >
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
|
|
135
135
|
<!--<header slot="modal-header" class="modal-header">-->
|
|
136
136
|
<!--<button type="button" class="close" @click="closeOverdue"><span>×</span></button>-->
|
|
137
|
-
<!--<h4 class="modal-title"
|
|
137
|
+
<!--<h4 class="modal-title">修改违约金</h4>-->
|
|
138
138
|
<!--</header>-->
|
|
139
139
|
<!--<article slot="modal-body" class="modal-body">-->
|
|
140
140
|
<!--<validator name='m'>-->
|
|
@@ -300,7 +300,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
300
300
|
validateOk: false,
|
|
301
301
|
handid: '',
|
|
302
302
|
showOverdueModal: false,
|
|
303
|
-
editOverdue: this.$login.r.includes('
|
|
303
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
304
304
|
paytype: [],
|
|
305
305
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
306
306
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
5
5
|
|
|
6
6
|
<header slot="modal-header" class="modal-header" style="text-align: center">
|
|
7
|
-
<h4 class="modal-title"
|
|
7
|
+
<h4 class="modal-title">违约金详情</h4>
|
|
8
8
|
</header>
|
|
9
9
|
<article slot="modal-body" class="modal-body">
|
|
10
10
|
<data-grid :model="row" partial='list' v-ref:grid>
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
<tr>
|
|
13
13
|
<th><nobr>序号</nobr></th>
|
|
14
14
|
<th><nobr>日期</nobr></th>
|
|
15
|
-
<th><nobr
|
|
15
|
+
<th><nobr>违约天数</nobr></th>
|
|
16
16
|
<th><nobr>公式</nobr></th>
|
|
17
|
-
<th><nobr
|
|
17
|
+
<th><nobr>违约金额</nobr></th>
|
|
18
18
|
</tr>
|
|
19
19
|
</template>
|
|
20
20
|
<template partial='body'>
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<td>{{row.day1}}</td>
|
|
88
88
|
<td>{{row.day2}}</td>
|
|
89
89
|
<td v-if="row.overdue > 0">
|
|
90
|
-
<button class="btn btn-info" @click="$parent.$parent.showOweDetail(row.overdueDetail)"
|
|
90
|
+
<button class="btn btn-info" @click="$parent.$parent.showOweDetail(row.overdueDetail)">违约金详情</button>
|
|
91
91
|
</td>
|
|
92
92
|
</tr>
|
|
93
93
|
</template>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
pages: [],
|
|
130
130
|
selectAll: true,
|
|
131
131
|
isDetail: false,
|
|
132
|
-
//
|
|
132
|
+
// 违约金详情
|
|
133
133
|
overdueDetail: {rows: []},
|
|
134
134
|
selectedRows: 0// 初始化选中的行数
|
|
135
135
|
}
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
<th>本期指数</th>
|
|
42
42
|
<th>抄表日期</th>
|
|
43
43
|
<th>欠费金额</th>
|
|
44
|
-
<th
|
|
45
|
-
<th
|
|
44
|
+
<th>违约天数</th>
|
|
45
|
+
<th>违约金金额</th>
|
|
46
46
|
<th>减免金额</th>
|
|
47
47
|
<th>减免后金额</th>
|
|
48
48
|
<th>操作</th>
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
<td style="text-align: center;">{{row.f_oughtfee}}</td>
|
|
60
60
|
<td style="text-align: center;">{{row.overduedays}}</td>
|
|
61
61
|
<td style="text-align: center;">{{row.f_overdue}}</td>
|
|
62
|
-
|
|
62
|
+
<!--根据违约金金额是否显示减免金额输入框-->
|
|
63
63
|
<div class="form-group" style="margin-bottom:0px;display: contents;"
|
|
64
64
|
:class="{'has-error has-feedback': row.error}"
|
|
65
65
|
v-if="row.overdue>0">
|
|
66
66
|
<!--根据减免金额显示输入框 @blur="$parent.$parent.$parent.beforenter(row)"-->
|
|
67
|
-
<input title="
|
|
67
|
+
<input title="违约金减免" type="text" class="input_search" v-model="row.f_remission_late_fee_vue"
|
|
68
68
|
@blur="$parent.$parent.$parent.beforenter(row)"
|
|
69
69
|
v-next-el="{id: $index+1}" :id="$index"
|
|
70
70
|
style="width: 100px;padding: 6px;"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
<script>
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* 巩义违约金减免页面
|
|
94
94
|
*/
|
|
95
95
|
import Vue from 'vue'
|
|
96
96
|
import {DataModel, HttpResetClass} from 'vue-client'
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
export default {
|
|
100
100
|
components: {OverduetaxPrintBill},
|
|
101
|
-
title: '
|
|
101
|
+
title: '违约金减免',
|
|
102
102
|
data () {
|
|
103
103
|
return {
|
|
104
104
|
curorgid: [this.$login.f.orgid],
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
return
|
|
163
163
|
}
|
|
164
164
|
if (row.f_remission_late_fee_vue > row.overdue) {
|
|
165
|
-
this.$showMessage('
|
|
165
|
+
this.$showMessage('减免金额不能大于违约金')
|
|
166
166
|
row.f_remission_late_fee_vue = ''
|
|
167
167
|
return
|
|
168
168
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
// f_end_date: row.f_end_date,
|
|
189
189
|
f_userinfo_code: row.f_userinfo_code
|
|
190
190
|
}
|
|
191
|
-
let res = await http.load('POST', 'rs/logic/overDueTaxun', handplan, {resolveMsg: null, rejectMsg: '
|
|
191
|
+
let res = await http.load('POST', 'rs/logic/overDueTaxun', handplan, {resolveMsg: null, rejectMsg: '减免违约金出错'})
|
|
192
192
|
this.$refs.paged.$refs.cri.search()
|
|
193
193
|
}
|
|
194
194
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="auto form-horizontal">
|
|
3
3
|
<modal :show.sync="show" large backdrop="false">
|
|
4
4
|
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title"
|
|
5
|
+
<h3 style="color:black" class="modal-title">违约金减免单</h3>
|
|
6
6
|
</header>
|
|
7
7
|
<article slot="modal-body" class="modal-body">
|
|
8
8
|
<validator name='v'>
|
|
@@ -16,7 +16,7 @@ let specialComp = {
|
|
|
16
16
|
'gongyi-chargeManage': (resolve) => { require(['./charge/ChargeManage'], resolve) },
|
|
17
17
|
'change-meter': (resolve) => { require(['./revenue/changemeter/ChangeMeter'], resolve) },
|
|
18
18
|
'card-hand': (resolve) => { require(['./HandManager/CardHand'], resolve) },
|
|
19
|
-
//
|
|
19
|
+
// 违约金减免页面
|
|
20
20
|
'overdue_tax': (resolve) => { require(['./revenue/comprehen/ovdue/Overduetax'], resolve) },
|
|
21
21
|
// 机表收费
|
|
22
22
|
'machine-meter-center': (resolve) => { require(['./charge/business/machine/MachineMeterCenter'], resolve) },
|
|
@@ -171,7 +171,7 @@ let otherGasGen = async function (self) {
|
|
|
171
171
|
} else {
|
|
172
172
|
try {
|
|
173
173
|
// 写卡操作
|
|
174
|
-
let cardParams = await self.$resetpost('rs/logic/stairCard', {data: {f_card_id: cardId + '', f_alias: self.row.f_alias, f_user_id: self.row.f_user_id}}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
174
|
+
let cardParams = await self.$resetpost('rs/logic/stairCard', {data: {f_card_id: cardId + '', f_alias: self.row.f_alias, f_userfiles_id: self.row.f_userfiles_id, f_user_id: self.row.f_user_id}}, {resolveMsg: null, rejectMsg: '获取写卡参数失败'})
|
|
175
175
|
|
|
176
176
|
// 获取写卡参数
|
|
177
177
|
let params = self.getWriteCard(cardParams, self.row, data)
|
|
@@ -300,7 +300,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
300
300
|
validateOk: false,
|
|
301
301
|
handid: '',
|
|
302
302
|
showOverdueModal: false,
|
|
303
|
-
editOverdue: this.$login.r.includes('
|
|
303
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
304
304
|
paytype: [],
|
|
305
305
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
306
306
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
<td style="text-align: center;">{{row.overduedays}}</td>
|
|
123
123
|
<td style="text-align: center;">{{row.f_oughtfee}}</td>
|
|
124
124
|
<td style="text-align: center;">{{ row.overdue}}</td>
|
|
125
|
-
|
|
125
|
+
<!--根据违约金金额是否显示减免金额输入框-->
|
|
126
126
|
<div class="form-group" style="margin-bottom:0px;display: contents;" :class="{'has-error has-feedback': row.error}"
|
|
127
127
|
v-if="row.overdue>0">
|
|
128
128
|
<!--根据减免金额显示输入框 @blur="$parent.$parent.$parent.beforenter(row)"-->
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
|
|
229
229
|
<script>
|
|
230
230
|
/**
|
|
231
|
-
|
|
231
|
+
*违约金减免页面
|
|
232
232
|
*/
|
|
233
233
|
import Vue from 'vue'
|
|
234
234
|
import {PagedList, HttpResetClass} from 'vue-client'
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
},
|
|
467
467
|
// 点击批量减免确定触发
|
|
468
468
|
create (row) {
|
|
469
|
-
//
|
|
469
|
+
// 批量减免金额不能大于选择的违约金大于金额
|
|
470
470
|
this.arrshow = false
|
|
471
471
|
// 组织数据
|
|
472
472
|
let batch = {
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
this.$showAlert('减免金额不能为空', 'warning', 2000)
|
|
550
550
|
return
|
|
551
551
|
}
|
|
552
|
-
//
|
|
552
|
+
// 批量减免金额不能大于选择的违约金大于金额
|
|
553
553
|
if (parseInt(this.batchtaxs) > parseInt(this.$refs.paged.$refs.cri.model.overdue_be)) {
|
|
554
554
|
this.$showAlert('违约金不能大于总金额!!', 'warning', 2000)
|
|
555
555
|
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
days: parseInt(this.section_f_end_data.replace(/\-/, '').replace(/\-/, '')) - parseInt(this.section_f_start_data.replace(/\-/, '').replace(/\-/, '')),
|
|
727
727
|
handplan_id: this.newHandplanId
|
|
728
728
|
}
|
|
729
|
-
//
|
|
729
|
+
// 获取减免违约金
|
|
730
730
|
this.$resetpost('rs/sql/getLatefee_money', {data: temp}, {
|
|
731
731
|
resolveMsg: null,
|
|
732
732
|
rejectMsg: '获取违约金违约金减免金额失败'
|
|
@@ -27,7 +27,7 @@ let specialComp = {
|
|
|
27
27
|
'basic-living': (resolve) => { require(['./BasicLiving'], resolve) },
|
|
28
28
|
// 付款码支付组件
|
|
29
29
|
'bill-message': (resolve) => { require(['./billMessage'], resolve) },
|
|
30
|
-
//
|
|
30
|
+
// 违约金减免页面
|
|
31
31
|
'overdue_tax': (resolve) => { require(['./Overduetax'], resolve) },
|
|
32
32
|
// 调价补差
|
|
33
33
|
'price-adjustment': (resolve) => { require(['./PriceAdjustment'], resolve) },
|
|
@@ -301,7 +301,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
301
301
|
validateOk: false,
|
|
302
302
|
handid: '',
|
|
303
303
|
showOverdueModal: false,
|
|
304
|
-
editOverdue: this.$login.r.includes('
|
|
304
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
305
305
|
paytype: [],
|
|
306
306
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
307
307
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
this.$parent.$parent.$parent.$refs.info.data.f_new_balance= -(this.model.f_preamount-0)
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
|
-
//
|
|
140
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
141
141
|
getMaxIndex (val) {
|
|
142
142
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
143
143
|
return val.findIndex((item) => { return item.f_oughtfee < 0 })
|
|
@@ -338,9 +338,9 @@
|
|
|
338
338
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
339
339
|
</div>
|
|
340
340
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
341
|
-
<label class="font_normal_body"
|
|
341
|
+
<label class="font_normal_body">违约金规则</label>
|
|
342
342
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
343
|
-
:options='overdueset' placeholder='
|
|
343
|
+
:options='overdueset' placeholder='违约金规则'
|
|
344
344
|
close-on-select></v-select>
|
|
345
345
|
</div>
|
|
346
346
|
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
this.model.f_collection = this.model.f_collection < 0 ? 0 : this.model.f_collection
|
|
142
142
|
},
|
|
143
|
-
//
|
|
143
|
+
// 获取欠费里面有违约金的最大的一笔欠费的角标
|
|
144
144
|
getMaxIndex (val) {
|
|
145
145
|
if (val.findIndex((item) => { return item.f_oughtfee < 0 }) !== -1) {
|
|
146
146
|
return val.findIndex((item) => { return item.f_oughtfee < 0 })
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
<nobr>应交气费</nobr>
|
|
333
333
|
</th>
|
|
334
334
|
<th>
|
|
335
|
-
<nobr
|
|
335
|
+
<nobr>违约金</nobr>
|
|
336
336
|
</th>
|
|
337
337
|
<th>
|
|
338
338
|
<nobr>附加费</nobr>
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
气费金额合计: {{sumsmodel.f_oughtfee_new}}
|
|
485
485
|
</td>
|
|
486
486
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
487
|
-
|
|
487
|
+
违约金合计: {{sumsmodel.overdue}}
|
|
488
488
|
</td>
|
|
489
489
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
490
490
|
附加费合计: {{sumsmodel.f_garbage_fee}}
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
'f_user_phone': '客户电话','f_rent_phone': '备用电话','f_inputtor': '抄表员','f_book_name': '抄表册','f_user_type': '客户类型',
|
|
910
910
|
'f_gasproperties': '用气性质', 'f_comments': '备注', 'c': '欠费期数', 'f_hand_date': '欠费区间', 'f_oughtamount': '用气量',
|
|
911
911
|
'f_oughtfee': '用气金额','f_operate_date': '缴费时间', 'f_debt_money': '已交金额', 'f_oughtfee_new': '应交气费',
|
|
912
|
-
'overdue': '
|
|
912
|
+
'overdue': '违约金', 'f_garbage_fee': '附加费','f_last_tablebase': '上期抄表底数','f_tablebase': '本期抄表底数','f_balance': '上期余额',
|
|
913
913
|
'f_oughtfee_all': '合计欠费金额','f_oughtfee_col': '实际欠费金额','f_cost_type':'缴费方式'
|
|
914
914
|
}
|
|
915
915
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<input class="input_search" style="width:60%" type="number" v-model="newOverdue"
|
|
36
36
|
v-scale="[newOverdue,2]" placeholder="违约金"
|
|
37
37
|
disabled>
|
|
38
|
-
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('
|
|
38
|
+
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>-->
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="row" style="padding-top: 0.5em;" >
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
|
|
151
151
|
<!--<header slot="modal-header" class="modal-header">-->
|
|
152
152
|
<!--<button type="button" class="close" @click="closeOverdue"><span>×</span></button>-->
|
|
153
|
-
<!--<h4 class="modal-title"
|
|
153
|
+
<!--<h4 class="modal-title">修改违约金</h4>-->
|
|
154
154
|
<!--</header>-->
|
|
155
155
|
<!--<article slot="modal-body" class="modal-body">-->
|
|
156
156
|
<!--<validator name='m'>-->
|
|
@@ -332,7 +332,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
332
332
|
handid: '',
|
|
333
333
|
showOverdueModal: false,
|
|
334
334
|
jurisdiction: this.$login.r,
|
|
335
|
-
editOverdue: this.$login.r.includes('
|
|
335
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
336
336
|
paytype: [],
|
|
337
337
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
338
338
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -324,9 +324,9 @@
|
|
|
324
324
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
325
325
|
</div>
|
|
326
326
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
327
|
-
<label class="font_normal_body"
|
|
327
|
+
<label class="font_normal_body">违约金规则</label>
|
|
328
328
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
329
|
-
:options='overdueset' placeholder='
|
|
329
|
+
:options='overdueset' placeholder='违约金规则'
|
|
330
330
|
close-on-select></v-select>
|
|
331
331
|
</div>
|
|
332
332
|
|
|
@@ -282,10 +282,10 @@
|
|
|
282
282
|
</div>
|
|
283
283
|
<div class="row">
|
|
284
284
|
<div class="col-sm-2">
|
|
285
|
-
<label class="font_normal_body"
|
|
285
|
+
<label class="font_normal_body">违约金开始日期</label>
|
|
286
286
|
</div>
|
|
287
287
|
<div class="col-sm-3">
|
|
288
|
-
<datepicker placeholder="
|
|
288
|
+
<datepicker placeholder="违约金开始日期"
|
|
289
289
|
v-model="updatemodel.f_start_date"
|
|
290
290
|
:value.sync="updatemodel.f_start_date"
|
|
291
291
|
:format="'yyyy-MM-dd 00:00:00'"
|
|
@@ -323,9 +323,9 @@
|
|
|
323
323
|
<input type="text" style="width:60%" v-model="row.f_comments" class="input_search" placeholder="备注"/>
|
|
324
324
|
</div>
|
|
325
325
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
326
|
-
<label class="font_normal_body"
|
|
326
|
+
<label class="font_normal_body">违约金规则</label>
|
|
327
327
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
328
|
-
:options='overdueset' placeholder='
|
|
328
|
+
:options='overdueset' placeholder='违约金规则'
|
|
329
329
|
close-on-select></v-select>
|
|
330
330
|
</div>
|
|
331
331
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<input class="input_search" style="width:60%" type="number" v-model="newOverdue"
|
|
36
36
|
v-scale="[newOverdue,2]" placeholder="违约金"
|
|
37
37
|
disabled>
|
|
38
|
-
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('
|
|
38
|
+
<!--<button type="button" name="button" class="btn btn-link" @click="modefiy()" v-if="authArr.includes('违约金修改')">修改</button>-->
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="row" style="padding-top: 0.5em;" >
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<!--<modal :show.sync="showOverdueModal" v-ref:modal backdrop="false">-->
|
|
137
137
|
<!--<header slot="modal-header" class="modal-header">-->
|
|
138
138
|
<!--<button type="button" class="close" @click="closeOverdue"><span>×</span></button>-->
|
|
139
|
-
<!--<h4 class="modal-title"
|
|
139
|
+
<!--<h4 class="modal-title">修改违约金</h4>-->
|
|
140
140
|
<!--</header>-->
|
|
141
141
|
<!--<article slot="modal-body" class="modal-body">-->
|
|
142
142
|
<!--<validator name='m'>-->
|
|
@@ -303,7 +303,7 @@ let asyncMachineMeterCenter = async function (self) {
|
|
|
303
303
|
validateOk: false,
|
|
304
304
|
handid: '',
|
|
305
305
|
showOverdueModal: false,
|
|
306
|
-
editOverdue: this.$login.r.includes('
|
|
306
|
+
editOverdue: this.$login.r.includes('违约金修改'),
|
|
307
307
|
paytype: [],
|
|
308
308
|
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
309
309
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
@@ -307,9 +307,9 @@
|
|
|
307
307
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
308
308
|
</div>
|
|
309
309
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
310
|
-
<label class="font_normal_body"
|
|
310
|
+
<label class="font_normal_body">违约金规则</label>
|
|
311
311
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
312
|
-
:options='overdueset' placeholder='
|
|
312
|
+
:options='overdueset' placeholder='违约金规则'
|
|
313
313
|
close-on-select></v-select>
|
|
314
314
|
</div>
|
|
315
315
|
|
|
@@ -331,9 +331,9 @@
|
|
|
331
331
|
 <span class="glyphicon glyphicon-map-marker" @click="openModal" ></span>
|
|
332
332
|
</div>
|
|
333
333
|
<div class="col-sm-4 form-group" v-if="config.overduesetShow">
|
|
334
|
-
<label class="font_normal_body"
|
|
334
|
+
<label class="font_normal_body">违约金规则</label>
|
|
335
335
|
<v-select :value.sync="row.f_overdue_set" v-model="row.f_overdue_set"
|
|
336
|
-
:options='overdueset' placeholder='
|
|
336
|
+
:options='overdueset' placeholder='违约金规则'
|
|
337
337
|
close-on-select></v-select>
|
|
338
338
|
</div>
|
|
339
339
|
|
package/src/sale.js
CHANGED
|
@@ -348,7 +348,7 @@ export default function (filiale) {
|
|
|
348
348
|
Vue.component('meterbook-user', (resolve) => { require(['./components/revenue/HandManager/MeterBookUser'], resolve) })
|
|
349
349
|
// 抄表册新增用户管理
|
|
350
350
|
Vue.component('meterbook-entry', (resolve) => { require(['./components/revenue/HandManager/meterbookEntry'], resolve) })
|
|
351
|
-
//
|
|
351
|
+
// 违约金生成规则(f_end_date规则)
|
|
352
352
|
Vue.component('overdue-set', (resolve) => { require(['./components/revenue/HandManager/OverdueSet'], resolve) })
|
|
353
353
|
Vue.component('overdue-set-list', (resolve) => { require(['./components/revenue/HandManager/OverdueSetList'], resolve) })
|
|
354
354
|
Vue.component('overdue-set-user', (resolve) => { require(['./components/revenue/HandManager/OverdueSetUser'], resolve) })
|
|
@@ -809,10 +809,13 @@ export default function (filiale) {
|
|
|
809
809
|
// 档案合并
|
|
810
810
|
Vue.component('file-merge-info-new', (resolve) => { require(['./components/FilesManageNew/FileMergeInfo'], resolve) })
|
|
811
811
|
|
|
812
|
-
//
|
|
812
|
+
// 发票录入
|
|
813
813
|
Vue.component('invoice-use', (resolve) => { require(['./components/revenue/invoiceuse/InvoiceUse'], resolve) })
|
|
814
814
|
// 发票信息录入
|
|
815
815
|
Vue.component('invoice-entry', (resolve) => { require(['./components/revenue/invoiceuse/InvoiceEntry'], resolve) })
|
|
816
|
+
// 选择收费记录
|
|
817
|
+
Vue.component('invoice-charge-list', (resolve) => { require(['./components/revenue/invoiceuse/InvoiceChargeList'], resolve) })
|
|
818
|
+
|
|
816
819
|
// 信息录入
|
|
817
820
|
Vue.component('invoice-info-entry', (resolve) => { require(['./components/revenue/invoiceuse/InvoiceInfoEntry'], resolve) })
|
|
818
821
|
// 商品信息录入
|
|
@@ -866,7 +869,7 @@ export default function (filiale) {
|
|
|
866
869
|
|
|
867
870
|
// 自报表数审核
|
|
868
871
|
Vue.component('meter-read-audit', (resolve) => { require(['./components/revenue/comprehen/handAudit/MeterReadAudit'], resolve) })
|
|
869
|
-
//
|
|
872
|
+
// 违约金减免页面
|
|
870
873
|
Vue.component('overdue_tax', (resolve) => { require(['./components/revenue/comprehen/ovdue/Overduetax'], resolve) })
|
|
871
874
|
// 气费减免
|
|
872
875
|
Vue.component('gas-fee-reduction', (resolve) => { require(['./components/revenue/comprehen/Exemption/GasFeeReduction'], resolve) })
|