refactor: customer & employee
This commit is contained in:
parent
507141dca5
commit
763ac07be7
5 changed files with 6154 additions and 5535 deletions
File diff suppressed because it is too large
Load diff
2001
src/pages/03_customer-management/TabCustomer.vue
Normal file
2001
src/pages/03_customer-management/TabCustomer.vue
Normal file
File diff suppressed because it is too large
Load diff
3704
src/pages/03_customer-management/TabEmployee.vue
Normal file
3704
src/pages/03_customer-management/TabEmployee.vue
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -22,6 +22,10 @@ import { useRoute } from 'vue-router';
|
|||
|
||||
export const useCustomerForm = defineStore('form-customer', () => {
|
||||
const customerStore = useCustomerStore();
|
||||
const onCreateImageList = ref<{
|
||||
selectedImage: string;
|
||||
list: { url: string; imgFile: File | null; name: string }[];
|
||||
}>({ selectedImage: '', list: [] });
|
||||
|
||||
const { t } = useI18n();
|
||||
const flowStore = useFlowStore();
|
||||
|
|
@ -498,6 +502,7 @@ export const useCustomerForm = defineStore('form-customer', () => {
|
|||
}
|
||||
|
||||
return {
|
||||
onCreateImageList,
|
||||
tabFieldRequired,
|
||||
registerAbleBranchOption,
|
||||
state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue