fix: fixed OrderCatalog add item to order
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
dc3c800342
commit
73dfce4104
|
@ -43,10 +43,9 @@ const addToOrder = async () => {
|
|||
);
|
||||
|
||||
state.set('orderTotal', orderTotal);
|
||||
const rows = orderData.value.rows.push(...items) || [];
|
||||
state.set('Order', {
|
||||
...orderData.value,
|
||||
rows,
|
||||
items,
|
||||
});
|
||||
notify(t('globals.dataSaved'), 'positive');
|
||||
emit('added', -totalQuantity(items));
|
||||
|
|
Loading…
Reference in New Issue