|
@@ -376,7 +376,11 @@ const onEditRow = function (data: IPoItem) {
|
|
|
}
|
|
|
const statementID = ref('')
|
|
|
const createStatement = function () {
|
|
|
- if (!['Finance Manager', 'CEO'].includes(userInfo.value.role.name)) {
|
|
|
+ if (
|
|
|
+ !['Finance Manager', 'CEO', 'Account Payable'].includes(
|
|
|
+ userInfo.value.role.name,
|
|
|
+ )
|
|
|
+ ) {
|
|
|
ElMessage.error('当前用户没有处理的权限')
|
|
|
return
|
|
|
}
|