Files
eip4-platform/转换产物-attach/schema/cc48d1ec-90ec-460b-91ff-6ce2086089d3.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

237 lines
6.2 KiB
JSON

{
"type" : "page",
"title" : "验工月报批量专业分包",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "LISTIDS",
"label" : "清单",
"required" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/ab9922be-ce7c-4711-9d18-4131feb92395/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" : 12,
"body" : [ {
"name" : "CONTRACTID",
"label" : "专业分包合同",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/fb312a6b-2392-4c6b-8421-6d3aa2981d20/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" : 6,
"body" : [ {
"name" : "FBS",
"label" : "专业分包商",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SUBLETTINGTYPE",
"label" : "分包类别",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_ENUMERATE/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "OPPOSITETYPE2",
"label" : "分包类型",
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/ddb51949-e2a1-4a9d-b936-48609473755a/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" : 6,
"body" : [ {
"name" : "DZ",
"label" : "地址",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "JSFZR",
"label" : "技术负责人",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "LXR",
"label" : "联系人",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "LXDH",
"label" : "联系电话",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "CLRQ",
"label" : "企业成立日期",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "QYZZ",
"label" : "企业资质",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "JJ",
"label" : "目前在建工程项目简介",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"name" : "PROJECTID",
"label" : "单项工程",
"hidden" : true,
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
}, {
"name" : "MONTHID",
"label" : "月完成工作量",
"hidden" : true,
"type" : "static",
"tpl" : "${MONTHID_DISPLAY__ ? MONTHID_DISPLAY__ : (MREPORTINTERVALID ? MREPORTINTERVALID : MONTHID)}"
}, {
"name" : "PM_SUBLETTINGOFLISTCONNECTION_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "OPPOSITETYPE",
"label" : "分包类型",
"required" : true,
"hidden" : true,
"type" : "input-text",
"value" : "1"
}, {
"name" : "PM_MREPORTLIST_ID",
"label" : "清单表主键",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/ab9922be-ce7c-4711-9d18-4131feb92395/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ],
"actions" : [ ]
}
}