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:
72
转换产物-attach/schema/b27db173-0e49-48a4-9041-568b69eb48a7.json
Normal file
72
转换产物-attach/schema/b27db173-0e49-48a4-9041-568b69eb48a7.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "银行帐户信息",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/OA_BANKACCOUNTINFO_SEARCH_INFO",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "PAYEEUNITNAME",
|
||||
"label" : "收款单位全称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "OPENINGBANK",
|
||||
"label" : "开户银行",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ACCOUNTNUMBER",
|
||||
"label" : "银行账号",
|
||||
"hidden" : true,
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "UNITPROPERTY",
|
||||
"label" : "单位性质",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/UNITPROPERTY"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "OA_BANKACCOUNTINFO_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "UNITINFOID_DISPLAY__",
|
||||
"label" : "单位名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PAYEEUNITNAME",
|
||||
"label" : "收款单位全称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "OPENINGBANK",
|
||||
"label" : "开户银行",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "ACCOUNTNUMBER",
|
||||
"label" : "银行账号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "UNITPROPERTY",
|
||||
"label" : "单位性质",
|
||||
"width" : 200,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "外资",
|
||||
"2" : "合资",
|
||||
"3" : "国有",
|
||||
"4" : "民营",
|
||||
"5" : "个体",
|
||||
"6" : "其它"
|
||||
}
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "OA_BANKACCOUNTINFO_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user