diff --git a/src/api/inout/splitInv.js b/src/api/inout/splitInv.js index e35f47d6..c72de19f 100644 --- a/src/api/inout/splitInv.js +++ b/src/api/inout/splitInv.js @@ -37,3 +37,12 @@ export function exportExcel(query) { params: query }); } + + +export function getStockList(query) { + return axios({ + url: "/udiwms/ioSplit/inv/getCount", + method: "get", + params: query + }); +} diff --git a/src/views/collect/CollectOrderTabs.vue b/src/views/collect/CollectOrderTabs.vue index e55e2d6f..8131b662 100644 --- a/src/views/collect/CollectOrderTabs.vue +++ b/src/views/collect/CollectOrderTabs.vue @@ -114,6 +114,11 @@ 工位库存 + + + + 库存预览 + 拆零管理 @@ -337,6 +342,8 @@ import IocCollectOrderVerify from '@/views/collect/IocCollectOrderVerify.vue' import IoSplitFifoRemove from '@/views/collect/IoSplitFifoRemove.vue' import IoSplitCreateOrder from '@/views/collect/IoCreateOrder.vue' import IoFullCreateOrder from '@/views/collect/IoCreateOrder.vue' +import IosplitFifoStock from '@/views/collect/IosplitFifoStock.vue' + // 导入器械相关工位上货页面 import DevicesIoCreateOrderOut from '@/views/collect/device/DevicesIoCreateOrder.vue' @@ -377,6 +384,7 @@ export default { IocCollectOrderVerify, IoSplitFifoRemove, IoSplitCreateOrder, + IosplitFifoStock, //器械页面 DevicesDealOrder, @@ -584,6 +592,15 @@ export default { fifoSplitTag: 2 } }, + { + number: 17, + title: '库存预览', + name: 'IosplitFifoStock', + component: IosplitFifoStock, + // 假设你需要传递的参数 + componentProps: { + } + }, //器械页面 { diff --git a/src/views/collect/IoSplitFiFoProgress.vue b/src/views/collect/IoSplitFiFoProgress.vue index 793c040c..60ee329e 100644 --- a/src/views/collect/IoSplitFiFoProgress.vue +++ b/src/views/collect/IoSplitFiFoProgress.vue @@ -50,7 +50,7 @@ :text-inside="true" :percentage="calculatePercentage(item.splitStock, item.splitTotal)" :color="getProgressColor(item.splitStock, item.splitTotal)" - :stroke-width="12" + :stroke-width="20" > @@ -78,10 +78,10 @@ @@ -327,7 +332,7 @@ export default { /* 大屏模式下的额外样式 */ @media screen and (min-width: 1920px) { .dashboard-container { - padding: 30px; + padding: 10px; } .product-card { diff --git a/src/views/collect/IosplitFifoStock.vue b/src/views/collect/IosplitFifoStock.vue new file mode 100644 index 00000000..178934e1 --- /dev/null +++ b/src/views/collect/IosplitFifoStock.vue @@ -0,0 +1,344 @@ + + + + + +