代办事项审核bug修复

This commit is contained in:
2023-08-23 19:39:52 +08:00
parent bb0b66f178
commit 9ca429cbf2
4 changed files with 11 additions and 11 deletions

View File

@ -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()