feat: 优化原料库上传功能和标签管理

- 在 `AddRawMaterialDrawer` 组件中添加 `onUpdate` 事件以刷新数据
- 更新 `constants.ts` 中操作列的宽度
- 增加 Ant Select 和 Modal 的样式
- 新增批量添加、修改和详情的 API 函数
- 优化 `add-raw-material-drawer` 组件,增加标签输入和删除确认模态框
- 更新 `ant-select.scss` 和 `ant-modal.scss` 样式文件
This commit is contained in:
rd
2025-09-17 15:57:19 +08:00
parent c08b13673f
commit bf7963234e
8 changed files with 265 additions and 45 deletions

View File

@ -22,7 +22,7 @@
}
}
.ant-modal-body {
padding: 24px 20px;
padding: 20px 24px;
}
.ant-modal-footer {
margin-top: 0;
@ -38,5 +38,30 @@
}
}
}
.ant-modal-confirm-body-wrapper {
.ant-modal-confirm-title {
.anticon {
font-size: 24px;
}
}
.ant-modal-confirm-content {
margin-top: 8px;
color: var(--Text-2, #55585F);
font-family: $font-family-regular;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 22px;
}
.ant-modal-confirm-btns {
display: flex;
justify-content: end;
margin-top: 24px;
}
}
}
}