陆运选项不全时改为复制填空清单,方便销售按编号回填。
停发填写样例图,同群只跟当前工单,重量体积统一为 KG/CBM。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -167,7 +167,8 @@ class SeaTextInquiryTests(unittest.TestCase):
|
||||
self.assertIn("运输方式:海运", text)
|
||||
self.assertIn("起运港:上海", text)
|
||||
self.assertIn("货物数量:20吨", text)
|
||||
self.assertIn("箱型箱量:(如", text)
|
||||
self.assertIn("1.箱型箱量(必填):\n(如:1x40HQ)", text)
|
||||
self.assertNotIn("箱型箱量:(如", text)
|
||||
self.assertNotIn("件数", text)
|
||||
self.assertNotIn("重量", text)
|
||||
self.assertNotIn("报价日期:(如", text)
|
||||
@@ -256,8 +257,7 @@ class SeaTextInquiryTests(unittest.TestCase):
|
||||
missing_keys=["运输分类"],
|
||||
transport_mode="海运",
|
||||
)
|
||||
self.assertIn("Port to Port", text)
|
||||
self.assertIn("其他", text)
|
||||
self.assertIn("1.运输分类(必填):\n(如:Port to Port、其他)", text)
|
||||
self.assertIn("贸易条款:FOB", text)
|
||||
|
||||
def test_incomplete_without_trade_terms_does_not_create_ticket(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user