feat: 全项目列表页操作列规范统一 + 问题.md 六条整改

- 操作列按6条标准统一(WMS 13页/MES 18页):fixed right、宽160超限折更多、一列一填充、危险操作link+二次确认置末、页面级新建移工具栏
- 修复MES物料档案启用报错:改走 POST /product-types/status 专用端点,不再被全字段必填校验拦截
- 附件归档清理由按年改为用户选月(精确到月,截止月最晚6个月前,默认当前月-6),前后端同步
- 序列号文案统一为「是=逐件录SN,否=按数量(不录SN)」,MES 下拉改单选框
- 入库货架/层/位置必填校验(InboundEntry 前端 + inbound.go 后端),杜绝有区域无货架的新脏数据
- 生产流程卡新增列表Tab(新接口 GET /process-card/list 分页),去掉筛选默认时间
- 清理遗留 assets_bak/public_bak 备份目录;更新 WMS/MES 前端构建产物(index.html)
This commit is contained in:
SunYF
2026-10-10 18:09:17 +08:00
parent f6a26256c5
commit 56d56648f9
224 changed files with 687 additions and 1874 deletions
+15 -5
View File
@@ -415,14 +415,24 @@ onActivated(() => {
<el-tag v-else type="success" size="small">有效</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="235" align="center" fixed="right">
<el-table-column label="操作" width="160" align="center" fixed="right">
<template #default="{ row }">
<el-button link type="primary" size="small" @click="openDetail(row)">
<el-button type="primary" size="small" @click="openDetail(row)">
明细{{ row.detailCount ? '(' + row.detailCount + ')' : '' }}
</el-button>
<el-button link type="success" size="small" @click="openAttach(row)">附件</el-button>
<el-button v-if="can('inbound:void') && !row.voided" link type="danger" size="small"
@click="openVoid(row)">作废</el-button>
<el-popconfirm v-if="can('inbound:void') && !row.voided" title="确认作废该入库单?" @confirm="openVoid(row)">
<template #reference>
<el-button link type="danger" size="small">作废</el-button>
</template>
</el-popconfirm>
<el-dropdown trigger="click">
<el-button link type="primary" size="small">更多 ▾</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item @click="openAttach(row)">附件</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</template>
</el-table-column>
</el-table>