Files
eip4-platform/转换产物-attach/schema/4c0c6a5c-fffc-442e-9771-a2701fbe3885.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

414 lines
10 KiB
JSON

{
"type" : "page",
"title" : "计划成本变更编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/8fbf5298-4588-42e9-ab52-698fc9b380d3/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "AREA",
"label" : "建筑面积(m2)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "CONTRACTPRICE_VIRTUAL",
"label" : "总包合同价(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "TOTALCONTROLCOST",
"label" : "控制成本总额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "COMPACTOR",
"label" : "编制人",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CONTACTNUMBER",
"label" : "联系电话",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "PROJECTLEADER",
"label" : "项目负责人",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "REMIND",
"label" : "提醒",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "ARTIFICIALLYPLANNEDCOST",
"label" : "原人工计划成本(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ARTIFICIALCHANGEOFAMOUNT",
"label" : "人工变更金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "ARTIFICIALLYPLANNEDCOSTNOW",
"label" : "现人工计划成本(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "LABORPLANCOSTCOSTRATIONOW",
"label" : "现人工计划成本占比(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "MATERIALPLANNINGCOST",
"label" : "原材料计划成本(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "MATERIALCHANGEAMOUNT",
"label" : "材料变更金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "MATERIALPLANNINGCOSTNOW",
"label" : "现材料计划成本(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "MATERIALPLANCOSTCOSTRATIONOW",
"label" : "现材料计划成本占比(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "MECHANICALPLANCOST",
"label" : "原机械计划成本(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "MECHANICALCHANGEAMOUNT",
"label" : "机械变更金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "MECHANICALPLANCOSTNOW",
"label" : "现机械计划成本(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "MECHANICALPLANCOSTCOSTRATIONOW",
"label" : "现机械计划成本占比(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "PROFESSIONALSUBCONTRACTCOST",
"label" : "原专业分包计划成本(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "PROFESSIONALSUBCONTRACTCHANGEAMOUNT",
"label" : "专业分包变更金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "PROFESSIONALSUBCONTRACTCOSTNOW",
"label" : "现专业分包计划成本(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "THECOSTRATIOOFTHEPRONOW",
"label" : "现专业分包计划成本占比(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "OTHERPLANNEDCOSTS",
"label" : "原其他计划成本(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "OTHERCHANGESOFAMOUNT",
"label" : "其他变更金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "OTHERPLANNEDCOSTSNOW",
"label" : "现其他计划成本(元)",
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "OTHERPLANNEDCOSTANDCOSTRATIONOW",
"label" : "现其他计划成本占比(%)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "TOTALPLANNEDCOST",
"label" : "原计划成本总额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "TOTALPLANNEDCOSTNOW",
"label" : "现计划成本总额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 7,
"body" : [ {
"name" : "TOTALCONTRACTPRICERATIONOW",
"label" : "现占总包合同价(%)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CHANGEDATE",
"label" : "变更日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"name" : "BUTTON2",
"label" : "计算金额",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "BUTTON",
"label" : "计算占比",
"hidden" : true,
"type" : "input-text"
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"required" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_PLANNEDCOSTCHANGE&businessKey=${PM_PLANNEDCOSTCHANGE_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_PLANNEDCOSTCHANGE_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TOTALCONTRACTPRICE",
"label" : "总包合同价(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"hidden" : true
} ],
"actions" : [ ]
}
}