addOrderToMovement

This commit is contained in:
Surya Paolo
2024-01-03 23:19:24 +01:00
parent 605f6afa0d
commit 3818767e29
5 changed files with 333 additions and 128 deletions

View File

@@ -300,11 +300,7 @@ export default defineComponent({
title: 'Ordine'
}).onOk(async () => {
let options = {
// userIdStore: order.items ? order.items[0].order.storehouse.username : '',
}
statusnow.value = await productStore.UpdateOrderCartStatus({ order_id: order._id, status, options })
statusnow.value = await productStore.UpdateOrderCartStatus({ order_id: order._id, status })
if (statusnow.value === status) {
order.status = statusnow.value