Files
eip4-platform/转换产物-attach/schema/74f5d05f-ae7f-41de-a52a-e797d5437f37.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

338 lines
8.7 KiB
JSON

{
"type" : "page",
"title" : "其他合同评审编辑页面(新增成本总额、累计合同金额字段)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "COSTNUMBER",
"label" : "对应成本编号",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "PM_PROJECTID",
"label" : "工程名称",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"value" : "${currentProject}"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "FIRSTPARTY",
"label" : "甲方",
"type" : "input-text"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CREATEBY",
"label" : "申请人",
"type" : "static",
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "CONTRACTCATEGORY",
"label" : "合同类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTCATEGORY"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "CONTRACTFORM",
"label" : "合同形式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/CONTRACTFORM"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CONTRACTTYPE",
"label" : "合同类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OTHERCONTRACTTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "SECONDPARTY",
"label" : "乙方",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/d5c99764-931b-4f8a-8db7-d7bffc2089b0/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "OA_CONTACTPERSONINFO_ID",
"label" : "联系人",
"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" : 3,
"body" : [ {
"name" : "CONTRACTMONEY",
"label" : "合同价款(元)",
"required" : true,
"type" : "input-number",
"precision" : 2,
"min" : 0.0
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "STARTDATE",
"label" : "开始日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "ENDDATE",
"label" : "结束日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "CONTRACTNAME",
"label" : "合同名称",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "ORGID",
"label" : "(分)公司",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_ORG/list?perPage=500"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "PARTYC",
"label" : "丙方",
"type" : "input-text"
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "SELECTUNIT",
"label" : "选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/94e2dda5-c733-46c9-95ea-097688b8736d/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "SEALCOUNT",
"label" : " 合同份数 保存",
"type" : "input-number",
"precision" : 0,
"step" : 1
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "APPROVALTYPE",
"label" : "审批类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_SPECIALTYSUBCON_APPROVERTYPE"
} ]
}, {
"md" : 5,
"body" : [ {
"name" : "CREATETIME",
"label" : "申请日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 3,
"body" : [ {
"name" : "TOTALCONTROLCOST",
"label" : "其他成本总额",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TOTALCONTRACTMONEY",
"label" : "累计已签其他合同总额",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 3,
"body" : [ {
"name" : "TOTALREVIEWMONEY",
"label" : "累计评审金额",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "CONTRACTCONTENT",
"label" : "合同内容",
"required" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "AGREEDTERMS",
"label" : "合同约定付款条款",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=PM_OTHERCONTRACTREVIEW&businessKey=${PM_OTHERCONTRACTREVIEW_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_OTHERCONTRACTREVIEW_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
} ],
"actions" : [ ]
}
}