Files
eip4-platform/转换产物-attach/schema/c0684b1a-c91a-4aa1-befe-029340cb67f5.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

82 lines
2.1 KiB
JSON

{
"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" : "SORT_ID",
"label" : "用品类别",
"type" : "tree-select",
"clearable" : true,
"source" : "/api/template/f91a6d73-ac2a-44f8-bd4f-697569c87364/tree",
"searchable" : true
}, {
"name" : "GOODS_NAME",
"label" : "用品名称",
"type" : "input-text"
}, {
"name" : "CURRENT_PERIOD",
"label" : "当前期间",
"hidden" : true,
"type" : "input-text"
} ]
},
"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
} ]
}
}