chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -1,15 +1,29 @@
<template>
<a class="has-text-link" @click="open">{{row['customer__code']}}</a>
<a
class="has-text-link"
@click="open"
>{{ row["customer__code"] }}</a
>
</template>
<script setup>
import { useStore } from '@/stores/index'
const store = useStore()
const emit = defineEmits(["clickevent"])
const props = defineProps({
row: Object
})
function open() {
emit('clickevent', {name: 'dataevent', data: {modal: {title: store.lang==='en'? 'Customer' : 'Khách hàng',
height: '500px', width: '60%', component: 'customer/CustomerView', vbind:{row: props.row}}}})
}
</script>
import { useStore } from "@/stores/index";
const store = useStore();
const emit = defineEmits(["clickevent"]);
const props = defineProps({
row: Object,
});
function open() {
emit("clickevent", {
name: "dataevent",
data: {
modal: {
title: store.lang === "en" ? "Customer" : "Khách hàng",
height: "500px",
width: "60%",
component: "customer/CustomerView",
vbind: { row: props.row },
},
},
});
}
</script>