浏览代码

中转视图表格修改

zhongxiaoyu 2 年之前
父节点
当前提交
33e1ac81c0

+ 2 - 2
src/views/baggageManagement/components/transferArrival/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: zk
  * @Date: 2022-01-17 10:39:22
- * @LastEditTime: 2022-05-13 16:15:39
+ * @LastEditTime: 2022-05-13 16:31:41
  * @LastEditors: your name
  * @Description: 离港01
 -->
@@ -428,7 +428,7 @@ export default {
   // },
   methods: {
     cellClass(row, column, rowIndex, columnIndex) {
-      if (row.column.property == 'FlightNO' || row.column.property == 'PreFlightNO') {
+      if (['FlightNO', 'PreFlightNO', 'outTransferBaggageCount'].includes(row.column.property)) {
         return 'clickCell'
       }
     },

+ 2 - 2
src/views/baggageManagement/components/transferDeparture/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: zk
  * @Date: 2022-01-17 10:39:22
- * @LastEditTime: 2022-05-13 15:40:37
+ * @LastEditTime: 2022-05-13 16:30:13
  * @LastEditors: your name
  * @Description: 离港01
 -->
@@ -432,7 +432,7 @@ export default {
   },
   methods: {
     cellClass(row, column, rowIndex, columnIndex) {
-      if (row.column.property == 'FlightNO' || row.column.property == 'PreFlightNO') {
+      if (['FlightNO', 'PreFlightNO', 'inTransferBaggageCount'].includes(row.column.property)) {
         return 'clickCell'
       }
     },