陆运选定线路后,私聊明细补报价有效期,群摘要只用已选线路并不再重复标题。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -486,10 +486,16 @@ def send_brief_and_sheet(
|
||||
or "SEA"
|
||||
).strip().upper()
|
||||
mode = "陆运" if line == "LAND" else "海运"
|
||||
# 陆运要把当前生效价一并带上:选定投影和未选整包不是同一份,摘要里要能换成已选那条。
|
||||
brief_quote = dict(tms or {})
|
||||
if mode == "陆运":
|
||||
current = dict(override or sess_q or view_q or {})
|
||||
if current:
|
||||
brief_quote = current
|
||||
brief = copy.sea_group_brief(
|
||||
work_order_no=no,
|
||||
facts=facts,
|
||||
quote=tms or None,
|
||||
quote=brief_quote or None,
|
||||
collab_facts=collab,
|
||||
sales_name=sales_name,
|
||||
product_names=products,
|
||||
|
||||
Reference in New Issue
Block a user