sale-client 3.6.402 → 3.6.403

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.402",
3
+ "version": "3.6.403",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -651,7 +651,12 @@
651
651
  try {
652
652
  let result = yield http.load('GET', `rs/vue/MeterinfoTest.json`, {}, {resolveMsg: null, rejectMsg: null})
653
653
  Object.assign(self.config, result.data)
654
- if (!self.row.f_open_way) self.row.f_open_way = self.config.open_way
654
+ if (!self.row.f_open_way) {
655
+ self.row.f_open_way = self.config.open_way
656
+ }
657
+ if (!self.row.f_usetype || self.row.f_usetype.length === 0) {
658
+ self.row.f_usetype = self.config.f_usetype
659
+ }
655
660
  } catch (error) {
656
661
  // 忽略704,文件找不到异常
657
662
  if (error.status !== 704) {
@@ -700,6 +705,7 @@
700
705
  stuckFlowmeterShow: false,
701
706
  overduesetShow: true,
702
707
  f_install_date: true,
708
+ f_usetype: '',
703
709
  open_way: '指令开户'
704
710
  },
705
711
  mapShow: false,
@@ -401,7 +401,7 @@ export default {
401
401
 
402
402
  var link = document.createElement('a')
403
403
  let path = '表具导入异常信息.txt'
404
- let pathName = 'http://' + location.host + '/webapps/revenue/excel' + path
404
+ let pathName = 'http://' + location.host + '/webapps/revenue/excel/' + path
405
405
  link.href = pathName
406
406
  link.download = path
407
407
  link.dispatchEvent(new MouseEvent('click'))