diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index a35ebafc..05776738 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -441,6 +441,7 @@ function convertToTable(nodes: Node[]) { list.forEach((v) => { v.amount = Math.max(selectedWorker.value.length, 1); + if (!v.workerIndex) v.workerIndex = []; for (let i = 0; i < selectedWorker.value.length; i++) { v.workerIndex.push(i); }