sale-client 4.2.8 → 4.2.9
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/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/GetLoginInfoService.js.bak +489 -0
- package/build/dev-server.js +7 -1
- package/package.json +2 -2
- package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
- package/src/components/FilesManage/ncUserinfoList.vue +315 -0
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
- package/src/components/SendCard/SendCardData.vue +208 -0
- package/src/components/accounts/accountAdd.vue +276 -0
- package/src/components/accounts/accountsList.vue +183 -0
- package/src/components/accounts/accountsManage.vue +87 -0
- package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
- package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
- package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
- package/src/components/ncarchives/ncArchivesList.vue +159 -0
- package/src/components/ncarchives/ncUserfilesList.vue +373 -0
- package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
- package/src/components/revenue/IOTArrears/arrears.vue +323 -0
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
- package/src/components/thirdapply/thirdAdd.vue +289 -0
- package/src/components/thirdapply/thirdList.vue +162 -0
- package/src/components/thirdapply/thirdManage.vue +74 -0
- package/src/components/webMeter/InstructQuery.vue +414 -0
- package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
- package/src/components/webMeter/WebUserHand.vue +483 -0
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
- package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
- package/src/filiale/jinhong/machineHand.vue +2099 -2099
- package/src/filiale/jinhong/plugins/GetSaleParams.js +302 -302
- package/src/filiale/jinhong/plugins/LoadParams.js +124 -124
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +0 -2
- package/src/plugins/FileManageServicets.js +214 -0
- package/src/plugins/GetImg.js +53 -0
- package/hs_err_pid32452.log +0 -625
- package/hs_err_pid36896.log +0 -249
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import {HttpResetClass} from 'vue-client'
|
|
3
|
-
import GetSaleParam from './GetSaleParams'
|
|
4
|
-
|
|
5
|
-
let loadParamGen = async function (f_filialeid) {
|
|
6
|
-
let http = new HttpResetClass()
|
|
7
|
-
if (GetSaleParam.gasbrands.length === 0 && GetSaleParam.prices.length === 0 && GetSaleParam.adjustables.length === 0) {
|
|
8
|
-
let getParams = await http.load('POST', 'api/af-revenue/logic/getSaleInitData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
9
|
-
if (getParams.data) {
|
|
10
|
-
LoadParams.organizeData(getParams.data)
|
|
11
|
-
}
|
|
12
|
-
} else {
|
|
13
|
-
let validate = LoadParams.isReset(f_filialeid)
|
|
14
|
-
console.log('验证是否需要重新加载', validate)
|
|
15
|
-
if (validate) {
|
|
16
|
-
GetSaleParam.gasbrands = []
|
|
17
|
-
GetSaleParam.prices = []
|
|
18
|
-
GetSaleParam.adjustables = []
|
|
19
|
-
let getParams = await http.load('POST', 'api/af-revenue/logic/getSaleInitData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
20
|
-
if (getParams.data) {
|
|
21
|
-
LoadParams.organizeData(getParams.data)
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
let loadMeterBookGen = async function (f_filialeid) {
|
|
28
|
-
let http = new HttpResetClass()
|
|
29
|
-
if (GetSaleParam.meterbooks.length === 0) {
|
|
30
|
-
let getMeterBooks = await http.load('POST', 'api/af-revenue/logic/sale_getMeterBooksData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
31
|
-
if (getMeterBooks.data) {
|
|
32
|
-
LoadParams.organizeBooksData(getMeterBooks.data)
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
let LoadParams = {
|
|
38
|
-
|
|
39
|
-
install (Vue, options) {
|
|
40
|
-
// 给vue增添对话框显示方法
|
|
41
|
-
Vue.LoadParams = Vue.prototype.$LoadParams = LoadParams
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
async loadParam () {
|
|
45
|
-
await loadParamGen(null)
|
|
46
|
-
},
|
|
47
|
-
async loadParam (f_filialeid) {
|
|
48
|
-
await loadParamGen(f_filialeid)
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
// 加载抄表册
|
|
52
|
-
async loadMeterBook (f_filialeid) {
|
|
53
|
-
await loadMeterBookGen(f_filialeid)
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
// 开启卡监听
|
|
57
|
-
organizeData (fromSystem) {
|
|
58
|
-
console.log('接受System中返回的参数进行组织', fromSystem)
|
|
59
|
-
fromSystem.gasbrands.forEach((item, index) => {
|
|
60
|
-
GetSaleParam.gasbrands[index] = {}
|
|
61
|
-
GetSaleParam.gasbrands[index].label = item.f_meter_brand
|
|
62
|
-
let gasmodel = []
|
|
63
|
-
item.gasmodel.forEach((item, index) => {
|
|
64
|
-
gasmodel[index] = {}
|
|
65
|
-
gasmodel[index].label = item.f_meter_style + item.f_type
|
|
66
|
-
gasmodel[index].value = item
|
|
67
|
-
})
|
|
68
|
-
item.gasmodel = gasmodel
|
|
69
|
-
GetSaleParam.gasbrands[index].value = item
|
|
70
|
-
})
|
|
71
|
-
|
|
72
|
-
fromSystem.adjustable.forEach((item, index) => {
|
|
73
|
-
GetSaleParam.adjustables[index] = {}
|
|
74
|
-
GetSaleParam.adjustables[index].label = item.f_adjustable_name
|
|
75
|
-
GetSaleParam.adjustables[index].value = item
|
|
76
|
-
})
|
|
77
|
-
GetSaleParam.prices = [...[], ...fromSystem.price]
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
organizeBooksData (fromSystem) {
|
|
81
|
-
// 对抄表册按名称进行字母排序
|
|
82
|
-
const sortedMeterbooks = fromSystem.meterbooks.sort((a, b) => {
|
|
83
|
-
return a.f_book_name.localeCompare(b.f_book_name, 'zh-CN')
|
|
84
|
-
})
|
|
85
|
-
sortedMeterbooks.forEach((item, index) => {
|
|
86
|
-
GetSaleParam.meterbooks[index] = {}
|
|
87
|
-
GetSaleParam.meterbooks[index].label = item.f_book_name
|
|
88
|
-
GetSaleParam.meterbooks[index].value = item.id
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
// 对抄表册编号单独进行字母排序
|
|
92
|
-
const bookCodesData = fromSystem.meterbooks.filter(item => item.f_book_code)
|
|
93
|
-
const sortedBookCodes = bookCodesData.sort((a, b) => {
|
|
94
|
-
return a.f_book_code.localeCompare(b.f_book_code, 'zh-CN')
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
sortedBookCodes.forEach((item, index) => {
|
|
98
|
-
GetSaleParam.bookcodes[index] = {}
|
|
99
|
-
GetSaleParam.bookcodes[index].label = item.f_book_code
|
|
100
|
-
GetSaleParam.bookcodes[index].value = item.id
|
|
101
|
-
})
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
isReset (val) {
|
|
105
|
-
if (GetSaleParam.gasbrands.length > 0) {
|
|
106
|
-
if (GetSaleParam.gasbrands[0].value.f_using_orgid !== val) {
|
|
107
|
-
return true
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
if (GetSaleParam.prices.length > 0) {
|
|
111
|
-
if (GetSaleParam.prices[0].f_filialeid !== val) {
|
|
112
|
-
return true
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
if (GetSaleParam.adjustables.length > 0) {
|
|
116
|
-
if (GetSaleParam.adjustables[0].value.f_filialeid !== val) {
|
|
117
|
-
return true
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export default LoadParams
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import {HttpResetClass} from 'vue-client'
|
|
3
|
+
import GetSaleParam from './GetSaleParams'
|
|
4
|
+
|
|
5
|
+
let loadParamGen = async function (f_filialeid) {
|
|
6
|
+
let http = new HttpResetClass()
|
|
7
|
+
if (GetSaleParam.gasbrands.length === 0 && GetSaleParam.prices.length === 0 && GetSaleParam.adjustables.length === 0) {
|
|
8
|
+
let getParams = await http.load('POST', 'api/af-revenue/logic/getSaleInitData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
9
|
+
if (getParams.data) {
|
|
10
|
+
LoadParams.organizeData(getParams.data)
|
|
11
|
+
}
|
|
12
|
+
} else {
|
|
13
|
+
let validate = LoadParams.isReset(f_filialeid)
|
|
14
|
+
console.log('验证是否需要重新加载', validate)
|
|
15
|
+
if (validate) {
|
|
16
|
+
GetSaleParam.gasbrands = []
|
|
17
|
+
GetSaleParam.prices = []
|
|
18
|
+
GetSaleParam.adjustables = []
|
|
19
|
+
let getParams = await http.load('POST', 'api/af-revenue/logic/getSaleInitData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
20
|
+
if (getParams.data) {
|
|
21
|
+
LoadParams.organizeData(getParams.data)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
let loadMeterBookGen = async function (f_filialeid) {
|
|
28
|
+
let http = new HttpResetClass()
|
|
29
|
+
if (GetSaleParam.meterbooks.length === 0) {
|
|
30
|
+
let getMeterBooks = await http.load('POST', 'api/af-revenue/logic/sale_getMeterBooksData', {data: {f_orgid: f_filialeid || Vue.$login.f.orgid}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
|
|
31
|
+
if (getMeterBooks.data) {
|
|
32
|
+
LoadParams.organizeBooksData(getMeterBooks.data)
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
let LoadParams = {
|
|
38
|
+
|
|
39
|
+
install (Vue, options) {
|
|
40
|
+
// 给vue增添对话框显示方法
|
|
41
|
+
Vue.LoadParams = Vue.prototype.$LoadParams = LoadParams
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
async loadParam () {
|
|
45
|
+
await loadParamGen(null)
|
|
46
|
+
},
|
|
47
|
+
async loadParam (f_filialeid) {
|
|
48
|
+
await loadParamGen(f_filialeid)
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
// 加载抄表册
|
|
52
|
+
async loadMeterBook (f_filialeid) {
|
|
53
|
+
await loadMeterBookGen(f_filialeid)
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
// 开启卡监听
|
|
57
|
+
organizeData (fromSystem) {
|
|
58
|
+
console.log('接受System中返回的参数进行组织', fromSystem)
|
|
59
|
+
fromSystem.gasbrands.forEach((item, index) => {
|
|
60
|
+
GetSaleParam.gasbrands[index] = {}
|
|
61
|
+
GetSaleParam.gasbrands[index].label = item.f_meter_brand
|
|
62
|
+
let gasmodel = []
|
|
63
|
+
item.gasmodel.forEach((item, index) => {
|
|
64
|
+
gasmodel[index] = {}
|
|
65
|
+
gasmodel[index].label = item.f_meter_style + item.f_type
|
|
66
|
+
gasmodel[index].value = item
|
|
67
|
+
})
|
|
68
|
+
item.gasmodel = gasmodel
|
|
69
|
+
GetSaleParam.gasbrands[index].value = item
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
fromSystem.adjustable.forEach((item, index) => {
|
|
73
|
+
GetSaleParam.adjustables[index] = {}
|
|
74
|
+
GetSaleParam.adjustables[index].label = item.f_adjustable_name
|
|
75
|
+
GetSaleParam.adjustables[index].value = item
|
|
76
|
+
})
|
|
77
|
+
GetSaleParam.prices = [...[], ...fromSystem.price]
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
organizeBooksData (fromSystem) {
|
|
81
|
+
// 对抄表册按名称进行字母排序
|
|
82
|
+
const sortedMeterbooks = fromSystem.meterbooks.sort((a, b) => {
|
|
83
|
+
return a.f_book_name.localeCompare(b.f_book_name, 'zh-CN')
|
|
84
|
+
})
|
|
85
|
+
sortedMeterbooks.forEach((item, index) => {
|
|
86
|
+
GetSaleParam.meterbooks[index] = {}
|
|
87
|
+
GetSaleParam.meterbooks[index].label = item.f_book_name
|
|
88
|
+
GetSaleParam.meterbooks[index].value = item.id
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
// 对抄表册编号单独进行字母排序
|
|
92
|
+
const bookCodesData = fromSystem.meterbooks.filter(item => item.f_book_code)
|
|
93
|
+
const sortedBookCodes = bookCodesData.sort((a, b) => {
|
|
94
|
+
return a.f_book_code.localeCompare(b.f_book_code, 'zh-CN')
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
sortedBookCodes.forEach((item, index) => {
|
|
98
|
+
GetSaleParam.bookcodes[index] = {}
|
|
99
|
+
GetSaleParam.bookcodes[index].label = item.f_book_code
|
|
100
|
+
GetSaleParam.bookcodes[index].value = item.id
|
|
101
|
+
})
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
isReset (val) {
|
|
105
|
+
if (GetSaleParam.gasbrands.length > 0) {
|
|
106
|
+
if (GetSaleParam.gasbrands[0].value.f_using_orgid !== val) {
|
|
107
|
+
return true
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
if (GetSaleParam.prices.length > 0) {
|
|
111
|
+
if (GetSaleParam.prices[0].f_filialeid !== val) {
|
|
112
|
+
return true
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
if (GetSaleParam.adjustables.length > 0) {
|
|
116
|
+
if (GetSaleParam.adjustables[0].value.f_filialeid !== val) {
|
|
117
|
+
return true
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export default LoadParams
|