Item Fixed prices #307
|
@ -333,9 +333,9 @@ const addRow = () => {
|
||||||
const lastItemCopy = JSON.parse(
|
const lastItemCopy = JSON.parse(
|
||||||
JSON.stringify(fixedPrices.value[fixedPrices.value.length - 1])
|
JSON.stringify(fixedPrices.value[fixedPrices.value.length - 1])
|
||||||
);
|
);
|
||||||
const { id, ...restOfData } = lastItemCopy;
|
const { id, ...restOfItem } = lastItemCopy;
|
||||||
fixedPricesOriginalData.value.push(restOfData);
|
fixedPricesOriginalData.value.push(restOfItem);
|
||||||
fixedPrices.value.push(restOfData);
|
fixedPrices.value.push(restOfItem);
|
||||||
};
|
};
|
||||||
|
|
||||||
const openEditTableCellDialog = () => {
|
const openEditTableCellDialog = () => {
|
||||||
|
|
Loading…
Reference in New Issue