sale-client 3.5.147 → 3.5.148-2

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.
@@ -1,195 +1,196 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
- // 公司测试服务
15
- // var fuwu = 'http://192.168.50.4:8400'
16
- // var fuwu = 'http://39.99.85.14:8400'
17
- var fuwu = 'http://39.108.82.124:8400'
18
- // var fuwu = 'http://47.93.217.125:8400'
19
- // var fuwu = 'http://121.36.106.17:8400/'
20
- // 铜川正式
21
- // var fuwu = 'http://61.134.55.234:9999/'
22
- // 铜川测试
23
- // var fuwu = 'http://61.134.55.234:9999/'
24
- // var fuwu = 'http://60.222.250.39:8300/'
25
- // 韶关
26
- // var fuwu = 'http://119.146.1.106:8300/'
27
- // 巩义测试服务
28
- // var fuwu = 'http://192.168.0.227:8400'
29
- // 燎原测试服务
30
- // var fuwu = 'http://121.41.19.238:8400 '
31
- // var fuwu = 'http://121.41.19.238:9001/'
32
-
33
- // var fuwu = 'http://139.214.92.34:8301/'
34
-
35
- var proxyTable = {
36
- // '/'
37
- // '/rs/logic/stopBasicLivingNew':{
38
- // target:'http://127.0.0.1:8080'
39
- // },
40
- // '/rs/logic/getBatchOperaPro':{
41
- // target:'http://127.0.0.1:8080'
42
- // },
43
- // '/rs/sql/sale_getUser':{
44
- // target:'http://127.0.0.1:8080'
45
- // },
46
- // '/rs/logic/getOperBtns':{
47
- // target:'http://127.0.0.1:8080'
48
- // },
49
- // '/rs/file/uploadFile':{
50
- // target:'http://127.0.0.1:8080'
51
- // },
52
- // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
53
- // target:'http://127.0.0.1:8080'
54
- // },
55
- // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
56
- // target:'http:127.0.0.1:8080'
57
- // },
58
- // '/rs/sql/getDownPlan':{
59
- // target:'http:127.0.0.1:8080'
60
- // },
61
- // '/rs/logic/saleExport': {
62
- // target: fuwu
63
- // },
64
- // '/rs/logic/saleGetExportProgress': {
65
- // target: fuwu
66
- // },
67
- // '/rs/logic/getWarningMsg': {
68
- // target: 'http://localhost:8080/'
69
- // },
70
- '/rs/file': {
71
- target: fuwu
72
- },
73
- '/files': {
74
- target: fuwu
75
- },
76
- // 查找资源服务数据
77
- '/rs/search': {
78
- target: fuwu
79
- },
80
- // 查找资源服务数据
81
- '/rs/logic/getLogin': {
82
- target: fuwu
83
- },
84
- // 查找资源服务数据
85
- '/rs/logic/getInitData': {
86
- target: fuwu
87
- },
88
- '/rs/logic/getSaleInitData': {
89
- target: fuwu
90
- },
91
- '/invoice': {
92
- target: fuwu
93
- },
94
- // 用户登录服务地址
95
- '/rs/user': {
96
- target: fuwu
97
- },
98
- '/rs/path/getParams': {
99
- target: fuwu
100
- },
101
- '/rs/data': {
102
- target: fuwu
103
- },
104
- '/rs/license': {
105
- target: fuwu
106
- },
107
- '/rs/db': {
108
- target: fuwu
109
- },
110
- '/excel': {
111
- target: fuwu
112
- },
113
- '/rs/config': {
114
- target: fuwu
115
- },
116
- '/rs/sql/getLicenseById': {
117
- target: fuwu
118
- },
119
- '/rs/sql/manage_getarealist': {
120
- target: fuwu
121
- },
122
- '/rs/sql/manage_getstreetlist': {
123
- target: fuwu
124
- },
125
- '/rs/report': {
126
- target: 'http://121.36.106.17:8400/'
127
- },
128
- '/rs/vue': {
129
- target: fuwu
130
- },
131
- '/webmeter': {
132
- target: 'http://192.168.50.4:8450'
133
- },
134
- '/rs': {
135
- // target: 'http://192.168.30.63:8081/'
136
- // target: 'http://121.36.106.17:8400/'
137
- target: fuwu
138
- }
139
- }
140
-
141
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
142
- publicPath: config.output.publicPath,
143
- stats: {
144
- colors: true,
145
- chunks: false
146
- }
147
- })
148
-
149
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
150
- // force page reload when html-webpack-plugin template changes
151
- compiler.plugin('compilation', function (compilation) {
152
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
153
- hotMiddleware.publish({action: 'reload'})
154
- cb()
155
- })
156
- })
157
-
158
- // proxy api requests
159
- Object.keys(proxyTable).forEach(function (context) {
160
- var options = proxyTable[context]
161
- if (typeof options === 'string') {
162
- options = {target: options}
163
- }
164
- app.use(proxyMiddleware(context, options))
165
- })
166
-
167
- // handle fallback for HTML5 history API
168
- app.use(require('connect-history-api-fallback')())
169
- // app.use(function (req, res, next) {
170
- // res.header('Access-Control-Allow-Origin', '*')
171
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
172
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
173
- // res.header('X-Powered-By', '3,2,1')
174
- // res.header('Access-Control-Allow-Credentials', 'true')
175
- // res.header('Content-Type', 'application/json;charset=utf-8')
176
- // next()
177
- // })
178
-
179
- // serve webpack bundle output
180
- app.use(devMiddleware)
181
-
182
- // enable hot-reload and state-preserving
183
- // compilation error display
184
- app.use(hotMiddleware)
185
-
186
- // serve pure static assets
187
- app.use('/static', express.static('./static'))
188
-
189
- module.exports = app.listen(8089, function (err) {
190
- if (err) {
191
- console.log(err)
192
- return
193
- }
194
- console.log('Listening at http://localhost:8089')
195
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
14
+ // 公司测试服务
15
+ // var fuwu = 'http://192.168.50.4:8400'
16
+ // 中邑
17
+ var fuwu = 'http://47.93.217.125:8400'
18
+ // var fuwu = 'http://39.108.82.124:8400'
19
+ // var fuwu = 'http://47.93.217.125:8400'
20
+ // var fuwu = 'http://121.36.106.17:8400/'
21
+ // 铜川正式
22
+ // var fuwu = 'http://61.134.55.234:9999/'
23
+ // 铜川测试
24
+ // var fuwu = 'http://61.134.55.234:9999/'
25
+ // var fuwu = 'http://60.222.250.39:8300/'
26
+ // 韶关
27
+ // var fuwu = 'http://119.146.1.106:8300/'
28
+ // 巩义测试服务
29
+ // var fuwu = 'http://192.168.0.227:8400'
30
+ // 燎原测试服务
31
+ // var fuwu = 'http://121.41.19.238:8400 '
32
+ // var fuwu = 'http://121.41.19.238:9001/'
33
+
34
+ // var fuwu = 'http://139.214.92.34:8301/'
35
+
36
+ var proxyTable = {
37
+ // '/'
38
+ // '/rs/logic/stopBasicLivingNew':{
39
+ // target:'http://127.0.0.1:8080'
40
+ // },
41
+ // '/rs/logic/getBatchOperaPro':{
42
+ // target:'http://127.0.0.1:8080'
43
+ // },
44
+ // '/rs/sql/sale_getUser':{
45
+ // target:'http://127.0.0.1:8080'
46
+ // },
47
+ // '/rs/logic/getOperBtns':{
48
+ // target:'http://127.0.0.1:8080'
49
+ // },
50
+ // '/rs/file/uploadFile':{
51
+ // target:'http://127.0.0.1:8080'
52
+ // },
53
+ // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
54
+ // target:'http://127.0.0.1:8080'
55
+ // },
56
+ // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
57
+ // target:'http:127.0.0.1:8080'
58
+ // },
59
+ // '/rs/sql/getDownPlan':{
60
+ // target:'http:127.0.0.1:8080'
61
+ // },
62
+ // '/rs/logic/saleExport': {
63
+ // target: fuwu
64
+ // },
65
+ // '/rs/logic/saleGetExportProgress': {
66
+ // target: fuwu
67
+ // },
68
+ // '/rs/logic/getWarningMsg': {
69
+ // target: 'http://localhost:8080/'
70
+ // },
71
+ '/rs/file': {
72
+ target: fuwu
73
+ },
74
+ '/files': {
75
+ target: fuwu
76
+ },
77
+ // 查找资源服务数据
78
+ '/rs/search': {
79
+ target: fuwu
80
+ },
81
+ // 查找资源服务数据
82
+ '/rs/logic/getLogin': {
83
+ target: fuwu
84
+ },
85
+ // 查找资源服务数据
86
+ '/rs/logic/getInitData': {
87
+ target: fuwu
88
+ },
89
+ '/rs/logic/getSaleInitData': {
90
+ target: fuwu
91
+ },
92
+ '/invoice': {
93
+ target: fuwu
94
+ },
95
+ // 用户登录服务地址
96
+ '/rs/user': {
97
+ target: fuwu
98
+ },
99
+ '/rs/path/getParams': {
100
+ target: fuwu
101
+ },
102
+ '/rs/data': {
103
+ target: fuwu
104
+ },
105
+ '/rs/license': {
106
+ target: fuwu
107
+ },
108
+ '/rs/db': {
109
+ target: fuwu
110
+ },
111
+ '/excel': {
112
+ target: fuwu
113
+ },
114
+ '/rs/config': {
115
+ target: fuwu
116
+ },
117
+ '/rs/sql/getLicenseById': {
118
+ target: fuwu
119
+ },
120
+ '/rs/sql/manage_getarealist': {
121
+ target: fuwu
122
+ },
123
+ '/rs/sql/manage_getstreetlist': {
124
+ target: fuwu
125
+ },
126
+ '/rs/report': {
127
+ target: 'http://121.36.106.17:8400/'
128
+ },
129
+ '/rs/vue': {
130
+ target: fuwu
131
+ },
132
+ '/webmeter': {
133
+ target: 'http://192.168.50.4:8450'
134
+ },
135
+ '/rs': {
136
+ // target: 'http://192.168.30.63:8081/'
137
+ // target: 'http://121.36.106.17:8400/'
138
+ target: fuwu
139
+ }
140
+ }
141
+
142
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
143
+ publicPath: config.output.publicPath,
144
+ stats: {
145
+ colors: true,
146
+ chunks: false
147
+ }
148
+ })
149
+
150
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
151
+ // force page reload when html-webpack-plugin template changes
152
+ compiler.plugin('compilation', function (compilation) {
153
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
154
+ hotMiddleware.publish({action: 'reload'})
155
+ cb()
156
+ })
157
+ })
158
+
159
+ // proxy api requests
160
+ Object.keys(proxyTable).forEach(function (context) {
161
+ var options = proxyTable[context]
162
+ if (typeof options === 'string') {
163
+ options = {target: options}
164
+ }
165
+ app.use(proxyMiddleware(context, options))
166
+ })
167
+
168
+ // handle fallback for HTML5 history API
169
+ app.use(require('connect-history-api-fallback')())
170
+ // app.use(function (req, res, next) {
171
+ // res.header('Access-Control-Allow-Origin', '*')
172
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
173
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
174
+ // res.header('X-Powered-By', '3,2,1')
175
+ // res.header('Access-Control-Allow-Credentials', 'true')
176
+ // res.header('Content-Type', 'application/json;charset=utf-8')
177
+ // next()
178
+ // })
179
+
180
+ // serve webpack bundle output
181
+ app.use(devMiddleware)
182
+
183
+ // enable hot-reload and state-preserving
184
+ // compilation error display
185
+ app.use(hotMiddleware)
186
+
187
+ // serve pure static assets
188
+ app.use('/static', express.static('./static'))
189
+
190
+ module.exports = app.listen(8089, function (err) {
191
+ if (err) {
192
+ console.log(err)
193
+ return
194
+ }
195
+ console.log('Listening at http://localhost:8089')
196
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.147",
3
+ "version": "3.5.148-2",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -5,7 +5,7 @@
5
5
  <div style="margin-top: 2%;">
6
6
  <a style="font-size: 16px;font-weight: 500;">表具信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
7
7
  </div>
8
- <div class="row">
8
+ <div class="row" >
9
9
  <div class="col-sm-4 form-group" v-if="isiot" :class="[$m.f_meternumber.required ? 'has-error' : '']">
10
10
  <label for="f_meternumber" class="font_normal_body">&ensp;表&emsp;&emsp;号</label>
11
11
  <input type="text" class="input_search" style="width:60%" v-model="row.f_meternumber"
@@ -32,7 +32,7 @@
32
32
  <input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
33
33
  :disabled="!jurisdiction.includes('档案信息查询修改')" :readonly="!row.f_userfiles_id">
34
34
  </div>
35
- <div class="col-sm-4 form-group">
35
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
36
36
  <label for="f_meter_base" class="font_normal_body">&ensp;初始底数</label>
37
37
  <input type="number" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
38
38
  :disabled="!jurisdiction.includes('档案信息查询修改')">
@@ -53,32 +53,32 @@
53
53
  close-on-select
54
54
  v-model='row.gasmodel' :disabled="row.gasbrand.length === 0 || curuser.f_user_state != '预备'" v-ref:model></v-select>
55
55
  </div>
56
- <div class="col-sm-4 form-group">
56
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
57
57
  <label for="f_meter_base" class="font_normal_body">&ensp;累购气量</label>
58
58
  <input type="number" class="input_search" style="width:60%" v-model="row.f_total_gas" placeholder='累购气量'
59
59
  :disabled="!jurisdiction.includes('档案信息查询修改')">
60
60
  </div>
61
- <div class="col-sm-4 form-group">
61
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
62
62
  <label for="f_meter_base" class="font_normal_body">表写卡累购气量</label>
63
63
  <input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalgas" placeholder='表写卡累购气量'
64
64
  :disabled="!jurisdiction.includes('档案信息查询修改')">
65
65
  </div>
66
- <div class="col-sm-4 form-group">
66
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
67
67
  <label for="f_meter_base" class="font_normal_body">&ensp;累购金额</label>
68
68
  <input type="number" class="input_search" style="width:60%" v-model="row.f_total_fee" placeholder='累购金额'
69
69
  :disabled="!jurisdiction.includes('档案信息查询修改')">
70
70
  </div>
71
- <div class="col-sm-4 form-group">
71
+ <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】">
72
72
  <label for="f_meter_base" class="font_normal_body">表写卡累购金额</label>
73
73
  <input type="number" class="input_search" style="width:60%" v-model="row.f_write_totalfee" placeholder='表写卡累购金额'
74
74
  :disabled="!jurisdiction.includes('档案信息查询修改')">
75
75
  </div>
76
- <div class="col-sm-4 form-group" v-show="row.f_meter_classify != '机表'">
76
+ <div class="col-sm-4 form-group" v-show="row.f_meter_classify != '机表'" title="涉及权限:【档案信息查询修改】">
77
77
  <label for="f_times" class="font_normal_body">&ensp;写卡次数</label>
78
78
  <input type="number" class="input_search" style="width:60%" v-model="row.f_times" placeholder='写卡次数'
79
79
  :disabled="!jurisdiction.includes('档案信息查询修改')">
80
80
  </div>
81
- <div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'">
81
+ <div class="col-sm-4 form-group" v-show="row.f_meter_classify == '物联网表'" title="涉及权限:【档案信息查询修改】">
82
82
  <label for="f_times" class="font_normal_body">物联网写卡次数</label>
83
83
  <input type="number" class="input_search" style="width:60%" v-model="row.f_iot_times" placeholder='物联网次数'
84
84
  :disabled="!jurisdiction.includes('档案信息查询修改')">
@@ -113,6 +113,10 @@
113
113
  <v-select :value.sync="row.f_concentrator_id" :options='concentrators' value-single placeholder='集中器' close-on-select v-else
114
114
  search v-model='row.f_concentrator_id' :disabled="false"></v-select>
115
115
  </div>
116
+ <div class="col-sm-4 form-group" v-if="(row.gasbrand.length > 0 && ((row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是') || (row.f_meter_classify.includes('卡表'))) && row.f_user_id )">
117
+ <label class="font_normal_body">&ensp;卡&emsp;&emsp;号</label>
118
+ <input type="number" class="input_search" style="width:60%" v-model="row.f_card_id" placeholder='卡号' @blur="checkCardId" :disabled="!jurisdiction.includes('卡号修改')">
119
+ </div>
116
120
  </div>
117
121
  <div>
118
122
  <a style="font-size: 16px;font-weight: 500;">气价信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
@@ -539,6 +543,8 @@
539
543
  show: false,
540
544
  field: '',
541
545
  ratioshow: false,
546
+ // 原本的卡号
547
+ orginCardId: '',
542
548
  userfileid: '',
543
549
  gasid: '',
544
550
  gastype: 'userfiles',
@@ -571,6 +577,7 @@
571
577
  async ready () {
572
578
  console.log('看看meter里面的数据', this.meter, this.row)
573
579
  this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
580
+ this.orginCardId = this.row.f_card_id
574
581
  if(this.row.f_meter_classify){
575
582
  if(this.row.f_meter_classify==='物联网表'){
576
583
  this.isiot=true
@@ -588,6 +595,21 @@
588
595
  co(meterBookGen(this))
589
596
  },
590
597
  methods: {
598
+ checkCardId() {
599
+ this.$resetpost('rs/logic/checkCardId', {
600
+ data: {
601
+ f_userfiles_id: this.row.f_userfiles_id,
602
+ gasbrandId: this.row.f_gasbrand_id,
603
+ cardId: this.row.f_card_id,
604
+ f_orgid: this.row.f_orgid
605
+ }
606
+ }, {resolveMsg: null, rejectMsg: '获取表号出错'}).then(res => {
607
+ if(res.data.code !== '200') {
608
+ this.row.f_card_id = this.orginCardId
609
+ this.$showAlert(res.data.msg,'warning',1500)
610
+ }
611
+ })
612
+ },
591
613
  gasDateChange () {
592
614
  if (!this.row.f_scrap_date && this.row.f_gas_date) {
593
615
  if (this.row.f_use_limit) {
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
96
+ <input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
97
97
  </div>
98
98
  </article>
99
99
  <footer slot="modal-footer" class="modal-footer">
@@ -57,8 +57,8 @@
57
57
  <div :class="[$v.f_stairmonths.required || $v.f_stairmonths.dctest ? 'has-error' : 'has-success']" class="col-sm-6 form-group">
58
58
  <label class="font_normal_body" for="f_stairmonths">阶段月数</label>
59
59
  <input :disabled='isEdit' class="input_search" style="width:60%" type="number"
60
- v-model="model.f_stairmonths" v-validate:f_stairmonths='{required: true, dctest: [ 12, "<=" ] }'>
61
- <span class="help-block" v-if="$v.f_stairmonths.dctest">阶段月数不能大于12</span>
60
+ v-model="model.f_stairmonths" v-validate:f_stairmonths='{required: true}'>
61
+ <!-- <span class="help-block" v-if="$v.f_stairmonths.dctest">阶段月数不能大于36</span>-->
62
62
  </div>
63
63
  <div :class="[$v.f_stair_start_date.required ? 'has-error' : 'has-success']" class="col-sm-6 form-group" v-if="stairStartShow">
64
64
  <input class="input_search" style="width:60%" type="text" v-model="model.f_stair_start_date" v-show="false"
@@ -394,7 +394,7 @@
394
394
  import * as Util from '../../../Util'
395
395
 
396
396
  let readyGen = async function (self) {
397
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
397
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
398
398
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
399
399
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
400
400
  self.loadMeterBooks()
@@ -414,13 +414,12 @@
414
414
  dep: [],
415
415
  user: []
416
416
  },
417
- config: {
418
- examine: false
417
+ config:{
418
+ examine: false,
419
419
  },
420
420
  imgfilename: '',
421
421
  // 小区
422
422
  residentialArea: [],
423
- inputtouPerson: [],
424
423
  imgshow: false,
425
424
  criteriaShow: false,
426
425
  orgCondtionStr: '',
@@ -445,8 +444,8 @@
445
444
  'f_adjustable_name': '调压箱名称',
446
445
  'f_inputtor': '抄表员'
447
446
  },
448
- auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
449
- auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
447
+ auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
448
+ auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
450
449
  meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
451
450
  resultstate: this.$appdata.getParam('抄表结果状态'),
452
451
  meterstates: this.$appdata.getParam('抄表状态') ? [{
@@ -476,7 +475,7 @@
476
475
  methods: {
477
476
  // 修正本期底数
478
477
  amend (row) {
479
- let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
478
+ let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
480
479
  if (!tablebase) return
481
480
  if (tablebase < 0) {
482
481
  this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
@@ -597,9 +596,9 @@
597
596
  this.imgshow = false
598
597
  },
599
598
  imgShow (val) {
600
- console.log('-----------val2:', val)
599
+ console.log("-----------val2:",val)
601
600
  this.imgfilename = `rs/image/file/` + val
602
- console.log('-----------imgfilename2:', this.imgfilename)
601
+ console.log("-----------imgfilename2:",this.imgfilename)
603
602
  this.imgshow = true
604
603
  },
605
604
  async getaddress () {
@@ -633,17 +632,6 @@
633
632
  } else {
634
633
  args.condition = `${args.condition}` + this.orgCondtionStr
635
634
  }
636
- // 抄表员查询条件
637
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
638
- if (this.inputtouPerson.length !== 0) {
639
- let str = JSON.stringify(this.inputtouPerson)
640
- str = str.replace(/"/g, `'`)
641
- str = str.replace(/\[/g, ``)
642
- str = str.replace(/\]/g, ``)
643
- console.log('=====抄表员model22222222222绑定====', str)
644
- // 查询多个抄表员时条件
645
- args.condition += ` and f_inputtor in ( ${str} )`
646
- }
647
635
  this.excelCondition = args.condition
648
636
  this.$refs.paged.$refs.grid.selectInit()
649
637
  this.model.search(args.condition, args.model)
@@ -708,7 +696,7 @@
708
696
  },
709
697
  loadMeterBooks () {
710
698
  this.meterbooks = this.$GetSaleParam.getMeterBooks()
711
- }
699
+ },
712
700
 
713
701
  },
714
702
  computed: {