|
@@ -180,9 +180,13 @@
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
this.deptBudgetList = response
|
|
|
- this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
|
|
|
- console.log(this.deptBudgetList.tranCarInfoList[0].driverPhone)
|
|
|
- console.log(this.deptBudgetList.tranCarInfoList[1].driverPhone)
|
|
|
+ if(response.tranCarInfoList[0].shipType =='集装箱') {
|
|
|
+ this.deptBudgetList.tranCarInfoList=[this.deptBudgetList.tranCarInfoList[0]]
|
|
|
+
|
|
|
+ }else{
|
|
|
+ this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
|
|
|
+
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
//返回按钮
|