Files
eip4-platform/转换产物-attach/schema/17ad207b-688e-431a-ab72-413b854edbf8.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

222 lines
5.7 KiB
JSON

{
"type" : "page",
"title" : "项目缴费规则编辑界面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "WELFARECATEGORYCITYID",
"label" : "福利保险类别子表ID",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/82914bee-9e5e-4ed6-993f-16a0eab54feb/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" : 3,
"body" : [ {
"name" : "PROVINCE",
"label" : "省/自治区",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_WELFARE_PROVINCE"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CITY",
"label" : "市",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_WELFARE_CITY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CONUTY",
"label" : "区县",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/HR_WELFARE_CONUTY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "STARTYEAR",
"label" : "开始年",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "STARTMONTH",
"label" : "开始月",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "BASEONLINE",
"label" : "缴费基数上限",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "ENDYEAR",
"label" : "结束年",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ENDMONTH",
"label" : "结束月",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "BASEOFFLINE",
"label" : "缴费基数下限",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "OPENINGBANK",
"label" : "开户银行",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SELECT",
"label" : "选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/b27db173-0e49-48a4-9041-568b69eb48a7/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ORGPAYRULEPAYCONFIGID",
"label" : "项目缴费规则",
"required" : true,
"type" : "input-table",
"id" : "eg-ORGPAYRULEPAYCONFIGID",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ ],
"needConfirm" : false
} ]
} ]
}, {
"name" : "HR_ORGPAYRULE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}