代办事项审核bug修复
This commit is contained in:
@ -105,9 +105,9 @@ export default {
|
||||
this.states=e
|
||||
},
|
||||
async submitBtn(){
|
||||
if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){
|
||||
this.$toast('必填字段未填写')
|
||||
}else{
|
||||
// if (this.driverName || this.driverPhone || this.identityCardNumber || this.drivingModel || this.states){
|
||||
// this.$toast('必填字段未填写')
|
||||
// }else{
|
||||
await saveDriver({
|
||||
driverId:this.id ? this.id : '',
|
||||
driverName:this.driverName ,
|
||||
@ -126,7 +126,7 @@ export default {
|
||||
setTimeout(()=>{
|
||||
this.$router.back();
|
||||
},2000)
|
||||
}
|
||||
// }
|
||||
},
|
||||
cancelBtn(){//取消
|
||||
this.$router.back()
|
||||
|
Reference in New Issue
Block a user