|
@@ -288,7 +288,7 @@
|
|
|
function handleDeptChange() {
|
|
|
let curDept = userDeptList.value.find(item => item.deptId === curSelectedDeptId.value)
|
|
|
store.curDeptDetails = curDept
|
|
|
- if (curDept.deptName === '分选' || store.userInfo.roles.some(item => item.roleKey == 'Sorting inspector')) {
|
|
|
+ if (curDept.deptName === '分选' || store.userInfo.roles.some(item => item.roleKey == 'sortingInspector')) {
|
|
|
showSizing.value = true
|
|
|
} else {
|
|
|
showSizing.value = false
|