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>
This commit is contained in:
312
转换产物-attach/schema/4b958e1c-bd0c-4590-aa3b-04dddddf7ecb.json
Normal file
312
转换产物-attach/schema/4b958e1c-bd0c-4590-aa3b-04dddddf7ecb.json
Normal file
@@ -0,0 +1,312 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "投标报名、预审盖章收费申请编辑",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "FEEPRODUCTIONSTAGE",
|
||||
"label" : "费用产生阶段",
|
||||
"required" : true,
|
||||
"type" : "input-text",
|
||||
"value" : "投标报名、预审"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PROJECTID",
|
||||
"label" : "工程名称",
|
||||
"required" : true,
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
},
|
||||
"value" : "${currentProject}"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TOTALPRICE",
|
||||
"label" : "工程造价(元)",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ISLBEPRESENT",
|
||||
"label" : "法人是否到场",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO",
|
||||
"value" : "0"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "SIGNUPTIME",
|
||||
"label" : "报名日期",
|
||||
"required" : true,
|
||||
"type" : "input-date"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PRETIME",
|
||||
"label" : "预审日期",
|
||||
"required" : true,
|
||||
"type" : "input-date"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "AREA",
|
||||
"label" : "地点",
|
||||
"disabled" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PM_PROJECT_AREA"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PERSONCHARGE",
|
||||
"label" : "投标单位负责人",
|
||||
"required" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "CONTACTPHONE",
|
||||
"label" : "联系电话",
|
||||
"required" : true,
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "FILIALE",
|
||||
"label" : "与公司关系",
|
||||
"type" : "static",
|
||||
"tpl" : "${FILIALE_DISPLAY__ ? FILIALE_DISPLAY__ : (NAME ? NAME : FILIALE)}"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "AUTHORIZEDPRINCIPAL",
|
||||
"label" : "授权委托人",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ISABEPRESENT",
|
||||
"label" : "授权委托人是否到场",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO",
|
||||
"value" : "1"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ABEPRESENTDAYS",
|
||||
"label" : "授权委托人到场天数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "PROJECTMANAGER",
|
||||
"label" : "项目经理",
|
||||
"type" : "static",
|
||||
"tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}"
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "ISMBEPRESENT",
|
||||
"label" : "项目经理是否到场",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/YESNO",
|
||||
"value" : "1"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "MBEPRESENTDAYS",
|
||||
"label" : "项目经理到场天数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "FILECOUNT",
|
||||
"label" : "文件份数",
|
||||
"type" : "input-number",
|
||||
"precision" : 0,
|
||||
"step" : 1
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TRAVELMODE",
|
||||
"label" : "出行方式",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "SUMMONEY",
|
||||
"label" : "合计金额(元)",
|
||||
"disabled" : true,
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "INTEGRITYDEPOSIT",
|
||||
"label" : "诚信保证金(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "BIDBOND",
|
||||
"label" : "投标保证金(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "DATAFEE",
|
||||
"label" : "资料费(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "LABORFEE",
|
||||
"label" : "劳务费(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "CEXITFEE",
|
||||
"label" : "建造师出场费(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "LEXITFEE",
|
||||
"label" : "法人出场费(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TRAVELFEE",
|
||||
"label" : "差旅费(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
}, {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "TECHNICALSTANDARDFEE",
|
||||
"label" : "技术标费用(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 4,
|
||||
"body" : [ {
|
||||
"name" : "BUSINESSSTANDARDFEE",
|
||||
"label" : "商务标费用(元)",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"type" : "textarea"
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"name" : "PM_TENDERFEEAPPLY_ID",
|
||||
"label" : "主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user