From c74221914182bb11e8e220b2d69a37e4ffdb4ca8 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 16 Jun 2026 13:36:53 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=BA=93=E5=AD=98=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/erp/stock/stock/index.ts | 4 ++ src/locales/en.ts | 4 ++ src/locales/zh-CN.ts | 4 ++ src/views/erp/stock/stock/index.vue | 107 +++++++++++++++++++++------- 4 files changed, 95 insertions(+), 24 deletions(-) diff --git a/src/api/erp/stock/stock/index.ts b/src/api/erp/stock/stock/index.ts index b7795a49..a9dd22b4 100644 --- a/src/api/erp/stock/stock/index.ts +++ b/src/api/erp/stock/stock/index.ts @@ -18,6 +18,10 @@ export interface StockVO { warehouseName?: string areaId?: number areaName?: string + // 包装/换算规则 + packagingRule?: string + // 库存展示 + stockDisplay?: string // 库存数量 count: number latestInTime?: number | string diff --git a/src/locales/en.ts b/src/locales/en.ts index baa72088..bd8c3048 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -348,12 +348,16 @@ code: 'Material Code', name: 'Material Name', category: 'Material Category', + subCategory: 'Material Subcategory', area: 'Area', + packagingRule: 'Packaging / Conversion Rule', + stockDisplay: 'Stock Display', unit: 'Unit', count: 'Base Quantity', latestInTime: 'Latest Inbound', latestOutTime: 'Latest Outbound', placeholderProduct: 'Please select product', + placeholderCategory: 'Please select material category', placeholderWarehouse: 'Please select warehouse', exportName: 'Product Stock.xls' }, diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 55b28dc1..e8509e43 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -348,12 +348,16 @@ code: '物料编码', name: '物料名称', category: '物料大类', + subCategory: '物料小类', area: '库区', + packagingRule: '包装/换算规则', + stockDisplay: '库存展示', unit: '单位', count: '基本数量', latestInTime: '最近入库', latestOutTime: '最近出库', placeholderProduct: '请选择产品', + placeholderCategory: '请选择物料大类', placeholderWarehouse: '请选择仓库', exportName: '产品库存.xls' }, diff --git a/src/views/erp/stock/stock/index.vue b/src/views/erp/stock/stock/index.vue index f851338e..1c7a16e6 100644 --- a/src/views/erp/stock/stock/index.vue +++ b/src/views/erp/stock/stock/index.vue @@ -27,6 +27,22 @@ + + + + + + - - - - + + + + + + + +