Ver código fonte

1.0进港航站视图-航站列表字段修改

zhongxiaoyu 1 ano atrás
pai
commit
dfc1182f99

+ 2 - 2
src/views/baggageManagementTemp/components/arrival/index.vue

@@ -394,8 +394,8 @@ export default {
         const res = await this.getQueryListAuth(SERVICE_ID.arrivalAirId, {}, 1, 9999, 278)
         if (Number(res.code) === 0) {
           if (res.returnData?.listValues?.length) {
-            this.AirportList = this._.orderBy(res.returnData.listValues, o => o.planLandingApt)
-            this.formData.currentAirport = res.returnData.listValues[0].planLandingApt
+            this.AirportList = this._.orderBy(res.returnData.listValues, o => o.planDepartureApt)
+            this.formData.currentAirport = res.returnData.listValues[0].planDepartureApt
             this.resetLoopEvent()
           } else {
             this.$message.warning('无航站数据权限')

+ 1 - 1
src/views/baggageManagementTemp/components/departure/index.vue

@@ -350,7 +350,7 @@ export default {
         //   dataContent: []
         // })
         const res = await this.getQueryListAuth(SERVICE_ID.departureAirMainId, {}, 1, 9999, 276)
-        if (Number(res.code) == 0) {
+        if (Number(res.code) === 0) {
           if (res.returnData?.listValues?.length) {
             this.AirportList = this._.orderBy(res.returnData.listValues, o => o.planDepartureApt)
             this.formData.currentAirport = res.returnData.listValues[0].planDepartureApt