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:
83
转换产物-attach/schema/06fe97fa-6ebe-41e7-9f88-c6a635c1887e.json
Normal file
83
转换产物-attach/schema/06fe97fa-6ebe-41e7-9f88-c6a635c1887e.json
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "收款单位选择框",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_OA_UNITINFO_BANKINFO_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "VIEW_OA_UNITINFO_BANKINFO_ID",
|
||||
"label" : "主键",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "RECEIPTUNITNAME",
|
||||
"label" : "收款单位全称",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "RECEIPTUNITACCOUNT",
|
||||
"label" : "收款单位账号",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "ABOUCHEMENTBANK",
|
||||
"label" : "汇入行",
|
||||
"type" : "input-text"
|
||||
}, {
|
||||
"name" : "UNITTYPE",
|
||||
"label" : "单位分类",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/UNITTYPE"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "VIEW_OA_UNITINFO_BANKINFO_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "UNITNAME",
|
||||
"label" : "单位名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "UNITTYPE",
|
||||
"label" : "单位分类",
|
||||
"width" : 200,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "其它单位",
|
||||
"2" : "物资供应商",
|
||||
"3" : "机械供应商",
|
||||
"4" : "专业分包商",
|
||||
"5" : "劳务队组",
|
||||
"6" : "其它供应商",
|
||||
"7" : "建设单位",
|
||||
"8" : "监理单位",
|
||||
"9" : "勘察单位",
|
||||
"10" : "设计单位",
|
||||
"11" : "审计单位",
|
||||
"12" : "施工单位",
|
||||
"13" : "劳务公司",
|
||||
"14" : "代理单位",
|
||||
"15" : "本公司组织"
|
||||
}
|
||||
}, {
|
||||
"name" : "PAYEEUNITNAME",
|
||||
"label" : "收款单位全称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "ACCOUNTNUMBER",
|
||||
"label" : "收款单位账号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "OPENINGBANK",
|
||||
"label" : "汇入行",
|
||||
"width" : 200
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "VIEW_OA_UNITINFO_BANKINFO_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user