refactor: handle id
This commit is contained in:
parent
1a1f2cb9f3
commit
b87178e0b5
2 changed files with 1 additions and 2 deletions
|
|
@ -385,7 +385,7 @@ export const useCustomerBranchForm = defineStore('form-customer-branch', () => {
|
|||
id?: string;
|
||||
codeCustomer?: string;
|
||||
} = {
|
||||
id: '',
|
||||
id: undefined,
|
||||
customerId: '',
|
||||
// branchCode: '',
|
||||
// codeCustomer: '',
|
||||
|
|
|
|||
|
|
@ -345,7 +345,6 @@ const useCustomerStore = defineStore('api-customer', () => {
|
|||
|
||||
async function createBranch(
|
||||
data: CustomerBranchCreate & {
|
||||
id?: string;
|
||||
customerId: string;
|
||||
},
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue