refactor: add agentUserId
This commit is contained in:
parent
76a371ef4a
commit
ee752b9169
3 changed files with 63 additions and 15 deletions
|
|
@ -194,7 +194,7 @@ export const useCustomerForm = defineStore('form-customer', () => {
|
|||
homeCode: v.homeCode,
|
||||
contactTel: v.contactTel,
|
||||
officeTel: v.officeTel,
|
||||
agent: v.agent,
|
||||
agentUserId: v.agentUserId,
|
||||
customerName: v.customerName,
|
||||
authorizedName: v.authorizedName,
|
||||
authorizedNameEN: v.authorizedNameEN,
|
||||
|
|
@ -294,7 +294,8 @@ export const useCustomerForm = defineStore('form-customer', () => {
|
|||
email: currentFormData.value.customerBranch?.at(0)?.email || '',
|
||||
contactTel: currentFormData.value.customerBranch?.at(0)?.contactTel || '',
|
||||
officeTel: currentFormData.value.customerBranch?.at(0)?.officeTel || '',
|
||||
agent: currentFormData.value.customerBranch?.at(0)?.agent || '',
|
||||
agentUserId:
|
||||
currentFormData.value.customerBranch?.at(0)?.agentUserId || '',
|
||||
status: 'CREATED',
|
||||
|
||||
customerName:
|
||||
|
|
@ -421,7 +422,7 @@ export const useCustomerBranchForm = defineStore('form-customer-branch', () => {
|
|||
email: '',
|
||||
contactTel: '',
|
||||
officeTel: '',
|
||||
agent: '',
|
||||
agentUserId: undefined,
|
||||
status: 'CREATED',
|
||||
|
||||
customerName: '',
|
||||
|
|
@ -508,13 +509,12 @@ export const useCustomerBranchForm = defineStore('form-customer-branch', () => {
|
|||
wageRateText: _data.wageRateText,
|
||||
contactTel: _data.contactTel,
|
||||
officeTel: _data.officeTel,
|
||||
agent: _data.agent,
|
||||
agentUserId: _data.agentUserId,
|
||||
codeCustomer: _data.codeCustomer,
|
||||
customerName: _data.customerName,
|
||||
homeCode: _data.homeCode,
|
||||
authorizedName: _data.authorizedName,
|
||||
authorizedNameEN: _data.authorizedNameEN,
|
||||
statusSave: false,
|
||||
file: [],
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue