Commit 1c78bb71 by 王宝涛

feat(ccbg): 更新车辆拆解报告模型和界面配置

- 从CcbgModel中移除车辆颜色字段(clys)
- 在CcbgModel中新增工作时长字段(gzsc)和基础审计字段(createDate、modifyDate等)
- 定义MesCheliangBgCpModel接口用于产出物料明细
- 更新config.ts中的表单配置,替换车辆颜色字段为工作时长输入框
- 重构照片上传组件布局,使用网格组件进行分组显示
- 新增产出物料明细子表单,包含产品ID、物料名称、物料编码、数量、单位等字段
- 更新workflowPermission.ts中的字段映射关系
- 为产出物料明细添加工作流权限配置
parent db161dad
...@@ -8,12 +8,12 @@ export interface MesCheliangBgPageParams extends BasicPageParams { ...@@ -8,12 +8,12 @@ export interface MesCheliangBgPageParams extends BasicPageParams {
cllx: string; cllx: string;
clys: string;
gzjssj: string; gzjssj: string;
gzxm: string; gzxm: string;
gzsc: string;
cphm: string; cphm: string;
clppxh: string; clppxh: string;
...@@ -133,6 +133,35 @@ export interface MesCheliangBgModel { ...@@ -133,6 +133,35 @@ export interface MesCheliangBgModel {
createUserId: string; createUserId: string;
modifyUserId: string; modifyUserId: string;
mesCheliangBgCpList?: MesCheliangBgCpModel;
}
/**
* @description: MesCheliangBgCp表类型
*/
export interface MesCheliangBgCpModel {
id: string;
bgId: string;
cpId: string;
cpbh: string;
cpmc: string;
dw: string;
sl: string;
createDate: string;
modifyDate: string;
createUserId: string;
modifyUserId: string;
} }
/** /**
......
...@@ -292,12 +292,12 @@ export const permissionList = [ ...@@ -292,12 +292,12 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '过磅实物照片', fieldName: '拆车前照片',
fieldId: 'gbswzp', fieldId: 'clqzp1',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'upload', type: 'upload',
key: '4029937584e34870bcf316f6b672393f', key: '48812589532e495f82f5f2e8add877c9',
children: [], children: [],
options: {}, options: {},
defaultValue: '', defaultValue: '',
...@@ -309,12 +309,12 @@ export const permissionList = [ ...@@ -309,12 +309,12 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '拆车前照片', fieldName: '拆车前照片(车号)',
fieldId: 'clqzp1', fieldId: 'clqzp2',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'upload', type: 'upload',
key: '48812589532e495f82f5f2e8add877c9', key: 'd17d8b44098e4a0fb92c3b4532f99327',
children: [], children: [],
options: {}, options: {},
defaultValue: '', defaultValue: '',
...@@ -326,12 +326,12 @@ export const permissionList = [ ...@@ -326,12 +326,12 @@ export const permissionList = [
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '拆车前照片(车号)', fieldName: '过磅实物照片',
fieldId: 'clqzp2', fieldId: 'gbswzp',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'upload', type: 'upload',
key: 'd17d8b44098e4a0fb92c3b4532f99327', key: '4029937584e34870bcf316f6b672393f',
children: [], children: [],
options: {}, options: {},
defaultValue: '', defaultValue: '',
...@@ -353,4 +353,94 @@ export const permissionList = [ ...@@ -353,4 +353,94 @@ export const permissionList = [
options: {}, options: {},
defaultValue: '', defaultValue: '',
}, },
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: true,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '产出物料明细',
fieldId: 'mesCheliangBgCpList',
type: 'form',
key: 'a604d5bcb3db4bda885759e2047a9b4b',
children: [
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '产品id',
fieldId: 'cpId',
type: 'Input',
key: '5431a82012d845199867d7aa74fb83ba',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '物料名称',
fieldId: 'cpmc',
type: 'MultiplePopup',
key: '9dd8971a900b4338aa38fbccc2cb9f81',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '物料编码',
fieldId: 'cpbh',
type: 'Input',
key: 'adc856a292a14e69bcc92382cf2a4026',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '数量',
fieldId: 'sl',
type: 'InputNumber',
key: '18e26afd493345d6a5ec10b2a076332a',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesCheliangBgCpList',
fieldName: '单位',
fieldId: 'dw',
type: 'Input',
key: 'de3aaca902734b1eba346753ac72d945',
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