diff --git a/Step/wwwroot/src/components/tooling/tooling-depot.ts b/Step/wwwroot/src/components/tooling/tooling-depot.ts index 05cda353..ea47fdbc 100644 --- a/Step/wwwroot/src/components/tooling/tooling-depot.ts +++ b/Step/wwwroot/src/components/tooling/tooling-depot.ts @@ -39,6 +39,10 @@ export default class depot extends Vue { return this.availableTools.filter(t => t.familyName.toLowerCase().indexOf(this.currentFilter) >= 0); } + public get getNcAvaiableTools() { + return this.ncAvailableTools.filter(t => String(t.familyId).toLowerCase().indexOf(this.currentFilter) >= 0); + } + public getPayloadForAvaiableTools(index: number): any { if (index < this.getAvaiableMultiTools.length) return this.getAvaiableMultiTools[index]; @@ -96,6 +100,7 @@ export default class depot extends Vue { // return (this.$store.state as AppModel).tooling.magazinesPositions.filter(p => p.magazineId == this.depotId); } public get availableMultiTools(): server.MultiTools[] { return (this.$store.state as AppModel).depot.availableMultiTool; } public get availableTools(): server.Tools[] { return (this.$store.state as AppModel).depot.availableTool; } + public get ncAvailableTools(): server.ToolNc[] { return (this.$store.state as AppModel).depot.ncAvailableTool; } public magazines: server.MagazineModel[] = (this.$store.state as AppModel).tooling.magazines; public enableModify: any = false; @@ -113,7 +118,7 @@ export default class depot extends Vue { public draggingTool: any = null; public draggingPosition: number = null; - public typeNc: string = "Demo"; + public typeNc: string = "Osai"; @Watch("searchText") public applyFilter(n) { diff --git a/Step/wwwroot/src/components/tooling/tooling-depot.vue b/Step/wwwroot/src/components/tooling/tooling-depot.vue index de5245f1..efa9bb89 100644 --- a/Step/wwwroot/src/components/tooling/tooling-depot.vue +++ b/Step/wwwroot/src/components/tooling/tooling-depot.vue @@ -12,7 +12,7 @@ -
+
{{'depot_label_search' | localize("Seleziona un utensile e trascinalo nel magazzino corrispondente:")}}
+ +
+
+ {{'depot_label_search' | localize("Seleziona un utensile e trascinalo nel magazzino corrispondente:")}} + +
+ + +
+ +
+
+ +
+ +
+
+
+
+ +
+
+
+
+ + {{updateMagStatusAndgetStoreTitle(depotId)}} + +
+
+ + + + {{'depot_avaiable_position' | localize("Posizione disponibile")}} + + + + +
+
+
+
+
{{pos.positionId}} +
+
+
+ +
+
+
{{pos.positionId}} +
+
+
+
+
{{pos.positionId}} +
+
+
+ + +
+
+ +
+
+