From bcc76bf7a7a3d624bf3ee939d577e9f86eaff2a8 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Thu, 11 Apr 2024 11:32:11 +0800 Subject: [PATCH] =?UTF-8?q?wms=E6=88=90=E5=93=81=E7=9B=98=E7=82=B9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/systemFinished/systemFinished.js | 44 ++ src/api/wms/outorder.js | 11 + src/views/wms/ruturn/index.vue | 46 +- src/views/wms/systemFinished/index.vue | 536 ++++++++++++++++++ .../wms/systemFinished/selectWorkOrder.vue | 149 +++++ 5 files changed, 763 insertions(+), 23 deletions(-) create mode 100644 src/api/systemFinished/systemFinished.js create mode 100644 src/views/wms/systemFinished/index.vue create mode 100644 src/views/wms/systemFinished/selectWorkOrder.vue diff --git a/src/api/systemFinished/systemFinished.js b/src/api/systemFinished/systemFinished.js new file mode 100644 index 0000000..712caf1 --- /dev/null +++ b/src/api/systemFinished/systemFinished.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品盘点单列表 +export function listSystemFinished(query) { + return request({ + url: '/wms/systemFinished/list', + method: 'get', + params: query + }); +} + +// 查询成品盘点单详细 +export function getSystemFinished(ID) { + return request({ + url: '/wms/systemFinished/' + ID, + method: 'get' + }); +} + +// 新增成品盘点单 +export function addSystemFinished(data) { + return request({ + url: '/wms/systemFinished', + method: 'post', + data: data + }); +} + +// 修改成品盘点单 +export function updateSystemFinished(data) { + return request({ + url: '/wms/systemFinished', + method: 'put', + data: data + }); +} + +// 删除成品盘点单 +export function delSystemFinished(ID) { + return request({ + url: '/wms/systemFinished/' + ID, + method: 'delete' + }); +} diff --git a/src/api/wms/outorder.js b/src/api/wms/outorder.js index 38f5bfd..2bc27eb 100644 --- a/src/api/wms/outorder.js +++ b/src/api/wms/outorder.js @@ -81,6 +81,14 @@ export function addPurchaseOrderOutbound(data) { data: data }); } +// 根据工厂获取产线 +export function getDictData(data) { + return request({ + url: '/mes/mesborad/getLineList', + method: 'get', + params: data + }); +} // 新增 export function OutboundPostingSAP(data) { return request({ @@ -88,4 +96,7 @@ export function OutboundPostingSAP(data) { method: 'post', data: data }); + + + } diff --git a/src/views/wms/ruturn/index.vue b/src/views/wms/ruturn/index.vue index 092320e..39e0fdf 100644 --- a/src/views/wms/ruturn/index.vue +++ b/src/views/wms/ruturn/index.vue @@ -209,17 +209,17 @@ - - 新增 - - + + + + + + + + + + + 修改 - - 删除 - - + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + + 盘点调整 + + + + 审核 + + + + 关闭 + + + + 打印 + + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 清空 + 仓库/位置创建 + 物资创建 + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/src/views/wms/systemFinished/selectWorkOrder.vue b/src/views/wms/systemFinished/selectWorkOrder.vue new file mode 100644 index 0000000..b85b7d4 --- /dev/null +++ b/src/views/wms/systemFinished/selectWorkOrder.vue @@ -0,0 +1,149 @@ + +