feat(shipping-notice): 新增临时库存管理功能,支持创建会话、获取分析结果及字段映射建议
This commit is contained in:
1 parent
46eb63f5bb
commit
e9bdd81f1a
320 files changed
+28361
-10487
No files matched your search
@@ -408,7 +408,7 @@ def _click_dsv_view_report(page: Any) -> None:
|
||||
'button:has-text("View Report")',
|
||||
)
|
||||
_debug_dsv_stage(page, "view-report-before-click", target_text="View Report")
|
||||
wait_ms = max(15_000, int(_env("FREIGHT_RPA_DSV_VIEW_REPORT_WAIT_MS", "30000") or "30000"))
|
||||
wait_ms = max(15_000, int(_env("SHIPPING_NOTICE_RPA_WORKER_DSV_VIEW_REPORT_WAIT_MS", "30000") or "30000"))
|
||||
deadline = time.monotonic() + (wait_ms / 1000)
|
||||
while time.monotonic() < deadline:
|
||||
for frame in page.frames:
|
||||
@@ -709,7 +709,7 @@ def _wait_for_dsv_report_form_ready(page: Any, report_name: str, *, timeout_ms:
|
||||
这样既能避免顺序错乱,也不会因为标题文本稍晚刷新而额外空等数秒。
|
||||
"""
|
||||
wait_ms = timeout_ms if timeout_ms is not None else max(
|
||||
60_000, int(_env("FREIGHT_RPA_DSV_REPORT_FORM_TIMEOUT_MS", "60000") or "60000")
|
||||
60_000, int(_env("SHIPPING_NOTICE_RPA_WORKER_DSV_REPORT_FORM_TIMEOUT_MS", "60000") or "60000")
|
||||
)
|
||||
deadline = time.monotonic() + (wait_ms / 1000)
|
||||
started_at = time.monotonic()
|
||||
|
||||
Reference in new issue
Block a user