sale-client 3.5.63 → 3.5.65
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/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +117 -117
- package/src/components/FilesManage/UserGeneralInfoTest.vue +3 -3
- package/src/components/charge/business/OtherChargeNew.vue +17 -13
- package/src/components/revenue/comprehen/Maintenance/hand/maintenanceHandmeterRecords.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +10 -22
- package/src/filiale/chengtou/components/OtherChargeNew.vue +549 -0
- package/src/filiale/chengtou/sale.js +3 -0
- package/src/filiale/gehua/HighMeterIdCard.vue +1251 -0
- package/src/filiale/gehua/sale.js +7 -0
- package/src/filiale/qianneng/eticket/EticketPrint.vue +6 -8
- package/src/filiale/shaoguan/handListMaintain.vue +2 -2
- package/src/main.js +1 -1
- package/yarn-error.log +0 -9224
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sale-client",
|
|
3
|
-
"version": "3.5.
|
|
4
|
-
"description": "收费模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"example": "node build/example-server.js",
|
|
8
|
-
"dev": "node build/dev-server.js",
|
|
9
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
-
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
-
"build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
-
"e2e": "node test/e2e/runner.js",
|
|
13
|
-
"release": "bash build/release.sh"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://gitee.com/aote/product.git"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"examples": "^0.1.0",
|
|
21
|
-
"js-file-download": "0.4.12",
|
|
22
|
-
"less-loader": "^2.2.3",
|
|
23
|
-
"qrcodejs2": "0.0.2",
|
|
24
|
-
"vue": "^1.0.17",
|
|
25
|
-
"yarn": "^1.22.10"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"address-client": "3.2.29",
|
|
29
|
-
"axios": "0.15.3",
|
|
30
|
-
"babel-core": "^6.0.0",
|
|
31
|
-
"babel-loader": "^6.0.0",
|
|
32
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
33
|
-
"babel-preset-es2015": "^6.0.0",
|
|
34
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
35
|
-
"chai": "^3.5.0",
|
|
36
|
-
"co": "^4.6.0",
|
|
37
|
-
"compression-webpack-plugin": "1.1.2",
|
|
38
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
39
|
-
"cross-env": "^1.0.7",
|
|
40
|
-
"cross-spawn": "^2.1.5",
|
|
41
|
-
"css-loader": "^0.23.0",
|
|
42
|
-
"echarts": "^4.1.0",
|
|
43
|
-
"eslint": "^3.19.0",
|
|
44
|
-
"eslint-config-standard": "^10.2.1",
|
|
45
|
-
"eslint-friendly-formatter": "^3.0.0",
|
|
46
|
-
"eslint-loader": "^1.7.1",
|
|
47
|
-
"eslint-plugin-html": "^3.0.0",
|
|
48
|
-
"eslint-plugin-import": "^2.7.0",
|
|
49
|
-
"eslint-plugin-node": "^5.2.0",
|
|
50
|
-
"eslint-plugin-promise": "^3.4.0",
|
|
51
|
-
"eslint-plugin-standard": "^3.0.1",
|
|
52
|
-
"eventsource-polyfill": "^0.9.6",
|
|
53
|
-
"express": "^4.13.3",
|
|
54
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
55
|
-
"file-loader": "^0.8.4",
|
|
56
|
-
"filemanager-webpack-plugin": "^2.0.5",
|
|
57
|
-
"function-bind": "^1.0.2",
|
|
58
|
-
"html-webpack-plugin": "^2.8.1",
|
|
59
|
-
"http-proxy-middleware": "^0.11.0",
|
|
60
|
-
"inject-loader": "^2.0.1",
|
|
61
|
-
"isparta-loader": "^2.0.0",
|
|
62
|
-
"jasmine-core": "^2.4.1",
|
|
63
|
-
"jquery": "^3.3.1",
|
|
64
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
65
|
-
"json-loader": "^0.5.4",
|
|
66
|
-
"karma": "^1.4.1",
|
|
67
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
68
|
-
"karma-coverage": "^1.1.1",
|
|
69
|
-
"karma-mocha": "^1.3.0",
|
|
70
|
-
"karma-sinon-chai": "^1.3.1",
|
|
71
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
72
|
-
"karma-spec-reporter": "0.0.31",
|
|
73
|
-
"karma-webpack": "^2.0.2",
|
|
74
|
-
"ldap-clients": "3.0.7",
|
|
75
|
-
"less": "^2.7.3",
|
|
76
|
-
"manage-client": "3.1.8-88",
|
|
77
|
-
"mkdirp": "^0.5.1",
|
|
78
|
-
"mocha": "^3.2.0",
|
|
79
|
-
"moment": "2.24.0",
|
|
80
|
-
"ncp": "^2.0.0",
|
|
81
|
-
"nightwatch": "^0.8.18",
|
|
82
|
-
"qrcodejs2": "0.0.2",
|
|
83
|
-
"rimraf": "^2.5.0",
|
|
84
|
-
"selenium-server": "2.52.0",
|
|
85
|
-
"sinon": "^2.1.0",
|
|
86
|
-
"sinon-chai": "^2.8.0",
|
|
87
|
-
"style": "0.0.3",
|
|
88
|
-
"style-loader": "^0.20.3",
|
|
89
|
-
"system-clients": "3.2.25",
|
|
90
|
-
"url-loader": "^0.5.7",
|
|
91
|
-
"vue-client": "1.24.67",
|
|
92
|
-
"vue-clipboard2": "0.3.1",
|
|
93
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
94
|
-
"vue-html-loader": "^1.0.0",
|
|
95
|
-
"vue-loader": "^8.2.1",
|
|
96
|
-
"vue-resource": "^1.5.0",
|
|
97
|
-
"vue-router": "^0.7.13",
|
|
98
|
-
"vue-strap": "^1.0.9",
|
|
99
|
-
"vue-style-loader": "^1.0.0",
|
|
100
|
-
"vue-validator": "2.1.7",
|
|
101
|
-
"webpack": "^1.12.2",
|
|
102
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
103
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
104
|
-
"webpack-merge": "^0.8.3",
|
|
105
|
-
"webpack-parallel-uglify-plugin": "^1.0.0",
|
|
106
|
-
"weixin-js-sdk": "^1.2.0"
|
|
107
|
-
},
|
|
108
|
-
"keywords": [
|
|
109
|
-
"selling-clients"
|
|
110
|
-
],
|
|
111
|
-
"author": "张桥",
|
|
112
|
-
"license": "ISC",
|
|
113
|
-
"directories": {
|
|
114
|
-
"example": "examples",
|
|
115
|
-
"test": "test"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sale-client",
|
|
3
|
+
"version": "3.5.65",
|
|
4
|
+
"description": "收费模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"example": "node build/example-server.js",
|
|
8
|
+
"dev": "node build/dev-server.js",
|
|
9
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
+
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
+
"build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
+
"e2e": "node test/e2e/runner.js",
|
|
13
|
+
"release": "bash build/release.sh"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://gitee.com/aote/product.git"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"examples": "^0.1.0",
|
|
21
|
+
"js-file-download": "0.4.12",
|
|
22
|
+
"less-loader": "^2.2.3",
|
|
23
|
+
"qrcodejs2": "0.0.2",
|
|
24
|
+
"vue": "^1.0.17",
|
|
25
|
+
"yarn": "^1.22.10"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"address-client": "3.2.29",
|
|
29
|
+
"axios": "0.15.3",
|
|
30
|
+
"babel-core": "^6.0.0",
|
|
31
|
+
"babel-loader": "^6.0.0",
|
|
32
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
33
|
+
"babel-preset-es2015": "^6.0.0",
|
|
34
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
35
|
+
"chai": "^3.5.0",
|
|
36
|
+
"co": "^4.6.0",
|
|
37
|
+
"compression-webpack-plugin": "1.1.2",
|
|
38
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
39
|
+
"cross-env": "^1.0.7",
|
|
40
|
+
"cross-spawn": "^2.1.5",
|
|
41
|
+
"css-loader": "^0.23.0",
|
|
42
|
+
"echarts": "^4.1.0",
|
|
43
|
+
"eslint": "^3.19.0",
|
|
44
|
+
"eslint-config-standard": "^10.2.1",
|
|
45
|
+
"eslint-friendly-formatter": "^3.0.0",
|
|
46
|
+
"eslint-loader": "^1.7.1",
|
|
47
|
+
"eslint-plugin-html": "^3.0.0",
|
|
48
|
+
"eslint-plugin-import": "^2.7.0",
|
|
49
|
+
"eslint-plugin-node": "^5.2.0",
|
|
50
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
51
|
+
"eslint-plugin-standard": "^3.0.1",
|
|
52
|
+
"eventsource-polyfill": "^0.9.6",
|
|
53
|
+
"express": "^4.13.3",
|
|
54
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
55
|
+
"file-loader": "^0.8.4",
|
|
56
|
+
"filemanager-webpack-plugin": "^2.0.5",
|
|
57
|
+
"function-bind": "^1.0.2",
|
|
58
|
+
"html-webpack-plugin": "^2.8.1",
|
|
59
|
+
"http-proxy-middleware": "^0.11.0",
|
|
60
|
+
"inject-loader": "^2.0.1",
|
|
61
|
+
"isparta-loader": "^2.0.0",
|
|
62
|
+
"jasmine-core": "^2.4.1",
|
|
63
|
+
"jquery": "^3.3.1",
|
|
64
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
65
|
+
"json-loader": "^0.5.4",
|
|
66
|
+
"karma": "^1.4.1",
|
|
67
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
68
|
+
"karma-coverage": "^1.1.1",
|
|
69
|
+
"karma-mocha": "^1.3.0",
|
|
70
|
+
"karma-sinon-chai": "^1.3.1",
|
|
71
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
72
|
+
"karma-spec-reporter": "0.0.31",
|
|
73
|
+
"karma-webpack": "^2.0.2",
|
|
74
|
+
"ldap-clients": "3.0.7",
|
|
75
|
+
"less": "^2.7.3",
|
|
76
|
+
"manage-client": "3.1.8-88",
|
|
77
|
+
"mkdirp": "^0.5.1",
|
|
78
|
+
"mocha": "^3.2.0",
|
|
79
|
+
"moment": "2.24.0",
|
|
80
|
+
"ncp": "^2.0.0",
|
|
81
|
+
"nightwatch": "^0.8.18",
|
|
82
|
+
"qrcodejs2": "0.0.2",
|
|
83
|
+
"rimraf": "^2.5.0",
|
|
84
|
+
"selenium-server": "2.52.0",
|
|
85
|
+
"sinon": "^2.1.0",
|
|
86
|
+
"sinon-chai": "^2.8.0",
|
|
87
|
+
"style": "0.0.3",
|
|
88
|
+
"style-loader": "^0.20.3",
|
|
89
|
+
"system-clients": "3.2.25",
|
|
90
|
+
"url-loader": "^0.5.7",
|
|
91
|
+
"vue-client": "1.24.67",
|
|
92
|
+
"vue-clipboard2": "0.3.1",
|
|
93
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
94
|
+
"vue-html-loader": "^1.0.0",
|
|
95
|
+
"vue-loader": "^8.2.1",
|
|
96
|
+
"vue-resource": "^1.5.0",
|
|
97
|
+
"vue-router": "^0.7.13",
|
|
98
|
+
"vue-strap": "^1.0.9",
|
|
99
|
+
"vue-style-loader": "^1.0.0",
|
|
100
|
+
"vue-validator": "2.1.7",
|
|
101
|
+
"webpack": "^1.12.2",
|
|
102
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
103
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
104
|
+
"webpack-merge": "^0.8.3",
|
|
105
|
+
"webpack-parallel-uglify-plugin": "^1.0.0",
|
|
106
|
+
"weixin-js-sdk": "^1.2.0"
|
|
107
|
+
},
|
|
108
|
+
"keywords": [
|
|
109
|
+
"selling-clients"
|
|
110
|
+
],
|
|
111
|
+
"author": "张桥",
|
|
112
|
+
"license": "ISC",
|
|
113
|
+
"directories": {
|
|
114
|
+
"example": "examples",
|
|
115
|
+
"test": "test"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -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
|
|
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">
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
async ready () {
|
|
220
|
-
this.blodid =
|
|
220
|
+
this.blodid = this.data.baseinfo.base.f_userinfo_id
|
|
221
221
|
console.log('ready,,,', this.row)
|
|
222
222
|
await this.getOvedueset()
|
|
223
223
|
if (this.row) { // 修改用户
|
|
@@ -627,7 +627,7 @@ export default {
|
|
|
627
627
|
this.limit_gas = val
|
|
628
628
|
},
|
|
629
629
|
clearinfo () {
|
|
630
|
-
this.blodid =
|
|
630
|
+
this.blodid = this.data.baseinfo.base.f_userinfo_id
|
|
631
631
|
this.areainfoInUser(this.areainfo)
|
|
632
632
|
}
|
|
633
633
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
v-model="row.f_brand_spec"
|
|
16
16
|
:value.sync="row.f_brand_spec"
|
|
17
17
|
:options='brandspec'
|
|
18
|
-
@change="setTypename"
|
|
18
|
+
@change="setTypename(row,index)"
|
|
19
19
|
close-on-select clear-button>
|
|
20
20
|
</v-select>
|
|
21
21
|
</div>
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
v-model="row.f_typename"
|
|
27
27
|
placeholder='请选择'
|
|
28
28
|
:value.sync="row.f_typename"
|
|
29
|
-
:options='
|
|
30
|
-
@change="setTypenumber"
|
|
29
|
+
:options='row.typeNameList'
|
|
30
|
+
@change="setTypenumber(row,index)"
|
|
31
31
|
close-on-select clear-button>
|
|
32
32
|
</v-select>
|
|
33
33
|
</div>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
v-model="row.f_typenumber"
|
|
39
39
|
placeholder='请选择'
|
|
40
40
|
:value.sync="row.f_typenumber"
|
|
41
|
-
:options='
|
|
41
|
+
:options='row.typenumberList'
|
|
42
42
|
@change="setTypeprice(index)"
|
|
43
43
|
close-on-select clear-button>
|
|
44
44
|
</v-select>
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<input class="input_search" style="width:60%" type="number" min="1" @blur.prevent="getcollection()"
|
|
51
51
|
v-model="row.f_unitprice"
|
|
52
52
|
:value.sync="row.f_unitprice"
|
|
53
|
+
:disabled="false"
|
|
53
54
|
placeholder="单价" v-next-el='sl'>
|
|
54
55
|
</div>
|
|
55
56
|
<div class="col-sm-4" :class="{'has-success':row.f_number,'has-error':!row.f_number}">
|
|
@@ -273,7 +274,7 @@ let asyncOtherCharge = async function (self) {
|
|
|
273
274
|
self.model.f_use_type = self.config.billType
|
|
274
275
|
self.model.f_bill_type = self.model.f_print
|
|
275
276
|
self.hasValidateBill = self.config.hasBillManage
|
|
276
|
-
self.setTypename(self.model.f_brand_spec[0])
|
|
277
|
+
// self.setTypename(self.model.f_brand_spec[0])
|
|
277
278
|
}
|
|
278
279
|
export default {
|
|
279
280
|
title: '其他收费',
|
|
@@ -304,7 +305,7 @@ export default {
|
|
|
304
305
|
t_userfees: '',
|
|
305
306
|
f_fee_type: ['其他费用'],
|
|
306
307
|
f_fee_time: ['12'],
|
|
307
|
-
otherdetail: [{f_brand_spec: ['
|
|
308
|
+
otherdetail: [{f_brand_spec: [''],typeNameList:[],f_typenumber:'',typenumberList:[], f_unitprice: '', f_number: ''}]
|
|
308
309
|
},
|
|
309
310
|
eticket_msg: false,
|
|
310
311
|
eticket_show: false,
|
|
@@ -345,6 +346,7 @@ export default {
|
|
|
345
346
|
},
|
|
346
347
|
methods: {
|
|
347
348
|
setTypeprice (val) {
|
|
349
|
+
console.log("单价变化:",val)
|
|
348
350
|
if (this.model.otherdetail[val] && this.model.otherdetail[val].f_typenumber[0]) {
|
|
349
351
|
let unitprice = this.$appdata.getSingleValue(this.model.otherdetail[val].f_typenumber[0])
|
|
350
352
|
if (unitprice !== undefined) {
|
|
@@ -421,10 +423,11 @@ export default {
|
|
|
421
423
|
this.eticket_show = false
|
|
422
424
|
this.$dispatch('success')
|
|
423
425
|
},
|
|
424
|
-
async setTypename (val) {
|
|
425
|
-
this.f_typenumber = ''
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
426
|
+
async setTypename (val,index) {
|
|
427
|
+
this.model.otherdetail[index].f_typenumber = ''
|
|
428
|
+
this.model.otherdetail[index].typeNameList = this.$appdata.getParam(val.f_brand_spec[0])
|
|
429
|
+
this.model.otherdetail[index].typenumberList = []
|
|
430
|
+
this.model.otherdetail[index].f_unitprice = ''
|
|
428
431
|
let self = this
|
|
429
432
|
if (val == '开卡费') {
|
|
430
433
|
if (this.$appdata.getSingleValue('开卡费')) {
|
|
@@ -441,8 +444,9 @@ export default {
|
|
|
441
444
|
}
|
|
442
445
|
}
|
|
443
446
|
},
|
|
444
|
-
setTypenumber (val) {
|
|
445
|
-
this.typenumberList = this.$appdata.getParam(val)
|
|
447
|
+
setTypenumber (val,index) {
|
|
448
|
+
this.model.otherdetail[index].typenumberList = this.$appdata.getParam(val.f_typename[0 ])
|
|
449
|
+
this.model.otherdetail[index].f_unitprice = ''
|
|
446
450
|
},
|
|
447
451
|
async confirm (parameter) {
|
|
448
452
|
let res = await this.$showMessage(`确定对客户${this.row.f_user_name}进行其他收费吗?`, ['confirm', 'cancel'])
|
|
@@ -485,7 +489,7 @@ export default {
|
|
|
485
489
|
if (!flag) this.model.f_collection = ''
|
|
486
490
|
},
|
|
487
491
|
addadetail () {
|
|
488
|
-
this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: ['
|
|
492
|
+
this.$set(`model.otherdetail[${this.model.otherdetail.length}]`, {f_brand_spec: [''],f_typenumber:'',typeNameList:[],typenumberList:[], f_unitprice: '', f_number: ''})
|
|
489
493
|
console.log(JSON.stringify(this.model.otherdetail))
|
|
490
494
|
},
|
|
491
495
|
delthisdetail (index) {
|
|
@@ -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 =
|
|
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,15 +414,14 @@
|
|
|
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
|
-
criteriaShow:
|
|
424
|
+
criteriaShow:false,
|
|
426
425
|
orgCondtionStr: '',
|
|
427
426
|
excelCondition: '',
|
|
428
427
|
fields: {
|
|
@@ -445,8 +444,8 @@
|
|
|
445
444
|
'f_adjustable_name': '调压箱名称',
|
|
446
445
|
'f_inputtor': '抄表员'
|
|
447
446
|
},
|
|
448
|
-
auditState:
|
|
449
|
-
auditState1:
|
|
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('请输入你要修正的底数值,上期底数:'
|
|
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(
|
|
599
|
+
console.log("-----------val2:",val)
|
|
601
600
|
this.imgfilename = `rs/image/file/` + val
|
|
602
|
-
console.log(
|
|
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: {
|