diff --git a/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js b/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js index 0774d916c4..e56c59bfbb 100644 --- a/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js +++ b/shopfloor_mobile/static/wms/src/components/packaging-qty-picker.js @@ -214,15 +214,15 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", { this.$root.trigger("qty_edit", this.qty); }, computed: { - qty_color: function () { + qty_color_class: function () { if (this.qty == this.qtyTodo) { if (this.readonly) return ""; - return "background-color: rgb(143, 191, 68)"; + return "qty-color-green"; } if (this.qty > this.qtyTodo) { - return "background-color: orangered"; + return "qty-color-orangered"; } - return "background-color: pink"; + return "qty-color-pink"; }, qty_todo_by_pkg: function () { // Used to calculate the qty needed of each package type @@ -247,7 +247,7 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", { - @@ -268,7 +268,7 @@ export var PackagingQtyPicker = Vue.component("packaging-qty-picker", { :class="(readonly && !qty_by_pkg[pkg.id]) ? 'd-none' : ''" > -