sale-client 3.5.45 → 3.5.47
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/.babelrc +5 -5
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/build/dev-server.js +161 -161
- package/package.json +1 -1
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +4 -0
- package/src/components/revenue/HandManager/MbpeopleList.vue +9 -9
- package/src/components/revenue/HandManager/meterbookEntry.vue +7 -2
- package/src/filiale/guangxi/OtherGas.vue +29 -0
- package/src/filiale/guangxi/UnWriteCardCenter.vue +112 -112
- package/src/filiale/konggang/UserGeneralInfoTest.vue +491 -482
- package/src/plugins/CommonService.js +2 -0
package/.babelrc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": ["es2015", "stage-2"],
|
|
3
|
-
"plugins": ["transform-runtime"],
|
|
4
|
-
"comments": false
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"presets": ["es2015", "stage-2"],
|
|
3
|
+
"plugins": ["transform-runtime"],
|
|
4
|
+
"comments": false
|
|
5
|
+
}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
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://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://192.168.50.4: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://
|
|
93
|
-
},
|
|
94
|
-
'/rs/vue': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/webmeter': {
|
|
98
|
-
target: 'http://192.168.50.4:8450'
|
|
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://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://192.168.50.4: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://127.0.0.1:8082'
|
|
93
|
+
},
|
|
94
|
+
'/rs/vue': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/webmeter': {
|
|
98
|
+
target: 'http://192.168.50.4:8450'
|
|
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
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
<div class="col-sm-4">
|
|
125
125
|
<label class="font_normal_body_new">是否自动阀控</label>
|
|
126
|
-
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '
|
|
126
|
+
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '否' : '是'" readonly>
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<div v-if="row.f_collection_type == '按气量'" >
|
|
@@ -61,6 +61,8 @@
|
|
|
61
61
|
<th><nobr>住址</nobr></th>
|
|
62
62
|
<th><nobr>气量</nobr></th>
|
|
63
63
|
<th><nobr>应交</nobr></th>
|
|
64
|
+
<th><nobr>缴费金额 </nobr></th>
|
|
65
|
+
<th><nobr>剩余未交 </nobr></th>
|
|
64
66
|
<th><nobr>上期结余</nobr></th>
|
|
65
67
|
<th><nobr>本期结余</nobr></th>
|
|
66
68
|
<th><nobr>操作类型</nobr></th>
|
|
@@ -77,6 +79,8 @@
|
|
|
77
79
|
<td style="text-align:center">{{row.f_address}}</td>
|
|
78
80
|
<td style="text-align:center">{{row.gas}}</td>
|
|
79
81
|
<td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
|
|
82
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
|
|
83
|
+
<td style="text-align:center;white-space:nowrap;">{{row.f_oughtfee}}</td>
|
|
80
84
|
<td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
|
|
81
85
|
<td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
|
|
82
86
|
<td style="text-align:center">{{row.f_type}}</td>
|
|
@@ -156,12 +156,12 @@
|
|
|
156
156
|
</div>
|
|
157
157
|
</div>
|
|
158
158
|
</criteria>
|
|
159
|
-
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
|
159
|
+
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid :optional="true">
|
|
160
160
|
<template partial='head'>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
<!--<th>-->
|
|
162
|
+
<!--<input type="checkbox" id="f_operator" v-model="$parent.$parent.$parent.all[model.pageIndex-1]"-->
|
|
163
|
+
<!--@change="$parent.$parent.$parent.select()"/>-->
|
|
164
|
+
<!--</th>-->
|
|
165
165
|
<th><nobr>序号</nobr></th>
|
|
166
166
|
<th><nobr>客户编号</nobr></th>
|
|
167
167
|
<th><nobr>客户名称</nobr></th>
|
|
@@ -175,10 +175,10 @@
|
|
|
175
175
|
<th><nobr>表底数</nobr></th>
|
|
176
176
|
</template>
|
|
177
177
|
<template partial='body'>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
<!--<td>-->
|
|
179
|
+
<!--<input :id="'body'+model.pageIndex" type='checkbox' @change="$parent.$parent.$parent.selectOne($event,row,$index)"-->
|
|
180
|
+
<!--:checked="$parent.$parent.$parent.ischecked(model.pageIndex-1,$index)"/>-->
|
|
181
|
+
<!--</td>-->
|
|
182
182
|
<td>{{$index+1}}</td>
|
|
183
183
|
<td>{{row.f_userinfo_code}}</td>
|
|
184
184
|
<td>{{row.f_user_name}}</td>
|
|
@@ -47,13 +47,18 @@
|
|
|
47
47
|
},
|
|
48
48
|
'add-tobook-confirm' (model) {
|
|
49
49
|
model.userfilesids = []
|
|
50
|
+
this.rowsdata = this.$refs.mbpeople_list.$refs.paged.$refs.grid.getRowData()
|
|
50
51
|
let msg = '确认将选中的用户全部移入表册?'
|
|
51
52
|
var alluser=[]
|
|
52
53
|
if (this.rowsdata === null || this.rowsdata.length == 0) {
|
|
53
54
|
this.$showAlert('请勾选用户!!', 'warning', 3000)
|
|
54
55
|
} else {
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
let userfilesids = []
|
|
57
|
+
this.rowsdata.forEach((row) => {
|
|
58
|
+
userfilesids.push(row.f_userfiles_id + '')
|
|
59
|
+
})
|
|
60
|
+
model.userfilesids = userfilesids
|
|
61
|
+
alluser = this.rowsdata
|
|
57
62
|
// 变成可以直接使用的格式
|
|
58
63
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
59
64
|
if (res === 'confirm') {
|
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
<input class="input_search" style="width:60%" type="number" @blur="pregas"
|
|
10
10
|
v-validate:f_pregas='{ dctest: [0, ">=" ]}' v-model="model.f_pregas" placeholder="应补气量" v-ref:f_pregas>
|
|
11
11
|
</div>
|
|
12
|
+
<div class="col-sm-4">
|
|
13
|
+
<label class=" font_normal_body">上次气量是否上表:</label>
|
|
14
|
+
<div style="display: inline-block;padding-top: 7px">
|
|
15
|
+
<input type="radio" id="true1" name="filllast" value="1" v-model="filllast">
|
|
16
|
+
<label for="true1">是</label>
|
|
17
|
+
<input type="radio" id="false1" name="filllast" value="0" v-model="filllast">
|
|
18
|
+
<label for="false1">否</label>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
12
21
|
<div class="col-sm-4">
|
|
13
22
|
<label for="f_add_gas" class="font_normal_body">是否入累计</label>
|
|
14
23
|
<v-select id="f_add_gas"
|
|
@@ -35,6 +44,15 @@
|
|
|
35
44
|
<label for="f_preamount" class=" font_normal_body">应补金额:</label>
|
|
36
45
|
<input class="input_search" style="width:60%" type="number" min = "0" v-model="model.f_preamount" placeholder="金额">
|
|
37
46
|
</div>
|
|
47
|
+
<div class="col-sm-4">
|
|
48
|
+
<label class=" font_normal_body">上次气量是否上表:</label>
|
|
49
|
+
<div style="display: inline-block;padding-top: 7px">
|
|
50
|
+
<input type="radio" id="true2" name="filllast" value="1" v-model="filllast">
|
|
51
|
+
<label for="true2">是</label>
|
|
52
|
+
<input type="radio" id="false2" name="filllast" value="0" v-model="filllast">
|
|
53
|
+
<label for="false2">否</label>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
38
56
|
<div class="col-sm-4">
|
|
39
57
|
<label for="f_add_gas" class="font_normal_body">是否入累计:</label>
|
|
40
58
|
<v-select v-model="model.f_add_gas"
|
|
@@ -180,6 +198,16 @@ let otherGasGen = async function (self) {
|
|
|
180
198
|
if (!(self.row.f_hascard == null) && !(self.row.f_share_times == null) && self.row.f_meter_type == '物联网表' && self.row.f_hascard == '是' && self.row.f_share_times == '是') {
|
|
181
199
|
params.cs = self.row.f_times + 1
|
|
182
200
|
}
|
|
201
|
+
// 如果上次气量上表,就把上次气量变成上上次气量,上上次变为上上上次
|
|
202
|
+
if(self.filllast == '1'){
|
|
203
|
+
params.csql = params.ccsql
|
|
204
|
+
params.lastmoney = params.lastlastmoney
|
|
205
|
+
params.ccsql = params.cccsql
|
|
206
|
+
params.lastlastmoney = params.lastlastlastmoney
|
|
207
|
+
}
|
|
208
|
+
// 删除多余参数
|
|
209
|
+
delete params.cccsql
|
|
210
|
+
delete params.lastlastlastmoney
|
|
183
211
|
console.log('获取其他补气写卡参数,,', params)
|
|
184
212
|
|
|
185
213
|
let url = (getLastOper.data.last_oper === '补卡' || getLastOper.data.last_oper === '换表')
|
|
@@ -223,6 +251,7 @@ export default {
|
|
|
223
251
|
data () {
|
|
224
252
|
return {
|
|
225
253
|
isGas: false,
|
|
254
|
+
filllast: '0',
|
|
226
255
|
config: {
|
|
227
256
|
hasPrint: false, // 默认打票
|
|
228
257
|
hasBillManage: false, // 默认不启用发票管理
|