feat: 完成多模块迭代更新

- 新增过程巡检按步骤上报、数量不符上报、工位退料功能
- 增加工单工程编号三级归属字段
- 新增物料安全库存与缺货预警
- 新增附件管理、退库单管理模块
- 优化生产看板展示逻辑与前端页面文案
- 清理冗余的工艺路线相关代码与备份文件
This commit is contained in:
SunYF
2026-09-15 16:37:39 +08:00
parent 951f3dfecd
commit 4a5e2d7bac
494 changed files with 24702 additions and 139223 deletions
@@ -58,15 +58,6 @@ export const orderNos = computed(() => (Array.isArray(state.task?.orderNos) ? st
export const flowName = computed(() => state.task?.flow?.name || '-')
export const flowActive = computed(() => !!state.task?.flowActive)
// 本工位所属路线段(工单路线快照,段=一工艺流程图 + 一组并行工位)
export const currentSegment = computed(() => state.task?.segment || null)
export const segmentText = computed(() => {
const s = currentSegment.value
if (!s || !s.seq) return '未排路线段'
const st = Array.isArray(s.stations) ? s.stations.join(' / ') : '-'
return `${s.seq} 段 · 并行工位 ${st}`
})
// 本工位的产线点位台账(唯一事实源:本工位当前是否有工件)
export const myPoint = computed(() =>
state.points.find((p) => p.pointType === 'STATION' && String(p.pointNo) === String(state.stationNo))