Files
eip4-platform/转换产物-attach/schema/82eaed38-d453-4942-872a-a8c06ce02194.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

122 lines
3.2 KiB
JSON

{
"type" : "page",
"title" : "房源库-抵房明细查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "DETAILS",
"label" : "抵房明细",
"disabled" : true,
"type" : "input-table",
"id" : "eg-DETAILS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "HOUSEID",
"label" : "房源名称",
"quickEdit" : {
"name" : "HOUSEID",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/edf587c2-0e41-41af-95b0-c207cc3b892d/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}
}, {
"name" : "MORTGAGEID",
"label" : "抵房申请单号",
"quickEdit" : {
"name" : "MORTGAGEID",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/2a3f09e6-9963-4c61-9f8f-eb6d6b331030/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}
}, {
"name" : "PRICE",
"label" : "单价(元/平)",
"quickEdit" : {
"name" : "PRICE",
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "SQUARE",
"label" : "总面积(㎡)",
"quickEdit" : {
"name" : "SQUARE",
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "NUM",
"label" : "数量",
"quickEdit" : {
"name" : "NUM",
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "SUMSQUARE",
"label" : "当前面积(㎡)",
"quickEdit" : {
"name" : "SUMSQUARE",
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "SUMMONEY",
"label" : "当前总价(元)",
"quickEdit" : {
"name" : "SUMMONEY",
"type" : "input-number",
"precision" : 2
}
}, {
"name" : "REMARK",
"label" : "备注",
"quickEdit" : {
"name" : "REMARK",
"type" : "input-text"
}
} ],
"needConfirm" : false
}, {
"name" : "PM_MORTGAGEHOUSEAPPLYDETAILS_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}