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 @@
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+ -
+
+
{{ formatStockCount(row.count) }}
@@ -124,12 +156,13 @@
-/** tab 切换 */
-const activeName = ref('')
-const handleTabClick = (tab: TabsPaneContext) => {
- queryParams.categoryType = tab.paneName ? Number(tab.paneName) : undefined
- handleQuery()
+