Files
web/app/components/common/ProductCountbox.vue
2026-05-05 11:06:49 +07:00

29 lines
629 B
Vue

<template>
<span
class="dot-primary"
@click="onClick()"
>{{ row.count_product }}</span
>
</template>
<script>
// use in Khách hàng -> Giao dịch (<DataView :setting='customer-all-transaction'/>)
export default {
props: ["row", "api", "pagename"],
methods: {
onClick() {
const obj = {
component: "common/ProductInfo",
title: "Sản phẩm",
width: "60%",
height: "400px",
vbind: {
row: this.row,
pagename: this.pagename,
},
};
this.$emit("open", { name: "dataevent", data: { modal: obj } });
},
},
};
</script>