sale-client 4.2.36 → 4.2.37

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.
Files changed (61) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.2.1/gc.properties +0 -0
  4. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  6. package/.gradle/vcs-1/gc.properties +0 -0
  7. package/build/dev-server.js +28 -42
  8. package/hs_err_pid32452.log +625 -0
  9. package/hs_err_pid36896.log +249 -0
  10. package/package.json +1 -1
  11. package/src/App.vue +1 -1
  12. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  13. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  14. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  15. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  16. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  17. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  18. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  19. package/src/filiale/bayan/StockListmain.vue +543 -543
  20. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  21. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  22. package/src/filiale/bazhong/sale.js +8 -8
  23. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  24. package/src/filiale/jinhong/machineHand.vue +2099 -2099
  25. package/src/filiale/jinhong/plugins/GetSaleParams.js +302 -302
  26. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  27. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  28. package/src/filiale/meihekou/batch/batchEditFiles.vue +12 -0
  29. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  30. package/src/filiale/meihekou/handOperate.vue +5 -4
  31. package/src/filiale/meihekou/replacementSingleInfoOperation.vue +318 -0
  32. package/src/filiale/meihekou/sale.js +4 -0
  33. package/src/filiale/meihekou/specificInformation.vue +552 -0
  34. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  35. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  36. package/src/filiale/ronghao/CardService.js +2144 -2144
  37. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  38. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  39. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  40. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  41. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  42. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  43. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  44. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  45. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  46. package/src/filiale/ronghao/Upload.vue +654 -654
  47. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  48. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  49. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  50. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  51. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  52. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  53. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  54. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  55. package/src/filiale/ronghao/specificInformation.vue +537 -537
  56. package/src/filiale/yangchun/ChargeList.vue +954 -954
  57. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  58. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  59. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  60. package/src/main.js +1 -1
  61. package/src/plugins/CardService.js +2217 -2217
