chore: clean
This commit is contained in:
parent
07d59f054f
commit
d165d3bb81
1 changed files with 2 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, ref, watch } from 'vue';
|
import { onMounted, ref } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import useBranchStore from 'src/stores/branch';
|
import useBranchStore from 'src/stores/branch';
|
||||||
import useCustomerStore from 'src/stores/customer';
|
import useCustomerStore from 'src/stores/customer';
|
||||||
|
|
@ -20,7 +20,7 @@ const special = defineModel<boolean>('special');
|
||||||
const branchOption = ref();
|
const branchOption = ref();
|
||||||
const customerOption = ref();
|
const customerOption = ref();
|
||||||
|
|
||||||
const props = defineProps<{
|
defineProps<{
|
||||||
outlined?: boolean;
|
outlined?: boolean;
|
||||||
readonly?: boolean;
|
readonly?: boolean;
|
||||||
separator?: boolean;
|
separator?: boolean;
|
||||||
|
|
@ -90,16 +90,6 @@ onMounted(async () => {
|
||||||
await init('', 'branch');
|
await init('', 'branch');
|
||||||
await init('', 'customer');
|
await init('', 'customer');
|
||||||
});
|
});
|
||||||
|
|
||||||
// watch(
|
|
||||||
// () => branchId.value,
|
|
||||||
// async (v) => {
|
|
||||||
// if (v && customerBranchId.value && props.onCreate) {
|
|
||||||
// console.log('form');
|
|
||||||
// customerBranchId.value = '';
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// );
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue