fix worker double data
This commit is contained in:
parent
57f1d6665f
commit
30edcda058
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,6 @@ async function fetchQuotation() {
|
||||||
const id = currentQuotationId.value || quotationFormData.value.id || '';
|
const id = currentQuotationId.value || quotationFormData.value.id || '';
|
||||||
|
|
||||||
await quotationForm.assignFormData(id, quotationFormState.value.mode);
|
await quotationForm.assignFormData(id, quotationFormState.value.mode);
|
||||||
await assignWorkerToSelectedWorker();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
await assignToProductServiceList();
|
await assignToProductServiceList();
|
||||||
|
|
@ -759,6 +758,7 @@ onMounted(async () => {
|
||||||
currentQuotationId.value = parsed.quotationId;
|
currentQuotationId.value = parsed.quotationId;
|
||||||
agentPrice.value = parsed.agentPrice;
|
agentPrice.value = parsed.agentPrice;
|
||||||
await fetchQuotation();
|
await fetchQuotation();
|
||||||
|
await assignWorkerToSelectedWorker();
|
||||||
sessionData.value = parsed;
|
sessionData.value = parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue