后台列表总数改到每页左边,报价模板页同样靠右。陆运选线补每段车型。多段群每次带出询价字段时,底部补上另报提示。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2624,6 +2624,20 @@ def group_tms_confirm_hint(*, business_line: str = "") -> str:
|
||||
return f"请{who}回复“确认报价”确定采用TMS报价。\n{_GROUP_QUOTE_TAIL}"
|
||||
|
||||
|
||||
def multi_group_field_hint(*, includes_air: bool) -> str:
|
||||
"""
|
||||
多段群里每次带出各段询价字段时,贴在最后一行字段下面。
|
||||
|
||||
任一段是空运,喊航线或产品;没有空运只喊产品。成交跟进不走这里。
|
||||
注里说的是附件报价单只存档,不改报价写入规则。
|
||||
"""
|
||||
who = "航线或产品人员" if includes_air else "产品人员"
|
||||
return (
|
||||
f"{who}可通过“纯文字”告知新报价,或直接将新报价excel表发给智能体。\n"
|
||||
"(注:附件报价单仅作为文件存储于后台,智能体不读取且不将报价内容写进系统)"
|
||||
)
|
||||
|
||||
|
||||
def group_no_tms_quote_hint(*, business_line: str = "") -> str:
|
||||
"""
|
||||
TMS 无价时写在「暂无匹配」下方:谁可以用文字或 Excel 另报。
|
||||
|
||||
@@ -385,6 +385,7 @@ def group_brief(
|
||||
|
||||
结构对齐私聊核对:@销售和各段产品,下一行直接接段1询价字段。
|
||||
不写 TMS,不写协同段。工单号已在私聊提示过,群里不再重复一行。
|
||||
每次拼这段字段都在底部加另报提示;成交跟进是另一条消息,不加。
|
||||
"""
|
||||
_ = work_order_no
|
||||
names: list[str] = []
|
||||
@@ -406,6 +407,8 @@ def group_brief(
|
||||
body = _segment_inquiry_block(seg).strip()
|
||||
if body:
|
||||
lines.extend(body.splitlines())
|
||||
# 紧挨最后一行字段,中间不空行。含空运与不含空运用不同开头。
|
||||
lines.append(copy.multi_group_field_hint(includes_air=includes_air(segments)))
|
||||
return "\n".join(lines)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user