fix: 支局长/领导新建记录时客户经理栏显示UUID
manager_id 初始值: director/leader 设为空让用户选择,manager 仍用自身ID 编辑模式保留原记录的 manager_id Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ const form = ref({
|
||||
category: '其他',
|
||||
content: '',
|
||||
time_range: '',
|
||||
manager_id: auth.userId || '',
|
||||
manager_id: (auth.isDirector || auth.isLeader) ? '' : (auth.userId || ''),
|
||||
})
|
||||
|
||||
function onTimeRangeChange(val: [string, string] | null) {
|
||||
|
||||
Reference in New Issue
Block a user