This commit is contained in:
Viet An
2026-07-02 16:20:37 +07:00
parent 6d9dce38cb
commit 5e6cb7a551
10 changed files with 463 additions and 419 deletions

View File

@@ -1,9 +1,12 @@
<script setup>
import useActiveCart from "~/components/pos/composables/useActiveCart";
const props = defineProps({
address: Object,
selected: Boolean,
});
const { activeCart } = useActiveCart();
const showModal = ref(false);
function openEditModal() {
@@ -12,7 +15,10 @@ function openEditModal() {
title: "Cập nhật địa chỉ",
width: "50%",
height: "auto",
vbind: { address: props.address },
vbind: {
customerId: activeCart.value.customer,
address: props.address,
},
};
}
</script>