Files
eip4-platform/转换产物-attach/schema/26db6241-9a42-4cd5-be71-c18948c9d624.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" : 5,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PM_PROJECTID_DISPLAY__ ? PM_PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PM_PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"type" : "static",
"tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}",
"value" : "${orgId}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "TYPE",
"label" : "工程类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CATEGORY",
"label" : "工程类别",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ADDRESS",
"label" : "工程地址",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"type" : "static",
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "FIRSTSIDEMANAGER",
"label" : "建设单位负责人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "SIGNUPTIME",
"label" : "签约日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CONTRACTNUMBER",
"label" : "合同编号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CONTRACTUALMODE",
"label" : "承包方式",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "CONTRACTUALFORM",
"label" : "合同形式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTFORM"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "GENERALCONTRACTOR",
"label" : "发包人(总包方)",
"type" : "static",
"tpl" : "${GENERALCONTRACTOR_DISPLAY__ ? GENERALCONTRACTOR_DISPLAY__ : (SHOWNAME ? SHOWNAME : GENERALCONTRACTOR)}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PRJNUMBER",
"label" : "合同备案编号",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "STARTTIME",
"label" : "开工日期",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ENDTIME",
"label" : "竣工日期",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "WORKINGDAYS",
"label" : "工期(天)",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "CONTRACTUALMONEY",
"label" : "合同价款(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 9.99999999999E9
} ]
}, {
"md" : 7,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TYPEOFPAYMENT",
"label" : "付款方式",
"required" : true,
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTRACTUALSCOPE",
"label" : "承包范围",
"required" : true,
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "QUALITYSTANDARD",
"label" : "质量标准",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SECURITYDESIRE",
"label" : "安全要求",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "DEPOSITRATE",
"label" : "合同履约金",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "MEMBERUSERS",
"label" : "项目人员",
"disabled" : true,
"type" : "input-table",
"id" : "eg-MEMBERUSERS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PROJECTROLE",
"label" : "项目角色",
"quickEdit" : {
"name" : "PROJECTROLE",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECTMANAGERROLE"
}
}, {
"name" : "USERID",
"label" : "姓名",
"type" : "tpl",
"tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : USERID}",
"quickEdit" : false
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "NOTE",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "ENDDATE",
"label" : "终止日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "ENDREASON",
"label" : "终止原因",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"required" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_CONTRACTUALREGISTER&businessKey=${PM_CONTRACTUALREGISTER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_CONTRACTUALREGISTER_ID",
"label" : "主键",
"disabled" : true,
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CONTRACTNAME",
"label" : "合同名称",
"required" : true,
"disabled" : true,
"type" : "input-text",
"hidden" : true
}, {
"name" : "PREPAY",
"label" : "预付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 9.99999999999E9,
"hidden" : true
}, {
"name" : "PROGRESSPAYRATE",
"label" : "进度支付比例(%)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 100.0,
"hidden" : true
}, {
"name" : "BALANCEPAYRATE",
"label" : "竣工结算支付比例(%)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"max" : 100.0,
"hidden" : true
}, {
"name" : "ISSTART",
"label" : "项目是否启动",
"required" : true,
"disabled" : true,
"hidden" : true,
"type" : "checkbox"
} ],
"actions" : [ ]
}
}