feat(mes): 添加定时同步可生产数量到WMS及BOM项相关标准字段
- 在main.go中添加定时任务每10分钟同步可生产数量到WMS系统 - 为BomItem实体添加relatedStandard字段及相关CRUD方法 - 为InspectionRecord实体添加reportNo、materialCode、materialName等字段 - 更新ent schema确保新字段的验证和默认值设置 - 添加必要的数据库迁移和字段映射逻辑
This commit is contained in:
@@ -72,7 +72,7 @@ const entries = [
|
||||
<span style="color:#f56c6c;font-weight:600">缺货预警({{ shortage.length }} 项物料可用量低于安全库存)</span>
|
||||
</template>
|
||||
<el-table :data="shortage" border size="small" empty-text="暂无缺货物料">
|
||||
<el-table-column prop="materialCode" label="物料编码" min-width="140" />
|
||||
<el-table-column prop="materialCode" label="图号" min-width="140" />
|
||||
<el-table-column prop="materialName" label="物料名称" min-width="150" />
|
||||
<el-table-column prop="spec" label="规格" min-width="110">
|
||||
<template #default="{ row }">{{ row.spec || '-' }}</template>
|
||||
|
||||
Reference in New Issue
Block a user