refactor: variable name
This commit is contained in:
parent
8c80cf036d
commit
9d30aa5f9a
1 changed files with 2 additions and 2 deletions
|
|
@ -829,9 +829,9 @@ function convertToTable(nodes: Node[]) {
|
||||||
tempPaySplitCount.value = quotationFormData.value.paySplitCount;
|
tempPaySplitCount.value = quotationFormData.value.paySplitCount;
|
||||||
|
|
||||||
list.forEach((v) => {
|
list.forEach((v) => {
|
||||||
v.amount = Math.max(selectedWorker.value.length, 1);
|
v.amount = Math.max(selectedWorkerItem.value.length, 1);
|
||||||
if (!v.workerIndex) v.workerIndex = [];
|
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);
|
v.workerIndex.push(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue