refactor: set workerIndex
This commit is contained in:
parent
d82c728919
commit
319777bd05
2 changed files with 4 additions and 19 deletions
|
|
@ -265,9 +265,9 @@ async function convertDataToFormSubmit() {
|
|||
quotationFormData.value.productServiceList = JSON.parse(
|
||||
JSON.stringify(
|
||||
productServiceList.value.map((v) => ({
|
||||
workerIndex: [0, 1],
|
||||
discount: 1,
|
||||
amount: 1,
|
||||
workerIndex: v.workerIndex,
|
||||
discount: v.discount,
|
||||
amount: v.amount,
|
||||
product: v.product,
|
||||
work: v.work,
|
||||
service: v.service,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue