diff --git a/.env.development b/.env.development index 78976cddd..3b38b8cc0 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ NODE_ENV=development VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:12080' +VITE_BASE_URL='http://192.168.0.113:12080' # 上传路径 VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' diff --git a/src/api/wms/stockupMainJob/index.ts b/src/api/wms/stockupMainJob/index.ts index 2f802672a..182e49185 100644 --- a/src/api/wms/stockupMainJob/index.ts +++ b/src/api/wms/stockupMainJob/index.ts @@ -87,4 +87,24 @@ export const exportStockupMainJob = async (params) => { // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/stockup-main-job/get-import-template' }) +} + +// 承接发货任务 Excel +export const acceptStockupMainJob = async (id) => { + return await request.put({ url: `/wms/stockup-main-job/accept?id=` + id }) +} + +// 取消承接发货任务 Excel +export const abandonStockupMainJob = async (id) => { + return await request.put({ url: `/wms/stockup-main-job/abandon?id=` + id }) +} + +// 关闭发货任务主 Excel +export const closeStockupMainJob = async (id) => { + return await request.put({ url: `/wms/stockup-main-job/close?id=` + id }) +} + +// 执行发货任务主 +export const executeStockupMainJob = async (data: StockupMainJobVO) => { + return await request.put({ url: `/wms/stockup-main-job/execute`, data }) } \ No newline at end of file diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue index 579622002..a43277b5e 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue @@ -27,43 +27,53 @@ v-model:currentPage="tableObject.currentPage" v-model:sort="tableObject.sort" > -