From 633452b3f5fdecf38693258e1aeee4c27654da9f Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 25 Apr 2022 02:08:26 +0800 Subject: [PATCH] =?UTF-8?q?0823=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/production/dailyPlan.js | 2 + src/api/production/pallet.js | 9 + src/views/modules/base/location.vue | 262 +++++++++++++++++++++ src/views/modules/pallet/pallet.vue | 35 ++- src/views/modules/production/dailyPlan.vue | 123 +++++++--- 5 files changed, 388 insertions(+), 43 deletions(-) create mode 100644 src/views/modules/base/location.vue diff --git a/src/api/production/dailyPlan.js b/src/api/production/dailyPlan.js index cff00b1..fcb9ccc 100644 --- a/src/api/production/dailyPlan.js +++ b/src/api/production/dailyPlan.js @@ -29,3 +29,5 @@ export const rescheduleData=data => createAPI(`/dailyPlan/rescheduleData`,'post export const changeSoScheduledListSeqNo=data => createAPI(`/dailyPlan/changeSoScheduledListSeqNo`,'post',data) //机台产能负荷数据 export const resourceCapacityLoadingData=data => createAPI(`/dailyPlan/resourceCapacityLoadingData`,'post',data) +// +export const checkScheduleLoad=data => createAPI(`/dailyPlan/checkScheduleLoad`,'post',data) diff --git a/src/api/production/pallet.js b/src/api/production/pallet.js index 816f338..f2fa29f 100644 --- a/src/api/production/pallet.js +++ b/src/api/production/pallet.js @@ -6,3 +6,12 @@ export const getPalletData=data => createAPI(`/pallet/getPalletData`,'post',dat export const savePallet=data => createAPI(`/pallet/savePallet`,'post',data) //保存栈板数据 export const savePalletAdds=data => createAPI(`/pallet/savePalletAdds`,'post',data) + +export const printPallet=data => createAPI(`/pallet/printPallet`,'post',data) + +//获取位置数据 +export const getLocationData=data => createAPI(`/pallet/getLocationData`,'post',data) +//保存位置数据 +export const saveLocationData=data => createAPI(`/pallet/saveLocationData`,'post',data) +//删除位置数据 +export const deleteLocationData=data => createAPI(`/pallet/deleteLocationData`,'post',data) diff --git a/src/views/modules/base/location.vue b/src/views/modules/base/location.vue new file mode 100644 index 0000000..b25c90a --- /dev/null +++ b/src/views/modules/base/location.vue @@ -0,0 +1,262 @@ + + + + + diff --git a/src/views/modules/pallet/pallet.vue b/src/views/modules/pallet/pallet.vue index 6030137..bb181d8 100644 --- a/src/views/modules/pallet/pallet.vue +++ b/src/views/modules/pallet/pallet.vue @@ -45,7 +45,7 @@ label="操作"> --> - + @@ -143,7 +143,8 @@