PageBlueprint 加 RECIPE_MASTER_DETAIL 常量与可空 child 组件(14-arg, 保留 13-arg 兼容构造);新增 PageBlueprintChild record。 PageBlueprintCompiler.masterDetail 复用 maintenance 列表骨架, 新增/编辑表单内联 house-style input-table 子表(name=listColumn, quickEdit 控件),编辑表单 initApi 走 _LOAD 回显主+子行。 validate 接受 master-detail 并要求 child 非空/childTable/listColumn 非空/fields 非空。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
249 lines
7.1 KiB
JSON
249 lines
7.1 KiB
JSON
{
|
||
"type" : "page",
|
||
"title" : "物资供应商业绩评价",
|
||
"body" : {
|
||
"type" : "form",
|
||
"id" : "eip4-edit-form",
|
||
"title" : "",
|
||
"mode" : "horizontal",
|
||
"horizontal" : {
|
||
"leftFixed" : 120
|
||
},
|
||
"body" : [ {
|
||
"type" : "tabs",
|
||
"tabs" : [ {
|
||
"title" : "评价信息",
|
||
"body" : [ {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "PROJECTID",
|
||
"label" : "工程名称",
|
||
"required" : true,
|
||
"type" : "picker",
|
||
"clearable" : true,
|
||
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
|
||
"labelField" : "_label",
|
||
"valueField" : "_id",
|
||
"modalMode" : "dialog",
|
||
"modalSize" : "lg",
|
||
"pickerSchema" : {
|
||
"mode" : "table",
|
||
"headerToolbar" : [ {
|
||
"type" : "search-box",
|
||
"name" : "q",
|
||
"placeholder" : "输入关键字搜索"
|
||
} ],
|
||
"footerToolbar" : [ "pagination" ]
|
||
},
|
||
"value" : "${currentProject}"
|
||
} ]
|
||
}, {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "AUTHORITIES",
|
||
"label" : "主管部门",
|
||
"required" : true,
|
||
"type" : "input-text"
|
||
} ]
|
||
}, {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "SUPPLIERID",
|
||
"label" : "供方名称",
|
||
"required" : true,
|
||
"type" : "picker",
|
||
"clearable" : true,
|
||
"source" : "/api/picker/0b4c9b2a-32b3-4951-ae79-57c833ef6333/list",
|
||
"labelField" : "_label",
|
||
"valueField" : "_id",
|
||
"modalMode" : "dialog",
|
||
"modalSize" : "lg",
|
||
"pickerSchema" : {
|
||
"mode" : "table",
|
||
"headerToolbar" : [ {
|
||
"type" : "search-box",
|
||
"name" : "q",
|
||
"placeholder" : "输入关键字搜索"
|
||
} ],
|
||
"footerToolbar" : [ "pagination" ]
|
||
}
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "EVALUATIONYEAR",
|
||
"label" : "日期(年)",
|
||
"type" : "input-number",
|
||
"precision" : 0,
|
||
"step" : 1,
|
||
"min" : 2000,
|
||
"max" : 2100
|
||
} ]
|
||
}, {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "AVAILABILITYNAME",
|
||
"label" : "供货品名",
|
||
"required" : true,
|
||
"type" : "input-text"
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "AVAILABILITYBATCH",
|
||
"label" : "供货(批)",
|
||
"type" : "input-text"
|
||
} ]
|
||
}, {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "QUALIFIEDBATCH",
|
||
"label" : "合格(批)",
|
||
"type" : "input-text"
|
||
} ]
|
||
}, {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "REJECTIONBATCH",
|
||
"label" : "拒收(批)",
|
||
"type" : "input-text"
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 4,
|
||
"body" : [ {
|
||
"name" : "PASSRATE",
|
||
"label" : "合格率(%)",
|
||
"required" : true,
|
||
"type" : "input-number",
|
||
"precision" : 2,
|
||
"min" : 0.0,
|
||
"max" : 100.0
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 12,
|
||
"body" : [ {
|
||
"name" : "QUALITYEFFECTIVELY",
|
||
"label" : "质量体系运行有效",
|
||
"type" : "input-text"
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 12,
|
||
"body" : [ {
|
||
"name" : "MAINTESTINGEFFECTIVELY",
|
||
"label" : "主要检测过程控制有效",
|
||
"type" : "input-text"
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 12,
|
||
"body" : [ {
|
||
"name" : "PROVIDECOMPANYEFFECTIVELY",
|
||
"label" : "提供本公司产品能保证质量",
|
||
"type" : "input-text"
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"type" : "grid",
|
||
"columns" : [ {
|
||
"md" : 12,
|
||
"body" : [ {
|
||
"name" : "DOCUMENT",
|
||
"label" : "附件",
|
||
"type" : "input-file",
|
||
"receiver" : "/api/file/upload?tableName=PM_PUB_SUPPLIERCHECKLIST&businessKey=${PM_PUB_SUPPLIERCHECKLIST_ID}",
|
||
"downloadUrl" : "/api/file/${id}",
|
||
"multiple" : true,
|
||
"staticOn" : "${__readonly}",
|
||
"joinValues" : false,
|
||
"extractValue" : false
|
||
} ]
|
||
} ]
|
||
} ]
|
||
}, {
|
||
"title" : "历史业绩评价",
|
||
"body" : [ {
|
||
"name" : "OLDS",
|
||
"label" : "OLDS",
|
||
"disabled" : true,
|
||
"type" : "input-table",
|
||
"id" : "eg-OLDS",
|
||
"addable" : true,
|
||
"removable" : true,
|
||
"staticOn" : "${__readonly}",
|
||
"columns" : [ ],
|
||
"needConfirm" : false
|
||
}, {
|
||
"name" : "PM_PUB_SUPPLIERCHECKLIST_ID",
|
||
"label" : "主键",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "CREATETIME",
|
||
"label" : "创建时间",
|
||
"hidden" : true,
|
||
"type" : "input-datetime"
|
||
}, {
|
||
"name" : "ASSESSMENTS",
|
||
"label" : "评定意见",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "PRODUCTCHIEFA",
|
||
"label" : "分公司生产科(A类)",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "PRODUCTMINISTERA",
|
||
"label" : "集团公司生产部(A类)",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "PROJECTMANAGERBCD",
|
||
"label" : "项目经理(BCD类)",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "PRODUCTCHIEFBCD",
|
||
"label" : "分公司生产科(BCD类)",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "APPROVERCOMMENTS",
|
||
"label" : "批准人意见",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "APPROVER",
|
||
"label" : "批准人",
|
||
"hidden" : true,
|
||
"type" : "input-text"
|
||
}, {
|
||
"name" : "APPROVERDATE",
|
||
"label" : "批准日期",
|
||
"hidden" : true,
|
||
"type" : "input-date"
|
||
} ]
|
||
} ]
|
||
} ],
|
||
"actions" : [ ]
|
||
}
|
||
} |