From 6fce996d1769c32404b843025410b97f11217e6b Mon Sep 17 00:00:00 2001 From: A0010407 Date: Mon, 10 Jul 2023 14:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/area.js | 44 +++ src/api/wms/factory.js | 44 +++ src/api/wms/location.js | 44 +++ src/api/wms/shifts.js | 44 +++ src/api/wms/team.js | 44 +++ src/api/wms/warehouse.js | 44 +++ src/views/wms/area/index.vue | 432 +++++++++++++++++++++++ src/views/wms/factory/index.vue | 309 ++++++++++++++++ src/views/wms/location/index.vue | 564 ++++++++++++++++++++++++++++++ src/views/wms/shifts/index.vue | 346 ++++++++++++++++++ src/views/wms/team/index.vue | 383 ++++++++++++++++++++ src/views/wms/warehouse/index.vue | 373 ++++++++++++++++++++ 12 files changed, 2671 insertions(+) create mode 100644 src/api/wms/area.js create mode 100644 src/api/wms/factory.js create mode 100644 src/api/wms/location.js create mode 100644 src/api/wms/shifts.js create mode 100644 src/api/wms/team.js create mode 100644 src/api/wms/warehouse.js create mode 100644 src/views/wms/area/index.vue create mode 100644 src/views/wms/factory/index.vue create mode 100644 src/views/wms/location/index.vue create mode 100644 src/views/wms/shifts/index.vue create mode 100644 src/views/wms/team/index.vue create mode 100644 src/views/wms/warehouse/index.vue diff --git a/src/api/wms/area.js b/src/api/wms/area.js new file mode 100644 index 00000000..43151a88 --- /dev/null +++ b/src/api/wms/area.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询库区列表 +export function listArea(query) { + return request({ + url: '/wms/area/list', + method: 'get', + params: query + }); +} + +// 查询库区详细 +export function getArea(areaId) { + return request({ + url: '/wms/area/' + areaId, + method: 'get' + }); +} + +// 新增库区 +export function addArea(data) { + return request({ + url: '/wms/area', + method: 'post', + data: data + }); +} + +// 修改库区 +export function updateArea(data) { + return request({ + url: '/wms/area', + method: 'put', + data: data + }); +} + +// 删除库区 +export function delArea(areaId) { + return request({ + url: '/wms/area/' + areaId, + method: 'delete' + }); +} diff --git a/src/api/wms/factory.js b/src/api/wms/factory.js new file mode 100644 index 00000000..ab15038b --- /dev/null +++ b/src/api/wms/factory.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询工厂模型列表 +export function listFactory(query) { + return request({ + url: '/wms/factory/list', + method: 'get', + params: query + }); +} + +// 查询工厂模型详细 +export function getFactory(factoryId) { + return request({ + url: '/wms/factory/' + factoryId, + method: 'get' + }); +} + +// 新增工厂模型 +export function addFactory(data) { + return request({ + url: '/wms/factory', + method: 'post', + data: data + }); +} + +// 修改工厂模型 +export function updateFactory(data) { + return request({ + url: '/wms/factory', + method: 'put', + data: data + }); +} + +// 删除工厂模型 +export function delFactory(factoryId) { + return request({ + url: '/wms/factory/' + factoryId, + method: 'delete' + }); +} diff --git a/src/api/wms/location.js b/src/api/wms/location.js new file mode 100644 index 00000000..572cd4b2 --- /dev/null +++ b/src/api/wms/location.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询货位管理列表 +export function listLocation(query) { + return request({ + url: '/wms/location/list', + method: 'get', + params: query + }); +} + +// 查询货位管理详细 +export function getLocation(locationId) { + return request({ + url: '/wms/location/' + locationId, + method: 'get' + }); +} + +// 新增货位管理 +export function addLocation(data) { + return request({ + url: '/wms/location', + method: 'post', + data: data + }); +} + +// 修改货位管理 +export function updateLocation(data) { + return request({ + url: '/wms/location', + method: 'put', + data: data + }); +} + +// 删除货位管理 +export function delLocation(locationId) { + return request({ + url: '/wms/location/' + locationId, + method: 'delete' + }); +} diff --git a/src/api/wms/shifts.js b/src/api/wms/shifts.js new file mode 100644 index 00000000..f0717532 --- /dev/null +++ b/src/api/wms/shifts.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询班次管理列表 +export function listShifts(query) { + return request({ + url: '/wms/shifts/list', + method: 'get', + params: query + }); +} + +// 查询班次管理详细 +export function getShifts(shiftId) { + return request({ + url: '/wms/shifts/' + shiftId, + method: 'get' + }); +} + +// 新增班次管理 +export function addShifts(data) { + return request({ + url: '/wms/shifts', + method: 'post', + data: data + }); +} + +// 修改班次管理 +export function updateShifts(data) { + return request({ + url: '/wms/shifts', + method: 'put', + data: data + }); +} + +// 删除班次管理 +export function delShifts(shiftId) { + return request({ + url: '/wms/shifts/' + shiftId, + method: 'delete' + }); +} diff --git a/src/api/wms/team.js b/src/api/wms/team.js new file mode 100644 index 00000000..45de22a6 --- /dev/null +++ b/src/api/wms/team.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询班组列表 +export function listTeam(query) { + return request({ + url: '/wms/team/list', + method: 'get', + params: query + }); +} + +// 查询班组详细 +export function getTeam(teamId) { + return request({ + url: '/wms/team/' + teamId, + method: 'get' + }); +} + +// 新增班组 +export function addTeam(data) { + return request({ + url: '/wms/team', + method: 'post', + data: data + }); +} + +// 修改班组 +export function updateTeam(data) { + return request({ + url: '/wms/team', + method: 'put', + data: data + }); +} + +// 删除班组 +export function delTeam(teamId) { + return request({ + url: '/wms/team/' + teamId, + method: 'delete' + }); +} diff --git a/src/api/wms/warehouse.js b/src/api/wms/warehouse.js new file mode 100644 index 00000000..563d1376 --- /dev/null +++ b/src/api/wms/warehouse.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询仓库管理列表 +export function listWarehouse(query) { + return request({ + url: '/wms/warehouse/list', + method: 'get', + params: query + }); +} + +// 查询仓库管理详细 +export function getWarehouse(warehouseId) { + return request({ + url: '/wms/warehouse/' + warehouseId, + method: 'get' + }); +} + +// 新增仓库管理 +export function addWarehouse(data) { + return request({ + url: '/wms/warehouse', + method: 'post', + data: data + }); +} + +// 修改仓库管理 +export function updateWarehouse(data) { + return request({ + url: '/wms/warehouse', + method: 'put', + data: data + }); +} + +// 删除仓库管理 +export function delWarehouse(warehouseId) { + return request({ + url: '/wms/warehouse/' + warehouseId, + method: 'delete' + }); +} diff --git a/src/views/wms/area/index.vue b/src/views/wms/area/index.vue new file mode 100644 index 00000000..23521427 --- /dev/null +++ b/src/views/wms/area/index.vue @@ -0,0 +1,432 @@ + + + diff --git a/src/views/wms/factory/index.vue b/src/views/wms/factory/index.vue new file mode 100644 index 00000000..3355bdd7 --- /dev/null +++ b/src/views/wms/factory/index.vue @@ -0,0 +1,309 @@ + + + diff --git a/src/views/wms/location/index.vue b/src/views/wms/location/index.vue new file mode 100644 index 00000000..6e6075f4 --- /dev/null +++ b/src/views/wms/location/index.vue @@ -0,0 +1,564 @@ + + + diff --git a/src/views/wms/shifts/index.vue b/src/views/wms/shifts/index.vue new file mode 100644 index 00000000..39b843b9 --- /dev/null +++ b/src/views/wms/shifts/index.vue @@ -0,0 +1,346 @@ + + + diff --git a/src/views/wms/team/index.vue b/src/views/wms/team/index.vue new file mode 100644 index 00000000..e01e2ad9 --- /dev/null +++ b/src/views/wms/team/index.vue @@ -0,0 +1,383 @@ + + + diff --git a/src/views/wms/warehouse/index.vue b/src/views/wms/warehouse/index.vue new file mode 100644 index 00000000..c867f42b --- /dev/null +++ b/src/views/wms/warehouse/index.vue @@ -0,0 +1,373 @@ + + +