子公司不能添加司机

This commit is contained in:
2023-08-24 11:07:03 +08:00
parent f349977adc
commit 620944b6e2

View File

@ -74,11 +74,11 @@ export default {
methods:{ methods:{
addDriver(){ addDriver(){
this.$toast(this.supplierType) this.$toast(this.supplierType)
if(this.supplierType === 1){ if(this.supplierType == 1){
this.$toast("无权添加") this.$toast("无权添加")
}else{ }else{
this.$router.push({ this.$router.push({
name:'driverAdd' name: 'driverAdd',
}) })
} }
}, },