Browse Source

航班视图-集装器列表添加字段

zhongxiaoyu 1 year ago
parent
commit
bd4bf3df32
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/views/realTime/hooks/useTable.ts

+ 12 - 0
src/views/realTime/hooks/useTable.ts

@@ -75,6 +75,12 @@ const tableColumnsMap: {
       columnName: 'pullSure',
       className: 'cell-filter cell-filter-yellow',
     },
+    {
+      columnLabel: '拉下原因',
+      columnName: 'offloadReason',
+      className: 'cell-filter cell-filter-yellow',
+      customRender: scope => ellipsisCell(scope, 4),
+    },
   ],
   DepartureFlightWaybill: [
     { columnLabel: '运单号', columnName: 'stockCode', width: 120 },
@@ -566,6 +572,12 @@ const tableColumnsMap: {
     //   columnName: 'pullSure',
     //   className: 'cell-filter cell-filter-yellow',
     // },
+    {
+      columnLabel: '拉下原因',
+      columnName: 'offloadReason',
+      className: 'cell-filter cell-filter-yellow',
+      customRender: scope => ellipsisCell(scope, 4),
+    },
   ],
   InternationalDepartureFlightWaybill: [
     { columnLabel: '运单号', columnName: 'stockCode', width: 120 },