diff --git a/src/mycomponents/detail/comRecommendDetailCard.vue b/src/mycomponents/detail/comRecommendDetailCard.vue index 2e1c29b3..a3b56d0b 100644 --- a/src/mycomponents/detail/comRecommendDetailCard.vue +++ b/src/mycomponents/detail/comRecommendDetailCard.vue @@ -140,14 +140,20 @@ }, mounted() { - if (this.detailOptions.length == 0) { - this.detailOptions = getDetailOption(); - } + + if (this.scanOptions.length == 0) { this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, false) } - // this.showLocation(); + if(import.meta.env.VITE_MANAGE_MODEL=="BY_PACKAGING"){ + if (this.detailOptions.length == 0) { + this.detailOptions = getDetailOption(); + } + }else { + this.scanOptions.splice(0,1) + } + }, methods: {