From 08ab0e2dc65bab1f35570d740469748d72c0a1a3 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 11 Jul 2023 11:12:18 +0800 Subject: [PATCH] =?UTF-8?q?wms=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/bg.js | 44 +++ src/api/mes/copy1.js | 44 +++ src/api/mes/order.js | 44 +++ src/api/wms/Inventory.js | 44 +++ src/api/wms/Inventoryorder.js | 44 +++ src/api/wms/chargeorder.js | 44 +++ src/api/wms/embryo.js | 44 +++ src/api/wms/order.js | 44 +++ src/api/wms/outorder.js | 44 +++ src/api/wms/powderOrder.js | 62 ++++ src/views/mes/bg/index.vue | 381 ++++++++++++++++++++ src/views/mes/copy1/index.vue | 305 ++++++++++++++++ src/views/mes/order/index.vue | 401 +++++++++++++++++++++ src/views/wms/Inventory/index.vue | 449 ++++++++++++++++++++++++ src/views/wms/Inventoryorder/index.vue | 436 +++++++++++++++++++++++ src/views/wms/chargeorder/index.vue | 360 +++++++++++++++++++ src/views/wms/embryo/index.vue | 458 ++++++++++++++++++++++++ src/views/wms/order/index.vue | 462 +++++++++++++++++++++++++ src/views/wms/outorder/index.vue | 459 ++++++++++++++++++++++++ src/views/wms/powderOrder/index.vue | 430 +++++++++++++++++++++++ src/views/wms/powderOrderCon/index.vue | 379 ++++++++++++++++++++ 21 files changed, 4978 insertions(+) create mode 100644 src/api/mes/bg.js create mode 100644 src/api/mes/copy1.js create mode 100644 src/api/mes/order.js create mode 100644 src/api/wms/Inventory.js create mode 100644 src/api/wms/Inventoryorder.js create mode 100644 src/api/wms/chargeorder.js create mode 100644 src/api/wms/embryo.js create mode 100644 src/api/wms/order.js create mode 100644 src/api/wms/outorder.js create mode 100644 src/api/wms/powderOrder.js create mode 100644 src/views/mes/bg/index.vue create mode 100644 src/views/mes/copy1/index.vue create mode 100644 src/views/mes/order/index.vue create mode 100644 src/views/wms/Inventory/index.vue create mode 100644 src/views/wms/Inventoryorder/index.vue create mode 100644 src/views/wms/chargeorder/index.vue create mode 100644 src/views/wms/embryo/index.vue create mode 100644 src/views/wms/order/index.vue create mode 100644 src/views/wms/outorder/index.vue create mode 100644 src/views/wms/powderOrder/index.vue create mode 100644 src/views/wms/powderOrderCon/index.vue diff --git a/src/api/mes/bg.js b/src/api/mes/bg.js new file mode 100644 index 00000000..d3f37fab --- /dev/null +++ b/src/api/mes/bg.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询生产报工列表 +export function listBg(query) { + return request({ + url: '/mes/bg/list', + method: 'get', + params: query + }); +} + +// 查询生产报工详细 +export function getBg(ID) { + return request({ + url: '/mes/bg/' + ID, + method: 'get' + }); +} + +// 新增生产报工 +export function addBg(data) { + return request({ + url: '/mes/bg', + method: 'post', + data: data + }); +} + +// 修改生产报工 +export function updateBg(data) { + return request({ + url: '/mes/bg', + method: 'put', + data: data + }); +} + +// 删除生产报工 +export function delBg(ID) { + return request({ + url: '/mes/bg/' + ID, + method: 'delete' + }); +} diff --git a/src/api/mes/copy1.js b/src/api/mes/copy1.js new file mode 100644 index 00000000..2f2ed444 --- /dev/null +++ b/src/api/mes/copy1.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询车间/产线管理列表 +export function listCopy1(query) { + return request({ + url: '/mes/copy1/list', + method: 'get', + params: query + }); +} + +// 查询车间/产线管理详细 +export function getCopy1(id) { + return request({ + url: '/mes/copy1/' + id, + method: 'get' + }); +} + +// 新增车间/产线管理 +export function addCopy1(data) { + return request({ + url: '/mes/copy1', + method: 'post', + data: data + }); +} + +// 修改车间/产线管理 +export function updateCopy1(data) { + return request({ + url: '/mes/copy1', + method: 'put', + data: data + }); +} + +// 删除车间/产线管理 +export function delCopy1(id) { + return request({ + url: '/mes/copy1/' + id, + method: 'delete' + }); +} diff --git a/src/api/mes/order.js b/src/api/mes/order.js new file mode 100644 index 00000000..f4c92470 --- /dev/null +++ b/src/api/mes/order.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询粉料采购计划列表 +export function listOrder(query) { + return request({ + url: '/mes/order/list', + method: 'get', + params: query + }); +} + +// 查询粉料采购计划详细 +export function getOrder(ID) { + return request({ + url: '/mes/order/' + ID, + method: 'get' + }); +} + +// 新增粉料采购计划 +export function addOrder(data) { + return request({ + url: '/mes/order', + method: 'post', + data: data + }); +} + +// 修改粉料采购计划 +export function updateOrder(data) { + return request({ + url: '/mes/order', + method: 'put', + data: data + }); +} + +// 删除粉料采购计划 +export function delOrder(ID) { + return request({ + url: '/mes/order/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/Inventory.js b/src/api/wms/Inventory.js new file mode 100644 index 00000000..322042fb --- /dev/null +++ b/src/api/wms/Inventory.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询白胚盘点单列表 +export function listInventory(query) { + return request({ + url: '/wms/Inventory/list', + method: 'get', + params: query + }); +} + +// 查询白胚盘点单详细 +export function getInventory(ID) { + return request({ + url: '/wms/Inventory/' + ID, + method: 'get' + }); +} + +// 新增白胚盘点单 +export function addInventory(data) { + return request({ + url: '/wms/Inventory', + method: 'post', + data: data + }); +} + +// 修改白胚盘点单 +export function updateInventory(data) { + return request({ + url: '/wms/Inventory', + method: 'put', + data: data + }); +} + +// 删除白胚盘点单 +export function delInventory(ID) { + return request({ + url: '/wms/Inventory/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/Inventoryorder.js b/src/api/wms/Inventoryorder.js new file mode 100644 index 00000000..d391d6d0 --- /dev/null +++ b/src/api/wms/Inventoryorder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询包材盘点单列表 +export function listInventoryorder(query) { + return request({ + url: '/wms/Inventoryorder/list', + method: 'get', + params: query + }); +} + +// 查询包材盘点单详细 +export function getInventoryorder(ID) { + return request({ + url: '/wms/Inventoryorder/' + ID, + method: 'get' + }); +} + +// 新增包材盘点单 +export function addInventoryorder(data) { + return request({ + url: '/wms/Inventoryorder', + method: 'post', + data: data + }); +} + +// 修改包材盘点单 +export function updateInventoryorder(data) { + return request({ + url: '/wms/Inventoryorder', + method: 'put', + data: data + }); +} + +// 删除包材盘点单 +export function delInventoryorder(ID) { + return request({ + url: '/wms/Inventoryorder/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/chargeorder.js b/src/api/wms/chargeorder.js new file mode 100644 index 00000000..c26b1aa0 --- /dev/null +++ b/src/api/wms/chargeorder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询粉料配料列表 +export function listChargeorder(query) { + return request({ + url: '/wms/chargeorder/list', + method: 'get', + params: query + }); +} + +// 查询粉料配料详细 +export function getChargeorder(ID) { + return request({ + url: '/wms/chargeorder/' + ID, + method: 'get' + }); +} + +// 新增粉料配料 +export function addChargeorder(data) { + return request({ + url: '/wms/chargeorder', + method: 'post', + data: data + }); +} + +// 修改粉料配料 +export function updateChargeorder(data) { + return request({ + url: '/wms/chargeorder', + method: 'put', + data: data + }); +} + +// 删除粉料配料 +export function delChargeorder(ID) { + return request({ + url: '/wms/chargeorder/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/embryo.js b/src/api/wms/embryo.js new file mode 100644 index 00000000..b18270e1 --- /dev/null +++ b/src/api/wms/embryo.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询白胚出库单列表 +export function listEmbryo(query) { + return request({ + url: '/wms/embryo/list', + method: 'get', + params: query + }); +} + +// 查询白胚出库单详细 +export function getEmbryo(ID) { + return request({ + url: '/wms/embryo/' + ID, + method: 'get' + }); +} + +// 新增白胚出库单 +export function addEmbryo(data) { + return request({ + url: '/wms/embryo', + method: 'post', + data: data + }); +} + +// 修改白胚出库单 +export function updateEmbryo(data) { + return request({ + url: '/wms/embryo', + method: 'put', + data: data + }); +} + +// 删除白胚出库单 +export function delEmbryo(ID) { + return request({ + url: '/wms/embryo/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/order.js b/src/api/wms/order.js new file mode 100644 index 00000000..8ef3bb98 --- /dev/null +++ b/src/api/wms/order.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询包材采购单列表 +export function listOrder(query) { + return request({ + url: '/wms/order/list', + method: 'get', + params: query + }); +} + +// 查询包材采购单详细 +export function getOrder(ID) { + return request({ + url: '/wms/order/' + ID, + method: 'get' + }); +} + +// 新增包材采购单 +export function addOrder(data) { + return request({ + url: '/wms/order', + method: 'post', + data: data + }); +} + +// 修改包材采购单 +export function updateOrder(data) { + return request({ + url: '/wms/order', + method: 'put', + data: data + }); +} + +// 删除包材采购单 +export function delOrder(ID) { + return request({ + url: '/wms/order/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/outorder.js b/src/api/wms/outorder.js new file mode 100644 index 00000000..b5cdea12 --- /dev/null +++ b/src/api/wms/outorder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询包材出库单列表 +export function listOutorder(query) { + return request({ + url: '/wms/outorder/list', + method: 'get', + params: query + }); +} + +// 查询包材出库单详细 +export function getOutorder(ID) { + return request({ + url: '/wms/outorder/' + ID, + method: 'get' + }); +} + +// 新增包材出库单 +export function addOutorder(data) { + return request({ + url: '/wms/outorder', + method: 'post', + data: data + }); +} + +// 修改包材出库单 +export function updateOutorder(data) { + return request({ + url: '/wms/outorder', + method: 'put', + data: data + }); +} + +// 删除包材出库单 +export function delOutorder(ID) { + return request({ + url: '/wms/outorder/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/powderOrder.js b/src/api/wms/powderOrder.js new file mode 100644 index 00000000..a1e266c0 --- /dev/null +++ b/src/api/wms/powderOrder.js @@ -0,0 +1,62 @@ +import request from '@/utils/request' + +// 查询粉料采购计划列表 +export function listPowderOrder(query) { + return request({ + url: '/wms/powderOrder/list', + method: 'get', + params: query + }); +} + +// 查询粉料采购计划详细 +export function getPowderOrder(ID) { + return request({ + url: '/wms/powderOrder/' + ID, + method: 'get' + }); +} + +// 新增粉料采购计划 +export function addPowderOrder(data) { + return request({ + url: '/wms/powderOrder', + method: 'post', + data: data + }); +} + +// 修改粉料采购计划 +export function updatePowderOrder(data) { + return request({ + url: '/wms/powderOrder', + method: 'put', + data: data + }); +} + +// 删除粉料采购计划 +export function delPowderOrder(ID) { + return request({ + url: '/wms/powderOrder/' + ID, + method: 'delete' + }); +} + +// 确认收货 +export function confirmReceipt(data) { + return request({ + url: '/wms/powderOrder/confirmReceipt', + method: 'post', + data: data + }); + +} +// 确认收货 +export function powderReturn(data) { + return request({ + url: '/wms/powderOrder/powderReturn', + method: 'post', + data: data + }); +} diff --git a/src/views/mes/bg/index.vue b/src/views/mes/bg/index.vue new file mode 100644 index 00000000..4fcaac8f --- /dev/null +++ b/src/views/mes/bg/index.vue @@ -0,0 +1,381 @@ + + + diff --git a/src/views/mes/copy1/index.vue b/src/views/mes/copy1/index.vue new file mode 100644 index 00000000..652c5334 --- /dev/null +++ b/src/views/mes/copy1/index.vue @@ -0,0 +1,305 @@ + + + diff --git a/src/views/mes/order/index.vue b/src/views/mes/order/index.vue new file mode 100644 index 00000000..ae632987 --- /dev/null +++ b/src/views/mes/order/index.vue @@ -0,0 +1,401 @@ + + + diff --git a/src/views/wms/Inventory/index.vue b/src/views/wms/Inventory/index.vue new file mode 100644 index 00000000..ec3939d5 --- /dev/null +++ b/src/views/wms/Inventory/index.vue @@ -0,0 +1,449 @@ + + + diff --git a/src/views/wms/Inventoryorder/index.vue b/src/views/wms/Inventoryorder/index.vue new file mode 100644 index 00000000..34d08715 --- /dev/null +++ b/src/views/wms/Inventoryorder/index.vue @@ -0,0 +1,436 @@ + + + diff --git a/src/views/wms/chargeorder/index.vue b/src/views/wms/chargeorder/index.vue new file mode 100644 index 00000000..070e6b11 --- /dev/null +++ b/src/views/wms/chargeorder/index.vue @@ -0,0 +1,360 @@ + + + diff --git a/src/views/wms/embryo/index.vue b/src/views/wms/embryo/index.vue new file mode 100644 index 00000000..57cad4b5 --- /dev/null +++ b/src/views/wms/embryo/index.vue @@ -0,0 +1,458 @@ + + + diff --git a/src/views/wms/order/index.vue b/src/views/wms/order/index.vue new file mode 100644 index 00000000..b85cb3b9 --- /dev/null +++ b/src/views/wms/order/index.vue @@ -0,0 +1,462 @@ + + + diff --git a/src/views/wms/outorder/index.vue b/src/views/wms/outorder/index.vue new file mode 100644 index 00000000..9b6c9473 --- /dev/null +++ b/src/views/wms/outorder/index.vue @@ -0,0 +1,459 @@ + + + diff --git a/src/views/wms/powderOrder/index.vue b/src/views/wms/powderOrder/index.vue new file mode 100644 index 00000000..83455fe2 --- /dev/null +++ b/src/views/wms/powderOrder/index.vue @@ -0,0 +1,430 @@ + + + diff --git a/src/views/wms/powderOrderCon/index.vue b/src/views/wms/powderOrderCon/index.vue new file mode 100644 index 00000000..799a52f8 --- /dev/null +++ b/src/views/wms/powderOrderCon/index.vue @@ -0,0 +1,379 @@ + + +