落地空运单聊询价字段与线路选择。

必填核对后再建单;多条线路走 H5 点选;费用只展示该线路 TMS 回包,不套用整单空运费。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 15:02:32 +08:00
co-authored by Cursor
parent 8afe909230
commit cfbce2fd69
53 changed files with 3470 additions and 372 deletions
@@ -30,6 +30,19 @@ def mark_quote_file_ready(work_order_no: str) -> None:
logger.exception("写报价文件就绪键失败 wo=%s", no)
def clear_quote_file_ready(work_order_no: str) -> None:
"""采用后改选:清掉就绪键,避免续办再进成交跟进。"""
no = (work_order_no or "").strip()
if not no:
return
try:
client = get_redis_runtime().client
client.raw.delete(client.key(QUOTE_FILE_READY, no))
logger.info("报价文件就绪键已清 wo=%s", no)
except Exception:
logger.exception("清报价文件就绪键失败 wo=%s", no)
def is_quote_file_ready(work_order_no: str) -> bool:
"""HTTP 读:文件是否已经发出。读失败当未完成,继续请稍候。"""
no = (work_order_no or "").strip()