chore: 批量完成项目多模块迭代优化

1. 废弃半成品库存表并统一库存主表
2. 修复列表排序与搜索大小写不敏感问题
3. 新增用户最近登录时间、工单BOM名称字段
4. 完善角色管理、工位选择器功能
5. 增加拧紧数据补录、成品自动回流WMS能力
6. 统一导出时间范围校验规则
7. 丰富物料/备料单筛选条件
8. 调整菜单与权限命名适配产品型号业务
This commit is contained in:
SunYF
2026-09-08 11:44:04 +08:00
parent 06689970e2
commit e852c7cd37
96 changed files with 4528 additions and 542 deletions
@@ -22,6 +22,12 @@
<el-tag :type="roleTag(row)" size="small">{{ roleName(row) }}</el-tag>
</template>
</el-table-column>
<el-table-column label="最近登录" width="160" align="center">
<template #default="{ row }">
<span v-if="row.lastLoginAt">{{ fmtTime(row.lastLoginAt) }}</span>
<span v-else style="color:#c0c4cc">从未登录</span>
</template>
</el-table-column>
<el-table-column label="状态" width="150" align="center">
<template #default="{ row }">
<el-switch :model-value="row.status" active-value="ENABLED" inactive-value="DISABLED"
@@ -108,6 +114,7 @@
</template>
<script setup>
import { fmtTime } from '../utils/format'
defineOptions({ name: 'AccountManage' })
import { computed, onMounted, reactive, ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'