diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 34f0e61e..629f6590 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -829,9 +829,9 @@ function convertToTable(nodes: Node[]) { tempPaySplitCount.value = quotationFormData.value.paySplitCount; list.forEach((v) => { - v.amount = Math.max(selectedWorker.value.length, 1); + v.amount = Math.max(selectedWorkerItem.value.length, 1); if (!v.workerIndex) v.workerIndex = []; - for (let i = 0; i < selectedWorker.value.length; i++) { + for (let i = 0; i < selectedWorkerItem.value.length; i++) { v.workerIndex.push(i); }