refactor: customer

This commit is contained in:
puriphatt 2024-09-17 18:01:13 +07:00
parent e50904bead
commit f2b318060e
11 changed files with 596 additions and 355 deletions

View file

@ -39,15 +39,15 @@ const registeredBranchId = defineModel<string>('registeredBranchId', {
required: true,
});
const customerName = defineModel<string>('customerName');
const registerName = defineModel<string>('registerName');
const customerName = defineModel<string>('customerName', { default: '' });
const registerName = defineModel<string>('registerName', { default: '' });
const citizenId = defineModel<string>('citizenId');
const legalPersonNo = defineModel<string>('legalPersonNo');
const citizenId = defineModel<string>('citizenId', { default: '' });
const legalPersonNo = defineModel<string>('legalPersonNo', { default: '' });
const businessType = defineModel<'strinf'>('businessType');
const jobPosition = defineModel<'strinf'>('jobPosition');
const telephoneNo = defineModel<string>('telephoneNo');
const businessType = defineModel<'string'>('businessType');
const jobPosition = defineModel<'string'>('jobPosition');
const telephoneNo = defineModel<string>('telephoneNo', { default: '' });
const branchOptions = defineModel<{ id: string; name: string }[]>(
'branchOptions',