| | |
| | | return { |
| | | minDate: this.getToday(), |
| | | previewImageShow: false, |
| | | supercargoList:[], |
| | | supercargoList:[{ |
| | | driverName:"", |
| | | driverIdcard:"", |
| | | driverPhone:"" |
| | | }], |
| | | scoreDetailList: [], |
| | | editTranShow:false, |
| | | upload:false, |
| | |
| | | }) |
| | | }, |
| | | deleteSupercar(){ |
| | | this.supercargoList.splice(this.supercargoList.length - 1, 1) |
| | | if(this.supercargoList.length>1){ |
| | | this.supercargoList.splice(this.supercargoList.length - 1, 1) |
| | | } |
| | | }, |
| | | deleteDriver(){ |
| | | this.driverList.splice(this.driverList.length - 1, 1); |
| | | if(this.driverList.length>1){ |
| | | this.driverList.splice(this.driverList.length - 1, 1); |
| | | } |
| | | }, |
| | | getUserName(e){ |
| | | let data= e.split(',').map(item=>{ |