feat: 核心业务实体扩充(混产模板/产品BOM/试制记录)、WMS 库存检验增强与前端通用能力

- MES 新增实体:混产模板、产品BOM、产品工艺物料、试制记录(schema + ent 生成码 + logic/handler/前端页)
- WMS 实体增强:检验记录、库存、半成品重构;新增序列号库存与短缺代报
- AGV 与产能:AGV 手动点位与链路、物料守卫、短缺预测、原因字典
- 前端通用能力:新增下一步引导组件 NextStepBar,统一帮助文档/布局/请求拦截与操作列
- 工位终端:界面与各 handler 调整(api/store/绑定/PLC/拧紧/上报等)
- 配置与文档:更新 mes-api.yaml、WMS README 及案例/产线API/问题记录/项目说明/流程说明
This commit is contained in:
SunYF
2026-11-15 12:17:39 +08:00
parent 7e8066ab66
commit 1e92b2a596
221 changed files with 26421 additions and 2230 deletions
@@ -44,9 +44,15 @@
<b class="todo-num" :class="{ hot: t.count > 0 }">{{ t.count }}</b>
</button>
<span class="todo-spacer"></span>
<span class="remote-tip" title="手机 / 平板扫码枪通过浏览器访问本终端时,可用本机注入方式把扫码内容填入当前光标输入框">远程访问模式:手机 / 平板扫码枪可用本机注入方式输入</span>
</div>
<!-- 工位未确定:不发请求,直接告诉操作工怎么处理 -->
<transition name="fade">
<div v-if="state.lastError" class="station-error-banner">
⚠ {{ state.lastError }}(本终端暂不加载任务,请点右上角「退出」重新登录并选好工位)
</div>
</transition>
<!-- 停单横幅(醒目置顶:已停止接单 + 原因,恢复接单即关闭) -->
<transition name="fade">
<div v-if="paused" class="pause-banner">
@@ -214,7 +220,6 @@ import {
missingChecks,
missingSteps,
missingTorqueSteps,
myDocks,
loadConfig,
loadPoints,
loadStationState,
@@ -239,9 +244,6 @@ const workRef = ref()
const wlRef = ref()
const clock = ref('')
const stationName = computed(() => state.task?.stationName || '')
// 2026-11-09 拍板:虚拟/无接驳台工位(本工位无 DOCK 点位)隐藏物料/叫料页签——
// 无接驳台即无叫料/退料/托盘回库入口;上线建档/下线完工/作业报工不受影响
const hasDock = computed(() => myDocks.value.length > 0)
// ---------- 待办状态条 / 页签红点(数量与状态条同源) ----------
// 6 个页签的职责说明(中文,鼠标悬停显示)
@@ -664,6 +666,14 @@ onBeforeUnmount(() => {
font-weight: 700;
letter-spacing: 1px;
}
.station-error-banner {
background: #fdf6ec;
color: #e6a23c;
text-align: center;
padding: 12px;
font-size: 18px;
font-weight: 700;
}
.main-tabs {
margin: 12px;
min-height: calc(100vh - 140px);
@@ -735,10 +745,6 @@ onBeforeUnmount(() => {
.todo-spacer {
flex: 1;
}
.remote-tip {
font-size: 13px;
color: #909399;
}
.tab-label {
font-size: 14px;
}