Files
web/app/components/common/ProductCountbox.vue
2026-03-02 09:45:33 +07:00

25 lines
606 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>