Commit c7dc5285031abf399cc3573f216a8848fa53e001

Authored by youxiw2000
2 parents 9ebb7188 34545c4c

Merge branch 'dev' of http://61.169.120.202:8888/youxiw20000/trash into dev

trash-ui/src/views/unit/carInfo/info.vue
... ... @@ -559,7 +559,10 @@ export default {
559 559 updateTime: null,
560 560 updateBy: null,
561 561 creditStatus: "0",
562   - qrCode: null
  562 + qrCode: null,
  563 + length: null,
  564 + width: null,
  565 + height: null,
563 566 };
564 567 this.roadTransport = [];
565 568 this.drivingLicense = [];
... ... @@ -575,6 +578,10 @@ export default {
575 578 if(id!=null){
576 579 getCarInfo(id).then(response => {
577 580 this.form = response.data;
  581 + const lengthWidthHeight = this.form.lengthWidthHeight.split(";");
  582 + this.form.length = lengthWidthHeight[0];
  583 + this.form.width = lengthWidthHeight[1];
  584 + this.form.height = lengthWidthHeight[2];
578 585  
579 586 listDriverByCompanyId(this.form.companyId).then(response => {
580 587 this.drivers = this.form.drivers.split(",").map(value => parseInt(value));
... ...