|
@@ -146,7 +146,7 @@
|
|
|
<el-select ref="driverSelect" v-show="!item.temporaryDriverFlag" @visible-change="clearBlur"
|
|
|
v-model="item.driver" filterable clearable placeholder="请选择司机" class="row-item" @change="
|
|
|
(val) => {
|
|
|
- carchange(val, index)
|
|
|
+ carchange(val, item.tranCarIndex)
|
|
|
}
|
|
|
">
|
|
|
<el-option v-for="(items, index) in carList" :key="index" :label="items.driverName"
|
|
@@ -163,7 +163,7 @@
|
|
|
<el-select v-show="!item.temporaryDriverFlag" v-model="item.driverPhone" placeholder="请选择司机电话"
|
|
|
filterable clearable class="row-item" @change="
|
|
|
(val) => {
|
|
|
- phonechange(val, index)
|
|
|
+ phonechange(val, item.tranCarIndex)
|
|
|
}
|
|
|
">
|
|
|
<el-option v-for="(items, index) in carList" :key="index" :label="items.driverPhone"
|
|
@@ -361,6 +361,7 @@
|
|
|
var arr = []
|
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
|
if(this.deptBudgetList.tranCarInfoList[i].fleetFlag==1){
|
|
|
+ this.deptBudgetList.tranCarInfoList[i].tranCarIndex=i
|
|
|
arr.push(this.deptBudgetList.tranCarInfoList[i])
|
|
|
}
|
|
|
}
|
|
@@ -372,6 +373,7 @@
|
|
|
var arr = []
|
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
|
if(this.deptBudgetList.tranCarInfoList[i].fleetFlag==0){
|
|
|
+ this.deptBudgetList.tranCarInfoList[i].tranCarIndex=i
|
|
|
arr.push(this.deptBudgetList.tranCarInfoList[i])
|
|
|
}
|
|
|
}
|