Commit 34545c4cb2deda32f9c9d2fe0004f346a7abf0ca
1 parent
7117d593
车辆管理,物理删除改为逻辑删除
Showing
1 changed file
with
8 additions
and
1 deletions
trash-ui/src/views/unit/carInfo/info.vue
| @@ -559,7 +559,10 @@ export default { | @@ -559,7 +559,10 @@ export default { | ||
| 559 | updateTime: null, | 559 | updateTime: null, |
| 560 | updateBy: null, | 560 | updateBy: null, |
| 561 | creditStatus: "0", | 561 | creditStatus: "0", |
| 562 | - qrCode: null | 562 | + qrCode: null, |
| 563 | + length: null, | ||
| 564 | + width: null, | ||
| 565 | + height: null, | ||
| 563 | }; | 566 | }; |
| 564 | this.roadTransport = []; | 567 | this.roadTransport = []; |
| 565 | this.drivingLicense = []; | 568 | this.drivingLicense = []; |
| @@ -575,6 +578,10 @@ export default { | @@ -575,6 +578,10 @@ export default { | ||
| 575 | if(id!=null){ | 578 | if(id!=null){ |
| 576 | getCarInfo(id).then(response => { | 579 | getCarInfo(id).then(response => { |
| 577 | this.form = response.data; | 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 | listDriverByCompanyId(this.form.companyId).then(response => { | 586 | listDriverByCompanyId(this.form.companyId).then(response => { |
| 580 | this.drivers = this.form.drivers.split(",").map(value => parseInt(value)); | 587 | this.drivers = this.form.drivers.split(",").map(value => parseInt(value)); |