sale-client 3.4.126 → 3.4.129
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 +157 -157
- package/package.json +1 -1
- package/src/components/FilesManage/FileUserFiles.vue +4 -1
- package/src/components/FilesManageNew/FileUserFiles.vue +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +1 -2
- package/src/components/charge/business/NoCardMeterCenter.vue +8 -4
- package/src/components/charge/business/ShowCardSellGas.vue +0 -4
- package/src/components/revenue/base/rightview/CardList.vue +3 -0
- package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +7 -1
- package/src/components/revenue/comprehen/Maintenance/bill/billOperationRecord.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperateList.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/fillgas/fillgasOperationRecord.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/hand/handOperateList.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/otherRecords/OperationRecord.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/revenue/AddWarehousemain.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +6 -1
- package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +5 -5
- package/src/components/revenue/comprehen/replacement/replacementOperationRecord.vue +1 -1
- package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/GasPriceList.vue +5 -5
- package/src/filiale/qianneng/OtherChargeNew.vue +10 -11
- package/src/filiale/rongchuang/CardMeterCenter.vue +3 -1
- package/src/filiale/rongchuang/IOTMeterCenter.vue +3 -1
- package/src/filiale/rongchuang/NoCardMeterCenter.vue +3 -1
- package/src/filiale/rongchuang/OtherChargeNew.vue +14 -12
- package/src/filiale/rongchuang/ShowCardSellGas.vue +3 -1
- package/src/filiale/rongchuang/bill/CustQueryEticket.vue +4 -0
- package/src/filiale/rongchuang/bill/EticketOpenCard.vue +6 -2
- package/src/filiale/rongchuang/bill/EticketOpenJBPage.vue +4 -0
- package/src/filiale/rongchuang/bill/EticketOpenPage.vue +4 -0
- package/src/sale.js +5 -2
package/build/dev-server.js
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
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
|
-
//铜川正式
|
|
17
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
-
//铜川测试
|
|
19
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
-
//韶关
|
|
22
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
-
// 巩义测试服务
|
|
24
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
-
// 燎原测试服务
|
|
26
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
-
|
|
29
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
-
|
|
31
|
-
var proxyTable = {
|
|
32
|
-
'/rs/logic/saleExport': {
|
|
33
|
-
target: fuwu
|
|
34
|
-
},
|
|
35
|
-
'/rs/logic/saleGetExportProgress': {
|
|
36
|
-
target: fuwu
|
|
37
|
-
},
|
|
38
|
-
'/files': {
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
// 查找资源服务数据
|
|
42
|
-
'/rs/search': {
|
|
43
|
-
target: fuwu
|
|
44
|
-
},
|
|
45
|
-
// 查找资源服务数据
|
|
46
|
-
'/rs/logic/getLogin': {
|
|
47
|
-
target: fuwu
|
|
48
|
-
},
|
|
49
|
-
// 查找资源服务数据
|
|
50
|
-
'/rs/logic/getInitData': {
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/logic/getSaleInitData': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/invoice':{
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
// 用户登录服务地址
|
|
60
|
-
'/rs/user': {
|
|
61
|
-
target: fuwu
|
|
62
|
-
},
|
|
63
|
-
'/rs/path/getParams': {
|
|
64
|
-
target: fuwu
|
|
65
|
-
},
|
|
66
|
-
'/rs/data': {
|
|
67
|
-
target: fuwu
|
|
68
|
-
},
|
|
69
|
-
'/rs/license': {
|
|
70
|
-
target: fuwu
|
|
71
|
-
},
|
|
72
|
-
'/rs/db': {
|
|
73
|
-
target: fuwu
|
|
74
|
-
},
|
|
75
|
-
'/excel': {
|
|
76
|
-
target: fuwu
|
|
77
|
-
},
|
|
78
|
-
'/rs/config': {
|
|
79
|
-
target: fuwu
|
|
80
|
-
},
|
|
81
|
-
'/rs/sql/getLicenseById': {
|
|
82
|
-
target: fuwu
|
|
83
|
-
},
|
|
84
|
-
'/rs/sql/manage_getarealist': {
|
|
85
|
-
target: fuwu
|
|
86
|
-
},
|
|
87
|
-
'/rs/sql/manage_getstreetlist': {
|
|
88
|
-
target: fuwu
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'/rs/vue': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/rs': {
|
|
97
|
-
// target: 'http://192.168.30.63:8081/'
|
|
98
|
-
|
|
99
|
-
target:fuwu
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
104
|
-
publicPath: config.output.publicPath,
|
|
105
|
-
stats: {
|
|
106
|
-
colors: true,
|
|
107
|
-
chunks: false
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
|
|
111
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
112
|
-
// force page reload when html-webpack-plugin template changes
|
|
113
|
-
compiler.plugin('compilation', function (compilation) {
|
|
114
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
115
|
-
hotMiddleware.publish({action: 'reload'})
|
|
116
|
-
cb()
|
|
117
|
-
})
|
|
118
|
-
})
|
|
119
|
-
|
|
120
|
-
// proxy api requests
|
|
121
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
122
|
-
var options = proxyTable[context]
|
|
123
|
-
if (typeof options === 'string') {
|
|
124
|
-
options = {target: options}
|
|
125
|
-
}
|
|
126
|
-
app.use(proxyMiddleware(context, options))
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
// handle fallback for HTML5 history API
|
|
130
|
-
app.use(require('connect-history-api-fallback')())
|
|
131
|
-
// app.use(function (req, res, next) {
|
|
132
|
-
// res.header('Access-Control-Allow-Origin', '*')
|
|
133
|
-
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
134
|
-
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
135
|
-
// res.header('X-Powered-By', '3,2,1')
|
|
136
|
-
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
137
|
-
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
138
|
-
// next()
|
|
139
|
-
// })
|
|
140
|
-
|
|
141
|
-
// serve webpack bundle output
|
|
142
|
-
app.use(devMiddleware)
|
|
143
|
-
|
|
144
|
-
// enable hot-reload and state-preserving
|
|
145
|
-
// compilation error display
|
|
146
|
-
app.use(hotMiddleware)
|
|
147
|
-
|
|
148
|
-
// serve pure static assets
|
|
149
|
-
app.use('/static', express.static('./static'))
|
|
150
|
-
|
|
151
|
-
module.exports = app.listen(8089, function (err) {
|
|
152
|
-
if (err) {
|
|
153
|
-
console.log(err)
|
|
154
|
-
return
|
|
155
|
-
}
|
|
156
|
-
console.log('Listening at http://localhost:8089')
|
|
157
|
-
})
|
|
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:8080/',bendi1 = 'http://119.146.1.106:8300/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://192.168.50.4:8400/'
|
|
16
|
+
//铜川正式
|
|
17
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
+
//铜川测试
|
|
19
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
+
//韶关
|
|
22
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
+
// 巩义测试服务
|
|
24
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
+
// 燎原测试服务
|
|
26
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
+
|
|
29
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
+
|
|
31
|
+
var proxyTable = {
|
|
32
|
+
'/rs/logic/saleExport': {
|
|
33
|
+
target: fuwu
|
|
34
|
+
},
|
|
35
|
+
'/rs/logic/saleGetExportProgress': {
|
|
36
|
+
target: fuwu
|
|
37
|
+
},
|
|
38
|
+
'/files': {
|
|
39
|
+
target: fuwu
|
|
40
|
+
},
|
|
41
|
+
// 查找资源服务数据
|
|
42
|
+
'/rs/search': {
|
|
43
|
+
target: fuwu
|
|
44
|
+
},
|
|
45
|
+
// 查找资源服务数据
|
|
46
|
+
'/rs/logic/getLogin': {
|
|
47
|
+
target: fuwu
|
|
48
|
+
},
|
|
49
|
+
// 查找资源服务数据
|
|
50
|
+
'/rs/logic/getInitData': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/logic/getSaleInitData': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/invoice':{
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
// 用户登录服务地址
|
|
60
|
+
'/rs/user': {
|
|
61
|
+
target: fuwu
|
|
62
|
+
},
|
|
63
|
+
'/rs/path/getParams': {
|
|
64
|
+
target: fuwu
|
|
65
|
+
},
|
|
66
|
+
'/rs/data': {
|
|
67
|
+
target: fuwu
|
|
68
|
+
},
|
|
69
|
+
'/rs/license': {
|
|
70
|
+
target: fuwu
|
|
71
|
+
},
|
|
72
|
+
'/rs/db': {
|
|
73
|
+
target: fuwu
|
|
74
|
+
},
|
|
75
|
+
'/excel': {
|
|
76
|
+
target: fuwu
|
|
77
|
+
},
|
|
78
|
+
'/rs/config': {
|
|
79
|
+
target: fuwu
|
|
80
|
+
},
|
|
81
|
+
'/rs/sql/getLicenseById': {
|
|
82
|
+
target: fuwu
|
|
83
|
+
},
|
|
84
|
+
'/rs/sql/manage_getarealist': {
|
|
85
|
+
target: fuwu
|
|
86
|
+
},
|
|
87
|
+
'/rs/sql/manage_getstreetlist': {
|
|
88
|
+
target: fuwu
|
|
89
|
+
},
|
|
90
|
+
'/rs/report': {
|
|
91
|
+
target: 'http://127.0.0.1:8079'
|
|
92
|
+
},
|
|
93
|
+
'/rs/vue': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/rs': {
|
|
97
|
+
// target: 'http://192.168.30.63:8081/'
|
|
98
|
+
target: 'http://127.0.0.1:8078'
|
|
99
|
+
// target:fuwu
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
104
|
+
publicPath: config.output.publicPath,
|
|
105
|
+
stats: {
|
|
106
|
+
colors: true,
|
|
107
|
+
chunks: false
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
112
|
+
// force page reload when html-webpack-plugin template changes
|
|
113
|
+
compiler.plugin('compilation', function (compilation) {
|
|
114
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
115
|
+
hotMiddleware.publish({action: 'reload'})
|
|
116
|
+
cb()
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
// proxy api requests
|
|
121
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
122
|
+
var options = proxyTable[context]
|
|
123
|
+
if (typeof options === 'string') {
|
|
124
|
+
options = {target: options}
|
|
125
|
+
}
|
|
126
|
+
app.use(proxyMiddleware(context, options))
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
// handle fallback for HTML5 history API
|
|
130
|
+
app.use(require('connect-history-api-fallback')())
|
|
131
|
+
// app.use(function (req, res, next) {
|
|
132
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
133
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
134
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
135
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
136
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
137
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
138
|
+
// next()
|
|
139
|
+
// })
|
|
140
|
+
|
|
141
|
+
// serve webpack bundle output
|
|
142
|
+
app.use(devMiddleware)
|
|
143
|
+
|
|
144
|
+
// enable hot-reload and state-preserving
|
|
145
|
+
// compilation error display
|
|
146
|
+
app.use(hotMiddleware)
|
|
147
|
+
|
|
148
|
+
// serve pure static assets
|
|
149
|
+
app.use('/static', express.static('./static'))
|
|
150
|
+
|
|
151
|
+
module.exports = app.listen(8089, function (err) {
|
|
152
|
+
if (err) {
|
|
153
|
+
console.log(err)
|
|
154
|
+
return
|
|
155
|
+
}
|
|
156
|
+
console.log('Listening at http://localhost:8089')
|
|
157
|
+
})
|
package/package.json
CHANGED
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
</div>
|
|
287
287
|
</div>
|
|
288
288
|
</criteria>
|
|
289
|
-
<data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
|
|
289
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
|
|
290
290
|
<template partial='head'>
|
|
291
291
|
<tr>
|
|
292
292
|
<th>
|
|
@@ -658,6 +658,9 @@ let loadParamGem = async function (self) {
|
|
|
658
658
|
search () {
|
|
659
659
|
this.$refs.paged.$refs.criteria.search()
|
|
660
660
|
},
|
|
661
|
+
// selectdata () {
|
|
662
|
+
//
|
|
663
|
+
// },
|
|
661
664
|
modifyUser (row) {
|
|
662
665
|
this.isOper = true
|
|
663
666
|
this.createFile = true
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
</div>
|
|
208
208
|
</div>
|
|
209
209
|
</criteria>
|
|
210
|
-
<data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
|
|
210
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
|
|
211
211
|
<template partial='head'>
|
|
212
212
|
<tr>
|
|
213
213
|
<th>
|
|
@@ -362,7 +362,6 @@
|
|
|
362
362
|
// 加入扫码盒付款码支付流水号
|
|
363
363
|
self.model.f_serial_id = self.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
364
364
|
let res = await self.$CardService.sellgas(self.model, self.row)
|
|
365
|
-
console.log('----------------->卡表收费返回id', res)
|
|
366
365
|
let localeSustainMoney = window.localStorage.getItem('sustainMoney')
|
|
367
366
|
if (localeSustainMoney != null) {
|
|
368
367
|
localeSustainMoney = (localeSustainMoney - 0) + (self.model.f_collection - 0)
|
|
@@ -471,7 +470,7 @@
|
|
|
471
470
|
}
|
|
472
471
|
let getNoWriteCard = await self.$resetpost('rs/sql/getnowritecard', {data: nowrite_param}, {
|
|
473
472
|
resolveMsg: null,
|
|
474
|
-
rejectMsg: '
|
|
473
|
+
rejectMsg: '获取最近卡表收费记录失败!!'
|
|
475
474
|
})
|
|
476
475
|
if(getNoWriteCard.data.length >0){
|
|
477
476
|
self.$showMessage(`三小时内存在写卡失败的记录,是否重新写卡?`, ['confirm', 'cancel']).then(async (res) => {
|
|
@@ -190,9 +190,11 @@
|
|
|
190
190
|
self.model.f_preamount = calFee - (dymoney - 0)
|
|
191
191
|
self.model.chargeprice = getGas.data.chargeprice
|
|
192
192
|
Object.assign(self.model, self.model, getGas.data)
|
|
193
|
-
|
|
193
|
+
self.model.f_totalcost = ((self.model.f_totalcost - 0) - (dymoney - 0)).toFixed(4)
|
|
194
|
+
// self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
195
|
+
if(self.config.floor){
|
|
194
196
|
self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
195
|
-
|
|
197
|
+
}
|
|
196
198
|
self.calText(getGas.data.chargeprice)
|
|
197
199
|
}
|
|
198
200
|
|
|
@@ -210,7 +212,9 @@
|
|
|
210
212
|
self.model.f_totalcost = ((self.row.f_balance - 0) > (getAmount.data.chargenum - 0) ? 0 : ((getAmount.data.chargenum - 0) - (self.row.f_balance - 0)).toFixed(4))
|
|
211
213
|
Object.assign(self.model, self.model, getAmount.data)
|
|
212
214
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
213
|
-
|
|
215
|
+
if(self.config.floor){
|
|
216
|
+
self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
217
|
+
}
|
|
214
218
|
self.model.f_collection = self.model.f_totalcost
|
|
215
219
|
self.calText(getAmount.data.chargeprice)
|
|
216
220
|
}
|
|
@@ -306,6 +310,7 @@
|
|
|
306
310
|
notShowFormula: false, // 不显示计算公式,默认显示
|
|
307
311
|
hasPrint: true, // 默认打票
|
|
308
312
|
hasBillManage: false, // 默认不启用发票管理
|
|
313
|
+
floor: false, //是否取整收费
|
|
309
314
|
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
310
315
|
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
311
316
|
payment: '现金缴费'
|
|
@@ -367,7 +372,6 @@
|
|
|
367
372
|
this.$refs.paymentcode.paymentCodeShow = false
|
|
368
373
|
console.log('付款码操作返回', ss)
|
|
369
374
|
if (!ss.result) return
|
|
370
|
-
|
|
371
375
|
this.clickConfirm = true
|
|
372
376
|
this.model.f_curbalance = this.curbalance
|
|
373
377
|
this.$dispatch('no-button')
|
|
@@ -309,20 +309,16 @@
|
|
|
309
309
|
self.model.f_meter_type = self.row.f_meter_type
|
|
310
310
|
if ((self.model.f_pregas - 0) - (self.maxgas - 0) <= 0) {
|
|
311
311
|
let getAmount = await self.$CommonService.gasCalculate(self.model, self.model.f_pregas)
|
|
312
|
-
console.log('划价返回', getAmount, self.openFee, self.row.f_balance)
|
|
313
312
|
self.model.f_preamount = getAmount.data.chargenum
|
|
314
313
|
// 计算气费和其他费用(暂时只有开卡费,之后有其他费在加)
|
|
315
314
|
let total = (getAmount.data.chargenum - 0) + (self.openFee - 0)
|
|
316
315
|
self.model.f_totalcost = (self.row.f_balance - 0) > (total - 0) ? 0 : ((total - 0) - (self.row.f_balance - 0)).toFixed(4)
|
|
317
|
-
console.log('划价返回0', self.model.f_totalcost)
|
|
318
316
|
Object.assign(self.model, self.model, getAmount.data)
|
|
319
317
|
self.model.chargeprice = getAmount.data.chargeprice
|
|
320
318
|
if(self.config.floor){
|
|
321
319
|
self.model.f_totalcost=Math.ceil(self.model.f_totalcost)
|
|
322
320
|
}
|
|
323
321
|
self.model.f_collection = self.model.f_totalcost
|
|
324
|
-
console.log('划价返回1', self.model.f_totalcost)
|
|
325
|
-
console.log('划价返回2', self.model.f_collection)
|
|
326
322
|
self.calText(getAmount.data.chargeprice)
|
|
327
323
|
}
|
|
328
324
|
}
|
|
@@ -431,6 +431,9 @@ and th.f_userfiles_id = '${row.f_userfiles_id}' and tsh.f_state='有效'`
|
|
|
431
431
|
} else {
|
|
432
432
|
args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
|
|
433
433
|
}
|
|
434
|
+
if (this.authArr.includes('操作记录查询限定')) {
|
|
435
|
+
args.condition += ` and r.f_operatorid = '${this.$login.f.id}'`
|
|
436
|
+
}
|
|
434
437
|
this.model.search(args.condition, args.model)
|
|
435
438
|
}
|
|
436
439
|
},
|
|
@@ -150,7 +150,13 @@ export default {
|
|
|
150
150
|
|
|
151
151
|
}
|
|
152
152
|
})
|
|
153
|
-
} else {
|
|
153
|
+
} else if (this.row.f_meter_type.includes('卡表')) {
|
|
154
|
+
let totalGas = (this.row.f_total_gas - 0) + (this.row.f_initial_base - 0)
|
|
155
|
+
if (this.model.f_using_base_old > totalGas) {
|
|
156
|
+
this.$showAlert('该表可能存在超用,请核实输入后进行拆表操作!!', 'warning', 5000)
|
|
157
|
+
this.$dispatch('button-specifies', {name: '超用收费', value: 'over-use-charge'}, this.row)
|
|
158
|
+
return
|
|
159
|
+
}
|
|
154
160
|
this.saveobj()
|
|
155
161
|
}
|
|
156
162
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
6
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
7
7
|
<template partial='head'>-->
|
|
8
|
-
<table style="width: 600px">
|
|
8
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
9
9
|
<tr>
|
|
10
10
|
<th style="text-align: center">序号</th>
|
|
11
11
|
<th style="text-align: center">修改内容</th>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
6
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
7
7
|
<template partial='head'>-->
|
|
8
|
-
<table style="width: 600px">
|
|
8
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
9
9
|
<tr>
|
|
10
10
|
<th style="text-align: center">序号</th>
|
|
11
11
|
<th style="text-align: center">修改内容</th>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
6
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
7
7
|
<template partial='head'>-->
|
|
8
|
-
<table style="width: 600px">
|
|
8
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
9
9
|
<tr>
|
|
10
10
|
<th style="text-align: center">序号</th>
|
|
11
11
|
<th style="text-align: center">修改内容</th>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
6
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
7
7
|
<template partial='head'>-->
|
|
8
|
-
<table style="width: 600px">
|
|
8
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
9
9
|
<tr>
|
|
10
10
|
<th style="text-align: center">序号</th>
|
|
11
11
|
<th style="text-align: center">修改内容</th>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<validator name='v'>
|
|
4
4
|
<form novalidate class="form-horizontal">
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
|
-
<table style="width: 600px">
|
|
6
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
7
7
|
<tr>
|
|
8
8
|
<th style="text-align: center ">序号</th>
|
|
9
9
|
<th style="text-align: center ">修改内容</th>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
6
6
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
7
7
|
<template partial='head'>-->
|
|
8
|
-
<table style="width: 600px">
|
|
8
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
9
9
|
<tr>
|
|
10
10
|
<th style="text-align: center">序号</th>
|
|
11
11
|
<th style="text-align: center">修改内容</th>
|
|
@@ -154,6 +154,10 @@
|
|
|
154
154
|
<label class="font_normal_body">流 水 号</label>
|
|
155
155
|
<input type="text" v-model="model.f_serial_id" style="width: 60%" class="input_search">
|
|
156
156
|
</div>
|
|
157
|
+
<div class="col-sm-4 form-group">
|
|
158
|
+
<label class="font_normal_body">业务单号</label>
|
|
159
|
+
<input type="text" v-model="model.f_serial_number" style="width: 60%" class="input_search">
|
|
160
|
+
</div>
|
|
157
161
|
</div>
|
|
158
162
|
<div class="row">
|
|
159
163
|
<div class="col-sm-12 form-group">
|
|
@@ -219,7 +223,8 @@
|
|
|
219
223
|
'f_comments': '备注信息',
|
|
220
224
|
'f_bill_date': '开票时间',
|
|
221
225
|
'f_bill_operator': '开票人',
|
|
222
|
-
'f_serial_id': '流水号'
|
|
226
|
+
'f_serial_id': '流水号',
|
|
227
|
+
'f_serial_number' : '业务单号'
|
|
223
228
|
},
|
|
224
229
|
editstate:true,
|
|
225
230
|
}
|
|
@@ -19,11 +19,6 @@
|
|
|
19
19
|
v-el:qjmc v-model="model.f_price_name" v-next-el="cx"
|
|
20
20
|
>
|
|
21
21
|
</div>
|
|
22
|
-
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
23
|
-
<label class="font_normal_body">气价编号</label>
|
|
24
|
-
<input type="number" class="input_search" style="width: 60%" v-model="model.f_user_name" placeholder='气价编号'
|
|
25
|
-
condition="f_price_id = '{}'" >
|
|
26
|
-
</div>
|
|
27
22
|
<!--<div class="col-sm-4">-->
|
|
28
23
|
<!--<label class="font_normal_body">生效时间大于</label>-->
|
|
29
24
|
<!--<datepicker :format="'yyyy-MM-dd'"-->
|
|
@@ -45,6 +40,11 @@
|
|
|
45
40
|
</div>
|
|
46
41
|
</div>
|
|
47
42
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
43
|
+
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
44
|
+
<label class="font_normal_body">气价编号</label>
|
|
45
|
+
<input type="number" class="input_search" style="width: 60%" v-model="model.f_user_name" placeholder='气价编号'
|
|
46
|
+
condition="f_price_id = '{}'" >
|
|
47
|
+
</div>
|
|
48
48
|
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
49
49
|
<label class="font_normal_body">气价来源</label>
|
|
50
50
|
<v-select :value.sync="model.f_custom" v-model="model.f_custom"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<p class="bg-info text-center" style="padding: 8px;font-size: 20px">操作记录</p>
|
|
7
7
|
<!-- <data-grid :model="inData" v-ref:grid partial='list'>
|
|
8
8
|
<template partial='head'>-->
|
|
9
|
-
<table style="width: 600px">
|
|
9
|
+
<table class="list_area table_sy" style="width: 600px">
|
|
10
10
|
<tr>
|
|
11
11
|
<th style="text-align: center">序号</th>
|
|
12
12
|
<th style="text-align: center">修改内容</th>
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
</div>
|
|
287
287
|
</div>
|
|
288
288
|
</criteria>
|
|
289
|
-
<data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
|
|
289
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid partial='list'>
|
|
290
290
|
<template partial='head'>
|
|
291
291
|
<tr>
|
|
292
292
|
<th>
|
|
@@ -19,11 +19,6 @@
|
|
|
19
19
|
v-el:qjmc v-model="model.f_price_name" v-next-el="cx"
|
|
20
20
|
>
|
|
21
21
|
</div>
|
|
22
|
-
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
23
|
-
<label class="font_normal_body">气价编号</label>
|
|
24
|
-
<input type="number" class="input_search" style="width: 60%" v-model="model.f_user_name" placeholder='气价编号'
|
|
25
|
-
condition="f_price_id = '{}'" >
|
|
26
|
-
</div>
|
|
27
22
|
<!--<div class="col-sm-4">-->
|
|
28
23
|
<!--<label class="font_normal_body">生效时间大于</label>-->
|
|
29
24
|
<!--<datepicker :format="'yyyy-MM-dd'"-->
|
|
@@ -45,6 +40,11 @@
|
|
|
45
40
|
</div>
|
|
46
41
|
</div>
|
|
47
42
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
43
|
+
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
44
|
+
<label class="font_normal_body">气价编号</label>
|
|
45
|
+
<input type="number" class="input_search" style="width: 60%" v-model="model.f_user_name" placeholder='气价编号'
|
|
46
|
+
condition="f_price_id = '{}'" >
|
|
47
|
+
</div>
|
|
48
48
|
<div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
|
|
49
49
|
<label class="font_normal_body">气价来源</label>
|
|
50
50
|
<v-select :value.sync="model.f_custom" v-model="model.f_custom"
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
<!-- </div>-->
|
|
9
9
|
<div style="margin-top:10px;" v-for="row in model.otherdetail">
|
|
10
10
|
<div class="row">
|
|
11
|
-
<div class="col-sm-4" :class="
|
|
12
|
-
<input
|
|
13
|
-
v-validate:
|
|
14
|
-
<label for="f_brand_spec" class="font_normal_body " title="参数名称:其他收费收费类型"
|
|
11
|
+
<div class="col-sm-4" :class="[$v.payment.required ? 'has-error' : '']">
|
|
12
|
+
<input type="text" v-show="false" v-model="$refs.brand.selectedItems"
|
|
13
|
+
v-validate:brand='{required: true }'>
|
|
14
|
+
<label for="f_brand_spec" class="font_normal_body " title="参数名称:其他收费收费类型">收费类型</label>
|
|
15
15
|
<v-select id="f_brand_spec"
|
|
16
16
|
placeholder='材料'
|
|
17
17
|
v-model="row.f_brand_spec"
|
|
18
18
|
:value.sync="row.f_brand_spec"
|
|
19
19
|
:options='brandspec'
|
|
20
20
|
@change="setTypename"
|
|
21
|
-
close-on-select clear-button>
|
|
21
|
+
close-on-select clear-button v-ref:brand>
|
|
22
22
|
</v-select>
|
|
23
23
|
</div>
|
|
24
|
-
<div class="col-sm-4" :class="
|
|
25
|
-
<input
|
|
26
|
-
v-validate:
|
|
27
|
-
<label for="f_typename" class=" font_normal_body"> 
|
|
24
|
+
<div class="col-sm-4" :class="[$v.typename.required ? 'has-error' : '']">
|
|
25
|
+
<input type="text" v-show="false" v-model="$refs.typename.selectedItems"
|
|
26
|
+
v-validate:typename='{required: true }'>
|
|
27
|
+
<label for="f_typename" class=" font_normal_body"> 品名规格</label>
|
|
28
28
|
<v-select
|
|
29
29
|
style="width: 100px"
|
|
30
30
|
v-model="row.f_typename"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
:value.sync="row.f_typename"
|
|
33
33
|
:options='gettypename'
|
|
34
34
|
@change="setTypenumber"
|
|
35
|
-
close-on-select clear-button>
|
|
35
|
+
close-on-select clear-button v-ref:typename>
|
|
36
36
|
</v-select>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="col-sm-4" :class="{'has-success':row.f_typenumber,'has-error':!row.f_typenumber}">
|
|
@@ -315,7 +315,6 @@
|
|
|
315
315
|
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
316
316
|
self.model.f_payment = [self.config.payment]
|
|
317
317
|
self.model.otherdetail[0].f_brand_spec = [self.config.brandspec]
|
|
318
|
-
|
|
319
318
|
self.model.f_use_type = self.config.billType
|
|
320
319
|
self.model.f_bill_type = self.model.f_print
|
|
321
320
|
self.hasValidateBill = self.config.hasBillManage
|
|
@@ -496,7 +496,6 @@
|
|
|
496
496
|
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
497
497
|
// 下拉框值
|
|
498
498
|
paytype: [],
|
|
499
|
-
printstyle: this.$appdata.getParam('打印格式'),
|
|
500
499
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
501
500
|
BankTransfer: false,
|
|
502
501
|
// 小数是否支持,导致划价产生的多余气量,金额
|
|
@@ -815,6 +814,9 @@
|
|
|
815
814
|
}
|
|
816
815
|
},
|
|
817
816
|
computed: {
|
|
817
|
+
printstyle () {
|
|
818
|
+
return this.row.f_filialeid === '33520' ? this.$appdata.getParam('打印格式') : this.$appdata.getParam('打印格式').filter(item => item.label !== '电子发票')
|
|
819
|
+
},
|
|
818
820
|
authArr () {
|
|
819
821
|
return this.$login.r ? this.$login.r : []
|
|
820
822
|
},
|
|
@@ -458,7 +458,6 @@
|
|
|
458
458
|
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
459
459
|
// 下拉框值
|
|
460
460
|
paytype: this.$appdata.getParam('付款方式'),
|
|
461
|
-
printstyle: this.$appdata.getParam('打印格式'),
|
|
462
461
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
463
462
|
showfiles: false,
|
|
464
463
|
serialShow: false,
|
|
@@ -741,6 +740,9 @@
|
|
|
741
740
|
}
|
|
742
741
|
},
|
|
743
742
|
computed: {
|
|
743
|
+
printstyle () {
|
|
744
|
+
return this.row.f_filialeid === '33520' ? this.$appdata.getParam('打印格式') : this.$appdata.getParam('打印格式').filter(item => item.label !== '电子发票')
|
|
745
|
+
},
|
|
744
746
|
authArr () {
|
|
745
747
|
return this.$login.r ? this.$login.r : []
|
|
746
748
|
},
|
|
@@ -328,7 +328,6 @@
|
|
|
328
328
|
clickConfirm: false, // 控制确认按钮只能点击一次
|
|
329
329
|
// 下拉框值
|
|
330
330
|
paytype: this.$appdata.getParam('付款方式'),
|
|
331
|
-
printstyle: this.$appdata.getParam('打印格式'),
|
|
332
331
|
mjshow: false
|
|
333
332
|
}
|
|
334
333
|
},
|
|
@@ -444,6 +443,9 @@
|
|
|
444
443
|
}
|
|
445
444
|
},
|
|
446
445
|
computed: {
|
|
446
|
+
printstyle () {
|
|
447
|
+
return this.row.f_filialeid === '33520' ? this.$appdata.getParam('打印格式') : this.$appdata.getParam('打印格式').filter(item => item.label !== '电子发票')
|
|
448
|
+
},
|
|
447
449
|
'curbalance' () {
|
|
448
450
|
if (this.model.f_preamount) {
|
|
449
451
|
if (this.row.f_collection_type === '按金额') {
|
|
@@ -234,8 +234,8 @@
|
|
|
234
234
|
// TODO
|
|
235
235
|
self.$dispatch('success')
|
|
236
236
|
} else if (self.model.f_print[0] === '电子发票') {
|
|
237
|
-
self.eticket_show=true
|
|
238
|
-
await self.$refs.asynceticket.openEticket(resid.data, self.row,'其他收费')
|
|
237
|
+
self.eticket_show = true
|
|
238
|
+
await self.$refs.asynceticket.openEticket(resid.data, self.row, '其他收费')
|
|
239
239
|
}
|
|
240
240
|
} else {
|
|
241
241
|
self.$dispatch('success')
|
|
@@ -249,13 +249,13 @@
|
|
|
249
249
|
let asyncOtherCharge = async function (self) {
|
|
250
250
|
await self.$getConfig(self, 'OtherCharge')
|
|
251
251
|
// 默认打印格式
|
|
252
|
-
if(self.row.f_paper_type){
|
|
253
|
-
self.model.f_print=self.row.f_paper_type instanceof Array
|
|
254
|
-
console.log(
|
|
255
|
-
}else{
|
|
256
|
-
self.model.f_print = self.config.printType instanceof Array
|
|
252
|
+
if (self.row.f_paper_type) {
|
|
253
|
+
self.model.f_print = self.row.f_paper_type instanceof Array ? self.row.f_paper_type : [self.row.f_paper_type ]
|
|
254
|
+
console.log(' this.model.f_print', this.model.f_print)
|
|
255
|
+
} else {
|
|
256
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
257
257
|
}
|
|
258
|
-
//self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
258
|
+
// self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
259
259
|
self.model.f_payment = [self.config.payment]
|
|
260
260
|
self.model.f_brand_spec = [self.config.brandspec]
|
|
261
261
|
|
|
@@ -267,8 +267,8 @@
|
|
|
267
267
|
title: '其他收费',
|
|
268
268
|
data () {
|
|
269
269
|
return {
|
|
270
|
-
|
|
271
|
-
eticket_msg:false,
|
|
270
|
+
// 发票相关
|
|
271
|
+
eticket_msg: false,
|
|
272
272
|
eticket_show: false,
|
|
273
273
|
config: {
|
|
274
274
|
modificationList: true,
|
|
@@ -309,7 +309,6 @@
|
|
|
309
309
|
typeNameList: [],
|
|
310
310
|
typenumberList: [],
|
|
311
311
|
brandspec: this.$appdata.getParam('品名及规格'),
|
|
312
|
-
printstyle: this.$appdata.getParam('打印格式'),
|
|
313
312
|
paytype: this.$appdata.getParam('付款方式'),
|
|
314
313
|
feetype: this.$appdata.getParam('其他费用'),
|
|
315
314
|
services: this.$appdata.getParam('服务人员')
|
|
@@ -369,7 +368,7 @@
|
|
|
369
368
|
this.typenumberList = this.$appdata.getParam(val)
|
|
370
369
|
},
|
|
371
370
|
async confirm (parameter) {
|
|
372
|
-
this.eticket_msg=false
|
|
371
|
+
this.eticket_msg = false
|
|
373
372
|
// 先调用付款码支付组件流程
|
|
374
373
|
let ss = await this.$refs.paymentcode.flowPath()
|
|
375
374
|
this.$refs.paymentcode.paymentCodeShow = false
|
|
@@ -423,6 +422,9 @@
|
|
|
423
422
|
}
|
|
424
423
|
},
|
|
425
424
|
computed: {
|
|
425
|
+
printstyle () {
|
|
426
|
+
return this.row.f_filialeid === '33520' ? this.$appdata.getParam('打印格式') : this.$appdata.getParam('打印格式').filter(item => item.label !== '电子发票')
|
|
427
|
+
},
|
|
426
428
|
feetime () {
|
|
427
429
|
return [{label: '一个月', value: '1'}, {label: '三个月', value: '3'}, {label: '六个月', value: '6'}, {
|
|
428
430
|
label: '一年',
|
|
@@ -431,7 +431,6 @@
|
|
|
431
431
|
openFee: 0, // 是否有开卡费
|
|
432
432
|
paymentModel: [], // 多笔付款方式
|
|
433
433
|
paytype: [],
|
|
434
|
-
printstyle: this.$appdata.getParam('打印格式') ? this.$appdata.getParam('打印格式') : [],
|
|
435
434
|
privilegeList: [{label: '无优惠', value: '0'}],
|
|
436
435
|
mjshow: false,
|
|
437
436
|
// 小数是否支持,导致划价产生的多余气量,金额
|
|
@@ -766,6 +765,9 @@
|
|
|
766
765
|
}
|
|
767
766
|
},
|
|
768
767
|
computed: {
|
|
768
|
+
printstyle () {
|
|
769
|
+
return this.row.f_filialeid === '33520' ? this.$appdata.getParam('打印格式') : this.$appdata.getParam('打印格式').filter(item => item.label !== '电子发票')
|
|
770
|
+
},
|
|
769
771
|
authArr () {
|
|
770
772
|
return this.$login.r ? this.$login.r : []
|
|
771
773
|
},
|
|
@@ -160,6 +160,10 @@
|
|
|
160
160
|
},
|
|
161
161
|
methods: {
|
|
162
162
|
async open_eTicket () {
|
|
163
|
+
if (this.$login.f.orgid != '33520') {
|
|
164
|
+
this.$showAlert('目前只有 正安县新兴天然气有限公司 可以进行开发票操作!!', 'warning', 2000)
|
|
165
|
+
return
|
|
166
|
+
}
|
|
163
167
|
if(this.selecteds.length>1){
|
|
164
168
|
this.$showAlert('选中条数大于一条,请重新修改!!', 'warning', 2000)
|
|
165
169
|
return
|
|
@@ -154,6 +154,10 @@ export default {
|
|
|
154
154
|
this.$refs.paged.$refs.cri.search()
|
|
155
155
|
},
|
|
156
156
|
async open_eTicket () {
|
|
157
|
+
if (this.$login.f.orgid != '33520') {
|
|
158
|
+
this.$showAlert('目前只有 正安县新兴天然气有限公司 可以进行开发票操作!!', 'warning', 2000)
|
|
159
|
+
return
|
|
160
|
+
}
|
|
157
161
|
if ([...new Set(this.selecteds.map(item => item.f_userinfo_code))].length > 1) {
|
|
158
162
|
this.$showAlert('所选择用户不是同一用户!!', 'warning', 2000)
|
|
159
163
|
return
|
|
@@ -165,7 +169,7 @@ export default {
|
|
|
165
169
|
//
|
|
166
170
|
// }
|
|
167
171
|
// })
|
|
168
|
-
return this.$showAlert('已结算的记录不能再次结算开票','warning',3000)
|
|
172
|
+
return this.$showAlert('已结算的记录不能再次结算开票', 'warning', 3000)
|
|
169
173
|
}
|
|
170
174
|
let HttpReset = new HttpResetClass()
|
|
171
175
|
let row = await HttpReset.load('POST', 'rs/sql/sale_getUser', {
|
|
@@ -189,7 +193,7 @@ export default {
|
|
|
189
193
|
confirm () {
|
|
190
194
|
this.eticket_msg = false
|
|
191
195
|
this.eticket_show = true
|
|
192
|
-
this.$refs.asynceticket.openETicket(this.selecteds.map(item => item.id).toString(), this.row,
|
|
196
|
+
this.$refs.asynceticket.openETicket(this.selecteds.map(item => item.id).toString(), this.row, '卡表结算')
|
|
193
197
|
},
|
|
194
198
|
getorg (val) {
|
|
195
199
|
this.f_orgid = this.$login.convertToIn(val)
|
|
@@ -150,6 +150,10 @@ export default {
|
|
|
150
150
|
this.$refs.paged.$refs.cri.search()
|
|
151
151
|
},
|
|
152
152
|
async open_eTicket () {
|
|
153
|
+
if (this.$login.f.orgid != '33520') {
|
|
154
|
+
this.$showAlert('目前只有 正安县新兴天然气有限公司 可以进行开发票操作!!', 'warning', 2000)
|
|
155
|
+
return
|
|
156
|
+
}
|
|
153
157
|
if ([...new Set(this.selecteds.map(item => item.f_userinfo_code))].length > 1) {
|
|
154
158
|
this.$showAlert('所选择用户不是同一用户!!', 'warning', 2000)
|
|
155
159
|
return
|
|
@@ -145,6 +145,10 @@ export default {
|
|
|
145
145
|
this.$refs.paged.$refs.cri.search()
|
|
146
146
|
},
|
|
147
147
|
async open_eTicket () {
|
|
148
|
+
if (this.$login.f.orgid != '33520') {
|
|
149
|
+
this.$showAlert('目前只有 正安县新兴天然气有限公司 可以进行开发票操作!!', 'warning', 2000)
|
|
150
|
+
return
|
|
151
|
+
}
|
|
148
152
|
if ([...new Set(this.selecteds.map(item => item.f_userinfo_code))].length > 1) {
|
|
149
153
|
this.$showAlert('所选择用户不是同一用户!!', 'warning', 2000)
|
|
150
154
|
return
|
package/src/sale.js
CHANGED
|
@@ -719,14 +719,17 @@ export default function (filiale) {
|
|
|
719
719
|
Vue.component('regional-add', (resolve) => { require(['./components/revenue/regionalgas/regionaladd.vue'], resolve) })
|
|
720
720
|
Vue.component('regional-list-record', (resolve) => { require(['./components/revenue/regionalgas/regionalListRecord'], resolve) })
|
|
721
721
|
Vue.component('regional-show', (resolve) => { require(['./components/revenue/regionalgas/regionalshow'], resolve) })
|
|
722
|
-
|
|
723
|
-
|
|
722
|
+
|
|
723
|
+
|
|
724
724
|
// 团缴管理
|
|
725
725
|
Vue.component('nc-archives-manage', (resolve) => { require(['./components/archives/archivesmanage'], resolve) })
|
|
726
726
|
// 管理列表
|
|
727
727
|
Vue.component('archives-list', (resolve) => { require(['./components/archives/ArchivesList'], resolve) })
|
|
728
728
|
Vue.component('archives-add', (resolve) => { require(['./components/archives/ArchivesAdd'], resolve) })
|
|
729
729
|
Vue.component('userfiles-list', (resolve) => { require(['./components/archives/UserfilesList'], resolve) })
|
|
730
|
+
|
|
731
|
+
// 档案信息
|
|
732
|
+
Vue.component('file-user-files', (resolve) => { require(['./components/FilesManage/FileUserFiles'], resolve) })
|
|
730
733
|
// 用户综合信息
|
|
731
734
|
Vue.component('file-user-general-info', (resolve) => { require(['./components/FilesManage/UserGeneralInfoTest'], resolve) })
|
|
732
735
|
// 单个表具信息test
|