Files
eip4-platform/转换产物-attach/schema/441be908-7e9b-4518-b823-ffaa97240fae.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

202 lines
4.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" : "PROJECTNAME",
"label" : "项目名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "DEPARTID",
"label" : "收集部门",
"required" : true,
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
"searchable" : true,
"onlyLeaf" : true
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "STRUCTURE",
"label" : "项目类型",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PREDICTINVEST",
"label" : "预计招标金额(万元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "AREA",
"label" : "建筑面积(平方米)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ADDRESS",
"label" : "工程地址",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CURRENTPROGRESS",
"label" : "目前进展",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CURRENTPROGRESS"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "EXPECTEDTENDERDATE",
"label" : "预计招标日期",
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PREDICTSTARTTIME",
"label" : "预计开工日期",
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ESTIMATEDCOMPLETIONDATE",
"label" : "预计完工日期",
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTEDDESIGNUNIT",
"label" : "预计设计单位",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PRETENDERPREPARATIONUNIT",
"label" : "标底编制单位",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BIDDINGAGENCY",
"label" : "招标代理单位",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}",
"value" : "${orgId}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "RIVAL",
"label" : "竞争对手",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"name" : "PM_PROJECTINFOCOLLECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROCESS",
"label" : "进展",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISINVALID",
"label" : "是否作废",
"hidden" : true,
"type" : "checkbox"
}, {
"name" : "PROJECTNUM",
"label" : "项目编码",
"disabled" : true,
"type" : "input-text",
"hidden" : true
} ],
"actions" : [ ]
}
}