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:
73
转换产物-attach/schema/23046f7b-e87e-4089-917c-e6da3ab28ce5.json
Normal file
73
转换产物-attach/schema/23046f7b-e87e-4089-917c-e6da3ab28ce5.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "办公用品库-期末结账-对账",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/OA_OFFICE_EXPEND_GOODS_SEARCH?page=${page}&perPage=${perPage}",
|
||||
"syncLocation" : false,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "STORE_ID",
|
||||
"label" : "办公用品库",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/OA_OFFICE_STOREHOUSE/list?perPage=500"
|
||||
}, {
|
||||
"name" : "PERIOD_ID",
|
||||
"label" : "期间",
|
||||
"required" : true,
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/OA_OFFICE_ACCOUNT_PERIOD/list?perPage=500"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "OA_OFFICE_EXPEND_GOODS_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "GOODS_ID_DISPLAY__",
|
||||
"label" : "用品档案",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "EXPEND_ID_DISPLAY__",
|
||||
"label" : "实耗成本汇总期间仓库关系",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "INITIALINVENTORY",
|
||||
"label" : "期初结存",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "INITIALINVENTORYCOST",
|
||||
"label" : "期初结存成本(元)",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "THISBUY",
|
||||
"label" : "本期购买",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "THISBUYCOST",
|
||||
"label" : "本期购买成本(元)",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "THISCOLLAR",
|
||||
"label" : "本期领出",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "THISCOLLARCOST",
|
||||
"label" : "本期领出成本(元)",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "FINALINVENTORY",
|
||||
"label" : "期末结存",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "FINALINVENTORYCOST",
|
||||
"label" : "期末结存成本(元)",
|
||||
"width" : 200
|
||||
} ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user