diff --git a/src/services/OrderService.ts b/src/services/OrderService.ts index c18f4017..e687ce32 100644 --- a/src/services/OrderService.ts +++ b/src/services/OrderService.ts @@ -1,4 +1,5 @@ import { api } from '@/adapter'; +import store from '@/store'; const findOrder = async (payload: any): Promise => { return api({ @@ -20,7 +21,7 @@ const releaseItems = async (payload: any): Promise => { return api({ url: "uploadJsonFile", method: "post", - data: payload.data, + data: {...payload.data, "productStoreId": store.state.user.currentEComStore.productStoreId}, headers: payload.headers }); } @@ -29,7 +30,7 @@ const cancelItems = async (payload: any): Promise => { return api({ url: "uploadJsonFile", method: "post", - data: payload.data, + data: {...payload.data, "productStoreId": store.state.user.currentEComStore.productStoreId}, headers: payload.headers }); } @@ -38,7 +39,7 @@ const updatePromiseDateItems = async (payload: any): Promise => { return api({ url: "uploadJsonFile", method: "post", - data: payload.data, + data: {...payload.data, "productStoreId": store.state.user.currentEComStore.productStoreId}, headers: payload.headers }); }