Commit 319e2d00 by 张恒

refactor(wlqd): 重构物料清单组件配置和数据模型

- 移除选择产品的标签文字冗余描述
- 删除是否有效字段配置和对应数据模型
- 调整表格列配置顺序和字段映射关系
- 更新占位符文本为简洁形式
- 将物料项配置转换为选项卡结构
- 添加物料ID字段并配置预填入功能
- 修改工作流权限配置中的字段名称映射
- 更新数据模型接口定义以匹配新的字段结构
- 优化子表单的API配置和数据绑定设置
parent 64b77a7b
......@@ -7,8 +7,6 @@ export interface MesBaseBomPageParams extends BasicPageParams {
bommc: string;
cpid: string;
sfyy: string;
}
/**
......@@ -19,15 +17,17 @@ export interface MesBaseBomPageModel {
bommc: string;
bomsl: string;
bombb: string;
cpmc: string;
cpbh: string;
cpgg: string;
cpxh: string;
bomsl: string;
bombb: string;
}
/**
......@@ -86,6 +86,8 @@ export interface MesBaseBomModel {
modifyUserId: string;
sjbom: string;
mesBaseBomItemList?: MesBaseBomItemModel;
}
......@@ -99,6 +101,8 @@ export interface MesBaseBomItemModel {
bomid: string;
wlid: string;
wlbh: string;
wlmc: string;
......
......@@ -57,7 +57,7 @@ export const permissionList = [
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '选择产品',
fieldName: '产品',
fieldId: 'cpid',
isSubTable: false,
showChildren: true,
......@@ -176,7 +176,7 @@ export const permissionList = [
isSubTable: true,
showChildren: false,
tableName: 'mesBaseBomItemList',
fieldName: '物料项',
fieldName: '',
fieldId: 'mesBaseBomItemList',
type: 'form',
key: 'c87fc2d18e24429a819521f35f19137b',
......@@ -190,21 +190,6 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesBaseBomItemList',
fieldName: '选择物料',
fieldId: 'wlmc',
type: 'MultiplePopup',
key: '709b38c05d11468db0db4e6e9168e4f9',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesBaseBomItemList',
fieldName: '物料编号',
fieldId: 'wlbh',
type: 'Input',
......@@ -221,7 +206,7 @@ export const permissionList = [
showChildren: false,
tableName: 'mesBaseBomItemList',
fieldName: '物料名称',
fieldId: 'wuLiaoMingChen9398',
fieldId: 'wlmc',
type: 'Input',
key: '112f6292bd884006ad872f06aeef4e6f',
children: [],
......@@ -316,6 +301,21 @@ export const permissionList = [
key: '9230b500d1024028af68ed4ac49bdbd3',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesBaseBomItemList',
fieldName: '物料ID',
fieldId: 'wlid',
type: 'Input',
key: '998cedda278d4544ab851536bae4aacc',
children: [],
},
],
},
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment