feat: 新增工序签字功能,移除移料指令模块

新增操作工/检验员工序签字功能,支持工艺步骤配置签字要求;删除移料指令相关代码,将移料页签重命名为产线点位(上料/下料);新增成品入库功能及相关权限;优化备料单状态、质量状态逻辑,新增批次序号字段;修复AGV取消后备料单回退状态问题。
This commit is contained in:
SunYF
2026-10-05 20:15:38 +08:00
parent c33acab9c8
commit f1cf57e9b2
181 changed files with 9785 additions and 9699 deletions
@@ -129,6 +129,18 @@
<el-tooltip content="开启后,报工前须完成该步骤的检测确认" placement="top"><span style="margin-left:4px;color:#909399;font-size:12px">?</span></el-tooltip>
</template>
</el-table-column>
<el-table-column label="操作工签字" width="100" align="center">
<template #default="{ row }">
<el-switch v-model="row.needOperatorSign" />
<el-tooltip content="开启后,操作工报工前须先签字确认该步骤" placement="top"><span style="margin-left:4px;color:#909399;font-size:12px">?</span></el-tooltip>
</template>
</el-table-column>
<el-table-column label="检验员签字" width="100" align="center">
<template #default="{ row }">
<el-switch v-model="row.needInspectorSign" />
<el-tooltip content="开启后,该步骤须检验员签字确认(合格)方可流转" placement="top"><span style="margin-left:4px;color:#909399;font-size:12px">?</span></el-tooltip>
</template>
</el-table-column>
<el-table-column label="备注" min-width="120">
<template #default="{ row }"><el-input v-model="row.remark" placeholder="备注(可空)" /></template>
</el-table-column>
@@ -334,6 +346,8 @@ function blankStep(seq) {
collectType: 'MANUAL',
isTorque: false,
needCheck: false,
needOperatorSign: false,
needInspectorSign: false,
remark: '',
attachment: [],
criteria: []
@@ -470,6 +484,8 @@ function openFlow(row) {
collectType: s.collectType || 'MANUAL',
isTorque: !!s.isTorque,
needCheck: !!s.needCheck,
needOperatorSign: !!s.needOperatorSign,
needInspectorSign: !!s.needInspectorSign,
remark: s.remark || '',
attachment: (s.attachment || []).map((a) => ({ ...a })),
criteria: (s.criteria || []).map((c) => ({ ...c }))
@@ -560,6 +576,8 @@ async function saveFlow() {
collectType: st.collectType,
isTorque: st.isTorque,
needCheck: st.needCheck,
needOperatorSign: st.needOperatorSign,
needInspectorSign: st.needInspectorSign,
remark: st.remark,
attachment: st.attachment || [],
criteria: st.criteria