changes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user