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.
package/build/dev-server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [serverRul, localUrl ] = ['http://
|
|
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
|
@@ -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) {
|