sale-client 3.6.106 → 3.6.107

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,5 +1,5 @@
1
1
  var path = require('path')
2
- const [serverRul, localUrl ] = ['http://192.168.50.4: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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.106",
3
+ "version": "3.6.107",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -540,6 +540,8 @@ export default {
540
540
  if (!item.f_number || item.f_number == '0') flag = false
541
541
  if (item.f_unitprice && item.f_number) {
542
542
  money += ((item.f_unitprice - 0) * (item.f_number - 0)) - 0
543
+ } else {
544
+ this.model.f_collection = 0
543
545
  }
544
546
  })
545
547
  if (money != 0) {
@@ -494,6 +494,8 @@ export default {
494
494
  if (!item.f_number || item.f_number == '0') flag = false
495
495
  if (item.f_unitprice && item.f_number) {
496
496
  money += ((item.f_unitprice - 0) * (item.f_number - 0)) - 0
497
+ } else {
498
+ this.model.f_collection = 0
497
499
  }
498
500
  })
499
501
  if (money != 0) {