Files
eip4-platform/转换产物-attach/schema/de49f068-6b06-47a5-abd1-d65ef694f284.json
zhengwr 8fe377b0c8 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>
2026-06-20 15:16:30 +08:00

70 lines
1.7 KiB
JSON

{
"type" : "page",
"title" : "月薪资方案(流程中查看)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "HR_PAYSCHEMEID",
"label" : "薪资方案",
"type" : "static",
"tpl" : "${HR_PAYSCHEMEID_DISPLAY__ ? HR_PAYSCHEMEID_DISPLAY__ : (NAME ? NAME : HR_PAYSCHEMEID)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "YEAR",
"label" : "年",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "MONTH",
"label" : "月",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"name" : "HR_PAY_MONTHLYSCHEME_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "SCHEMEORGID",
"label" : "所属(分)公司",
"type" : "static",
"tpl" : "${SCHEMEORGID_DISPLAY__ ? SCHEMEORGID_DISPLAY__ : (NAME ? NAME : SCHEMEORGID)}",
"hidden" : true
}, {
"name" : "ISCOMPLETE",
"label" : "是否完成结算",
"required" : true,
"type" : "checkbox",
"hidden" : true
}, {
"name" : "ISPAY",
"label" : "是否发放",
"required" : true,
"type" : "checkbox",
"hidden" : true
} ],
"actions" : [ ]
}
}