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:
105
转换产物-attach/schema/0d9d22d8-a7c9-4d45-8e67-8d4f062c8b71.json
Normal file
105
转换产物-attach/schema/0d9d22d8-a7c9-4d45-8e67-8d4f062c8b71.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "价格趋势查看页面",
|
||||
"body" : {
|
||||
"type" : "form",
|
||||
"id" : "eip4-edit-form",
|
||||
"title" : "",
|
||||
"mode" : "horizontal",
|
||||
"horizontal" : {
|
||||
"leftFixed" : 120
|
||||
},
|
||||
"body" : [ {
|
||||
"type" : "grid",
|
||||
"columns" : [ {
|
||||
"md" : 12,
|
||||
"body" : [ {
|
||||
"name" : "DETAILS",
|
||||
"label" : "历史明细",
|
||||
"disabled" : true,
|
||||
"type" : "input-table",
|
||||
"id" : "eg-DETAILS",
|
||||
"addable" : true,
|
||||
"removable" : true,
|
||||
"staticOn" : "${__readonly}",
|
||||
"columns" : [ {
|
||||
"name" : "SOURCETYPE",
|
||||
"label" : "数据来源",
|
||||
"quickEdit" : {
|
||||
"name" : "SOURCETYPE",
|
||||
"type" : "input-text"
|
||||
}
|
||||
}, {
|
||||
"name" : "SOURCENAME",
|
||||
"label" : "供应商/来源名称",
|
||||
"quickEdit" : {
|
||||
"name" : "SOURCENAME",
|
||||
"type" : "input-text"
|
||||
}
|
||||
}, {
|
||||
"name" : "DISPLAYTIME",
|
||||
"label" : "时间/期数",
|
||||
"quickEdit" : {
|
||||
"name" : "DISPLAYTIME",
|
||||
"type" : "input-text"
|
||||
}
|
||||
}, {
|
||||
"name" : "TAXPRICE",
|
||||
"label" : "含税价",
|
||||
"quickEdit" : {
|
||||
"name" : "TAXPRICE",
|
||||
"type" : "input-number",
|
||||
"precision" : 2
|
||||
}
|
||||
}, {
|
||||
"name" : "PRICECHANGE",
|
||||
"label" : "价格变化",
|
||||
"quickEdit" : {
|
||||
"name" : "PRICECHANGE",
|
||||
"type" : "input-text"
|
||||
}
|
||||
}, {
|
||||
"name" : "REMARK",
|
||||
"label" : "备注",
|
||||
"quickEdit" : {
|
||||
"name" : "REMARK",
|
||||
"type" : "input-text"
|
||||
}
|
||||
} ],
|
||||
"needConfirm" : false
|
||||
} ]
|
||||
} ]
|
||||
}, {
|
||||
"name" : "COMPAREKEY",
|
||||
"label" : "对比主键",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALNAME",
|
||||
"label" : "材料名称",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALSPEC",
|
||||
"label" : "规格型号",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "UNIT",
|
||||
"label" : "单位",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "PROVINCE",
|
||||
"label" : "省",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "CITY",
|
||||
"label" : "市",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
} ],
|
||||
"actions" : [ ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user