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:
66
转换产物-attach/schema/89d80a59-7711-4baf-b72e-70a73e3c9a62.json
Normal file
66
转换产物-attach/schema/89d80a59-7711-4baf-b72e-70a73e3c9a62.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "从采购申请中选择资产信息-编辑资产卡片",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_OA_FIXEDASSETS_PURCHASEDETAIL_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "ASSETS_NAME",
|
||||
"label" : "资产名称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "APPLYDATE",
|
||||
"label" : "申请日期",
|
||||
"type" : "input-date-range"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "VIEW_OA_FIXEDASSETS_PURCHASEDETAIL_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "ASSETS_NAME",
|
||||
"label" : "资产名称",
|
||||
"width" : 300
|
||||
}, {
|
||||
"name" : "STANDARD",
|
||||
"label" : "规格",
|
||||
"width" : 150
|
||||
}, {
|
||||
"name" : "FORMNO",
|
||||
"label" : "采购申请单号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "APPLYDATE",
|
||||
"label" : "申请日期",
|
||||
"width" : 80,
|
||||
"type" : "date",
|
||||
"format" : "YYYY-MM-DD",
|
||||
"inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
||||
}, {
|
||||
"name" : "AMOUNT",
|
||||
"label" : "申请数量",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "UNITPRICE",
|
||||
"label" : "单价(元)",
|
||||
"width" : 100
|
||||
}, {
|
||||
"name" : "TOTALPRICE",
|
||||
"label" : "金额(元)",
|
||||
"width" : 120
|
||||
}, {
|
||||
"name" : "REGISTERNUMBER",
|
||||
"label" : "已登记数量",
|
||||
"width" : 100
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "VIEW_OA_FIXEDASSETS_PURCHASEDETAIL_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user