紧急修复: transfer中real_assignees→real_branches变量名 + SpawnRequest BaseModel导入
This commit is contained in:
@ -599,7 +599,7 @@ async def transfer_task(
|
||||
await db.refresh(nt)
|
||||
created_task_responses.append(_to_response(nt))
|
||||
|
||||
assignee_list = ", ".join(real_assignees)
|
||||
assignee_list = ", ".join(a for _, a in real_branches) if real_branches else "仓库"
|
||||
location_info = ""
|
||||
if has_warehouse:
|
||||
location_info = ",产品已入库(virtual_warehouse)"
|
||||
|
||||
Reference in New Issue
Block a user