Files
eip4-platform/转换产物-attach/schema/a4324b94-331f-423b-ab22-3e9152ac4815.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

264 lines
6.4 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" : "CONTRACTNAME",
"label" : "合同名称",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CONTRACTNUMBER",
"label" : "合同编号",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "CONTRACTTYPE",
"label" : "合同类型",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OTHERCONTRACTTYPE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CONTRACTFORM",
"label" : "合同形式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTFORM"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "CONTRACTCATEGORY",
"label" : "合同类别",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTCATEGORY"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CONTRACTMONEY",
"label" : "合同价款(元)",
"required" : true,
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"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" : 5,
"body" : [ {
"name" : "FIRSTPARTY",
"label" : "甲方",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_ORG/list?perPage=500"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "SECONDPARTY",
"label" : "乙方",
"type" : "static",
"tpl" : "${SECONDPARTY_DISPLAY__ ? SECONDPARTY_DISPLAY__ : (SHOWNAME ? SHOWNAME : SECONDPARTY)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "OA_CONTACTPERSONINFO_ID",
"label" : "联系人",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_CONTACTPERSONINFO/list?perPage=500"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "PHONE",
"label" : "联系电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "STARTDATE",
"label" : "开始日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ENDDATE",
"label" : "结束日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "SIGNUPTIME",
"label" : "签约日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "EXPIRYDATE",
"label" : "终止日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 5,
"body" : [ {
"name" : "PARTYC",
"label" : "丙方",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTRACTCONTENT",
"label" : "合同内容",
"required" : true,
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "NOTE",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "STOPREASON",
"label" : "终止原因",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_OTHERCONTRACTREGISTER&businessKey=${PM_OTHERCONTRACTREGISTER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_OTHERCONTRACTREGISTER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "CONTRACTSTATUS",
"label" : "合同状态",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTSTATUS",
"value" : "2"
} ],
"actions" : [ ]
}
}