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/7943c2d9-a0d1-46d8-86a7-31347362c567.json
Normal file
105
转换产物-attach/schema/7943c2d9-a0d1-46d8-86a7-31347362c567.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "选择周转(租赁)材料信息",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_TURNOVERMATERIALSTOCK_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "MATERIALCODE",
|
||||
"label" : "材料编码",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALNAME",
|
||||
"label" : "材料名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "MATERIALALIAS",
|
||||
"label" : "材料别名",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "SPECIFICATIONS",
|
||||
"label" : "规格",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "UNITPRICE",
|
||||
"label" : "租赁单价(元/日)",
|
||||
"type" : "input-number",
|
||||
"precision" : 4
|
||||
}, {
|
||||
"name" : "SUPPLERNAME",
|
||||
"label" : "物资供应商",
|
||||
"type" : "input-text"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "VIEW_TURNOVERMATERIALSTOCK_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "MATERIALCODE",
|
||||
"label" : "材料编码",
|
||||
"width" : 120
|
||||
}, {
|
||||
"name" : "MATERIALNAME",
|
||||
"label" : "材料名称",
|
||||
"width" : 160
|
||||
}, {
|
||||
"name" : "MATERIALALIAS",
|
||||
"label" : "材料别名",
|
||||
"width" : 160
|
||||
}, {
|
||||
"name" : "SPECIFICATIONS",
|
||||
"label" : "规格",
|
||||
"width" : 160
|
||||
}, {
|
||||
"name" : "UNITNAME",
|
||||
"label" : "单位",
|
||||
"width" : 80
|
||||
}, {
|
||||
"name" : "UNITPRICE",
|
||||
"label" : "租赁单价(元/日)",
|
||||
"width" : 120
|
||||
}, {
|
||||
"name" : "STOCKNUMBER",
|
||||
"label" : "库存数量",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "SUPPLIERNAME",
|
||||
"label" : "物资供应商",
|
||||
"width" : 180
|
||||
}, {
|
||||
"name" : "CONTRACTID",
|
||||
"label" : "物资供应合同ID",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "CONTRACTNAME",
|
||||
"label" : "物资供应合同",
|
||||
"width" : 150,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "MATERIALID",
|
||||
"label" : "材料信息库ID",
|
||||
"width" : 100,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "MATERIALALIASID",
|
||||
"label" : "材料别名表ID",
|
||||
"width" : 160,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "UNIT",
|
||||
"label" : "计量单位ID",
|
||||
"width" : 60,
|
||||
"toggled" : false
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "VIEW_TURNOVERMATERIALSTOCK_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user