@@ -1,302 +1,302 @@
1
- import Vue from 'vue'
2
- let GetSaleParam = {
3
-
4
- install (Vue, options) {
5
- // 给vue增添对话框显示方法
6
- Vue.GetSaleParam = Vue.prototype.$GetSaleParam = GetSaleParam
7
- },
8
-
9
- // 气表
10
- gasbrands: [],
11
-
12
- // 气价
13
- prices: [],
14
-
15
- // 调压箱
16
- adjustables: [],
17
- meterNumber: [],
18
- // 抄表册
19
- meterbooks: [],
20
- bookcodes: [],
21
- inputtors: [],
22
- auditor: [],
23
- saleMan: [],
24
- async initinputtor () {
25
- let res = await Vue.resetpost('api/af-revenue/sql/sale_getAlluserRes?pageNo=1&pageSize=999999', {data: {
26
- condition: ' 1=1'
27
- }}, {resolveMsg: null, rejectMsg: '获取用户出错!!!', newly: true})
28
- console.log('resdata:', res.data)
29
- if (res.data) {
30
- GetSaleParam.inputtors = res.data
31
- }
32
- },
33
- getresinputtor (orgid) {
34
- console.log('11111111111-------,', orgid)
35
- let inputtors = []
36
- console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
37
- if (GetSaleParam.inputtors.length > 0) {
38
- let arr = GetSaleParam.inputtors.filter((res) => {
39
- if (res.rolestr != null && res.rolestr != '') {
40
- return res.rolestr.indexOf('抄表员') > -1 && res.f_orgid == orgid
41
- }
42
- })
43
-
44
- arr.forEach((res) => {
45
- inputtors.push({label: res.name, value: res.name})
46
- })
47
- }
48
- return inputtors
49
- },
50
- getAllMeterNumber () {
51
- let param = {
52
- f_orgid: this.$login.f.orgid
53
- }
54
- this.$resetpost('api/af-revenue/logic/getAllMeterNumber', param, {
55
- resolveMsg: null,
56
- rejectMsg: '获取表号失败!!'
57
- }).then(res => {
58
- this.meterNumber = []
59
- if (res.data.length > 0) {
60
- res.data.forEach(item => {
61
- this.meterNumber.push({label: item.label, value: item.value})
62
- })
63
- }
64
- })
65
- return this.meterNumber
66
- },
67
- getAudit (orgid) {
68
- console.log('11111111111-------,', orgid)
69
- let auditor = []
70
- console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
71
- if (GetSaleParam.inputtors.length > 0) {
72
- let arr = GetSaleParam.inputtors.filter((res) => {
73
- if (res.rolestr != null && res.rolestr != '') {
74
- return res.rolestr.indexOf('审核人员') > -1 && res.f_orgid == orgid
75
- }
76
- })
77
- arr.forEach((res) => {
78
- auditor.push({label: res.name, value: res.name})
79
- })
80
- }
81
- return auditor
82
- },
83
- getSaleMan (orgid) {
84
- let saleMan = []
85
- if (GetSaleParam.inputtors.length > 0) {
86
- let arr = GetSaleParam.inputtors.filter((res) => {
87
- if (res.rolestr != null && res.rolestr != '') {
88
- return res.rolestr && res.f_orgid == orgid
89
- }
90
- })
91
- arr.forEach((res) => {
92
- saleMan.push({label: res.name, value: res.name})
93
- })
94
- }
95
- return saleMan
96
- },
97
- getGasstyle (key) {
98
- return GetSaleParam.gasbrands.key
99
- },
100
- getGasbrand () {
101
- return GetSaleParam.gasbrands
102
- },
103
- getAdjustable () {
104
- return GetSaleParam.adjustables
105
- },
106
- getMeterBooks () {
107
- return GetSaleParam.meterbooks
108
- },
109
- getBookCodes () {
110
- return GetSaleParam.bookcodes
111
- },
112
- getAdjustable (val) {
113
- // 数组去重
114
- let arr = []
115
- if (val) {
116
- GetSaleParam.adjustables.forEach((item, next) => {
117
- if (item.value.f_orgid == val) {
118
- item.value.risers=[]
119
- var params=[]
120
- if(item.value.f_riser_codes){
121
- var param=(item.value.f_riser_codes||'').split(' , ')
122
- param.forEach((item)=>{
123
- params.push({label:item,value:item})
124
- })
125
- item.value.risers=params
126
- }else{
127
- item.value.risers=[]
128
- }
129
-
130
- arr.push(item)
131
- }
132
- })
133
- } else {
134
- GetSaleParam.adjustables.forEach((item, next) => {
135
- arr.push(item)
136
- })
137
- }
138
- let hash = {}
139
- let result = arr.reduce((item, next) => {
140
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
141
- return item
142
- }, [])
143
- return Array.from(new Set(result))
144
- },
145
- getPriceByOrg (filialeid) {
146
- let result = []
147
- GetSaleParam.prices.forEach((item) => {
148
- if (item.f_state === '有效' && filialeid == item.f_filialeid) {
149
- let value = {
150
- label: item.f_price_name,
151
- value: item
152
- }
153
- result.push(value)
154
- }
155
- })
156
- let hash = {}
157
- result = result.reduce((item, next) => {
158
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
159
- return item
160
- }, [])
161
- return Array.from(new Set(result))
162
- },
163
- getOnlyPrice () {
164
- // 数组去重
165
- let arr = []
166
- GetSaleParam.prices.forEach((item, next) => {
167
- if (item.f_state === '有效') {
168
- let value = {
169
- label: item.f_price_name,
170
- value: item
171
- }
172
- arr.push(value)
173
- }
174
- })
175
- let hash = {}
176
- let result = arr.reduce((item, next) => {
177
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
178
- return item
179
- }, [])
180
- return Array.from(new Set(result))
181
- },
182
- getPrice (object) {
183
- console.log('参数。。。', object)
184
- // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
185
- if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
186
- return
187
- }
188
- let result = []
189
-
190
- console.log('获取价格。。。', object.filter, GetSaleParam.prices)
191
-
192
- // 做筛选
193
- if (object.filter) {
194
- GetSaleParam.prices.forEach((item) => {
195
- if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
196
- object.f_gasproperties === item.f_gasproperties &&
197
- object.f_price_type === item.f_price_type &&
198
- object.filter == item.f_filialeid) {
199
- let value = {
200
- label: item.f_price_name,
201
- value: item
202
- }
203
- result.push(value)
204
- }
205
- })
206
- } else {
207
- GetSaleParam.prices.forEach((item) => {
208
- if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
209
- let value = {
210
- label: item.f_price_name,
211
- value: item
212
- }
213
- console.log('进来了1111')
214
- result.push(value)
215
- }
216
- })
217
- }
218
- // 数组去重
219
- let hash = {}
220
- result = result.reduce((item, next) => {
221
- hash[next.label] ? '' : hash[next.label] = true && item.push(next)
222
- return item
223
- }, [])
224
- return Array.from(new Set(result))
225
- },
226
- getPriceAll (object) {
227
- console.log('参数。。。', object)
228
- // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
229
- if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
230
- return
231
- }
232
- let result = []
233
-
234
- console.log('获取价格。。。', object.filter, GetSaleParam.prices)
235
-
236
- // 做筛选
237
- if (object.filter) {
238
- GetSaleParam.prices.forEach((item) => {
239
- if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
240
- object.f_gasproperties === item.f_gasproperties &&
241
- object.f_price_type === item.f_price_type &&
242
- object.filter == item.f_filialeid) {
243
- let value = {
244
- label: item.f_price_name,
245
- value: item
246
- }
247
- result.push(value)
248
- }
249
- })
250
- } else {
251
- GetSaleParam.prices.forEach((item) => {
252
- if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
253
- let value = {
254
- label: item.f_price_name,
255
- value: item
256
- }
257
- console.log('进来了1111')
258
- result.push(value)
259
- }
260
- })
261
- }
262
- return Array.from(new Set(result))
263
- },
264
- getPriceAllOther (object) {
265
- console.log('参数。。。', object)
266
- // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
267
- if (!object.f_price_type) {
268
- return
269
- }
270
- let result = []
271
-
272
- console.log('获取价格。。。', object.filter, GetSaleParam.prices)
273
-
274
- // 做筛选
275
- if (object.filter) {
276
- GetSaleParam.prices.forEach((item) => {
277
- if (item.f_state === '有效' && object.f_price_type === item.f_price_type &&
278
- object.filter == item.f_filialeid) {
279
- let value = {
280
- label: item.f_price_name,
281
- value: item
282
- }
283
- result.push(value)
284
- }
285
- })
286
- } else {
287
- GetSaleParam.prices.forEach((item) => {
288
- if (item.f_state === '有效' && object.f_price_type === item.f_price_type) {
289
- let value = {
290
- label: item.f_price_name,
291
- value: item
292
- }
293
- console.log('进来了1111')
294
- result.push(value)
295
- }
296
- })
297
- }
298
- return Array.from(new Set(result))
299
- }
300
- }
301
-
302
- export default GetSaleParam
1
+ import Vue from 'vue'
2
+ let GetSaleParam = {
3
+
4
+ install (Vue, options) {
5
+ // 给vue增添对话框显示方法
6
+ Vue.GetSaleParam = Vue.prototype.$GetSaleParam = GetSaleParam
7
+ },
8
+
9
+ // 气表
10
+ gasbrands: [],
11
+
12
+ // 气价
13
+ prices: [],
14
+
15
+ // 调压箱
16
+ adjustables: [],
17
+ meterNumber: [],
18
+ // 抄表册
19
+ meterbooks: [],
20
+ bookcodes: [],
21
+ inputtors: [],
22
+ auditor: [],
23
+ saleMan: [],
24
+ async initinputtor () {
25
+ let res = await Vue.resetpost('api/af-revenue/sql/sale_getAlluserRes?pageNo=1&pageSize=999999', {data: {
26
+ condition: ' 1=1'
27
+ }}, {resolveMsg: null, rejectMsg: '获取用户出错!!!', newly: true})
28
+ console.log('resdata:', res.data)
29
+ if (res.data) {
30
+ GetSaleParam.inputtors = res.data
31
+ }
32
+ },
33
+ getresinputtor (orgid) {
34
+ console.log('11111111111-------,', orgid)
35
+ let inputtors = []
36
+ console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
37
+ if (GetSaleParam.inputtors.length > 0) {
38
+ let arr = GetSaleParam.inputtors.filter((res) => {
39
+ if (res.rolestr != null && res.rolestr != '') {
40
+ return res.rolestr.indexOf('抄表员') > -1 && res.f_orgid == orgid
41
+ }
42
+ })
43
+
44
+ arr.forEach((res) => {
45
+ inputtors.push({label: res.name, value: res.name})
46
+ })
47
+ }
48
+ return inputtors
49
+ },
50
+ getAllMeterNumber () {
51
+ let param = {
52
+ f_orgid: this.$login.f.orgid
53
+ }
54
+ this.$resetpost('api/af-revenue/logic/getAllMeterNumber', param, {
55
+ resolveMsg: null,
56
+ rejectMsg: '获取表号失败!!'
57
+ }).then(res => {
58
+ this.meterNumber = []
59
+ if (res.data.length > 0) {
60
+ res.data.forEach(item => {
61
+ this.meterNumber.push({label: item.label, value: item.value})
62
+ })
63
+ }
64
+ })
65
+ return this.meterNumber
66
+ },
67
+ getAudit (orgid) {
68
+ console.log('11111111111-------,', orgid)
69
+ let auditor = []
70
+ console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
71
+ if (GetSaleParam.inputtors.length > 0) {
72
+ let arr = GetSaleParam.inputtors.filter((res) => {
73
+ if (res.rolestr != null && res.rolestr != '') {
74
+ return res.rolestr.indexOf('审核人员') > -1 && res.f_orgid == orgid
75
+ }
76
+ })
77
+ arr.forEach((res) => {
78
+ auditor.push({label: res.name, value: res.name})
79
+ })
80
+ }
81
+ return auditor
82
+ },
83
+ getSaleMan (orgid) {
84
+ let saleMan = []
85
+ if (GetSaleParam.inputtors.length > 0) {
86
+ let arr = GetSaleParam.inputtors.filter((res) => {
87
+ if (res.rolestr != null && res.rolestr != '') {
88
+ return res.rolestr && res.f_orgid == orgid
89
+ }
90
+ })
91
+ arr.forEach((res) => {
92
+ saleMan.push({label: res.name, value: res.name})
93
+ })
94
+ }
95
+ return saleMan
96
+ },
97
+ getGasstyle (key) {
98
+ return GetSaleParam.gasbrands.key
99
+ },
100
+ getGasbrand () {
101
+ return GetSaleParam.gasbrands
102
+ },
103
+ getAdjustable () {
104
+ return GetSaleParam.adjustables
105
+ },
106
+ getMeterBooks () {
107
+ return GetSaleParam.meterbooks
108
+ },
109
+ getBookCodes () {
110
+ return GetSaleParam.bookcodes
111
+ },
112
+ getAdjustable (val) {
113
+ // 数组去重
114
+ let arr = []
115
+ if (val) {
116
+ GetSaleParam.adjustables.forEach((item, next) => {
117
+ if (item.value.f_orgid == val) {
118
+ item.value.risers=[]
119
+ var params=[]
120
+ if(item.value.f_riser_codes){
121
+ var param=(item.value.f_riser_codes||'').split(' , ')
122
+ param.forEach((item)=>{
123
+ params.push({label:item,value:item})
124
+ })
125
+ item.value.risers=params
126
+ }else{
127
+ item.value.risers=[]
128
+ }
129
+
130
+ arr.push(item)
131
+ }
132
+ })
133
+ } else {
134
+ GetSaleParam.adjustables.forEach((item, next) => {
135
+ arr.push(item)
136
+ })
137
+ }
138
+ let hash = {}
139
+ let result = arr.reduce((item, next) => {
140
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
141
+ return item
142
+ }, [])
143
+ return Array.from(new Set(result))
144
+ },
145
+ getPriceByOrg (filialeid) {
146
+ let result = []
147
+ GetSaleParam.prices.forEach((item) => {
148
+ if (item.f_state === '有效' && filialeid == item.f_filialeid) {
149
+ let value = {
150
+ label: item.f_price_name,
151
+ value: item
152
+ }
153
+ result.push(value)
154
+ }
155
+ })
156
+ let hash = {}
157
+ result = result.reduce((item, next) => {
158
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
159
+ return item
160
+ }, [])
161
+ return Array.from(new Set(result))
162
+ },
163
+ getOnlyPrice () {
164
+ // 数组去重
165
+ let arr = []
166
+ GetSaleParam.prices.forEach((item, next) => {
167
+ if (item.f_state === '有效') {
168
+ let value = {
169
+ label: item.f_price_name,
170
+ value: item
171
+ }
172
+ arr.push(value)
173
+ }
174
+ })
175
+ let hash = {}
176
+ let result = arr.reduce((item, next) => {
177
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
178
+ return item
179
+ }, [])
180
+ return Array.from(new Set(result))
181
+ },
182
+ getPrice (object) {
183
+ console.log('参数。。。', object)
184
+ // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
185
+ if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
186
+ return
187
+ }
188
+ let result = []
189
+
190
+ console.log('获取价格。。。', object.filter, GetSaleParam.prices)
191
+
192
+ // 做筛选
193
+ if (object.filter) {
194
+ GetSaleParam.prices.forEach((item) => {
195
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
196
+ object.f_gasproperties === item.f_gasproperties &&
197
+ object.f_price_type === item.f_price_type &&
198
+ object.filter == item.f_filialeid) {
199
+ let value = {
200
+ label: item.f_price_name,
201
+ value: item
202
+ }
203
+ result.push(value)
204
+ }
205
+ })
206
+ } else {
207
+ GetSaleParam.prices.forEach((item) => {
208
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
209
+ let value = {
210
+ label: item.f_price_name,
211
+ value: item
212
+ }
213
+ console.log('进来了1111')
214
+ result.push(value)
215
+ }
216
+ })
217
+ }
218
+ // 数组去重
219
+ let hash = {}
220
+ result = result.reduce((item, next) => {
221
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
222
+ return item
223
+ }, [])
224
+ return Array.from(new Set(result))
225
+ },
226
+ getPriceAll (object) {
227
+ console.log('参数。。。', object)
228
+ // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
229
+ if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
230
+ return
231
+ }
232
+ let result = []
233
+
234
+ console.log('获取价格。。。', object.filter, GetSaleParam.prices)
235
+
236
+ // 做筛选
237
+ if (object.filter) {
238
+ GetSaleParam.prices.forEach((item) => {
239
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
240
+ object.f_gasproperties === item.f_gasproperties &&
241
+ object.f_price_type === item.f_price_type &&
242
+ object.filter == item.f_filialeid) {
243
+ let value = {
244
+ label: item.f_price_name,
245
+ value: item
246
+ }
247
+ result.push(value)
248
+ }
249
+ })
250
+ } else {
251
+ GetSaleParam.prices.forEach((item) => {
252
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type) {
253
+ let value = {
254
+ label: item.f_price_name,
255
+ value: item
256
+ }
257
+ console.log('进来了1111')
258
+ result.push(value)
259
+ }
260
+ })
261
+ }
262
+ return Array.from(new Set(result))
263
+ },
264
+ getPriceAllOther (object) {
265
+ console.log('参数。。。', object)
266
+ // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
267
+ if (!object.f_price_type) {
268
+ return
269
+ }
270
+ let result = []
271
+
272
+ console.log('获取价格。。。', object.filter, GetSaleParam.prices)
273
+
274
+ // 做筛选
275
+ if (object.filter) {
276
+ GetSaleParam.prices.forEach((item) => {
277
+ if (item.f_state === '有效' && object.f_price_type === item.f_price_type &&
278
+ object.filter == item.f_filialeid) {
279
+ let value = {
280
+ label: item.f_price_name,
281
+ value: item
282
+ }
283
+ result.push(value)
284
+ }
285
+ })
286
+ } else {
287
+ GetSaleParam.prices.forEach((item) => {
288
+ if (item.f_state === '有效' && object.f_price_type === item.f_price_type) {
289
+ let value = {
290
+ label: item.f_price_name,
291
+ value: item
292
+ }
293
+ console.log('进来了1111')
294
+ result.push(value)
295
+ }
296
+ })
297
+ }
298
+ return Array.from(new Set(result))
299
+ }
300
+ }
301
+
302
+ export default GetSaleParam