|  | @@ -247,6 +247,7 @@
 | 
	
		
			
				|  |  |          </basic-container>
 | 
	
		
			
				|  |  |          <containerTitle title="车辆信息"></containerTitle>
 | 
	
		
			
				|  |  |          <basic-container>
 | 
	
		
			
				|  |  | +          {{entrustList[0].plateNo}}
 | 
	
		
			
				|  |  |              <avue-crud
 | 
	
		
			
				|  |  |                  :data="entrustList"
 | 
	
		
			
				|  |  |                  @selection-change="selectionChange"
 | 
	
	
		
			
				|  | @@ -1011,16 +1012,19 @@ export default {
 | 
	
		
			
				|  |  |                          res: "data.records"
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                        change: (data) => {
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                        if (JSON.parse(localStorage.getItem('saber-tenantId')).content == 119111) {
 | 
	
		
			
				|  |  | +                        // if (JSON.parse(localStorage.getItem('saber-tenantId')).content == 119111) {
 | 
	
		
			
				|  |  | +                        console.log("a")
 | 
	
		
			
				|  |  |                            fleetListS(data.row.fleetId).then(res => {
 | 
	
		
			
				|  |  |                              this.driverIddata = res.data.data
 | 
	
		
			
				|  |  |                            })
 | 
	
		
			
				|  |  | -                        } else {
 | 
	
		
			
				|  |  | -                          fleetListT().then(res => {
 | 
	
		
			
				|  |  | -                            this.driverIddata = res.data.data
 | 
	
		
			
				|  |  | -                          })
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | +                        // } else {
 | 
	
		
			
				|  |  | +                        //   fleetListT().then(res => {
 | 
	
		
			
				|  |  | +                        //     this.driverIddata = res.data.data
 | 
	
		
			
				|  |  | +                        //   })
 | 
	
		
			
				|  |  | +                        // }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        this.entrustList[data.index].tel = null
 | 
	
		
			
				|  |  | +                        this.entrustList[data.index].driverName = null
 | 
	
		
			
				|  |  |                        }
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: '车号',
 | 
	
	
		
			
				|  | @@ -1034,6 +1038,8 @@ export default {
 | 
	
		
			
				|  |  |                          label: "plateNo",
 | 
	
		
			
				|  |  |                          value: "plateNo"
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  | +                    change: (data) => {
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                      label: '司机',
 | 
	
		
			
				|  |  |                      width: 115,
 | 
	
	
		
			
				|  | @@ -1606,7 +1612,7 @@ export default {
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  |                    label: '备注',
 | 
	
		
			
				|  |  |                    cell: true,
 | 
	
		
			
				|  |  | -                  prop: 'remark'
 | 
	
		
			
				|  |  | +                  prop: 'remarks'
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  ]
 | 
	
		
			
				|  |  |              },
 | 
	
	
		
			
				|  | @@ -2151,13 +2157,13 @@ export default {
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |        driverChange(row) {
 | 
	
		
			
				|  |  | -        if (JSON.parse(localStorage.getItem('saber-tenantId')).content == 119111) {
 | 
	
		
			
				|  |  | +        // if (JSON.parse(localStorage.getItem('saber-tenantId')).content == 119111) {
 | 
	
		
			
				|  |  |            this.driverIddata.forEach((driver) => {
 | 
	
		
			
				|  |  |              if (driver.name === row.driverName) {
 | 
	
		
			
				|  |  |                row.tel = driver.tel
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        // }
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |          //刷新数据
 | 
	
		
			
				|  |  |          refreshData() {
 | 
	
	
		
			
				|  | @@ -2220,7 +2226,29 @@ export default {
 | 
	
		
			
				|  |  |                      this.$message.success("保存成功");
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +          console.log(row.plateNo)
 | 
	
		
			
				|  |  | +          if (row.fleetId != null) {
 | 
	
		
			
				|  |  | +            console.log(1)
 | 
	
		
			
				|  |  | +            fleetListS(row.fleetId).then(res => {
 | 
	
		
			
				|  |  | +              this.driverIddata = res.data.data
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +          this.entrustOptionTwoT.column.forEach(item => {
 | 
	
		
			
				|  |  | +            if (item.prop === 'plateNo') {
 | 
	
		
			
				|  |  | +              item.cell = true
 | 
	
		
			
				|  |  | +              item.value = row.plateNo
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            if (item.prop === 'tel') {
 | 
	
		
			
				|  |  | +              item.cell = true
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              this.$refs.crudBoxTwo.rowCell(row, index)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +          console.log("row.plateNo")
 | 
	
		
			
				|  |  | +          console.log(row.plateNo)
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          //调度并且派车
 | 
	
		
			
				|  |  |          rowSaveThree(row, index, done, loading) {
 |