feat&fix: 完善半成品/序列号闭环流转逻辑
1. 调整物料编码字段为可空,优化注释说明 2. 修复Vite构建自动清空产物目录冲突问题 3. 优化前端提示文案与表单占位符 4. 为各前端项目添加内联SVG图标 5. 重构MES半成品流转逻辑,不再静默吞掉WMS错误并记录日志 6. 生成并添加空的WMS客户端静态文件 7. 完善Ent ORM模型的空值支持与查询谓词 8. 优化半成品入库接口,支持doneProcessCodes数组格式,新增SN反查物料编码逻辑 9. 更新帮助文档与操作手册
This commit is contained in:
@@ -20,7 +20,7 @@ onMounted(() => nextTick(() => scanRef.value?.focus()))
|
||||
async function submitSingle() {
|
||||
const id = targetId.value.trim()
|
||||
if (!id) {
|
||||
ElMessage.warning('请扫入或输入目标编号')
|
||||
ElMessage.warning('请扫入或输入批次号或 SN 序列号')
|
||||
return
|
||||
}
|
||||
if (!inspector.value.trim()) {
|
||||
|
||||
@@ -133,7 +133,7 @@ function search() {
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="已完成工序">
|
||||
<el-input v-model="inForm.completedProcess" placeholder="如:135(可空)" clearable />
|
||||
<el-input v-model="inForm.completedProcess" placeholder="如:1,3,5(可空)" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="工单号">
|
||||
<el-input v-model="inForm.orderNo" placeholder="来源工单号(可空)" clearable />
|
||||
|
||||
@@ -183,7 +183,7 @@ async function loadHistory() {
|
||||
style="margin-bottom:10px" />
|
||||
<el-table :data="finishResult.diffs || []" border size="small"
|
||||
empty-text="无差异,账实相符">
|
||||
<el-table-column prop="targetId" label="目标编号" min-width="190" />
|
||||
<el-table-column prop="targetId" label="批次号 / SN 序列号" min-width="190" />
|
||||
<el-table-column prop="type" label="类型" width="100" align="center">
|
||||
<template #default="{ row }">{{ row.type === 'BATCH' ? '批次' : 'SN' }}</template>
|
||||
</el-table-column>
|
||||
|
||||
Reference in New Issue
Block a user