更新物料大类和小类的字典表引用,优化前端表单组件,改用API选择器加载分类数据,增强用户体验。调整物料信息模态框,支持动态加载大类和小类选项。

This commit is contained in:
geht
2026-05-06 18:27:13 +08:00
parent 0b4458bbc5
commit 25629f2df1
8 changed files with 860 additions and 30 deletions

View File

@@ -33,12 +33,12 @@ public class MesMixerMaterial implements Serializable {
@Excel(name = "ERP编号", width = 15)
private String erpCode;
@Excel(name = "物料大类", width = 15, dictTable = "mes_material_category", dicText = "category_name", dicCode = "id")
@Dict(dictTable = "mes_material_category", dicText = "category_name", dicCode = "id")
@Excel(name = "物料大类", width = 15, dictTable = "sys_category", dicText = "name", dicCode = "id")
@Dict(dictTable = "sys_category", dicText = "name", dicCode = "id")
private String majorCategoryId;
@Excel(name = "物料小类", width = 15, dictTable = "mes_material_category", dicText = "category_name", dicCode = "id")
@Dict(dictTable = "mes_material_category", dicText = "category_name", dicCode = "id")
@Excel(name = "物料小类", width = 15, dictTable = "sys_category", dicText = "name", dicCode = "id")
@Dict(dictTable = "sys_category", dicText = "name", dicCode = "id")
private String minorCategoryId;
@Excel(name = "物料描述", width = 25)