From ce1a21e9efe457707ff9093f6f08f0073081ffa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthieu=20M=C3=A9quignon?= Date: Tue, 15 Jun 2021 16:26:02 +0200 Subject: [PATCH] shopfloor_mobile: Add hooks in picking detail scenarios --- .../scenario_picking_detail/picking_select.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js b/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js index e094f3c2e8..f45d7fbc66 100644 --- a/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js +++ b/shopfloor_mobile/static/wms/src/components/scenario_picking_detail/picking_select.js @@ -46,11 +46,14 @@ Vue.component("picking-select-line-content", { }); return opts; }, + get_wrapper_klass(record) { + return ""; + }, }, template: `
-
- +
+ {{ record.package_dest.name }} @@ -69,10 +72,15 @@ Vue.component("picking-select-package-content", { index: Number, count: Number, }, + methods: { + get_wrapper_klass(record) { + return ""; + }, + }, template: `
-
- {{ record.product.display_name }} +
+ {{ record.product.display_name }}
Lot: {{ record.lot.name }}