feat: 添加耗材操作日志修改记录功能; feat: 最大库存支持无限制选项; fix: 修复Ant Design Card组件bodyStyle废弃警告和字体预加载警告

This commit is contained in:
zhang1106
2026-01-30 14:01:23 +08:00
parent 2023a3e0c5
commit 5e3ac98bac
10 changed files with 483 additions and 44 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ const Consumable = sequelize.define('Consumable', {
},
maxStock: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: 100
allowNull: true,
defaultValue: null,
comment: '最大库存,null表示无限制'
},
unitPrice: {
type: DataTypes.DECIMAL(10, 2),