diff --git a/resources/js/components/modal/RetailStockTransferModal.vue b/resources/js/components/modal/RetailStockTransferModal.vue index ca5d36a..c1eb0d0 100644 --- a/resources/js/components/modal/RetailStockTransferModal.vue +++ b/resources/js/components/modal/RetailStockTransferModal.vue @@ -7,6 +7,7 @@ import { Button } from '@/components/ui/button'; import { Dialog, DialogContent, + DialogDescription, DialogFooter, DialogHeader, DialogTitle, @@ -18,14 +19,7 @@ import { FieldLabel, FieldSet, } from '@/components/ui/field'; -import { - Select, - SelectContent, - SelectGroup, - SelectItem, - SelectTrigger, - SelectValue, -} from '@/components/ui/select'; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { Textarea } from '@/components/ui/textarea'; import { apiFetch } from '@/lib/api'; import { transfer } from '@/routes/admin/manage/retail-stock'; @@ -54,6 +48,7 @@ const emit = defineEmits<{ const processing = ref(false); const errors = reactive>({}); +const selectPortalTarget = ref(); const selectedVariantId = ref(0); @@ -151,6 +146,9 @@ function formatNumber(value: number): string { Transfer Stok Ecer + + Form pengajuan transfer stok ecer untuk produk {{ productName }} +
@@ -159,20 +157,21 @@ function formatNumber(value: number): string { Pilih Varian - - - - - {{ variant.name }} - - + + + {{ variant.name }} + @@ -237,6 +236,7 @@ function formatNumber(value: number): string {
+
diff --git a/resources/js/components/ui/select/SelectContent.vue b/resources/js/components/ui/select/SelectContent.vue index adf04ec..4b6f8bb 100644 --- a/resources/js/components/ui/select/SelectContent.vue +++ b/resources/js/components/ui/select/SelectContent.vue @@ -16,20 +16,20 @@ defineOptions({ }) const props = withDefaults( - defineProps(), + defineProps(), { position: "popper", }, ) const emits = defineEmits() -const delegatedProps = reactiveOmit(props, "class") +const delegatedProps = reactiveOmit(props, "class", "to") const forwarded = useForwardPropsEmits(delegatedProps, emits)