Эх сурвалжийг харах

高级查询添加无BSM选项

zhongxiaoyu 2 жил өмнө
parent
commit
da6a71d13b

+ 28 - 4
src/views/advancedQuery/views/advancedHome.vue

@@ -302,6 +302,23 @@
                       />
                     </el-select>
                   </template>
+                  <template v-else-if="item.prop === 'noBSM'">
+                    <el-select
+                      v-model="form.noBSM"
+                      size="small"
+                      clearable
+                      @keyup.esc.native="dialogFocus"
+                    >
+                      <el-option
+                        label="是"
+                        :value="0"
+                      />
+                      <el-option
+                        label="否"
+                        :value="1"
+                      />
+                    </el-select>
+                  </template>
                   <template v-else>
                     <el-popover
                       v-model="item.hintVisible"
@@ -508,7 +525,8 @@ export default {
         active: '',
         transferIn: '',
         canceled: '',
-        status: ''
+        status: '',
+        noBSM: ''
       },
       formItems: [
         {
@@ -603,6 +621,10 @@ export default {
         {
           prop: 'canceled',
           label: '已取消'
+        },
+        {
+          prop: 'noBSM',
+          label: '无BSM'
         }
       ],
       statusList: [
@@ -748,7 +770,7 @@ export default {
     queryEntries.forEach(([key, value]) => {
       if (!['startDate', 'endDate', 'singleJump'].includes(key) && (value ?? '') !== '') {
         queryFlag = true
-        this.form[key] = ['unLoad', 'checkIn', 'active', 'transferIn', 'canceled'].includes(key) ? Number(value) : value
+        this.form[key] = ['unLoad', 'checkIn', 'active', 'transferIn', 'canceled', 'noBSM'].includes(key) ? Number(value) : value
       }
     })
     if (startDate) {
@@ -1034,7 +1056,8 @@ export default {
             active,
             transferIn,
             canceled,
-            status
+            status,
+            noBSM
           } = this.form
           this.setDataContent(
             flightNO,
@@ -1053,7 +1076,8 @@ export default {
             active,
             transferIn,
             canceled,
-            status
+            status,
+            noBSM
           )
           this.statItemsQueryByStatMain(this.dataContent, singleJump)
           this.gjFlag = false

+ 16 - 2
src/views/baggageManagement/mixins/terminal.js

@@ -212,7 +212,8 @@ export default {
           'sortNumber',
           'loadNumber',
           'landingNumber',
-          'checkIns'
+          'checkIns',
+          'noBSM'
         ].includes(column.property) &&
         row[column.property]
       ) {
@@ -250,7 +251,8 @@ export default {
           'sortNumber',
           'loadNumber',
           'landingNumber',
-          'checkIns'
+          'checkIns',
+          'noBSM'
         ].includes(column.property)
       ) {
         this.$store.dispatch('keepAlive/addClickedCell', {
@@ -374,6 +376,18 @@ export default {
             }
           })
           break
+        case 'noBSM':
+          this.$router.push({
+            path: '/advance',
+            query: {
+              flightNO: row.flightNO,
+              startDate: row.flightDate,
+              endDate: row.flightDate,
+              departureStation: this.formData.currentAirport,
+              noBSM: 0
+            }
+          })
+          break
         case 'checkNumber':
         case 'sortNumber':
         case 'loadNumber':