From d44dbe303485c3aad66f0bdc349ead32c6b4522e Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 18 Jun 2026 15:35:52 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=BA=93=E5=AD=98=E6=80=BB?= =?UTF-8?q?=E8=A7=88=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 63 +++ src/locales/zh-CN.ts | 63 +++ src/views/erp/stock/overview/index.vue | 585 +++++++++++++++++++++++++ 3 files changed, 711 insertions(+) create mode 100644 src/views/erp/stock/overview/index.vue diff --git a/src/locales/en.ts b/src/locales/en.ts index 23ae1a2c..e0660d88 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -345,6 +345,69 @@ validatorAllowBatchMixRequired: 'Allow batch mix is required', validatorStatusRequired: 'Status is required' }, + Overview: { + materialCategory: 'Material Category', + location: 'Location', + dateRange: 'Date Range', + keyword: 'Keyword', + placeholderKeyword: 'Material code/name/specification', + stockDetail: 'Stock Detail', + recentRecord: 'Recent Stock Records', + more: 'More', + time: 'Time', + material: 'Material', + latestChangeTime: 'Latest Change Time', + stockIn: 'Inbound', + stockOut: 'Outbound', + cards: { + finishedGoods: { + title: 'Finished Goods Stock', + line1: 'SKU: 36', + line2: 'Stock Summary: 128 pallets 42 packs 560 pcs', + line3: 'Completed Inbound Today: 12 pallets 8 packs', + tip: 'Converted by product packaging scheme' + }, + rawMaterial: { + title: 'Raw Material Stock', + line1: 'Materials: 24 types', + line2: 'Weight: 18.6 tons', + line3: 'Liquid: 1,250 L', + line4: 'Pack/Box: 86 drums / 320 packs', + tip: 'Summarized by material measurement mode' + }, + sparePart: { + title: 'Spare Parts Stock', + line1: 'Spare Parts: 128 types', + line2: 'Low Stock: 8 items', + line3: 'Common Parts: 36 items', + line4: 'Sample Stock: cable ties 9 packs 70 pcs', + tip: 'Stock is stored by minimum unit with auxiliary conversion' + }, + todayIn: { + title: 'Inbound Today', + line1: 'Inbound Orders: 18', + line2: 'Detail Lines: 46', + line3: 'Finished Goods: 12 pallets 8 packs', + line4: 'Raw Materials: 3 pallets / 1.2 tons', + line5: 'Spare Parts: 6 packs / 120 pcs' + }, + todayOut: { + title: 'Outbound Today', + line1: 'Outbound Orders: 15', + line2: 'Detail Lines: 38', + line3: 'Raw Material Issue: 820 kg', + line4: 'Spare Parts Issue: 45 pcs', + line5: 'Finished Goods Shipment: 6 pallets 20 packs' + }, + warning: { + title: 'Stock Alerts', + line1: 'Alerts: 18', + line2: 'Raw Materials: 5', + line3: 'Spare Parts: 10', + line4: 'Finished Goods: 3' + } + } + }, Stock: { product: 'Product', warehouse: 'Warehouse', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 07af80fc..f1abee0e 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -345,6 +345,69 @@ validatorAllowBatchMixRequired: '是否允许批次混放不能为空', validatorStatusRequired: '开启状态不能为空' }, + Overview: { + materialCategory: '物料大类', + location: '库位', + dateRange: '日期范围', + keyword: '关键字', + placeholderKeyword: '物料编码/名称/规格型号', + stockDetail: '库存明细', + recentRecord: '最近库存流水', + more: '更多', + time: '时间', + material: '物料', + latestChangeTime: '最近变动时间', + stockIn: '入库', + stockOut: '出库', + cards: { + finishedGoods: { + title: '产成品库存', + line1: 'SKU:36', + line2: '库存摘要:128托 42包 560个', + line3: '今日完工入库:12托 8包', + tip: '按产品包装方案换算展示' + }, + rawMaterial: { + title: '原材料库存', + line1: '物料:24种', + line2: '重量类:18.6吨', + line3: '液体类:1,250L', + line4: '包/箱类:86桶 / 320包', + tip: '按物料档案计量方式分别汇总' + }, + sparePart: { + title: '备件库存', + line1: '备件:128种', + line2: '低库存:8项', + line3: '常用件:36项', + line4: '示例库存:扎带 9包70根', + tip: '库存按最小单位保存,页面辅助换算展示' + }, + todayIn: { + title: '今日入库', + line1: '入库单:18张', + line2: '明细行:46行', + line3: '产成品:12托8包', + line4: '原材料:3托 / 1.2吨', + line5: '备件:6包 / 120个' + }, + todayOut: { + title: '今日出库', + line1: '出库单:15张', + line2: '明细行:38行', + line3: '原材料领用:820kg', + line4: '备件领用:45个', + line5: '产成品发货:6托20包' + }, + warning: { + title: '库存预警', + line1: '预警:18条', + line2: '原材料:5', + line3: '备件:10', + line4: '产成品:3' + } + } + }, Stock: { product: '产品', warehouse: '仓库', diff --git a/src/views/erp/stock/overview/index.vue b/src/views/erp/stock/overview/index.vue new file mode 100644 index 00000000..69e4c480 --- /dev/null +++ b/src/views/erp/stock/overview/index.vue @@ -0,0 +1,585 @@ + + + + +