Ver código fonte

master_task_7057493101

jackson 2 semanas atrás
pai
commit
1f88303d96

+ 7 - 0
services/output_presenter.py

@@ -550,6 +550,13 @@ class OutputPresenter:
             ('bill_status', '应付费用状态'),
             ('issue_way', '出单方式'),
             ('release_status', '放货状态'),
+            ('freight_collect', '海运费到付'),
+            ('is_dg', 'DG'),
+            ('is_soc', 'SOC'),
+            ('is_oneway', 'ONEWAY'),
+            ('appointment_method', '预约方式'),
+            ('need_appointment_code', '是否需要预约码'),
+            ('warehouse_special_remark', '仓库特殊备注'),
         ),
         'do': (
             ('trailer_number', '拖车单号'), ('outbound_number', '出库单号'),

+ 8 - 1
tests/test_destination_trailer_tools.py

@@ -25,6 +25,13 @@ PROGRESS_COLUMNS = [
     ('bill_status', '应付费用状态'),
     ('issue_way', '出单方式'),
     ('release_status', '放货状态'),
+    ('freight_collect', '海运费到付'),
+    ('is_dg', 'DG'),
+    ('is_soc', 'SOC'),
+    ('is_oneway', 'ONEWAY'),
+    ('appointment_method', '预约方式'),
+    ('need_appointment_code', '是否需要预约码'),
+    ('warehouse_special_remark', '仓库特殊备注'),
 ]
 DO_COLUMNS = [
     ('trailer_number', '拖车单号'), ('outbound_number', '出库单号'),
@@ -441,7 +448,7 @@ class DestinationTrailerToolContractTest(unittest.TestCase):
             },
         })
         self.assertFalse(result['is_error'])
-        self.assertEqual(32, len(result['structured_content']['headers']))
+        self.assertEqual(39, len(result['structured_content']['headers']))
         self.assertEqual('待提柜', result['structured_content']['trailer_stage'])
 
         do_record = {key: 'd' for key, _ in DO_COLUMNS}