报价单发出后还在等成交时,再说继续工单没有回复。改为再发一次成交、未成交、协商中。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-09 08:21:28 +08:00
co-authored by Cursor
parent 2e8918a5c9
commit b15f64f419
4 changed files with 9 additions and 5 deletions
+5 -2
View File
@@ -882,8 +882,11 @@ class AirTextInquiryFlow:
reply(copy.quote_generating())
return "wait_file"
if sess.phase == "wait_deal":
# 成交卡已经绑在报价文件那条出站上。只续办、没说成交结果时不再另发一张卡。
# 原话写了已成交/未成交/协商中时,由 _close_spoken_deal 先入账,不会走到这里。
# 成交卡原来挂在报价单那条消息上,聊天一上滑就找不到。
# 销售再说继续工单、又没写成交结果时,再发一次成交/未成交/协商中。
# 原话已经写了结果时,_close_spoken_deal 会先入账,不会走到这里。
sess.allowed = (copy.BTN_DEAL, copy.BTN_LOST, copy.BTN_NEGOTIATE)
self._emit_deal(reply, sess)
return "wait_deal"
if sess.phase == "wait_lost_reason":
reply(copy.deal_ack("未成交", sess.work_order_no))