sale-client 4.2.75 → 4.2.77

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.
@@ -1,2 +1,2 @@
1
- #Mon Oct 27 16:31:04 CST 2025
1
+ #Thu Oct 30 09:31:24 CST 2025
2
2
  gradle.version=5.2.1
Binary file
package/.npmignore ADDED
@@ -0,0 +1,12 @@
1
+ src/bootstrap
2
+ .idea/
3
+ .DS_Store
4
+ node_modules/
5
+ dist/
6
+ examples/
7
+ gradle/
8
+ npm-debug.log
9
+ selenium-debug.log
10
+ test/unit/coverage
11
+ test/e2e/reports
12
+ lib/**/lib
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://123.57.92.217:8900/', 'http://123.57.92.217:8900/']
4
+ const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://192.168.50.67:31467/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -47,14 +47,14 @@ var devConfig = {
47
47
  // },
48
48
  // target: localUrl
49
49
  // },
50
- '/rs/pay': {
51
- target: 'http://localhost:8080'
52
- },
50
+ // '/rs/pay': {
51
+ // target: 'http://localhost:8080'
52
+ // },
53
53
  '/api/af-revenue': {
54
- // pathRewrite: {
55
- // '/api/af-revenue': '/af-revenue'
56
- // },
57
- target: serverRul
54
+ pathRewrite: {
55
+ '/api/af-revenue': ''
56
+ },
57
+ target: 'http://127.0.0.1:9026'
58
58
  },
59
59
  '/api': {
60
60
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.75",
3
+ "version": "4.2.77",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/.npmignore ADDED
@@ -0,0 +1 @@
1
+
@@ -676,7 +676,7 @@ let loadParamGem = async function (self) {
676
676
  'onFileUpload': function (file, res) {
677
677
  if (this.batchmoneyShow) {
678
678
  let param = {
679
- filepath: res.f_downloadpath,
679
+ filepath: res.f_realpath,
680
680
  f_operator: this.$login.f.name,
681
681
  f_operatorid: this.$login.f.id,
682
682
  f_orgid: this.$login.f.orgid,
@@ -695,7 +695,7 @@ let loadParamGem = async function (self) {
695
695
  this.iswork = true
696
696
  // 当前上传的是批量导入的档案
697
697
  let param = {
698
- filepath: res.f_downloadpath,
698
+ filepath: res.f_realpath,
699
699
  f_operator: this.$login.f.name,
700
700
  f_operatorid: this.$login.f.id,
701
701
  f_orgid: this.$login.f.orgid,
@@ -708,7 +708,7 @@ let loadParamGem = async function (self) {
708
708
  axios.post('api/af-revenue/logic/newPrepareSettleFileImport',
709
709
  {data: param}, {timeout: 10 * 60 * 1000, headers: {token: Vue.$login.jwt, Authorization: 'Bearer ' + Vue.$login.jwtNew}}).then((res) => {
710
710
  if (res.data) {
711
- self.$showMessage(`本次上传共上传${res.data.totalsum}条数据, 成功${res.data.successnum}条,失败${res.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
711
+ self.$showMessage(`本次上传共上传${res.data.data.totalsum}条数据, 成功${res.data.data.successnum}条,失败${res.data.data.errorsum}条,具体失败数据请在稽查查询错误查询中查看!!`)
712
712
  self.iswork = false
713
713
  // this.$showAlert('导入成功','success',2000)
714
714
  }
@@ -638,7 +638,7 @@
638
638
  // 通过收款进行划价
639
639
  let getGas = await this.$CommonService.feeCalculate(this.model, calFee)
640
640
  if (this.row.f_isdecimal === '是') {
641
- this.model.f_pregas = getGas.data.gas.toFixed(this.row.f_gas_decimal || 4)
641
+ this.model.f_pregas = (getGas.data.gas - 0).toFixed(this.row.f_gas_decimal || 4)
642
642
  } else {
643
643
  this.model.f_pregas = parseInt(getGas.data.gas)
644
644
  }
@@ -649,7 +649,8 @@
649
649
  this.model.f_preamount = dymoney2.data.chargenum
650
650
  this.calText(dymoney2.data.chargeprice)
651
651
  } catch (error) {
652
- this.$showAlert(`发卡售气划价错误,错误类型:${error}`, 'danger', 0)
652
+ console.error(error)
653
+ this.$showAlert(`划价错误,错误类型:${error}`, 'danger', 0)
653
654
  this.$dispatch('error', '发卡售气', this.model, error)
654
655
  }
655
656
  },
@@ -638,7 +638,7 @@
638
638
  // 通过收款进行划价
639
639
  let getGas = await this.$CommonService.feeCalculate(this.model, calFee)
640
640
  if (this.row.f_isdecimal === '是') {
641
- this.model.f_pregas = getGas.data.gas.toFixed(this.row.f_gas_decimal || 4)
641
+ this.model.f_pregas = (getGas.data.gas - 0).toFixed(this.row.f_gas_decimal || 4)
642
642
  } else {
643
643
  this.model.f_pregas = parseInt(getGas.data.gas)
644
644
  }