Files
eip4-platform/转换产物-attach/schema/c1cfafcd-111a-4de6-a683-7fafab0d794b.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

464 lines
12 KiB
JSON

{
"type" : "page",
"title" : "工程信息维护编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITPROPERTY",
"label" : "单位性质",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITPROPERTY"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "UNITPHONE",
"label" : "联系电话",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "UNITADDRESS",
"label" : "单位地址",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "PROJECTNAME",
"label" : "工程名称",
"required" : true,
"type" : "input-text",
"maxLength" : 600
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "PROVINCE",
"label" : "所在省份",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROVINCE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTCODE",
"label" : "工程编码",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "PROJECTSHORTNAME",
"label" : "工程简称",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "AREA",
"label" : "地区分布",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_AREA"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ADDRESS",
"label" : "工程地址",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROPERTY",
"label" : "工程专业",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROPERTY"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "TYPE",
"label" : "工程类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_TYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CATEGORY",
"label" : "工程类别",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_CATEGORY"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INVITEBIDS_TYPE",
"label" : "招标形式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_INVITEBIDS_TYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "TOTALPRICE",
"label" : "工程造价(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ACREAGE",
"label" : "建筑面积(m2)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "CAPITAL",
"label" : "大写",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "STRUCTURE",
"label" : "结构",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "NUMBER",
"label" : "层次",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ACTUALSTARTDATE",
"label" : "计划开工日期",
"required" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "ACTUALENDDATE",
"label" : "计划竣工日期",
"required" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "FILIALE",
"label" : "所属(分)公司",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROJECTMANAGER",
"label" : "项目经理",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/VIEW_SYS_USER/list?perPage=500"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SELECT",
"label" : "选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/a801e436-9176-4794-a48b-5c7020697697/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" : 4,
"body" : [ {
"name" : "MANAGEMENTMODE",
"label" : "经营模式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_ManagementMode"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "INVOICEFORM",
"label" : "征税方式",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/INVOICE_INVOICEFORM"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "TAXRATE",
"label" : "税率(%)",
"required" : true,
"type" : "input-number",
"precision" : 2,
"min" : 0.0,
"max" : 100.0
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CONTRACTOR",
"label" : "承包人",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 10,
"body" : [ {
"name" : "BUILDINGHEIGHT",
"label" : "高度",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CREATEBY",
"label" : "登记人",
"type" : "static",
"tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "CREATETIME",
"label" : "登记日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"name" : "MEMORY",
"label" : "存储记录",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PM_PROJECT_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "PREDICTSTARTTIME",
"label" : "预计开工日期",
"type" : "input-text",
"hidden" : true
}, {
"name" : "PREDICTINVEST",
"label" : "预计投资(元)",
"type" : "input-number",
"precision" : 2,
"hidden" : true
}, {
"name" : "EVOLVE",
"label" : "进展",
"type" : "input-text",
"hidden" : true
}, {
"name" : "PROJECTSTAGE",
"label" : "工程阶段",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROJECTSTAGE",
"value" : "9"
}, {
"name" : "ISSHARE",
"label" : "项目是否共享",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0",
"hidden" : true
}, {
"name" : "OPPONENTS",
"label" : "潜在竞争对手",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"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" ]
}
}, {
"name" : "BIDTIME",
"label" : "投标报名截止时间",
"hidden" : true,
"type" : "input-datetime"
}, {
"name" : "SIGNUPENDTIME",
"label" : "内部报名截止时间",
"hidden" : true,
"type" : "input-datetime"
} ],
"actions" : [ ]
}
}