Files
eip4-platform/转换产物-attach/schema/184b473a-5d33-4786-81ce-851a8aa58815.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

173 lines
3.9 KiB
JSON

{
"type" : "page",
"title" : "施工预算定额列表查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "QUOTANO",
"label" : "定额编码",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "QUOTANAME",
"label" : "定额名称",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITLISTID",
"label" : "单位",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/PM_UNITLIST/list?perPage=500"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "QUOTACONTENT",
"label" : "工程量",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNITPRICE",
"label" : "单价",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TOTALQUANTITY",
"label" : "总工程量",
"type" : "input-number",
"precision" : 4
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "UNIONQUANTITY",
"label" : "已分配工程量",
"type" : "input-number",
"precision" : 4
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CHANGEABLEQUANTITY",
"label" : "未分配工程量",
"type" : "input-number",
"precision" : 4
} ]
} ]
}, {
"name" : "PM_CBUDGETQUOTA_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PROJECTID",
"label" : "工程名称",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "BUDGETUNITID",
"label" : "预算单元",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CBUDGETLISTID",
"label" : "清单名称",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "LABOURCOSTS",
"label" : "人工费",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "MATERIALCOSTS",
"label" : "材料费",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "MACHINERYCOSTS",
"label" : "机械费",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "MANAGEMENTEXPENSE",
"label" : "管理费",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "DROFIT",
"label" : "利润",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "VALENCE",
"label" : "合价",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2,
"value" : "0"
}, {
"name" : "ISLIST",
"label" : "是否清单",
"required" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"value" : "1"
} ],
"actions" : [ ]
}
}