feat(blueprint): master-detail-v1 编译器分支 + PageBlueprintChild
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>
This commit is contained in:
104
转换产物-attach/schema/e6d97639-70a8-4bc5-b1aa-b77e2a2afcc4.json
Normal file
104
转换产物-attach/schema/e6d97639-70a8-4bc5-b1aa-b77e2a2afcc4.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "物资需求总计划变更需求物资明细(土建)查看页面",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "MATERIALCODE",
|
||||
"label" : "材料编码",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "MATERIALNAME",
|
||||
"label" : "材料名称",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "SPECIFICATIONS",
|
||||
"label" : "规格、型号等要求",
|
||||
"disabled" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "UNIT",
|
||||
"label" : "单位",
|
||||
"type" : "static",
|
||||
"tpl" : "${UNIT_DISPLAY__ ? UNIT_DISPLAY__ : (NAME ? NAME : UNIT)}"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "ESTIMATENUM",
|
||||
"label" : "预计数量",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 6,
|
||||
"body" : [ {
|
||||
"name" : "PLANENTRYDATE",
|
||||
"label" : "计划进场日期",
|
||||
"disabled" : true,
|
||||
"type" : "input-date"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"disabled" : true,
|
||||
"type" : "textarea"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"name" : "PM_MATERIALREQUESTCHANGEPLANDETAILS_TJ_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALPLANID",
|
||||
"label" : "物资需求总计划变(土建)",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALALIASID",
|
||||
"label" : "材料别名表材料ID",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALID",
|
||||
"label" : "材料信息库",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user