sale-client 3.6.152 → 3.6.153

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://localhost:8080/']
2
+ const [ serverRul, localUrl ] = ['http://192.168.50.4:8400/', 'http://192.168.50.4: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.152",
3
+ "version": "3.6.153",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  <div class="col-sm-4 form-group"
37
37
  :class="[$v.f_preamount.required || $v.f_preamount.dctest? 'has-error' : 'has-success']">
38
38
  <label for="f_preamount" class=" font_normal_body">预购金额</label>
39
- <input class="input_search" style="width:60%" @blur="preamount()" type="number" v-model="model.f_preamount"
39
+ <input class="input_search" style="width:60%" @blur="preamount()" type="number" v-model="model.f_preamount" id="f_preamount"
40
40
  v-validate:f_preamount='{required: true, dctest: [maxmoney, "<=" ] }'
41
41
  :disabled="config.calculatePreByCollection"
42
42
  v-scale="[model.f_preamount, row.f_fee_decimal||4]" placeholder="预购金额" >
@@ -554,7 +554,7 @@
554
554
  this.model.f_balance = this.row.f_alias === 'QiaoSong' ? Math.trunc(this.row.f_balance) : this.row.f_balance
555
555
  this.model.f_preamount = ''
556
556
  this.model.f_pregas = ''
557
- document.getElementById('pregasFocue').focus()
557
+ document.getElementById('f_preamount').focus()
558
558
  asyncCardMeterCenter(this)
559
559
  this.getRandomId()
560
560
  },
@@ -178,8 +178,8 @@
178
178
  <label class="col-sm-3 control-label">阀门状态</label>
179
179
  <div class="col-sm-3">
180
180
  <p class="form-control-static">
181
- {{row.f_valvestate == 0 ? '已开阀' : '已关阀'}}
182
- <button class="btn btn-link" type="button" style="margin-left: 20%" @click="valvecontrol">{{row.f_valvestate == 0 ? '关阀' : '开阀'}}</button>
181
+ {{row.f_valvestate === '0' ? '已开阀' : '已关阀'}}
182
+ <button class="btn btn-link" type="button" style="margin-left: 20%" @click="valvecontrol">{{row.f_valvestate === '0' ? '关阀' : '开阀'}}</button>
183
183
  </p>
184
184
  </div>
185
185
  </div>
@@ -317,7 +317,11 @@ const myMap = new Map()
317
317
  }
318
318
  let temp = res.data.array[j].f_downloadpath
319
319
  let URL = temp.substring(temp.lastIndexOf(':\\') + 2)
320
- res.data.array[j].f_downloadURL = 'http://' + location.host + '/' + URL
320
+ if(res.data.array[j].fusetype == '安检照片') {
321
+ res.data.array[j].f_downloadURL = 'http://' + location.host + '/rs/image/file/' + res.data.array[j].f_filename
322
+ }else {
323
+ res.data.array[j].f_downloadURL = 'http://' + location.host + '/' + URL
324
+ }
321
325
  this.files[i].arrays.push(res.data.array[j])
322
326
  }
323
327
  }