diff --git a/src/api/mes/wm/materialStock/index.ts b/src/api/mes/wm/materialStock/index.ts
new file mode 100644
index 000000000..3fee03da0
--- /dev/null
+++ b/src/api/mes/wm/materialStock/index.ts
@@ -0,0 +1,54 @@
+import request from '@/config/axios'
+
+// MES 库存台账 VO
+export interface WmMaterialStockVO {
+ id: number
+ itemTypeId: number
+ itemId: number
+ itemCode: string
+ itemName: string
+ specification: string
+ unitMeasureId: number
+ unitMeasureName: string
+ batchId: number
+ batchCode: string
+ warehouseId: number
+ warehouseName: string
+ locationId: number
+ locationName: string
+ areaId: number
+ areaName: string
+ vendorId: number
+ vendorName: string
+ workOrderId: number
+ workOrderCode: string
+ quantityOnhand: number
+ recptDate: string
+ productionDate: string
+ expireDate: string
+ frozen: boolean
+ createTime: string
+}
+
+// MES 库存台账 API
+export const WmMaterialStockApi = {
+ // 查询库存台账分页
+ getMaterialStockPage: async (params: any) => {
+ return await request.get({ url: '/mes/wm/material-stock/page', params })
+ },
+
+ // 查询库存记录详情
+ getMaterialStock: async (id: number) => {
+ return await request.get({ url: '/mes/wm/material-stock/get?id=' + id })
+ },
+
+ // 更新库存冻结状态
+ updateMaterialStockFrozen: async (data: { id: number; frozen: boolean }) => {
+ return await request.put({ url: '/mes/wm/material-stock/update-frozen', data })
+ },
+
+ // 导出库存台账 Excel
+ exportMaterialStock: async (params: any) => {
+ return await request.download({ url: '/mes/wm/material-stock/export-excel', params })
+ }
+}
diff --git a/src/views/mes/wm/materialStock/AreaDetailDialog.vue b/src/views/mes/wm/materialStock/AreaDetailDialog.vue
new file mode 100644
index 000000000..ffd2e2a09
--- /dev/null
+++ b/src/views/mes/wm/materialStock/AreaDetailDialog.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
diff --git a/src/views/mes/wm/materialStock/index.vue b/src/views/mes/wm/materialStock/index.vue
new file mode 100644
index 000000000..2d843007a
--- /dev/null
+++ b/src/views/mes/wm/materialStock/index.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+ 重置
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.areaName }}
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+