-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Display Inventory Computation for Order Items (#386)
- Loading branch information
Showing
7 changed files
with
303 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<template> | ||
<ion-content> | ||
<ion-list> | ||
<ion-list-header>{{ translate("Inventory computation")}}</ion-list-header> | ||
<ion-item> | ||
<ion-label class="ion-text-wrap">{{ translate("Quantity on hands")}}</ion-label> | ||
<ion-note slot="end">52</ion-note> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label class="ion-text-wrap">{{ translate("Safety stock")}}</ion-label> | ||
<ion-note slot="end">4</ion-note> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label class="ion-text-wrap">{{ translate("Order reservations")}}</ion-label> | ||
<ion-note slot="end">1</ion-note> | ||
</ion-item> | ||
<ion-item lines="none"> | ||
<ion-label class="ion-text-wrap">{{ translate("Online ATP")}}</ion-label> | ||
<ion-badge slot="end" color="success">52</ion-badge> | ||
</ion-item> | ||
</ion-list> | ||
</ion-content> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { | ||
IonBadge, | ||
IonButtons, | ||
IonContent, | ||
IonHeader, | ||
IonItem, | ||
IonLabel, | ||
IonList, | ||
IonNote, | ||
IonTitle, | ||
IonToolbar | ||
} from '@ionic/vue' | ||
import { defineComponent } from 'vue'; | ||
import { useStore } from 'vuex'; | ||
import { translate } from '@hotwax/dxp-components'; | ||
export default defineComponent({ | ||
name: 'InventoryDetailsPopover', | ||
component:{ | ||
IonBadge, | ||
IonButtons, | ||
IonContent, | ||
IonHeader, | ||
IonItem, | ||
IonLabel, | ||
IonList, | ||
IonNote, | ||
IonTitle, | ||
IonToolbar | ||
}, | ||
props: { | ||
}, | ||
data () { | ||
return { | ||
} | ||
}, | ||
computed: { | ||
}, | ||
methods: { | ||
}, | ||
setup () { | ||
const store = useStore(); | ||
return { | ||
store, | ||
translate | ||
}; | ||
} | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.