Files
eip4-platform/转换产物-attach/schema/1d36ab80-b430-4294-b7f3-c6aab3efa625.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

177 lines
4.5 KiB
JSON

{
"type" : "page",
"title" : "施工预算定额选择框",
"body" : {
"type" : "crud",
"api" : "/api/flow/PM_CBUDGETQUOTA_SEARCH",
"syncLocation" : false,
"selectable" : true,
"checkOnItemClick" : true,
"filter" : {
"title" : "查询",
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "BUDGETUNITID",
"label" : "预算单元",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "CBUDGETLISTID",
"label" : "清单名称",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "QUOTANO",
"label" : "定额编码",
"type" : "input-text"
}, {
"name" : "QUOTANAME",
"label" : "定额名称",
"type" : "input-text"
}, {
"name" : "UNITLISTID",
"label" : "单位",
"type" : "select",
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
}, {
"name" : "QUOTACONTENT",
"label" : "工程量",
"type" : "input-number",
"precision" : 2
}, {
"name" : "UNITPRICE",
"label" : "单价",
"type" : "input-number",
"precision" : 2
}, {
"name" : "LABOURCOSTS",
"label" : "人工费",
"type" : "input-number",
"precision" : 2
}, {
"name" : "MATERIALCOSTS",
"label" : "材料费",
"type" : "input-number",
"precision" : 2
}, {
"name" : "MACHINERYCOSTS",
"label" : "机械费",
"type" : "input-number",
"precision" : 2
}, {
"name" : "MANAGEMENTEXPENSE",
"label" : "管理费",
"type" : "input-number",
"precision" : 2
}, {
"name" : "DROFIT",
"label" : "利润",
"type" : "input-number",
"precision" : 2
}, {
"name" : "VALENCE",
"label" : "合价",
"type" : "input-number",
"precision" : 2
}, {
"name" : "ISLIST",
"label" : "是否清单",
"type" : "input-number",
"precision" : 0,
"step" : 1
}, {
"name" : "MATE_LIST",
"label" : "资源集合",
"type" : "select",
"multiple" : true,
"clearable" : true,
"searchable" : true,
"source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}"
} ]
},
"columns" : [ {
"name" : "PM_CBUDGETQUOTA_ID",
"label" : "主键",
"width" : 200,
"toggled" : false
}, {
"name" : "PROJECTID_DISPLAY__",
"label" : "工程名称",
"width" : 200
}, {
"name" : "BUDGETUNITID_DISPLAY__",
"label" : "预算单元",
"width" : 200
}, {
"name" : "CBUDGETLISTID_DISPLAY__",
"label" : "清单名称",
"width" : 200
}, {
"name" : "QUOTANO",
"label" : "定额编码",
"width" : 200
}, {
"name" : "QUOTANAME",
"label" : "定额名称",
"width" : 200
}, {
"name" : "UNITLISTID_DISPLAY__",
"label" : "单位",
"width" : 200
}, {
"name" : "QUOTACONTENT",
"label" : "工程量",
"width" : 200
}, {
"name" : "UNITPRICE",
"label" : "单价",
"width" : 200
}, {
"name" : "LABOURCOSTS",
"label" : "人工费",
"width" : 200
}, {
"name" : "MATERIALCOSTS",
"label" : "材料费",
"width" : 200
}, {
"name" : "MACHINERYCOSTS",
"label" : "机械费",
"width" : 200
}, {
"name" : "MANAGEMENTEXPENSE",
"label" : "管理费",
"width" : 200
}, {
"name" : "DROFIT",
"label" : "利润",
"width" : 200
}, {
"name" : "VALENCE",
"label" : "合价",
"width" : 200
}, {
"name" : "ISLIST",
"label" : "是否清单",
"width" : 200
}, {
"name" : "MATE_LIST",
"label" : "资源集合",
"width" : 200
} ],
"headerToolbar" : [ "pagination" ],
"primaryField" : "PM_CBUDGETQUOTA_ID"
}
}