浏览代码

不正常行李弹窗修改

zhongxiaoyu 2 年之前
父节点
当前提交
f54fc37688

+ 8 - 2
src/components/AbnormalBaggageDialog/index.vue

@@ -14,7 +14,7 @@
       @keyup.self.esc="dialogHide"
     >
       <div class="title">
-        <span>不正常行李信息</span>
+        <span>不正常行李信息-{{ bagSN }}</span>
         <i
           class="el-icon-close"
           @click="dialogHide"
@@ -89,13 +89,19 @@ export default {
           prop: 'compensationTime',
         },
       ],
+      bagSN: ''
     }
   },
   watch: {
     abnormalBaggageDialogFlag(val) {
       if (val) {
-        this.formData.fileNumber = this.abnormalBaggageQueryParams.fileNumber
+        const { bagSN, fileNumber } = this.abnormalBaggageQueryParams
+        this.bagSN = bagSN
+        this.formData.fileNumber = fileNumber
         this.getFormData()
+        this.$nextTick(() => {
+          this.$refs['dialog']?.focus()
+        })
       }
     },
   },

+ 1 - 1
src/views/baggageManagement/components/flight/index.vue

@@ -638,7 +638,7 @@ export default {
         { label: '装机', prop: 'inflTime', width: 140 },
         { label: '中转进航班', prop: 'inFlightNO', filterable: true, sortable: true, width: 105 },
         { label: '中转出航班', prop: 'transferFlightNO', filterable: true, sortable: true, width: 105 },
-        { label: '卷宗号', prop: 'fileNumber' }
+        { label: '卷宗号', prop: 'fileNumber', filterable: true, sortable: true, width: 100 }
       ],
       containerTableData: [], // 容器统计
       transferInBaggageTableData: [], // 中转进