This commit is contained in:
Viet An
2026-05-20 15:06:09 +07:00
parent 629a530b5f
commit 087b05a0b8
40 changed files with 5 additions and 15035 deletions

View File

@@ -1,24 +0,0 @@
<template>
<span
v-if="row.count_note || $getEditRights()"
class="dot-primary"
@click="doClick()"
>{{ row.count_note || "+" }}</span
>
</template>
<script>
export default {
props: ["row", "api", "pagename"],
methods: {
doClick() {
let obj = {
component: "common/NoteInfo",
title: "Ghi chú",
width: "50%",
vbind: { row: this.row, api: this.api, pagename: this.pagename },
};
this.$emit("open", { name: "dataevent", data: { modal: obj } });
},
},
};
</script>

View File

@@ -1,28 +0,0 @@
<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>