sale-client 3.5.267 → 3.5.268
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/.project +23 -0
- package/build/dev-server.js +82 -81
- package/package.json +1 -1
- package/src/components/FilesManage/FileUserAddress.vue +1 -1
- package/src/components/FilesManage/UserEssentialInfoTest.vue +1 -1
- package/src/components/FilesManageNew/MeterinfoTest.vue +0 -1
- package/src/components/FilesManageNew/UserEssentialInfoTest.vue +1 -1
- package/src/components/charge/ChargeOper.vue +2 -2
- package/src/components/charge/business/CardChangeFill.vue +1 -1
- package/src/components/charge/business/CardMeterCenter.vue +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +1 -2
- package/src/components/charge/business/NoCardMeterCenter.vue +1 -1
- package/src/components/charge/business/ShowCardSellGas.vue +1 -1
- package/src/components/chargeNew/ChargeOper.vue +1 -1
- package/src/components/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +2 -2
- package/src/components/revenue/base/leftview/Mulitinfo.vue +1 -1
- package/src/components/revenue/base/rightview/RecordCancel.vue +2 -0
- package/src/components/revenue/batchPreloads/batchPreloadsList.vue +9 -0
- package/src/components/revenue/cardHandManage/cardHandManager.vue +3 -3
- package/src/components/revenue/comprehen/Bill/Eticket/EticketCommon.vue +63 -0
- package/src/components/revenue/comprehen/Bill/Eticket/EticketManage.vue +1 -1
- package/src/components/revenue/comprehen/Bill/paper/BillList.vue +0 -1
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +18 -9
- package/src/components/revenue/comprehen/StairPrice/GasPriceManage.vue +0 -3
- package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +2 -0
- package/src/components/revenue/machineHandManage/HandplanQuery.vue +2 -2
- package/src/components/revenue/third/rizhao/transferAudit.vue +205 -0
- package/src/components/revenue/third/rizhao/transferAuditCenter.vue +76 -0
- package/src/components/revenue/third/rizhao/transferAuditDisposeBasics.vue +220 -0
- package/src/filiale/chengtou/components/charge/IOTRefund.vue +385 -0
- package/src/filiale/chengtou/components/charge/RefundManage.vue +43 -0
- package/src/filiale/chengtou/components/charge/bzjcancel.vue +455 -0
- package/src/filiale/chengtou/components/charge/machineRefund.vue +340 -0
- package/src/filiale/chengtou/sale.js +7 -0
- package/src/filiale/gaomi/components/ShowCardSellGas.vue +1 -1
- package/src/filiale/gaomi/components/charge/ChargeOper.vue +2 -1
- package/src/filiale/gehua/CardChangeFill.vue +1 -1
- package/src/filiale/guangxi/CardChangeFill.vue +1 -1
- package/src/filiale/guangxi/ChargeOper.vue +2 -1
- package/src/filiale/huayin/sale.js +1 -1
- package/src/filiale/jinjiang/CardChangeFill.vue +1 -1
- package/src/filiale/kelai/CardMeterCenter.vue +6 -2
- package/src/filiale/kelai/ChargeOper.vue +2 -1
- package/src/filiale/kelai/GarbageCharge.vue +4 -3
- package/src/filiale/kelai/IOTMeterCenter.vue +6 -2
- package/src/filiale/kelai/MeterinfoTest.vue +5 -2
- package/src/filiale/kelai/ShowCardSellGas.vue +965 -0
- package/src/filiale/kelai/UserGeneralInfoTest.vue +698 -0
- package/src/filiale/kelai/sale.js +4 -0
- package/src/filiale/liaoyuan/CardList.vue +8 -8
- package/src/filiale/liaoyuan/ChangeMeter.vue +53 -3
- package/src/filiale/liuan/sale.js +1 -1
- package/src/filiale/macheng/ChargeOper.vue +2 -1
- package/src/filiale/meihekou/ChargeOper.vue +1 -0
- package/src/filiale/meihekou/sale.js +1 -1
- package/src/filiale/ningjin/CardMeterCenter.vue +908 -0
- package/src/filiale/ningjin/ChangeMeter.vue +979 -0
- package/src/filiale/ningjin/ChargeRecordQuery.vue +100 -0
- package/src/filiale/ningjin/FileUserFiles.vue +1017 -0
- package/src/filiale/ningjin/FilesManage/UserEssentialInfoTest.vue +321 -0
- package/src/filiale/ningjin/HandplanQuery.vue +1200 -0
- package/src/filiale/ningjin/IOTMeterCenter.vue +806 -0
- package/src/filiale/ningjin/MeterReadAudit.vue +347 -0
- package/src/filiale/ningjin/MeterinfoTest.vue +921 -0
- package/src/filiale/ningjin/NoCardMeterCenter.vue +464 -0
- package/src/filiale/ningjin/ReplaceCardManage.vue +423 -0
- package/src/filiale/ningjin/Userinfo.vue +180 -0
- package/src/filiale/ningjin/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -0
- package/src/filiale/ningjin/machineDown.vue +1112 -0
- package/src/filiale/ningjin/machineHand.vue +2068 -0
- package/src/filiale/ningjin/refund/IOTRefund.vue +244 -0
- package/src/filiale/ningjin/refund/RefundManage.vue +28 -0
- package/src/filiale/ningjin/refund/machineRefund.vue +200 -0
- package/src/filiale/ningjin/sale.js +36 -0
- package/src/filiale/qianneng/FilesManage/UserGeneralInfoTest.vue +2 -2
- package/src/filiale/qianneng/UserDeviceInfoTest.vue +360 -0
- package/src/filiale/qianneng/UserMeterInfoTest.vue +156 -0
- package/src/filiale/qianneng/revenue/ChargeOper.vue +2 -1
- package/src/filiale/qianneng/sale.js +5 -1
- package/src/filiale/rizhao/replaceMentList.vue +5 -4
- package/src/filiale/rizhao/replacementSingleInfoOperation.vue +296 -0
- package/src/filiale/rizhao/sale.js +4 -1
- package/src/filiale/rongcheng/CustomerDeviceInfoTest.vue +252 -0
- package/src/filiale/rongcheng/MeterinfoTest.vue +52 -12
- package/src/filiale/rongcheng/PriceAdjustment.vue +386 -0
- package/src/filiale/rongcheng/RecordCancel.vue +314 -314
- package/src/filiale/rongcheng/RemainAdjustment.vue +291 -0
- package/src/filiale/rongcheng/UserMeterInfoTest.vue +179 -0
- package/src/filiale/rongcheng/business/CardChangeFill.vue +1 -1
- package/src/filiale/rongcheng/sale.js +8 -0
- package/src/filiale/rongchuang/GasPriceList.vue +359 -0
- package/src/filiale/rongchuang/sale.js +3 -1
- package/src/filiale/shanggao/charge/ChargeOper.vue +2 -2
- package/src/filiale/shanggao/sale.js +1 -1
- package/src/filiale/shanxian/ChangeMeter.vue +975 -0
- package/src/filiale/shanxian/FileUserAddress.vue +741 -0
- package/src/filiale/shanxian/OtherChargeNew.vue +550 -0
- package/src/filiale/shanxian/ResetMeter.vue +969 -0
- package/src/filiale/shanxian/TransferManage.vue +18 -16
- package/src/filiale/shanxian/WebMeterInfo.vue +80 -0
- package/src/filiale/shanxian/WebMeterList.vue +437 -0
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +10 -10
- package/src/filiale/shanxian/components/FilesManage/UserEssentialInfoTest.vue +25 -9
- package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +3 -2
- package/src/filiale/shanxian/components/FilesManageNew/FileUserAddress.vue +484 -0
- package/src/filiale/shanxian/components/FilesManageNew/UserGeneralInfoTest.vue +617 -0
- package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +944 -0
- package/src/filiale/shanxian/components/revenue/ChargeList.vue +33 -33
- package/src/filiale/shanxian/components/revenue/base/Userinfo.vue +16 -16
- package/src/filiale/shanxian/meterinfodetail.vue +247 -0
- package/src/filiale/shanxian/sale.js +18 -2
- package/src/filiale/shaoguan/charge/ChargeOper.vue +2 -1
- package/src/filiale/shaoguan/sale.js +1 -1
- package/src/filiale/tongchuan/CardChangeFill.vue +1 -1
- package/src/filiale/tongchuan/ChargeOper.vue +2 -1
- package/src/filiale/tongchuan/sale.js +1 -1
- package/src/filiale/wenxi/CardList.vue +527 -0
- package/src/filiale/wenxi/CardService.js +2066 -0
- package/src/filiale/wenxi/ChargeList.vue +962 -0
- package/src/filiale/wenxi/ChargeQueryUser.vue +434 -0
- package/src/filiale/wenxi/ChargeRecordQuery.vue +100 -0
- package/src/filiale/wenxi/DisableManage.vue +105 -0
- package/src/filiale/wenxi/FileUserFiles.vue +1032 -0
- package/src/filiale/wenxi/FilesManageNew/UserEssentialInfoTest.vue +326 -0
- package/src/filiale/wenxi/HandplanQuery.vue +4 -1
- package/src/filiale/wenxi/MarginCompensation.vue +169 -0
- package/src/filiale/wenxi/MeterinfoTest.vue +215 -26
- package/src/filiale/wenxi/OffGasAddGas.vue +219 -0
- package/src/filiale/wenxi/TransferManage.vue +413 -0
- package/src/filiale/wenxi/UserDeviceInfoTest.vue +14 -13
- package/src/filiale/wenxi/UserEssentialInfoTest.vue +137 -11
- package/src/filiale/wenxi/UserGeneralInfoTest.vue +18 -8
- package/src/filiale/wenxi/UserList.vue +481 -0
- package/src/filiale/wenxi/UserMeterInfoTest.vue +3 -2
- package/src/filiale/wenxi/cardsHand.vue +903 -0
- package/src/filiale/wenxi/plugging/UserPlugging.vue +99 -0
- package/src/filiale/wenxi/plugging/UserSecurePlugging.vue +141 -0
- package/src/filiale/wenxi/plugins/FileManageService.js +392 -0
- package/src/filiale/wenxi/plugins/GetTimeService.js +87 -0
- package/src/filiale/wenxi/sale.js +28 -2
- package/src/filiale/wuhai/CardMeterCenter.vue +939 -0
- package/src/filiale/wuhai/IOTMeterCenter.vue +8 -8
- package/src/filiale/wuhai/NoCardMeterCenter.vue +466 -0
- package/src/filiale/wuhai/ShowCardSellGas.vue +930 -0
- package/src/filiale/wuhai/sale.js +7 -1
- package/src/filiale/xiangyun/IOTRefund.vue +4 -0
- package/src/filiale/xiangyun/RefundManage.vue +11 -3
- package/src/filiale/xiangyun/cardChargeQuery.vue +24 -4
- package/src/filiale/xiangyun/cardChargeQuery1.vue +54 -3
- package/src/filiale/xiangyun/cardHistoryRefund.vue +215 -0
- package/src/filiale/xiangyun/machineChargeQuery.vue +24 -4
- package/src/filiale/xiangyun/machineChargeQuery1.vue +52 -1
- package/src/filiale/xiangyun/machineHand.vue +2068 -0
- package/src/filiale/xiangyun/sale.js +2 -0
- package/src/filiale/xinkang/sale.js +1 -1
- package/src/filiale/yongzhongch/CardChangeFill.vue +1 -1
- package/src/filiale/yuansheng/CardChangeFill.vue +598 -0
- package/src/filiale/yuansheng/CardMeterCenter.vue +943 -0
- package/src/filiale/yuansheng/ChangeMeterAddGas.vue +561 -0
- package/src/filiale/yuansheng/DigitalCharge.vue +441 -0
- package/src/filiale/yuansheng/IOTMeterCenter.vue +783 -0
- package/src/filiale/yuansheng/MeterinfoTest.vue +990 -0
- package/src/filiale/yuansheng/NoCardMeterCenter.vue +467 -0
- package/src/filiale/yuansheng/ShowCardSellGas.vue +932 -0
- package/src/filiale/yuansheng/meterinfodetail.vue +255 -0
- package/src/filiale/yuansheng/sale.js +20 -0
- package/src/filiale/zhongyi/sale.js +1 -1
- package/src/main.js +5 -2
- package/src/plugins/CardService.js +265 -2
- package/src/plugins/ChangeMeterService.js +0 -1
- package/src/plugins/FileManageService.js +42 -0
- package/src/plugins/MachineChargeService.js +6 -0
- package/src/sale.js +14 -7
- package/src/saleRes.json +526 -0
package/.project
CHANGED
|
@@ -5,7 +5,30 @@
|
|
|
5
5
|
<projects>
|
|
6
6
|
</projects>
|
|
7
7
|
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
<buildCommand>
|
|
14
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
15
|
+
<arguments>
|
|
16
|
+
</arguments>
|
|
17
|
+
</buildCommand>
|
|
8
18
|
</buildSpec>
|
|
9
19
|
<natures>
|
|
20
|
+
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
10
22
|
</natures>
|
|
23
|
+
<filteredResources>
|
|
24
|
+
<filter>
|
|
25
|
+
<id>1671099057782</id>
|
|
26
|
+
<name></name>
|
|
27
|
+
<type>30</type>
|
|
28
|
+
<matcher>
|
|
29
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
+
</matcher>
|
|
32
|
+
</filter>
|
|
33
|
+
</filteredResources>
|
|
11
34
|
</projectDescription>
|
package/build/dev-server.js
CHANGED
|
@@ -1,81 +1,82 @@
|
|
|
1
|
-
var path = require('path')
|
|
2
|
-
const [localUrl, serverRul] = ['http://
|
|
3
|
-
var merge = require('webpack-merge')
|
|
4
|
-
var baseConfig = require('./webpack.dev.conf')
|
|
5
|
-
var devConfig = {
|
|
6
|
-
devServer: {
|
|
7
|
-
contentBase: path.join(__dirname, 'src'),
|
|
8
|
-
hot: true,
|
|
9
|
-
publicPath: baseConfig.output.publicPath,
|
|
10
|
-
historyApiFallback: true,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
1
|
+
var path = require('path')
|
|
2
|
+
const [localUrl, serverRul] = ['http://192.168.50.4:8400', 'http://192.168.50.4:8400']
|
|
3
|
+
var merge = require('webpack-merge')
|
|
4
|
+
var baseConfig = require('./webpack.dev.conf')
|
|
5
|
+
var devConfig = {
|
|
6
|
+
devServer: {
|
|
7
|
+
contentBase: path.join(__dirname, 'src'),
|
|
8
|
+
hot: true,
|
|
9
|
+
publicPath: baseConfig.output.publicPath,
|
|
10
|
+
historyApiFallback: true,
|
|
11
|
+
host: '127.0.0.1',
|
|
12
|
+
port: 8089,
|
|
13
|
+
open: true,
|
|
14
|
+
stats: {
|
|
15
|
+
colors: false, // 配置控制台输出彩色日志
|
|
16
|
+
chunks: false, // 不输出构建 chunk 信息
|
|
17
|
+
children: false // 不输出子模块构建信息
|
|
18
|
+
},
|
|
19
|
+
proxy: {
|
|
20
|
+
'/rs/file': {
|
|
21
|
+
target: serverRul
|
|
22
|
+
},
|
|
23
|
+
// 查找资源服务数据
|
|
24
|
+
'/rs/search': {
|
|
25
|
+
target: serverRul
|
|
26
|
+
},
|
|
27
|
+
// 查找资源服务数据
|
|
28
|
+
'/rs/logic/getLogin': {
|
|
29
|
+
target: serverRul
|
|
30
|
+
},
|
|
31
|
+
// 查找资源服务数据
|
|
32
|
+
'/rs/logic/getInitData': {
|
|
33
|
+
target: serverRul
|
|
34
|
+
},
|
|
35
|
+
'/rs/logic/getSaleInitData': {
|
|
36
|
+
target: serverRul
|
|
37
|
+
},
|
|
38
|
+
// 用户登录服务地址
|
|
39
|
+
'/rs/user': {
|
|
40
|
+
target: serverRul
|
|
41
|
+
},
|
|
42
|
+
'/rs/path': {
|
|
43
|
+
target: serverRul
|
|
44
|
+
},
|
|
45
|
+
'/rs/data': {
|
|
46
|
+
target: serverRul
|
|
47
|
+
},
|
|
48
|
+
'/rs/license': {
|
|
49
|
+
target: serverRul
|
|
50
|
+
},
|
|
51
|
+
'/rs/db': {
|
|
52
|
+
target: serverRul
|
|
53
|
+
},
|
|
54
|
+
'/excel': {
|
|
55
|
+
target: serverRul
|
|
56
|
+
},
|
|
57
|
+
'/rs/config': {
|
|
58
|
+
target: serverRul
|
|
59
|
+
},
|
|
60
|
+
'/rs/report': {
|
|
61
|
+
target: serverRul
|
|
62
|
+
},
|
|
63
|
+
'/rs/vue': {
|
|
64
|
+
target: serverRul
|
|
65
|
+
},
|
|
66
|
+
'/rs/logic': {
|
|
67
|
+
target: localUrl
|
|
68
|
+
},
|
|
69
|
+
'/rs/sql': {
|
|
70
|
+
target: localUrl
|
|
71
|
+
},
|
|
72
|
+
'/webmeter': {
|
|
73
|
+
target: serverRul
|
|
74
|
+
},
|
|
75
|
+
'/rs': {
|
|
76
|
+
target: serverRul
|
|
77
|
+
// changeOrigin: true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
module.exports = merge(baseConfig, devConfig)
|
package/package.json
CHANGED
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
costtype: this.$appdata.getParam('付款类型'),
|
|
253
253
|
usernature: this.$appdata.getParam('用户性质'),
|
|
254
254
|
userlevel: this.$appdata.getParam('用户等级'),
|
|
255
|
-
housetype:
|
|
255
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
256
256
|
jurisdiction: this.$login.r,
|
|
257
257
|
edituserstate: false,
|
|
258
258
|
// highMeterPlugin: {},
|
|
@@ -372,7 +372,6 @@ let meterBookGen = function * (self) {
|
|
|
372
372
|
this.oldrow = this.row
|
|
373
373
|
this.isdecimal = this.row.gasbrand.length > 0 ? this.row.gasbrand.f_isdecimal : '否'
|
|
374
374
|
this.row.valid = false
|
|
375
|
-
this.row.f_aroundmeter = '左表'
|
|
376
375
|
if (this.row.pricetype === '混合气价') {
|
|
377
376
|
this.ratioshow = true
|
|
378
377
|
}
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
costtypes: this.$appdata.getParam('缴费类型'),
|
|
237
237
|
banknames: this.$appdata.getParam('银行名称'),
|
|
238
238
|
userstates: [{label: '预备', value: '预备'}],
|
|
239
|
-
housetype:
|
|
239
|
+
housetype: this.$appdata.getParam('房屋类型'),
|
|
240
240
|
mgq: this.$appdata.getParam('是否煤改气'),
|
|
241
241
|
costtype: this.$appdata.getParam('付款类型'),
|
|
242
242
|
printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')]:[{label: '暂不选择', value: '暂不选择'}],
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
import {HttpResetClass} from 'vue-client'
|
|
20
20
|
|
|
21
21
|
let getNewmetermsg = async function (self, row) {
|
|
22
|
+
self.cardInfo = undefined
|
|
22
23
|
if (row.f_userfiles_id && row.f_userfiles_id.length > 0) {
|
|
23
24
|
// 获取用户信息
|
|
24
25
|
let getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
@@ -111,12 +112,11 @@ let getBtnsGen = async function (self) {
|
|
|
111
112
|
})
|
|
112
113
|
} else {
|
|
113
114
|
}
|
|
114
|
-
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
// 如果卡上有气,添加购气撤销按钮
|
|
119
|
-
if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是')) {
|
|
119
|
+
if (self.cardInfo && (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是'))) {
|
|
120
120
|
self.temp.push({
|
|
121
121
|
name: '购气撤销',
|
|
122
122
|
value: {
|
|
@@ -209,7 +209,6 @@
|
|
|
209
209
|
*/
|
|
210
210
|
|
|
211
211
|
import {HttpResetClass} from 'vue-client'
|
|
212
|
-
import XML from '../../../plugins/ObjTree'
|
|
213
212
|
|
|
214
213
|
// 输入金额,换算气量
|
|
215
214
|
/* let preamountGen = async function (self) {
|
|
@@ -445,7 +444,7 @@
|
|
|
445
444
|
hasBillManage: false, // 默认不启用发票管理
|
|
446
445
|
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
447
446
|
printType: '普通收据', // 收据/电子票/专用发票/国税发票
|
|
448
|
-
payment: '
|
|
447
|
+
payment: '',
|
|
449
448
|
overdraftBalance: false // 是否支持系统余额透支
|
|
450
449
|
},
|
|
451
450
|
model: {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
// 如果卡上有气,添加购气撤销按钮
|
|
102
|
-
if (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase
|
|
102
|
+
if (self.cardInfo && (self.cardInfo.Gas > 0 || self.cardInfo.Money > 0 || (self.cardInfo.TotalMoney > 0 && self.data.f_support_purchase === '是'))) {
|
|
103
103
|
self.temp.push({name: '购气撤销',
|
|
104
104
|
value: {
|
|
105
105
|
'weight': 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex">
|
|
3
3
|
<!--<cardinfo :data="cardData" v-if="cardData.CardID"></cardinfo>-->
|
|
4
|
-
<userinfo :warninginfo="warninginfo" @deal-msg="dealMsg" :data="data"></userinfo>
|
|
4
|
+
<sale-userinfo :warninginfo="warninginfo" @deal-msg="dealMsg" :data="data"></sale-userinfo>
|
|
5
5
|
<user-meterinfodetail @deal-msg="dealMsg" :data="data"></user-meterinfodetail>
|
|
6
6
|
<!--<meter-use :data="data"></meter-use>-->
|
|
7
7
|
<!--<recordstoryinfo :data="data" v-ref:recordstoryinfo></recordstoryinfo>-->
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
<th>用户姓名</th>
|
|
58
58
|
<th>用气性质</th>
|
|
59
59
|
<th>收费金额</th>
|
|
60
|
+
<th>付款方式</th>
|
|
60
61
|
<th>收费时间</th>
|
|
61
62
|
<th>记录状态</th>
|
|
62
63
|
<th>生成记录人员</th>
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
<td>{{ row.f_user_name }}</td>
|
|
71
72
|
<td>{{ row.f_gasproperties }}</td>
|
|
72
73
|
<td>{{ row.f_collection }}</td>
|
|
74
|
+
<td>{{ row.f_payment }}</td>
|
|
73
75
|
<td>{{ row.f_operate_date }}</td>
|
|
74
76
|
<td>{{ row.f_state }}</td>
|
|
75
77
|
<td>{{ row.f_operator }}</td>
|
|
@@ -222,4 +224,11 @@ export default {
|
|
|
222
224
|
}
|
|
223
225
|
</script>
|
|
224
226
|
<style lang="less" scoped>
|
|
227
|
+
.table_sy {
|
|
228
|
+
tr {
|
|
229
|
+
td {
|
|
230
|
+
text-align: center;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
225
234
|
</style>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div v-if="listpage">-->
|
|
3
|
+
<tab-button v-ref:list>
|
|
4
|
+
<tabs header="发票管理">
|
|
5
|
+
<e-ticket-manage @deal-msg="dealMsg"></e-ticket-manage>
|
|
6
|
+
</tabs>
|
|
7
|
+
<tabs header="抬头录入">
|
|
8
|
+
<company-info-manage @deal-msg="dealMsg"></company-info-manage>
|
|
9
|
+
</tabs>
|
|
10
|
+
<tabs header="商品信息录入">
|
|
11
|
+
<goods-info-manage @deal-msg="dealMsg"></goods-info-manage>
|
|
12
|
+
</tabs>
|
|
13
|
+
</tab-button>
|
|
14
|
+
<!-- </div>-->
|
|
15
|
+
<!-- <div v-if="!listpage">-->
|
|
16
|
+
<!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
|
|
17
|
+
<!-- </div>-->
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
import TabButton from '../../common/TabButton.vue'
|
|
22
|
+
import Tabs from '../../common/Tabs.vue'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
name: 'EticketCommon',
|
|
26
|
+
title: '发票公共管理',
|
|
27
|
+
data () {
|
|
28
|
+
return {// 页面开关
|
|
29
|
+
f_start_date: '',
|
|
30
|
+
f_end_date: '',
|
|
31
|
+
listpage: true,
|
|
32
|
+
width: {
|
|
33
|
+
left: '100%',
|
|
34
|
+
right: '0%'
|
|
35
|
+
},
|
|
36
|
+
// searchNumber:'',
|
|
37
|
+
rowData: {},
|
|
38
|
+
show: [true]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
components: {Tabs, TabButton},
|
|
42
|
+
ready () {
|
|
43
|
+
console.log(this.$refs.list)
|
|
44
|
+
console.log('发票管理')
|
|
45
|
+
},
|
|
46
|
+
methods: {
|
|
47
|
+
cancel (obj) {
|
|
48
|
+
this.listpage = true
|
|
49
|
+
},
|
|
50
|
+
dealMsg (obj) {
|
|
51
|
+
this.rowData = obj
|
|
52
|
+
this.listpage = false
|
|
53
|
+
console.log(obj.model)
|
|
54
|
+
this.f_start_date = obj.model.startDate
|
|
55
|
+
this.f_end_date = obj.model.endDate
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</script>
|
|
60
|
+
|
|
61
|
+
<style scoped>
|
|
62
|
+
|
|
63
|
+
</style>
|
|
@@ -149,7 +149,6 @@
|
|
|
149
149
|
f_outlets: this.$login.f.f_parentname,
|
|
150
150
|
f_orgstr: this.$login.f.orgpathstr,
|
|
151
151
|
f_filialeids: this.$login.f.orgid
|
|
152
|
-
|
|
153
152
|
},
|
|
154
153
|
billstate: [{label: '全部', value: ''}, {label: '启用', value: '启用'}, {label: '停用', value: '停用'}],
|
|
155
154
|
billusers: this.$appdata.getParam('票据使用人')
|
|
@@ -552,16 +552,18 @@ export default {
|
|
|
552
552
|
},
|
|
553
553
|
async confirm () {
|
|
554
554
|
let msg = ''
|
|
555
|
-
if (this.row.f_meter_type.includes('机表')) {
|
|
555
|
+
if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
|
|
556
556
|
if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
|
|
557
|
-
msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
|
|
557
|
+
msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
|
|
558
558
|
} else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
|
|
559
559
|
msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
if (this.row.f_meter_type.includes('机表') && msg) {
|
|
562
|
+
if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
|
|
563
563
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
564
564
|
if (res === 'confirm') {
|
|
565
|
+
debugger
|
|
566
|
+
let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
|
|
565
567
|
let data = {
|
|
566
568
|
downDate: this.$login.toStandardTimeString(),
|
|
567
569
|
startDate: this.$login.toStandardDateString(),
|
|
@@ -575,9 +577,10 @@ export default {
|
|
|
575
577
|
f_serial_number: this.model.f_serial_number,
|
|
576
578
|
f_meterbase: this.model.f_using_base_old,
|
|
577
579
|
f_meter_brand: this.row.f_meter_brand,
|
|
580
|
+
f_meter_classify: this.row.f_meter_type,
|
|
578
581
|
f_price_id: this.row.f_price_id
|
|
579
582
|
}
|
|
580
|
-
this.$resetpost(
|
|
583
|
+
this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
|
|
581
584
|
console.log('成功')
|
|
582
585
|
if (this.model.metermessage.f_meter_type[0] != '机表') {
|
|
583
586
|
this.$dispatch('refresh')
|
|
@@ -721,16 +724,17 @@ export default {
|
|
|
721
724
|
this.Iotjisuan()
|
|
722
725
|
}
|
|
723
726
|
let msg = ''
|
|
724
|
-
if (this.row.f_meter_type.includes('机表')) {
|
|
727
|
+
if (this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) {
|
|
725
728
|
if ((parseInt(this.model.f_using_base_old) > parseInt(this.row.f_meter_base))) {
|
|
726
|
-
msg = '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录'
|
|
729
|
+
msg = (this.row.f_meter_type === '机表' ? '该用户表底数大于上次抄表底数,请确定是否继续生成欠费记录' : '该用户表底数大于上次抄表底数,请确定是否进行结算')
|
|
727
730
|
} else if (this.row.f_capacity && this.row.f_capacity > 0 && (parseInt(this.model.f_using_base_old) < parseInt(this.row.f_meter_base))) {
|
|
728
731
|
msg = '该用户表底数大于上次抄表底数,且已超越最大量程,请确定是否继续生成欠费记录'
|
|
729
732
|
}
|
|
730
733
|
}
|
|
731
|
-
if (this.row.f_meter_type.includes('机表') && msg) {
|
|
734
|
+
if ((this.row.f_meter_type.includes('机表') || this.row.f_meter_type.includes('物联网表')) && msg) {
|
|
732
735
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
733
736
|
if (res === 'confirm') {
|
|
737
|
+
let url = this.row.f_meter_type.includes('物联网表') ? 'rs/logic/changeMeterWebHand' : 'rs/logic/changeMeterHand'
|
|
734
738
|
let data = {
|
|
735
739
|
downDate: this.$login.toStandardTimeString(),
|
|
736
740
|
startDate: this.$login.toStandardDateString(),
|
|
@@ -744,11 +748,16 @@ export default {
|
|
|
744
748
|
f_serial_number: this.model.f_serial_number,
|
|
745
749
|
f_meterbase: this.model.f_using_base_old,
|
|
746
750
|
f_meter_brand: this.row.f_meter_brand,
|
|
751
|
+
f_meter_classify: this.row.f_meter_type,
|
|
747
752
|
f_price_id: this.row.f_price_id
|
|
748
753
|
}
|
|
749
|
-
this.$resetpost(
|
|
754
|
+
this.$resetpost(url, {data: data}, {resolveMsg: '生成欠费成功', rejectMsg: '生成欠费失败'}).then((res) => {
|
|
750
755
|
console.log('成功')
|
|
751
|
-
this
|
|
756
|
+
if (this.row.f_meter_type.includes('物联网表')) {
|
|
757
|
+
this.$dispatch('refresh')
|
|
758
|
+
} else {
|
|
759
|
+
this.$dispatch('button-specifies', {name: '机表收费', value: 'machine-charge'}, this.row)
|
|
760
|
+
}
|
|
752
761
|
})
|
|
753
762
|
}
|
|
754
763
|
})
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
<div class="binary-right" v-if="usershow" :style="{width: usershow ? '50%' : 'auto'}">
|
|
11
11
|
<gasprice-user :priceid="priceid" :pricename="pricename" :priceorgid="priceorgid"></gasprice-user>
|
|
12
12
|
</div>
|
|
13
|
-
|
|
14
13
|
</div>
|
|
15
14
|
<div v-if="!listpage">
|
|
16
15
|
<!-- <user-info-detail-manage :f_userinfo_id="f_userinfo_id" @cancel-main="cancel" ></user-info-detail-manage>-->
|
|
@@ -30,7 +29,6 @@ let readGen = async function (self) {
|
|
|
30
29
|
Object.assign(self.config, self.config, getConfig.data)
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
|
|
34
32
|
export default {
|
|
35
33
|
title: '气价管理',
|
|
36
34
|
data () {
|
|
@@ -52,7 +50,6 @@ export default {
|
|
|
52
50
|
priceorgid: '',
|
|
53
51
|
gasPriceShow: false,
|
|
54
52
|
usershow: false,
|
|
55
|
-
|
|
56
53
|
// 控制气价信息界面和变更操作记录界面的展示
|
|
57
54
|
changeView: false
|
|
58
55
|
}
|
|
@@ -327,6 +327,8 @@ export default {
|
|
|
327
327
|
this.$LogicService.modifyGasBrand(this.model, this.addGasModelArray)
|
|
328
328
|
.then(
|
|
329
329
|
(res) => {
|
|
330
|
+
let http = new HttpResetClass()
|
|
331
|
+
http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
|
|
330
332
|
this.$dispatch('success', '气表品牌修改', this.data, res)
|
|
331
333
|
}
|
|
332
334
|
).catch(
|
|
@@ -778,8 +778,8 @@
|
|
|
778
778
|
'f_operator': '操作员',
|
|
779
779
|
'f_depname': '部门',
|
|
780
780
|
'f_orgname': '公司',
|
|
781
|
-
'f_surplus_gas': '剩余气量',
|
|
782
|
-
'f_haircut_gas': '扣减气量',
|
|
781
|
+
// 'f_surplus_gas': '剩余气量',
|
|
782
|
+
// 'f_haircut_gas': '扣减气量',
|
|
783
783
|
'f_stair1amount': '一阶气量',
|
|
784
784
|
'f_stair1price': '一阶单价',
|
|
785
785
|
'f_stair1fee': '一阶气费',
|