Commit a8cb7122 authored by denghr's avatar denghr

bug

parent f8782d20
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin-left: 20px;"> <el-row style="margin-left: 20px;" v-if="departurePicList.length>0">
<el-col :span="3" v-for="(item, index) in departurePicList" :key="index" :offset="index%6 > 0 ? 1 : 0" style="margin-bottom:10px"> <el-col :span="3" v-for="(item, index) in departurePicList" :key="index" :offset="index%6 > 0 ? 1 : 0" style="margin-bottom:10px">
<el-card> <el-card>
<img :src="item" class="image"> <img :src="item" class="image">
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin-left: 20px;"> <el-row style="margin-left: 20px;" v-if="arrivalPicList.length>0">
<el-col :span="3" v-for="(item, index) in arrivalPicList" :key="index" :offset="index%6 > 0 ? 1 : 0" style="margin-bottom:10px"> <el-col :span="3" v-for="(item, index) in arrivalPicList" :key="index" :offset="index%6 > 0 ? 1 : 0" style="margin-bottom:10px">
<el-card> <el-card>
<img :src="item" class="image"> <img :src="item" class="image">
...@@ -1085,7 +1085,7 @@ ...@@ -1085,7 +1085,7 @@
var t = this var t = this
this.detailItem = row; this.detailItem = row;
if(row.vehicleDepartureLogVo!= undefined){ if(row.vehicleDepartureLogVo!= undefined){
if(row.vehicleDepartureLogVo.departurePic!= undefined){ if(row.vehicleDepartureLogVo.departurePic!= undefined&&row.vehicleDepartureLogVo.departurePic!=''){
let arr = row.vehicleDepartureLogVo.departurePic.split(","); let arr = row.vehicleDepartureLogVo.departurePic.split(",");
let departurePicList = []; let departurePicList = [];
let p = {}; let p = {};
...@@ -1096,7 +1096,7 @@ ...@@ -1096,7 +1096,7 @@
}else{ }else{
t.departurePicList = []; t.departurePicList = [];
} }
if(row.vehicleDepartureLogVo.arrivalPic!= undefined){ if(row.vehicleDepartureLogVo.arrivalPic!= undefined&&row.vehicleDepartureLogVo.arrivalPic!=''){
let Arr = row.vehicleDepartureLogVo.arrivalPic.split(","); let Arr = row.vehicleDepartureLogVo.arrivalPic.split(",");
let arrivalPicList = []; let arrivalPicList = [];
let p = {}; let p = {};
......
...@@ -1913,10 +1913,10 @@ ...@@ -1913,10 +1913,10 @@
item.value = item.name; item.value = item.name;
selectArry.push(item); selectArry.push(item);
}); });
this.form4Apply.liftCompany = row.subordinateBranch; this.form4Apply.liftCompany = row.parkBranchCompanyId;
this.form4Apply.vehicleId = row.id; this.form4Apply.vehicleId = row.id;
selectArry.map(function (iitem) { selectArry.map(function (iitem) {
if( row.subordinateBranch == iitem.id){ if( row.parkBranchCompanyId == iitem.id){
that.form4Apply.state3 = iitem.name; that.form4Apply.state3 = iitem.name;
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment