This commit is contained in:
ival 2019-08-21 09:15:04 +08:00
commit 73d5b4c4fa

View File

@ -189,11 +189,11 @@ export default {
checkDisabled(role) {
if (this.$route.query.prdType == '01') {
return role !== 'Attendant';
return role !== 'Attendant' && role !== 'no';
} else if (this.$route.query.prdType == '02') {
return role !== 'Dispatcher';
return role !== 'Dispatcher'&& role !== 'no';
} else if (this.$route.query.prdType == '04') {
return role !== 'Driver';
return role !== 'Driver' && role !== 'no';
}
},