chore: clean

This commit is contained in:
Methapon Metanipat 2024-10-21 09:33:01 +07:00
parent 07d59f054f
commit d165d3bb81

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { onMounted, ref, watch } from 'vue';
import { onMounted, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import useBranchStore from 'src/stores/branch';
import useCustomerStore from 'src/stores/customer';
@ -20,7 +20,7 @@ const special = defineModel<boolean>('special');
const branchOption = ref();
const customerOption = ref();
const props = defineProps<{
defineProps<{
outlined?: boolean;
readonly?: boolean;
separator?: boolean;
@ -90,16 +90,6 @@ onMounted(async () => {
await init('', 'branch');
await init('', 'customer');
});
// watch(
// () => branchId.value,
// async (v) => {
// if (v && customerBranchId.value && props.onCreate) {
// console.log('form');
// customerBranchId.value = '';
// }
// },
// );
</script>
<template>
<div class="row">