diff --git a/src/api/Common/dictcommons.js b/src/api/Common/dictcommons.js index 382f579..b8d3e88 100644 --- a/src/api/Common/dictcommons.js +++ b/src/api/Common/dictcommons.js @@ -183,4 +183,17 @@ export function getWarehouseareas(data) { 'Content-Type': 'application/json' } }) + +} + +// 查询所有库位 +export function getWarehouseAacks(data) { + return request({ + url: '/wms/apiadmin/base/warehouserack/selectAll', + method: 'get', + params: data, + headers: { + 'Content-Type': 'application/json' + } + }) } diff --git a/src/api/baseinfo/goodsShelves/goodsShelves.js b/src/api/baseinfo/goodsShelves/goodsShelves.js index 4909581..4ea672f 100644 --- a/src/api/baseinfo/goodsShelves/goodsShelves.js +++ b/src/api/baseinfo/goodsShelves/goodsShelves.js @@ -49,4 +49,12 @@ export default { }) }, + // 查询所有库位列表 + warehouserackListAll: function(params) { + return request({ + url: '/wms/apiadmin/warehouserack/listAll', + method: 'post', + data: params, + }) + }, } diff --git a/src/api/goods/goods.js b/src/api/goods/goods.js index 2ddf2da..773acbe 100644 --- a/src/api/goods/goods.js +++ b/src/api/goods/goods.js @@ -45,7 +45,7 @@ export default { }, - // 商品-- 删除 + // 商品-- 删除 deleteBySids: function(data) { return request({ url: '/wms/apiadmin/base/basegoodsspu/delBySids', @@ -58,7 +58,7 @@ export default { }) }, - // 下载模板 + // 下载模板 downloadExcel: function() { return request({ url: '/wms/apiadmin/base/basegoodsspu/download', @@ -68,6 +68,19 @@ export default { 'Content-Type': 'application/json' } }) - } + }, + + // 查询商品分页列表 + getGoodsListAllByOrg: function(params) { + return request({ + url: '/wms/apiadmin/basegoodssku/listAllByOrg', + // url: '/wms/apiadmin/base/basegoodsspu/goodsListPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, } diff --git a/src/api/inStorage/deliveryNotice.js b/src/api/inStorage/deliveryNotice.js index fc11c91..0fc7712 100644 --- a/src/api/inStorage/deliveryNotice.js +++ b/src/api/inStorage/deliveryNotice.js @@ -56,4 +56,67 @@ export default { }, + + // 入库预约 + + // 查询发货人信息 + fetchDetailsBySid: function(data) { + return request({ + url: '/wms/apiadmin/supplierinfo/fetchDetailsBySid/' + data, + method: 'get', + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 查询商品明细信息 + selectByBillSid: function(data) { + return request({ + url: '/wms/apiadmin/wmsansbilldetails/selectByBillSid/' + data, + method: 'get', + + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 查询操作记录信息 + operationrecordDetails: function(data) { + return request({ + url: '/wms/apiadmin/operationrecord/details', + method: 'get', + params: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 修改库区 + updateRack: function(data) { + return request({ + url: '/wms/apiadmin/WmsAnsBill/updateRack', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 修改备注 + updateRemarks: function(data) { + return request({ + url: '/wms/apiadmin/WmsAnsBill/updateRemarks', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + } diff --git a/src/api/inStorage/receivingGoods.js b/src/api/inStorage/receivingGoods.js index 89decb2..b7d822e 100644 --- a/src/api/inStorage/receivingGoods.js +++ b/src/api/inStorage/receivingGoods.js @@ -2,10 +2,11 @@ import request from '@/utils/request' export default { - // 查询分页列表 + //采购入库 + // 入库单列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/inventory/WmsReceiptBill/listPage', + url: '/wms/apiadmin/purchaseInStorage/listPage', method: 'post', data: params, headers: { @@ -14,91 +15,122 @@ export default { }) }, - // 初始化 - init: function(data) { + // 根据入库单sid获取明细 + selectByBillSid: function(data) { return request({ - url: '/wms/apiadmin/inventory/WmsReceiptBill/getDetailsInit?sid=' + data, + url: '/wms/apiadmin/purchaseInStorage/selectByBillSid/' + data, method: 'get' }); }, - - // 新增、保存 - save: function(data) { - return request({ - url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate', - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }); - }, - - // 确认 - submit: function(data) { - return request({ - url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm', - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }); - }, - - - // 保存 上架单 - saveUpShelf: function(data) { + // 获取组织下所有的预约单 + getReservationBill: function(data) { return request({ - url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate', - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } + url: '/wms/apiadmin/purchaseInStorage/getReservationBill/' + data, + method: 'get' }); }, - // 查询所有商品 - getGoodsListPage: function(params) { - return request({ - url: '/yxtbase/apiadmin/base/basegoodssku/getGoodsListPage', - method: 'post', - data: params, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - - - deleteBySids: function(data) { - return request({ - url: '/wms/apiadmin/inventory/WmsReceiptBill/delBySids', - method: 'DELETE', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }) - }, - - + // // 查询分页列表 + // listPage: function(params) { + // return request({ + // url: '/wms/apiadmin/inventory/WmsReceiptBill/listPage', + // method: 'post', + // data: params, + // headers: { + // 'Content-Type': 'application/json' + // } + // }) + // }, + + // // 初始化 + // init: function(data) { + // return request({ + // url: '/wms/apiadmin/inventory/WmsReceiptBill/getDetailsInit?sid=' + data, + // method: 'get' + // }); + // }, + + + // // 新增、保存 + // save: function(data) { + // return request({ + // url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate', + // method: 'post', + // data: data, + // headers: { + // 'Content-Type': 'application/json' + // } + // }); + // }, + + // // 确认 + // submit: function(data) { + // return request({ + // url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm', + // method: 'post', + // data: data, + // headers: { + // 'Content-Type': 'application/json' + // } + // }); + // }, + + + // // 保存 上架单 + // saveUpShelf: function(data) { + // return request({ + // url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate', + // method: 'post', + // data: data, + // headers: { + // 'Content-Type': 'application/json' + // } + // }); + // }, + + + // // 查询所有商品 + // getGoodsListPage: function(params) { + // return request({ + // url: '/yxtbase/apiadmin/base/basegoodssku/getGoodsListPage', + // method: 'post', + // data: params, + // headers: { + // 'Content-Type': 'application/json' + // } + // }) + // }, + + + + // deleteBySids: function(data) { + // return request({ + // url: '/wms/apiadmin/inventory/WmsReceiptBill/delBySids', + // method: 'DELETE', + // data: data, + // headers: { + // 'Content-Type': 'application/json' + // } + // }) + // }, + + + + // // 初始化新增上架单 + // initUpshelf: function(params) { + // return request({ + // url: '/wms/apiadmin/WmsShelfBill/getInit?sid=' + params.sid + "&orgPath=" + params.orgPath + "&userSid=" + + // params.userSid, + // method: 'get', + // headers: { + // 'Content-Type': 'application/json' + // } + // }); + + // }, - // 初始化新增上架单 - initUpshelf: function(params) { - return request({ - url: '/wms/apiadmin/WmsShelfBill/getInit?sid=' + params.sid + "&orgPath=" + params.orgPath + "&userSid=" + - params.userSid, - method: 'get', - headers: { - 'Content-Type': 'application/json' - } - }); - }, } diff --git a/src/router/index.js b/src/router/index.js index 072b3ad..ec1ced8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -191,7 +191,7 @@ export const constantRoutes = [ component: () => import('@/views/inStorage/deliveryNotice/index'), name: 'DeliveryNotice', meta: { - title: '到货通知单', + title: '入库预约', noCache: true } }, @@ -200,7 +200,7 @@ export const constantRoutes = [ component: () => import('@/views/inStorage/receivingGoods/index'), name: 'ReceivingGoods', meta: { - title: '收货单管理', + title: '采购入库', noCache: true } }, @@ -273,13 +273,15 @@ export const constantRoutes = [ meta: { title: '报表管理' }, - children: [ { - path: '/inOutStorage/index', - component: () => import('@/views/reports/inOutStorage/index.vue'), - name: 'InventoryRefer', - meta: { title: '出入库查询', noCache: true } - }, - ] + children: [{ + path: '/inOutStorage/index', + component: () => import('@/views/reports/inOutStorage/index.vue'), + name: 'InventoryRefer', + meta: { + title: '出入库查询', + noCache: true + } + }, ] }, diff --git a/src/views/inStorage/deliveryNotice/index.vue b/src/views/inStorage/deliveryNotice/index.vue index d2da7aa..76362c3 100644 --- a/src/views/inStorage/deliveryNotice/index.vue +++ b/src/views/inStorage/deliveryNotice/index.vue @@ -1,7 +1,7 @@ diff --git a/src/views/inStorage/receivingGoods/index.vue b/src/views/inStorage/receivingGoods/index.vue index 15e0f50..11433f4 100644 --- a/src/views/inStorage/receivingGoods/index.vue +++ b/src/views/inStorage/receivingGoods/index.vue @@ -1,7 +1,7 @@ diff --git a/src/views/system/menuManage/menuManage.vue b/src/views/system/menuManage/menuManage.vue index a95e8c8..4cf14d9 100644 --- a/src/views/system/menuManage/menuManage.vue +++ b/src/views/system/menuManage/menuManage.vue @@ -63,8 +63,8 @@ --> - + @@ -119,13 +119,13 @@ - 路由路径 + 路由名称 - 路由名称 + 路由路径 @@ -235,15 +235,15 @@ - 路由路径 + 路由名称 - + - 路由名称 + 路由路径 - +