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:
71
转换产物-attach/schema/914991ba-4db2-41a2-8249-4a730481bd51.json
Normal file
71
转换产物-attach/schema/914991ba-4db2-41a2-8249-4a730481bd51.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "采购申请用品明细选择框",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/OA_OFFICE_PURCHASEAPPLY_GOODSDETAIL_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "APPLYDEPARTID",
|
||||
"label" : "申请部门",
|
||||
"type" : "tree-select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree",
|
||||
"searchable" : true,
|
||||
"onlyLeaf" : true
|
||||
}, {
|
||||
"name" : "APPLYUSERID",
|
||||
"label" : "申请人",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "APPLYDATE",
|
||||
"label" : "申请日期",
|
||||
"type" : "input-date-range"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "OA_OFFICE_PURCHASEAPPLY_GOODSDETAIL_ID",
|
||||
"label" : "主键",
|
||||
"width" : 100,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PURCHASE_ID_DISPLAY__",
|
||||
"label" : "申请单号",
|
||||
"width" : 180
|
||||
}, {
|
||||
"name" : "GOODS_ID_DISPLAY__",
|
||||
"label" : "用品名称",
|
||||
"width" : 180
|
||||
}, {
|
||||
"name" : "GOODS_STANDARD",
|
||||
"label" : "规格",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "GOODS_UNIT",
|
||||
"label" : "计量单位",
|
||||
"width" : 80
|
||||
}, {
|
||||
"name" : "AMOUNT",
|
||||
"label" : "申请数量",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "REGISTERAMOUNT",
|
||||
"label" : "已购买数量",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "PRICE",
|
||||
"label" : "单价(元)",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "MONEY",
|
||||
"label" : "金额(元)",
|
||||
"width" : 100
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "OA_OFFICE_PURCHASEAPPLY_GOODSDETAIL_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user