+
- {{ "locations id" }}
- {{ "pick/primary" }}
+ {{ location.locationSeqId }}
+ {{ locationTypes[location.locationTypeEnumId] }}
- AI
+ {{ location.areaId }}
{{ translate("area") }}
- AL
+ {{ location.aisleId }}
{{ translate("aisle") }}
- SI
+ {{ location.sectionId }}
{{ translate("section") }}
- SI
+ {{ location.levelId }}
{{ translate("level") }}
- 1
+ {{ location.positionId }}
{{ translate("sequence") }}
-
+
@@ -472,12 +472,14 @@ export default defineComponent({
},
computed: {
...mapGetters({
- current: 'facility/getCurrent'
+ current: 'facility/getCurrent',
+ locationTypes: 'util/getLocationTypes'
})
},
props: ["facilityId"],
async ionViewWillEnter() {
await this.store.dispatch('facility/fetchCurrentFacility', { facilityId: this.facilityId })
+ await Promise.all([this.store.dispatch('facility/fetchFacilityLocations', { facilityId: this.facilityId }), this.store.dispatch('util/fetchLocationTypes')])
this.defaultDaysToShip = this.current.defaultDaysToShip
this.isLoading = false
},
@@ -532,9 +534,10 @@ export default defineComponent({
selectOperatingTimeModal.present()
},
- async openLocationDetailsPopover(ev: Event) {
+ async openLocationDetailsPopover(ev: Event, location: any) {
const locationDetailsPopover = await popoverController.create({
component: LocationDetailsPopover,
+ componentProps: { location },
event: ev,
showBackdrop: false
});