sale-client 3.6.123 → 3.6.124

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.40.52.133:9001/', 'http://121.40.52.133:9001/']
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.123",
3
+ "version": "3.6.124",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -218,6 +218,15 @@
218
218
  ready () {
219
219
  asyncCardMeterCenter(this)
220
220
  },
221
+ computed:{
222
+ 'curbalance' () {
223
+ if (this.model.f_collection) {
224
+ return ((this.row.f_balance- 0) + ((this.model.f_surplus_fee - 0) - (this.model.f_collection - 0))).toFixed(2)
225
+ } else {
226
+ return this.row.f_balance
227
+ }
228
+ },
229
+ },
221
230
  watch: {
222
231
  'model.f_payment.length' (val) {
223
232
  console.log('付款方式多选。。', val)
@@ -259,6 +268,8 @@
259
268
  this.model.f_stairprice_id = this.row.f_stairprice_id
260
269
  this.model.f_gasproperties = this.row.f_gasproperties
261
270
  this.model.f_address = this.row.f_address
271
+ this.model.f_collection2 = (this.model.f_surplus_fee - 0) - (this.model.f_collection - 0)
272
+ this.model.f_curbalance2 = this.curbalance
262
273
  this.model.f_collection = (this.model.f_compensation_type == '调价补费' ? this.model.f_collection : (0 - this.model.f_collection))
263
274
  this.model.f_times = this.row.f_times
264
275
  this.model.f_type = this.model.f_compensation_type
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/qianneng/sale'
7
+ import FilialeSale from './filiale/liaoyuan/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'