feat(schedule): 增加库存源选项描述字段与站点ID支持
This commit is contained in:
1 parent
f4e74f7b07
commit
8b1efbedb9
37 files changed
+8488
-4126
No files matched your search
@@ -39,7 +39,11 @@ def _shipping_inventory_sources_options() -> list[dict[str, Any]]:
|
||||
{
|
||||
"label": source.get("display_name") or source.get("source_code"),
|
||||
"value": source.get("source_code"),
|
||||
"description": f"{source.get('site')} · {source.get('warehouse_id')}",
|
||||
"description": (
|
||||
f"{source.get('source_type')} · "
|
||||
f"{source.get('site_id') or '-'} · "
|
||||
f"{source.get('warehouse_id')}"
|
||||
),
|
||||
}
|
||||
for source in list_inventory_sources()
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user