diff --git a/client/core/src/drop-down/style.scss b/client/core/src/drop-down/style.scss index 07cf592d9c..626b681569 100644 --- a/client/core/src/drop-down/style.scss +++ b/client/core/src/drop-down/style.scss @@ -1,7 +1,9 @@ vn-drop-down { position: absolute; z-index: 9999; - + padding: 0 15px; + margin-left: -15px; + ul{ padding: 0; margin: 10px 0 0 0; diff --git a/client/production/src/index/index.html b/client/production/src/index/index.html index cc1b7511af..eb033eeff7 100644 --- a/client/production/src/index/index.html +++ b/client/production/src/index/index.html @@ -28,6 +28,9 @@ + + + @@ -58,14 +61,14 @@ - {{ticket.ticket}} - {{ticket.agency}} - {{ticket.worker | ucwords}} - {{ticket.hour}} + {{::ticket.ticket}} + {{::ticket.agency}} + {{::ticket.worker | ucwords}} + {{::ticket.hour}} {{ticket.state}} - {{ticket.lines}} - {{ticket.m3}} - {{ticket.boxes}} + {{::ticket.lines}} + {{::ticket.m3}} + {{::ticket.boxes}} diff --git a/client/production/src/index/index.js b/client/production/src/index/index.js index 8fed9a431b..6b1706de31 100644 --- a/client/production/src/index/index.js +++ b/client/production/src/index/index.js @@ -41,9 +41,12 @@ export default class ProductionIndex { checks.forEach( (_, i) => { ids.push(this.tickets[i].ticket); + // Fake change state + this.tickets[i].state = this.state.name; } ); - console.log("TODO: call action -> endPoint with tickets's Ids", action, ids, arguments[1]); + console.log("TODO: call action -> endPoint with tickets's Ids", action, ids, this.state); + // TODO: call action -> endPoint with tickets's Ids } else { console.log("TODO: dialog with no items selected", action); @@ -68,7 +71,7 @@ export default class ProductionIndex { } $doCheck() { if (this.state) { - this.doAction('changeState', Object.assign({}, this.state)); + this.doAction('changeState'); this.state = null; } }