sale-client 3.5.82 → 3.5.85
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 +5 -2
- package/package.json +117 -117
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
- package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
- package/src/filiale/shiquan/CardList.vue +7 -20
- package/src/filiale/shiquan/CardMeterChargeCancel.vue +397 -0
- package/src/filiale/shiquan/GiveChange.vue +62 -0
- package/src/filiale/shiquan/sale.js +5 -1
- package/src/main.js +1 -1
- package/yarn-error.log +9224 -0
- 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/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -12,7 +12,7 @@ var compiler = webpack(config)
|
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
13
|
var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
14
|
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
15
|
+
var fuwu = 'http://192.168.50.4:8400'
|
|
16
16
|
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
17
|
// 铜川正式
|
|
18
18
|
// var fuwu = 'http://61.134.55.234:9999/'
|
|
@@ -36,6 +36,9 @@ var proxyTable = {
|
|
|
36
36
|
'/rs/logic/saleGetExportProgress': {
|
|
37
37
|
target: fuwu
|
|
38
38
|
},
|
|
39
|
+
'/rs/logic/getWarningMsg': {
|
|
40
|
+
target: 'http://localhost:8080/'
|
|
41
|
+
},
|
|
39
42
|
'/rs/file': {
|
|
40
43
|
target: fuwu
|
|
41
44
|
},
|
|
@@ -160,5 +163,5 @@ module.exports = app.listen(8089, function (err) {
|
|
|
160
163
|
console.log(err)
|
|
161
164
|
return
|
|
162
165
|
}
|
|
163
|
-
console.log('Listening at http://localhost:
|
|
166
|
+
console.log('Listening at http://localhost:8089')
|
|
164
167
|
})
|
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.85",
|
|
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==='其他'" 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">
|
|
@@ -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,12 +414,13 @@
|
|
|
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: [],
|
|
423
424
|
imgshow: false,
|
|
424
425
|
criteriaShow: false,
|
|
425
426
|
orgCondtionStr: '',
|
|
@@ -444,8 +445,8 @@
|
|
|
444
445
|
'f_adjustable_name': '调压箱名称',
|
|
445
446
|
'f_inputtor': '抄表员'
|
|
446
447
|
},
|
|
447
|
-
auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
448
|
-
auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
448
|
+
auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
449
|
+
auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
449
450
|
meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
450
451
|
resultstate: this.$appdata.getParam('抄表结果状态'),
|
|
451
452
|
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
@@ -475,7 +476,7 @@
|
|
|
475
476
|
methods: {
|
|
476
477
|
// 修正本期底数
|
|
477
478
|
amend (row) {
|
|
478
|
-
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
|
|
479
|
+
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
|
|
479
480
|
if (!tablebase) return
|
|
480
481
|
if (tablebase < 0) {
|
|
481
482
|
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
@@ -596,9 +597,9 @@
|
|
|
596
597
|
this.imgshow = false
|
|
597
598
|
},
|
|
598
599
|
imgShow (val) {
|
|
599
|
-
console.log(
|
|
600
|
+
console.log('-----------val2:', val)
|
|
600
601
|
this.imgfilename = `rs/image/file/` + val
|
|
601
|
-
console.log(
|
|
602
|
+
console.log('-----------imgfilename2:', this.imgfilename)
|
|
602
603
|
this.imgshow = true
|
|
603
604
|
},
|
|
604
605
|
async getaddress () {
|
|
@@ -632,6 +633,17 @@
|
|
|
632
633
|
} else {
|
|
633
634
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
634
635
|
}
|
|
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
|
+
}
|
|
635
647
|
this.excelCondition = args.condition
|
|
636
648
|
this.$refs.paged.$refs.grid.selectInit()
|
|
637
649
|
this.model.search(args.condition, args.model)
|
|
@@ -696,7 +708,7 @@
|
|
|
696
708
|
},
|
|
697
709
|
loadMeterBooks () {
|
|
698
710
|
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
699
|
-
}
|
|
711
|
+
}
|
|
700
712
|
|
|
701
713
|
},
|
|
702
714
|
computed: {
|
|
@@ -132,11 +132,12 @@ export default {
|
|
|
132
132
|
id: ticket_id,
|
|
133
133
|
f_bill_code: req.fpDm,
|
|
134
134
|
f_bill_number: req.fpHm,
|
|
135
|
-
f_bill_url: req.
|
|
136
|
-
|
|
135
|
+
f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
|
|
136
|
+
f_sign_url: req.shareurl,
|
|
137
|
+
f_sign_result: req.sharecode,
|
|
137
138
|
f_bill_state: req.status
|
|
138
139
|
}
|
|
139
|
-
this.eticket_src =
|
|
140
|
+
this.eticket_src = 'https://qnjtkf.cn:7400' + model.f_bill_url
|
|
140
141
|
} else if (req.status === '开票中') {
|
|
141
142
|
model = {
|
|
142
143
|
id: ticket_id,
|
|
@@ -303,11 +304,12 @@ export default {
|
|
|
303
304
|
f_eticket_id: ticket_id,
|
|
304
305
|
f_bill_code: req.fpDm,
|
|
305
306
|
f_bill_number: req.fpHm,
|
|
306
|
-
f_bill_url: req.
|
|
307
|
-
|
|
307
|
+
f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
|
|
308
|
+
f_sign_url: req.shareurl,
|
|
309
|
+
f_sign_result: req.sharecode,
|
|
308
310
|
f_bill_state: req.status
|
|
309
311
|
})
|
|
310
|
-
this.eticket_src =
|
|
312
|
+
this.eticket_src = 'https://qnjtkf.cn:7400' + req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download')
|
|
311
313
|
} else if (req && req.status !== '开票中') {
|
|
312
314
|
clearInterval(interval)
|
|
313
315
|
// TODO 失败后保存发票详情
|
|
@@ -36,26 +36,6 @@
|
|
|
36
36
|
type="text"
|
|
37
37
|
v-model="model.f_operator">
|
|
38
38
|
</div>
|
|
39
|
-
<div class="form-group col-sm-7" v-show="$parent.$parent.$parent.criteriaShow">
|
|
40
|
-
<!-- <label>开始时间:</label> -->
|
|
41
|
-
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_start_date"
|
|
42
|
-
class="datepicker"
|
|
43
|
-
condition="r.f_operate_date >= '{} 00:00:00' "
|
|
44
|
-
placeholder="开始时间"
|
|
45
|
-
style="width:60%"
|
|
46
|
-
v-model="model.f_start_date"
|
|
47
|
-
></datepicker>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="form-group col-sm-7" v-show="$parent.$parent.$parent.criteriaShow">
|
|
50
|
-
<!-- <label>结束时间:</label> -->
|
|
51
|
-
<datepicker :format="'yyyy-MM-dd'" :value.sync="model.f_end_date"
|
|
52
|
-
class="datepicker"
|
|
53
|
-
condition="r.f_operate_date <= '{} 00:00:00' "
|
|
54
|
-
placeholder="结束时间"
|
|
55
|
-
style="width:60%"
|
|
56
|
-
v-model="model.f_end_date"
|
|
57
|
-
></datepicker>
|
|
58
|
-
</div>
|
|
59
39
|
</div>
|
|
60
40
|
<!-- <partial name="cardcriteria"></partial> -->
|
|
61
41
|
<!-- <div class="form-group">
|
|
@@ -335,6 +315,13 @@
|
|
|
335
315
|
resolveMsg: null,
|
|
336
316
|
rejectMsg: '验证权限错误!!'
|
|
337
317
|
})
|
|
318
|
+
let a = this.$login.toStandardDateString() + ' 00:00:00'
|
|
319
|
+
if(row.type === '物联网收费'){
|
|
320
|
+
if(row.f_operate_date < a){
|
|
321
|
+
this.$showAlert('不能撤销不是当天的操作', 'warning', 3000)
|
|
322
|
+
return
|
|
323
|
+
}
|
|
324
|
+
}
|
|
338
325
|
if (!res.data.pass) {
|
|
339
326
|
this.$showMessage(res.data.msg)
|
|
340
327
|
return
|