sale-client 3.5.193 → 3.5.195
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 +73 -67
- package/package.json +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +20 -3
- package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +321 -265
- package/src/components/common/userinfo_detail/ic_detail/WebAutomaticPurse.vue +297 -0
- package/src/components/common/userinfo_detail/ic_detail/WebChargeQueryUser.vue +372 -0
- package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +357 -0
- package/src/components/revenue/comprehen/Maintenance/revenue/StockListmain.vue +9 -1
- package/src/filiale/dongguan/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +4 -2
- package/src/filiale/qianneng/revenue/common/ic_detail/ChargeQueryUser.vue +24 -18
- package/src/filiale/rizhao/ChargeQueryUser.vue +5 -3
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +4 -2
- package/src/main.js +22 -22
package/build/dev-server.js
CHANGED
|
@@ -1,67 +1,73 @@
|
|
|
1
|
-
const express = require('express')
|
|
2
|
-
const webpack = require('webpack')
|
|
3
|
-
const config = require('./webpack.dev.conf')
|
|
4
|
-
const proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
const app = express()
|
|
6
|
-
const compiler = webpack(config)
|
|
7
|
-
|
|
8
|
-
// 自己改了这里不要提交 来回覆盖挺麻烦的
|
|
9
|
-
const [local, server] = ['http://127.0.0.1:8080', 'http://192.168.50.4:8400']
|
|
10
|
-
const port = 8089
|
|
11
|
-
|
|
12
|
-
const proxyTable = {
|
|
13
|
-
'/text': {
|
|
14
|
-
target: local
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
'/
|
|
26
|
-
target: server
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
const express = require('express')
|
|
2
|
+
const webpack = require('webpack')
|
|
3
|
+
const config = require('./webpack.dev.conf')
|
|
4
|
+
const proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
const app = express()
|
|
6
|
+
const compiler = webpack(config)
|
|
7
|
+
|
|
8
|
+
// 自己改了这里不要提交 来回覆盖挺麻烦的
|
|
9
|
+
const [local, server] = ['http://127.0.0.1:8080', 'http://192.168.50.4:8400']
|
|
10
|
+
const port = 8089
|
|
11
|
+
|
|
12
|
+
const proxyTable = {
|
|
13
|
+
'/text': {
|
|
14
|
+
target: local,
|
|
15
|
+
// changeOrigin: true //https请求需要加
|
|
16
|
+
},
|
|
17
|
+
'/files': {
|
|
18
|
+
target: server,
|
|
19
|
+
// changeOrigin: true
|
|
20
|
+
},
|
|
21
|
+
'/excel': {
|
|
22
|
+
target: server,
|
|
23
|
+
// changeOrigin: true
|
|
24
|
+
},
|
|
25
|
+
'/webmeter': {
|
|
26
|
+
target: server,
|
|
27
|
+
// changeOrigin: true
|
|
28
|
+
},
|
|
29
|
+
'/rs/logic': {
|
|
30
|
+
target: server,
|
|
31
|
+
// changeOrigin: true
|
|
32
|
+
},
|
|
33
|
+
'/rs': {
|
|
34
|
+
target: server,
|
|
35
|
+
// changeOrigin: true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
40
|
+
publicPath: config.output.publicPath,
|
|
41
|
+
stats: {
|
|
42
|
+
colors: true,
|
|
43
|
+
chunks: false
|
|
44
|
+
}
|
|
45
|
+
})
|
|
46
|
+
|
|
47
|
+
const hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
48
|
+
compiler.plugin('compilation', function (compilation) {
|
|
49
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
50
|
+
hotMiddleware.publish({action: 'reload'})
|
|
51
|
+
cb()
|
|
52
|
+
})
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
56
|
+
let options = proxyTable[context]
|
|
57
|
+
if (typeof options === 'string') {
|
|
58
|
+
options = {target: options}
|
|
59
|
+
}
|
|
60
|
+
app.use(proxyMiddleware(context, options))
|
|
61
|
+
})
|
|
62
|
+
app.use(require('connect-history-api-fallback')())
|
|
63
|
+
app.use(devMiddleware)
|
|
64
|
+
app.use(hotMiddleware)
|
|
65
|
+
app.use('/static', express.static('./static'))
|
|
66
|
+
|
|
67
|
+
module.exports = app.listen(port, function (err) {
|
|
68
|
+
if (err) {
|
|
69
|
+
console.log(err)
|
|
70
|
+
return
|
|
71
|
+
}
|
|
72
|
+
console.log('Listening at http://localhost:' + port)
|
|
73
|
+
})
|
package/package.json
CHANGED
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
serialShow: false,
|
|
492
492
|
resid: [], // 存放新增的f_files表中id
|
|
493
493
|
config: {
|
|
494
|
-
calculatePreByCollection:
|
|
494
|
+
calculatePreByCollection: false, // 可以更具收款来反向计算预购
|
|
495
495
|
notShowFormula: false, // 不显示计算公式,默认显示
|
|
496
496
|
autoCollection: true, // 自动填写收款
|
|
497
497
|
showupload: true, // 显示上传
|
|
@@ -463,7 +463,7 @@ export default {
|
|
|
463
463
|
resid: [],
|
|
464
464
|
config: {
|
|
465
465
|
notShowFormula: false, // 不显示计算公式,默认显示
|
|
466
|
-
calculatePreByCollection:
|
|
466
|
+
calculatePreByCollection: false, // 可以更具收款来反向计算预购
|
|
467
467
|
showupload: true, // 默认不显示上传附件
|
|
468
468
|
hasPrint: false, // 默认打票
|
|
469
469
|
floor: true, // 是否取整收费
|
|
@@ -9,21 +9,30 @@
|
|
|
9
9
|
<saletab header="机表流水查询" v-if="permission('机表流水查询')&&row.f_meter_type.includes('机表')">
|
|
10
10
|
<machine-record-query :row="row" v-if="show == '机表流水查询'" @deal-msg="dealMsg"></machine-record-query>
|
|
11
11
|
</saletab>
|
|
12
|
-
<saletab header="收费查询" v-if="permission('收费查询')">
|
|
12
|
+
<saletab header="收费查询" v-if="!newWebHand && permission('收费查询')">
|
|
13
|
+
<charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
|
|
14
|
+
</saletab>
|
|
15
|
+
<saletab header="收费查询" v-if="newWebHand && permission('收费查询')">
|
|
13
16
|
<charge-query-user :row="row" v-if="show == '收费查询'" @deal-msg="dealMsg"></charge-query-user>
|
|
14
17
|
</saletab>
|
|
15
18
|
<saletab header="累购查询" v-if="permission('累购查询')">
|
|
16
19
|
<Repurchase :row="row" v-if="show == '累购查询'" @deal-msg="dealMsg"></Repurchase>
|
|
17
20
|
</saletab>
|
|
18
|
-
<saletab header="下账查询" v-if="row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
|
|
21
|
+
<saletab header="下账查询" v-if="!newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
|
|
19
22
|
<automatic-purse :row="row" @deal-msg="dealMsg"></automatic-purse>
|
|
20
23
|
</saletab>
|
|
24
|
+
<saletab header="下账查询" v-if="newWebHand && row.f_meter_type.includes('物联网表')&&permission('自动下账查询')">
|
|
25
|
+
<web-automatic-purse :row="row" @deal-msg="dealMsg"></web-automatic-purse>
|
|
26
|
+
</saletab>
|
|
21
27
|
<saletab header="抄表记录" v-if="row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
22
28
|
<card-hand-record :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></card-hand-record>
|
|
23
29
|
</saletab>
|
|
24
|
-
<saletab header="抄表记录" v-if="!row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
30
|
+
<saletab header="抄表记录" v-if="!newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
25
31
|
<hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></hand-query-user>
|
|
26
32
|
</saletab>
|
|
33
|
+
<saletab header="抄表记录" v-if="newWebHand && !row.f_meter_type.includes('卡表')&&permission('抄表记录')">
|
|
34
|
+
<web-hand-query-user :row="row" v-if="show == '抄表记录'" @deal-msg="dealMsg"></web-hand-query-user>
|
|
35
|
+
</saletab>
|
|
27
36
|
<saletab header="补卡查询" v-if="row.f_meter_type.includes('卡表')&&permission('补卡查询')">
|
|
28
37
|
<fill-card-query-user :row="row" v-if="show == '补卡查询'" @deal-msg="dealMsg"></fill-card-query-user>
|
|
29
38
|
</saletab>
|
|
@@ -92,6 +101,10 @@
|
|
|
92
101
|
import AutomaticPurse from './ic_detail/AutomaticPurse'
|
|
93
102
|
import Repurchase from './ic_detail/Repurchase'
|
|
94
103
|
import MachineRecordQuery from './ic_detail/MachineRecordQuery'
|
|
104
|
+
import WebAutomaticPurse from './ic_detail/WebAutomaticPurse'
|
|
105
|
+
import WebChargeQueryUser from './ic_detail/WebChargeQueryUser'
|
|
106
|
+
import WebHandQueryUser from './ic_detail/WebHandQueryUser'
|
|
107
|
+
|
|
95
108
|
// 导入物联网相关查询
|
|
96
109
|
import QueryInstruct from './iot_detail/QueryInstruct'
|
|
97
110
|
import QueryHistoryInstruct from './iot_detail/QueryHistoryInstruct'
|
|
@@ -109,6 +122,9 @@ export default {
|
|
|
109
122
|
PriceAdjustmentQueryUser,
|
|
110
123
|
PriceChangeQueryUser,
|
|
111
124
|
AutomaticPurse,
|
|
125
|
+
WebAutomaticPurse,
|
|
126
|
+
WebChargeQueryUser,
|
|
127
|
+
WebHandQueryUser,
|
|
112
128
|
Repurchase,
|
|
113
129
|
ChangeMeterQueryUser,
|
|
114
130
|
ChargeQueryUser,
|
|
@@ -132,6 +148,7 @@ export default {
|
|
|
132
148
|
return {
|
|
133
149
|
row: null,
|
|
134
150
|
name: '自动下账查询',
|
|
151
|
+
newWebHand: this.$appdata.getSingleValue('新抄表'),
|
|
135
152
|
show: ''
|
|
136
153
|
}
|
|
137
154
|
},
|