修改实体类时间字段策略配置
- 将Customer、Medicine、MedicineCategory、Menu、Role、Stock、
StockInDetail、StockInRecord、StockOutDetail、StockOutRecord、
Supplier、User、Warehouse等实体类的时间字段策略从自动填充改为
FieldStrategy.NEVER,禁止自动插入和更新时间戳
- 在AuthServiceImpl中手动设置用户创建和更新时间
fix(frontend): 修复登录页面默认凭据和路由跳转逻辑
- 移除登录页面的默认用户名密码预填值
- 修复退出登录时的路由跳转问题,在MainLayout中添加router.push('/login')
- 调整用户状态管理中的路由跳转逻辑,避免重复跳转
feat(frontend): 添加出入库单据新增页面路由
- 新增stock-in/add路由指向StockInForm组件
- 新增stock-out/add路由指向StockOutForm组件
- 为新建入库单和出库单功能提供页面入口
This commit is contained in:
@@ -10,8 +10,8 @@ const userStore = useUserStore()
|
||||
const loginFormRef = ref(null)
|
||||
const loading = ref(false)
|
||||
const loginForm = reactive({
|
||||
username: 'admin',
|
||||
password: 'admin123',
|
||||
username: '',
|
||||
password: '',
|
||||
remember: false,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user