จัดโค้ดวินัย

This commit is contained in:
setthawutttty 2023-12-25 16:31:24 +07:00
parent 71d3b54ef0
commit 7262000680
37 changed files with 492 additions and 697 deletions

View file

@ -105,6 +105,10 @@ const checkSelected = computed(() => {
}
});
const type = ref<string>("");
//----()------//
const optionsType = ref<[]>([]);
//popup
function saveOrder() {
dialogConfirm(
@ -132,10 +136,7 @@ function Reset() {
emit("update:filterKeyword2", "");
}
const type = ref<string>("");
//----()------//
const optionsType = ref<[]>([]);
const fecthTypeOption = async () => {
async function fecthTypeOption(){
showLoader();
await http
.get(config.API.typeOrder())
@ -153,12 +154,6 @@ const fecthTypeOption = async () => {
});
};
// watch([()=>props.modal],() => {
// selected.value = props.modal ? [] : [];
// if (props.modal === true) {
// selected.value = props.rows2;
// }
// });
onMounted(() => {
fecthTypeOption();
});