销售侧汇总统一叫费用合计,并认准空运费的金额。
企微跳转改为账号密码登录,报价卡上的费用按原金额改回;航线按单价数量金额报价时不再记成海运费。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -71,6 +71,25 @@ class SplitTests(unittest.TestCase):
|
||||
def test_same_mode_twice_is_rejected(self) -> None:
|
||||
self.assertEqual(classify_multi_text("段1:海运\n起运港:A\n段2:海运\n目的港:B"), "same_mode")
|
||||
|
||||
def test_one_sea_quote_sheet_is_single(self) -> None:
|
||||
"""测服 WO202608250012 海运报价单:文件名标段1,表里再写运输方式,仍是一段。"""
|
||||
oral = (
|
||||
"段1:海运\n"
|
||||
"运输方式:海运\n"
|
||||
"起运港:纽约港\n"
|
||||
"目的港:巴生西港\n"
|
||||
"品名:机器设备\n"
|
||||
"海运询价"
|
||||
)
|
||||
self.assertEqual(classify_multi_text(oral), "single")
|
||||
|
||||
def test_unlabeled_repeated_sea_is_single(self) -> None:
|
||||
"""报价单原文没有段标、海运出现两次,不能拆开再发。"""
|
||||
self.assertEqual(
|
||||
classify_multi_text("运输方式:海运\n起运港:A\n备注:海运询价"),
|
||||
"single",
|
||||
)
|
||||
|
||||
def test_explicit_markers_ignore_mode_words_in_body(self) -> None:
|
||||
"""文件名先标了段,表里再写「运输方式:海运」不能当成又一段海运。"""
|
||||
oral = (
|
||||
|
||||
Reference in New Issue
Block a user