sale-client 3.6.169 → 3.6.171

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 (36) hide show
  1. package/build/dev-server.js +4 -1
  2. package/package.json +1 -1
  3. package/src/components/FilesManage/FileUserFiles.vue +8 -1
  4. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  5. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +8 -1
  6. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +8 -1
  7. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +8 -1
  8. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +8 -1
  9. package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +8 -1
  10. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +8 -1
  11. package/src/filiale/gehua/FileUserFiles.vue +8 -1
  12. package/src/filiale/gehua/MachineMeterCenter.vue +1 -1
  13. package/src/filiale/gehua/UserBaseInfoNew.vue +8 -1
  14. package/src/filiale/haile/UserBaseInfoNew.vue +8 -1
  15. package/src/filiale/huayin/FileUserFiles.vue +8 -1
  16. package/src/filiale/kelai/FileUserFilesKeLai.vue +8 -1
  17. package/src/filiale/konggang/FileUserFiles.vue +8 -1
  18. package/src/filiale/ningjin/FileUserFiles.vue +8 -1
  19. package/src/filiale/qianneng/components/common/userinfo_detail/UserBaseInfoNew.vue +8 -1
  20. package/src/filiale/qingjian/FileUserFiles.vue +8 -1
  21. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +8 -1
  22. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +8 -1
  23. package/src/filiale/shexian/UserBaseInfoNew.vue +8 -1
  24. package/src/filiale/wenxi/FileUserFiles.vue +8 -1
  25. package/src/filiale/wuan/FileUserFiles.vue +8 -1
  26. package/src/filiale/wuhai/CardMeterCenter.vue +3 -1
  27. package/src/filiale/wuhai/IOTMeterCenter.vue +1 -1
  28. package/src/filiale/wuhai/NoCardMeterCenter.vue +1 -1
  29. package/src/filiale/wuhai/OtherChargeNew.vue +1 -1
  30. package/src/filiale/wuhai/ShowCardSellGas.vue +1 -1
  31. package/src/filiale/xinkang/UserBaseInfoNew.vue +8 -1
  32. package/src/filiale/yuansheng/UserBaseInfoNew.vue +8 -1
  33. package/src/filiale/yuansheng/icTable.vue +4 -0
  34. package/src/filiale/zhongsheng/charge/UserBaseInfoNew.vue +8 -1
  35. package/src/filiale/zhongyi/FileUserFiles.vue +8 -1
  36. package/src/main.js +2 -2
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [ serverRul, localUrl ] = ['http://121.36.106.17:8400/', 'http://127.0.0.1:8080/']
2
+ const [ serverRul, localUrl ] = ['http://121.36.106.17:8400/', 'http://121.36.106.17:8400/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
@@ -20,6 +20,9 @@ var devConfig = {
20
20
  '/rs/file': {
21
21
  target: localUrl
22
22
  },
23
+ '/rs/logic/filemanage_fileSave': {
24
+ target: "http://127.0.0.1:4523/m1/719967-0-default"
25
+ },
23
26
  '/rs/downloadfile': {
24
27
  target: localUrl
25
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.169",
3
+ "version": "3.6.171",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -666,7 +666,14 @@ let loadParamGem = async function (self) {
666
666
  this.rowData = obj
667
667
  },
668
668
  goChargeManage () {
669
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
669
+ try {
670
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
671
+ } catch (e) {
672
+ }
673
+ try {
674
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
675
+ } catch (e) {
676
+ }
670
677
  },
671
678
  async doCopy () {
672
679
  await this.$copyText(this.resdata)
@@ -388,7 +388,7 @@
388
388
  self.row.id = res
389
389
  self.eticket_show = true
390
390
  // 应铜川需要卡表显示
391
- await self.$refs.eticketbill.openETicket([res], self.row, '是', self.invoice_is_pax, '卡表收费')
391
+ await self.$refs.eticketbill.openETicket(res, self.row, '卡表收费')
392
392
  // await self.$CommonService.openEticket(res, '售气收费')
393
393
  // self.print = true
394
394
  }
@@ -336,7 +336,14 @@
336
336
  if (this.row.parentname === 'charge-manage') {
337
337
  this.$emit('cancel-re')
338
338
  } else {
339
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
339
+ try {
340
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
341
+ } catch (e) {
342
+ }
343
+ try {
344
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
345
+ } catch (e) {
346
+ }
340
347
  }
341
348
  },
342
349
  openUser () {
@@ -660,7 +660,14 @@ let loadParamGem = async function (self) {
660
660
  this.rowData = obj
661
661
  },
662
662
  goChargeManage () {
663
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
663
+ try {
664
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
665
+ } catch (e) {
666
+ }
667
+ try {
668
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
669
+ } catch (e) {
670
+ }
664
671
  },
665
672
  async doCopy () {
666
673
  await this.$copyText(this.resdata)
@@ -655,7 +655,14 @@ let loadParamGem = async function (self) {
655
655
  this.rowData = obj
656
656
  },
657
657
  goChargeManage () {
658
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
658
+ try {
659
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
660
+ } catch (e) {
661
+ }
662
+ try {
663
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
664
+ } catch (e) {
665
+ }
659
666
  },
660
667
  async doCopy () {
661
668
  await this.$copyText(this.resdata)
@@ -673,7 +673,14 @@ export default {
673
673
  this.rowData = obj
674
674
  },
675
675
  goChargeManage () {
676
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
676
+ try {
677
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
678
+ } catch (e) {
679
+ }
680
+ try {
681
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
682
+ } catch (e) {
683
+ }
677
684
  },
678
685
  async doCopy () {
679
686
  await this.$copyText(this.resdata)
@@ -371,7 +371,14 @@
371
371
  async goChargeManage () {
372
372
  await this.$copyText(this.row.f_userinfo_code)
373
373
  this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
374
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
374
+ try {
375
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
376
+ } catch (e) {
377
+ }
378
+ try {
379
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
380
+ } catch (e) {
381
+ }
375
382
  },
376
383
  openUser () {
377
384
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
@@ -690,7 +690,14 @@ let loadParamGem = async function (self) {
690
690
  this.rowData = obj
691
691
  },
692
692
  goChargeManage () {
693
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
693
+ try {
694
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
695
+ } catch (e) {
696
+ }
697
+ try {
698
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
699
+ } catch (e) {
700
+ }
694
701
  },
695
702
  async doCopy () {
696
703
  await this.$copyText(this.resdata)
@@ -643,7 +643,14 @@ let loadParamGem = async function (self) {
643
643
  this.rowData = obj
644
644
  },
645
645
  goChargeManage () {
646
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
646
+ try {
647
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
648
+ } catch (e) {
649
+ }
650
+ try {
651
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
652
+ } catch (e) {
653
+ }
647
654
  },
648
655
  async doCopy () {
649
656
  await this.$copyText(this.resdata)
@@ -262,7 +262,7 @@ let asyncMachineMeterCenter = async function (self) {
262
262
  // TODO
263
263
  } else if (self.data.f_print[0] === '电子发票') {
264
264
  self.eticket_show = true
265
- await self.$refs.eticketbill.openETicket([res.data], self.row, '', self.invoice_is_pax, '机表收费')
265
+ await self.$refs.eticketbill.openETicket([res.data], self.row, '卡表收费')
266
266
  // await self.$CommonService.openEticket(res.data, '售气收费')
267
267
  // 如果不欠费就用下边的预存收据
268
268
  // if (self.$parent.$children[0].selecteds) {
@@ -324,7 +324,14 @@
324
324
  async goChargeManage () {
325
325
  await this.$copyText(this.row.f_userinfo_code)
326
326
  this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
327
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
327
+ try {
328
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
329
+ } catch (e) {
330
+ }
331
+ try {
332
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
333
+ } catch (e) {
334
+ }
328
335
  },
329
336
  openUser () {
330
337
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
@@ -339,7 +339,14 @@
339
339
  if (this.row.parentname === 'charge-manage') {
340
340
  this.$emit('cancel-re')
341
341
  } else {
342
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
342
+ try {
343
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
344
+ } catch (e) {
345
+ }
346
+ try {
347
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
348
+ } catch (e) {
349
+ }
343
350
  }
344
351
  },
345
352
  openUser () {
@@ -643,7 +643,14 @@ let loadParamGem = async function (self) {
643
643
  this.rowData = obj
644
644
  },
645
645
  goChargeManage () {
646
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
646
+ try {
647
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
648
+ } catch (e) {
649
+ }
650
+ try {
651
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
652
+ } catch (e) {
653
+ }
647
654
  },
648
655
  async doCopy () {
649
656
  await this.$copyText(this.resdata)
@@ -663,7 +663,14 @@ let loadParamGem = async function (self) {
663
663
  this.rowData = obj
664
664
  },
665
665
  goChargeManage () {
666
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
666
+ try {
667
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
668
+ } catch (e) {
669
+ }
670
+ try {
671
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
672
+ } catch (e) {
673
+ }
667
674
  },
668
675
  async doCopy () {
669
676
  await this.$copyText(this.resdata)
@@ -629,7 +629,14 @@ let loadParamGem = async function (self) {
629
629
  this.rowData = obj
630
630
  },
631
631
  goChargeManage () {
632
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
632
+ try {
633
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
634
+ } catch (e) {
635
+ }
636
+ try {
637
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
638
+ } catch (e) {
639
+ }
633
640
  },
634
641
  async doCopy () {
635
642
  await this.$copyText(this.resdata)
@@ -643,7 +643,14 @@ let loadParamGem = async function (self) {
643
643
  this.rowData = obj
644
644
  },
645
645
  goChargeManage () {
646
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
646
+ try {
647
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
648
+ } catch (e) {
649
+ }
650
+ try {
651
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
652
+ } catch (e) {
653
+ }
647
654
  },
648
655
  async doCopy () {
649
656
  await this.$copyText(this.resdata)
@@ -347,7 +347,14 @@
347
347
  async goChargeManage () {
348
348
  await this.$copyText(this.row.f_userinfo_code)
349
349
  this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
350
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
350
+ try {
351
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
352
+ } catch (e) {
353
+ }
354
+ try {
355
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
356
+ } catch (e) {
357
+ }
351
358
  },
352
359
  openUser () {
353
360
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
@@ -670,7 +670,14 @@ let loadParamGem = async function (self) {
670
670
  this.rowData = obj
671
671
  },
672
672
  goChargeManage () {
673
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
673
+ try {
674
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
675
+ } catch (e) {
676
+ }
677
+ try {
678
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
679
+ } catch (e) {
680
+ }
674
681
  },
675
682
  async doCopy () {
676
683
  await this.$copyText(this.resdata)
@@ -640,7 +640,14 @@ let loadParamGem = async function (self) {
640
640
  this.rowData = obj
641
641
  },
642
642
  goChargeManage () {
643
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
643
+ try {
644
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
645
+ } catch (e) {
646
+ }
647
+ try {
648
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
649
+ } catch (e) {
650
+ }
644
651
  },
645
652
  async doCopy () {
646
653
  await this.$copyText(this.resdata)
@@ -681,7 +681,14 @@ let loadParamGem = async function (self) {
681
681
  this.rowData = obj
682
682
  },
683
683
  goChargeManage () {
684
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
684
+ try {
685
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
686
+ } catch (e) {
687
+ }
688
+ try {
689
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
690
+ } catch (e) {
691
+ }
685
692
  },
686
693
  async doCopy () {
687
694
  await this.$copyText(this.resdata)
@@ -336,7 +336,14 @@
336
336
  if (this.row.parentname === 'charge-manage') {
337
337
  this.$emit('cancel-re')
338
338
  } else {
339
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
339
+ try {
340
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
341
+ } catch (e) {
342
+ }
343
+ try {
344
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
345
+ } catch (e) {
346
+ }
340
347
  }
341
348
  },
342
349
  openUser () {
@@ -663,7 +663,14 @@ let loadParamGem = async function (self) {
663
663
  this.rowData = obj
664
664
  },
665
665
  goChargeManage () {
666
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
666
+ try {
667
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
668
+ } catch (e) {
669
+ }
670
+ try {
671
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
672
+ } catch (e) {
673
+ }
667
674
  },
668
675
  async doCopy () {
669
676
  await this.$copyText(this.resdata)
@@ -639,7 +639,14 @@ let loadParamGem = async function (self) {
639
639
  this.rowData = obj
640
640
  },
641
641
  goChargeManage () {
642
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
642
+ try {
643
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
644
+ } catch (e) {
645
+ }
646
+ try {
647
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
648
+ } catch (e) {
649
+ }
643
650
  },
644
651
  async doCopy () {
645
652
  await this.$copyText(this.resdata)
@@ -387,7 +387,9 @@
387
387
  self.row.id = res
388
388
  self.eticket_show = true
389
389
  // 应铜川需要卡表显示
390
- await self.$refs.eticketbill.openETicket([res], self.row, '是', self.invoice_is_pax, '卡表收费')
390
+ await self.$refs.eticketbill.openETicket(res, self.row, '卡表收费')
391
+
392
+ // await self.$refs.eticketbill.openETicket([res], self.row, '是', self.invoice_is_pax, '卡表收费')
391
393
  // await self.$CommonService.openEticket(res, '售气收费')
392
394
  // self.print = true
393
395
  }
@@ -350,7 +350,7 @@
350
350
  // TODO
351
351
  } else if (self.model.f_print[0] === '电子发票') {
352
352
  self.eticket_show = true
353
- await self.$refs.eticketbill.openETicket([res.data.id], self.row, self.invoice_show_gas, self.invoice_is_pax, '物联网收费')
353
+ await self.$refs.eticketbill.openETicket(res.data.id, self.row, '物联网收费')
354
354
 
355
355
  // self.$CommonService.openEticket(res.data.id, '其他收费')
356
356
  // self.$dispatch('success')
@@ -253,7 +253,7 @@
253
253
  }
254
254
  } else {
255
255
  if (self.model.f_print[0] === '电子发票') {
256
- await self.$CommonService.openEticket(res, '售气收费')
256
+ await self.$refs.eticketbill.openETicket(res, self.row, '卡表收费')
257
257
  self.row.id = res
258
258
  self.print = true
259
259
  }
@@ -298,7 +298,7 @@
298
298
  self.$dispatch('success')
299
299
  } else if (self.model.f_print[0] === '电子发票') {
300
300
  self.eticket_show = true
301
- await self.$refs.eticketbill.openETicket([resid.data], self.row, '是', self.invoice_is_pax, '其他收费')
301
+ await self.$refs.eticketbill.openETicket(resid.data, self.row, '其他收费')
302
302
  // self.$CommonService.openEticket(resid.data, '其他收费')
303
303
  // self.$dispatch('success')
304
304
  }
@@ -398,7 +398,7 @@ let initCardGen = async function (self) {
398
398
  self.row.id = res.data.id
399
399
  self.eticket_show = true
400
400
  // 应铜川需要卡表显示
401
- await self.$refs.eticketbill.openETicket([res.data.id], self.row, '', self.invoice_is_pax, '发卡售气')
401
+ await self.$refs.eticketbill.openETicket(res.data.id, self.row, '卡表收费')
402
402
 
403
403
  // await self.$CommonService.openEticket(res.data.id, '售气收费')
404
404
  // self.row.id = res.data.id
@@ -323,7 +323,14 @@
323
323
  async goChargeManage () {
324
324
  await this.$copyText(this.row.f_userinfo_code)
325
325
  this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
326
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
326
+ try {
327
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
328
+ } catch (e) {
329
+ }
330
+ try {
331
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
332
+ } catch (e) {
333
+ }
327
334
  },
328
335
  openUser () {
329
336
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
@@ -323,7 +323,14 @@
323
323
  if (this.row.parentname === 'charge-manage') {
324
324
  this.$emit('cancel-re')
325
325
  } else {
326
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
326
+ try {
327
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
328
+ } catch (e) {
329
+ }
330
+ try {
331
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
332
+ } catch (e) {
333
+ }
327
334
  }
328
335
  },
329
336
  openUser () {
@@ -138,6 +138,8 @@ let preamountGen = async function (self) {
138
138
  f_times: self.row.cardInfo.Times + 1,
139
139
  f_total_gas: data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0),
140
140
  f_total_fee: data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0),
141
+ f_write_totalgas: (self.row.f_write_totalgas - 0) + (self.model.f_pregas - 0),
142
+ f_write_totalfee: (self.row.f_write_totalfee - 0) + (self.model.f_preamount - 0),
141
143
  f_balance_gas: 0,
142
144
  f_balance_amount: 0
143
145
  }
@@ -303,6 +305,8 @@ let preamountGen = async function (self) {
303
305
  meterid: row.f_meternumber ? row.f_meternumber : 0 // 表号
304
306
  // meternumber: row.f_meternumber ? row.f_meternumber : 0
305
307
  }
308
+ params.ljgql = parseFloat(((row.f_write_totalgas - 0) + (this.model.f_pregas - 0)).toFixed(2))
309
+ params.ljgqje = parseFloat(((row.f_write_totalfee - 0) + (this.model.f_preamount - 0)).toFixed(2))
306
310
  return Object.assign({}, this.$CommonService.writeCardParams(cardParams), params)
307
311
  },
308
312
  close () {
@@ -328,7 +328,14 @@
328
328
  async goChargeManage () {
329
329
  await this.$copyText(this.row.f_userinfo_code)
330
330
  this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
331
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
331
+ try {
332
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
333
+ } catch (e) {
334
+ }
335
+ try {
336
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
337
+ } catch (e) {
338
+ }
332
339
  },
333
340
  openUser () {
334
341
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
@@ -642,7 +642,14 @@ let loadParamGem = async function (self) {
642
642
  this.rowData = obj
643
643
  },
644
644
  goChargeManage () {
645
- this.$goto('charge-manage', {f: this.$login.f}, 'main')
645
+ try {
646
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
647
+ } catch (e) {
648
+ }
649
+ try {
650
+ window.parent.dispatchEvent(new CustomEvent('gotoChargeManage', {detail: 'Hello from iframe'}));
651
+ } catch (e) {
652
+ }
646
653
  },
647
654
  async doCopy () {
648
655
  await this.$copyText(this.resdata)
package/src/main.js CHANGED
@@ -4,7 +4,7 @@ import App from './App'
4
4
  import system from 'system-clients/src/system'
5
5
  import sale from './sale'
6
6
  // import wenxi from './filiale/rizhao/sale'
7
- import FilialeSale from './filiale/lixianV3/sale'
7
+ import FilialeSale from './filiale/yuansheng/sale'
8
8
  import address from 'address-client/src/address'
9
9
  import ldap from 'ldap-clients/src/ldap'
10
10
  import VueClipboard from 'vue-clipboard2'
@@ -24,7 +24,7 @@ all()
24
24
  system(false)
25
25
  sale()
26
26
  // wenxi()
27
- // FilialeSale()
27
+ FilialeSale()
28
28
  address()
29
29
  ldap()
30
30
  require('system-clients/src/styles/less/bootstrap.less')