feat: 新增产品工艺管理与工序审核功能

- 新增产品工艺(product_process)及明细(product_process_item)数据模型
- 新增工序审核开关(need_audit)与审核角色(audit_role)字段
- 新增待审核签字页面与路由
- 优化 WMS/MES 接口交互,增加业务错误处理与友好提示
- 补充库存过滤逻辑,避免返回已出库 SN 数据
- 调整默认查询时间范围为近一个月,优化用户体验
This commit is contained in:
SunYF
2026-10-09 13:46:33 +08:00
parent e2f1dacf76
commit b032f47fc7
95 changed files with 10546 additions and 1457 deletions
+2 -2
View File
@@ -279,7 +279,7 @@ onActivated(() => {
<div>
<div style="font-weight:600;margin-bottom:6px">批次件导入(序列号=否 的物料)</div>
<div style="margin-bottom:8px;color:#909399;font-size:12px">
列头顺序(首行忽略)<b>图号 | 批次号(可空自动生成) | 数量 | 生产日期 | 供应商 | 区域 | 备注</b>
列头顺序(首行忽略)<b>图号 | 批次号(可空自动生成) | 数量 | 生产日期 | 供应商 | 区域 | 架 | 层 | 位 | 备注 | 检测单号 | 产品工号 | 归属类型 | 归属编号</b>(架/层/位/备注/检测单号/产品工号/归属 可缺列,缺则留空)
</div>
<el-upload ref="batchUploadRef" :auto-upload="false" accept=".xlsx" :limit="1" drag
:on-exceed="(f) => onExceed(f, 'batch')">
@@ -293,7 +293,7 @@ onActivated(() => {
<div>
<div style="font-weight:600;margin-bottom:6px">SN 件导入(序列号=是 的物料)</div>
<div style="margin-bottom:8px;color:#909399;font-size:12px">
列头顺序(首行忽略)<b>图号 | SN | 区域 | 生产日期 | 供应商</b>
列头顺序(首行忽略)<b>图号 | SN | 区域 | 生产日期 | 供应商 | 架 | 层 | 位 | 备注 | 检测单号 | 产品工号 | 归属类型 | 归属编号</b>(架/层/位/备注/检测单号/产品工号/归属 可缺列,缺则留空)
</div>
<el-upload ref="snUploadRef" :auto-upload="false" accept=".xlsx" :limit="1" drag
:on-exceed="(f) => onExceed(f, 'sn')">