From 7d4c6d2526e1f0464e466f1b00f2fcc10c6e64eb Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 6 Jun 2024 09:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=87=BA=E5=BA=93=20?= =?UTF-8?q?=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/outStorage/outStorage.js | 99 ++++ src/api/reports/inOutStorage.js | 52 ++ src/api/storage/inventory.js | 49 ++ src/api/storage/stocktaking.js | 51 ++ src/router/index.js | 85 ++- src/views/outStorage/distributionAdd.vue | 291 ++++++++++ src/views/outStorage/index.vue | 336 ++++++++++++ src/views/outStorage/outStorageAdd.vue | 509 ++++++++++++++++++ src/views/outStorage/outStorageInfo.vue | 152 ++++++ .../outStorage/relation/chooseproducts.vue | 164 ++++++ src/views/reports/inOutStorage/index.vue | 435 +++++++++++++++ src/views/storage/inventory/inventory.vue | 285 ++++++++++ .../storage/inventory/inventoryRecord.vue | 67 +++ .../storage/inventory/inventoryRefer.vue | 262 +++++++++ src/views/storage/stocktaking/index.vue | 322 +++++++++++ .../storage/stocktaking/stocktakingAdd.vue | 412 ++++++++++++++ 16 files changed, 3566 insertions(+), 5 deletions(-) create mode 100644 src/api/outStorage/outStorage.js create mode 100644 src/api/reports/inOutStorage.js create mode 100644 src/api/storage/inventory.js create mode 100644 src/api/storage/stocktaking.js create mode 100644 src/views/outStorage/distributionAdd.vue create mode 100644 src/views/outStorage/index.vue create mode 100644 src/views/outStorage/outStorageAdd.vue create mode 100644 src/views/outStorage/outStorageInfo.vue create mode 100644 src/views/outStorage/relation/chooseproducts.vue create mode 100644 src/views/reports/inOutStorage/index.vue create mode 100644 src/views/storage/inventory/inventory.vue create mode 100644 src/views/storage/inventory/inventoryRecord.vue create mode 100644 src/views/storage/inventory/inventoryRefer.vue create mode 100644 src/views/storage/stocktaking/index.vue create mode 100644 src/views/storage/stocktaking/stocktakingAdd.vue diff --git a/src/api/outStorage/outStorage.js b/src/api/outStorage/outStorage.js new file mode 100644 index 0000000..1ef43dd --- /dev/null +++ b/src/api/outStorage/outStorage.js @@ -0,0 +1,99 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/WmsOutBill/listPage', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 详情初始化 + init: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/details', + method: 'get', + data: data + }); + }, + + // 初始配货单 + initDistribution: function(data) { + return request({ + url: '/wms/apiadmin/WmsDistributeBill/getInit', + method: 'get', + data: data + }); + }, + + + // 新增、保存 + save: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/saveOrUpdateOutBill', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + // 确认 + submit: function(data) { + return request({ + url: '/wms/apiadmin/WmsOutBill/confirm', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + + + + // 新增、保存 配货单 + saveDistribution: function(data) { + return request({ + url: '/wms/apiadmin/WmsDistributeBill/saveOrUpdateBill', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + + deleteBySids: function(data) { + return request({ + url: '/wms/apiadmin/WmsShelfBill/delBySids', + method: 'DELETE', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 查询分页列表 + getGoodsListPage: function(params) { + return request({ + url: '/wms/apiadmin/WmsOutBill/getInventoryList', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + +} diff --git a/src/api/reports/inOutStorage.js b/src/api/reports/inOutStorage.js new file mode 100644 index 0000000..efd393d --- /dev/null +++ b/src/api/reports/inOutStorage.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 导出报表 + exportExcel: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { + 'Content-Type': 'application/json' + } + }); + }, + + + // 查询所有仓库 + getWarehouses: function(params) { + return request({ + url: '/wms/apiadmin/base/wmswarehouseinfo/listAll', + method: 'post', + data: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 根据仓库查询库位 + getWarehouseareas: function(data) { + return request({ + url: '/wms/apiadmin/base/wmswarehousearea/selectAll', + method: 'get', + params: data, + headers: { 'Content-Type': 'application/json' } + }); + }, +} diff --git a/src/api/storage/inventory.js b/src/api/storage/inventory.js new file mode 100644 index 0000000..327544f --- /dev/null +++ b/src/api/storage/inventory.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 -- 库存查询 + listPage: function(data) { + return request({ + url: '/apiadmin/inventory/wmsinventory/listPage', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 库存查询 -- 删除 + deleteBySids: function(data) { + return request({ + url: '/riskcenter/v1/LoanLawsuitApply/deleteBySids', + method: 'DELETE', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 库存出入库记录 + getWmsInventoryRecordList: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/getWmsInventoryRecordList', + method: 'get', + params: data + }) + }, + // 查询分页列表 -- 出入库查询 + pageList: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 出入库查询 -- 导出 + exportExcel: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel', + method: 'post', + responseType: 'blob', // 表明返回服务器返回的数据类型 + data: data, + headers: { 'Content-Type': 'application/json' } + }) + } +} diff --git a/src/api/storage/stocktaking.js b/src/api/storage/stocktaking.js new file mode 100644 index 0000000..282f49f --- /dev/null +++ b/src/api/storage/stocktaking.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +export default { + + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/v1/wmsinventorycheckbill/listPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, +// 新增、保存 + save: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventorycheckbill/save', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }); + }, + + // 初始化 + init: function(data) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventorycheckbill/' + data, + method: 'get' + }); + }, + +// 查询所有商品 + getWarehousesGoods: function(params) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + + // 盘点 + inven: function(params) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, +} diff --git a/src/router/index.js b/src/router/index.js index 5320303..072b3ad 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -186,29 +186,104 @@ export const constantRoutes = [ meta: { title: '入库管理' }, - children: [ - { + children: [{ path: '/deliveryNotice/index', component: () => import('@/views/inStorage/deliveryNotice/index'), name: 'DeliveryNotice', - meta: { title: '到货通知单', noCache: true } + meta: { + title: '到货通知单', + noCache: true + } }, { path: '/receivingGoods/index', component: () => import('@/views/inStorage/receivingGoods/index'), name: 'ReceivingGoods', - meta: { title: '收货单管理', noCache: true } + meta: { + title: '收货单管理', + noCache: true + } }, { path: '/upShelf/index', component: () => import('@/views/inStorage/upShelf/index'), name: 'UpShelf', - meta: { title: '上架单管理', noCache: true } + meta: { + title: '上架单管理', + noCache: true + } + }, + + ] + }, + + { + path: '/outStorage', + component: Layout, + redirect: '/outStorage', + meta: { + title: '出库管理' + }, + children: [{ + path: '/outStorage/index', + component: () => import('@/views/outStorage/index'), + name: 'OutStorage', + meta: { + title: '出库单管理', + noCache: true + } + }, + + ] + }, + + { + path: '/storage', + component: Layout, + redirect: '/storage', + meta: { + title: '库存管理' + }, + children: [{ + path: '/inventory/inventory', + component: () => import('@/views/storage/inventory/inventory.vue'), + name: 'Inventory', + meta: { + title: '库存查询', + noCache: true + } + }, + { + path: '/stocktaking/index', + component: () => import('@/views/storage/stocktaking/index'), + name: 'Stocktaking', + meta: { + title: '盘点管理', + noCache: true + } }, ] }, + { + path: '/reports', + component: Layout, + redirect: '/reports', + meta: { + title: '报表管理' + }, + children: [ { + path: '/inOutStorage/index', + component: () => import('@/views/reports/inOutStorage/index.vue'), + name: 'InventoryRefer', + meta: { title: '出入库查询', noCache: true } + }, + ] + }, + + + { path: '/system', component: Layout, diff --git a/src/views/outStorage/distributionAdd.vue b/src/views/outStorage/distributionAdd.vue new file mode 100644 index 0000000..468a191 --- /dev/null +++ b/src/views/outStorage/distributionAdd.vue @@ -0,0 +1,291 @@ + + + + diff --git a/src/views/outStorage/index.vue b/src/views/outStorage/index.vue new file mode 100644 index 0000000..ef9abbe --- /dev/null +++ b/src/views/outStorage/index.vue @@ -0,0 +1,336 @@ + + + + diff --git a/src/views/outStorage/outStorageAdd.vue b/src/views/outStorage/outStorageAdd.vue new file mode 100644 index 0000000..da51539 --- /dev/null +++ b/src/views/outStorage/outStorageAdd.vue @@ -0,0 +1,509 @@ + + + + diff --git a/src/views/outStorage/outStorageInfo.vue b/src/views/outStorage/outStorageInfo.vue new file mode 100644 index 0000000..f0e9fa4 --- /dev/null +++ b/src/views/outStorage/outStorageInfo.vue @@ -0,0 +1,152 @@ +outStorage + + + diff --git a/src/views/outStorage/relation/chooseproducts.vue b/src/views/outStorage/relation/chooseproducts.vue new file mode 100644 index 0000000..60ea91c --- /dev/null +++ b/src/views/outStorage/relation/chooseproducts.vue @@ -0,0 +1,164 @@ + + + + diff --git a/src/views/reports/inOutStorage/index.vue b/src/views/reports/inOutStorage/index.vue new file mode 100644 index 0000000..85b505a --- /dev/null +++ b/src/views/reports/inOutStorage/index.vue @@ -0,0 +1,435 @@ + + + + diff --git a/src/views/storage/inventory/inventory.vue b/src/views/storage/inventory/inventory.vue new file mode 100644 index 0000000..80eddac --- /dev/null +++ b/src/views/storage/inventory/inventory.vue @@ -0,0 +1,285 @@ + + + + diff --git a/src/views/storage/inventory/inventoryRecord.vue b/src/views/storage/inventory/inventoryRecord.vue new file mode 100644 index 0000000..56a8fc4 --- /dev/null +++ b/src/views/storage/inventory/inventoryRecord.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/src/views/storage/inventory/inventoryRefer.vue b/src/views/storage/inventory/inventoryRefer.vue new file mode 100644 index 0000000..cac21fa --- /dev/null +++ b/src/views/storage/inventory/inventoryRefer.vue @@ -0,0 +1,262 @@ + + + + diff --git a/src/views/storage/stocktaking/index.vue b/src/views/storage/stocktaking/index.vue new file mode 100644 index 0000000..0f45326 --- /dev/null +++ b/src/views/storage/stocktaking/index.vue @@ -0,0 +1,322 @@ + + + + diff --git a/src/views/storage/stocktaking/stocktakingAdd.vue b/src/views/storage/stocktaking/stocktakingAdd.vue new file mode 100644 index 0000000..21ed793 --- /dev/null +++ b/src/views/storage/stocktaking/stocktakingAdd.vue @@ -0,0 +1,412 @@ + + + + +