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:
152
转换产物-attach/schema/d34e4622-26cc-4184-a89a-e66fb08da51a.json
Normal file
152
转换产物-attach/schema/d34e4622-26cc-4184-a89a-e66fb08da51a.json
Normal file
@@ -0,0 +1,152 @@
|
||||
{
|
||||
"type" : "page",
|
||||
"title" : "选择项目付款申请中的未付款项",
|
||||
"body" : {
|
||||
"type" : "crud",
|
||||
"api" : "/api/flow/VIEW_PM_PAYMENTBATCHAFFIRM_SEARCH",
|
||||
"syncLocation" : false,
|
||||
"selectable" : true,
|
||||
"checkOnItemClick" : true,
|
||||
"filter" : {
|
||||
"title" : "查询",
|
||||
"body" : [ {
|
||||
"name" : "PROJECTID",
|
||||
"label" : "工程名称",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
},
|
||||
"value" : "${currentProject}"
|
||||
}, {
|
||||
"name" : "MONEYITEM",
|
||||
"label" : "支付款项",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/PROJECTFUNDS_MONEYITEM"
|
||||
}, {
|
||||
"name" : "OTHERMONEYITEM",
|
||||
"label" : "其他费用支付款项",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/OTHERCONTRACTTYPE"
|
||||
}, {
|
||||
"name" : "VIEW_PM_CONTRACT_ID",
|
||||
"label" : "合同名称",
|
||||
"type" : "picker",
|
||||
"clearable" : true,
|
||||
"source" : "/api/picker/ef35975d-f063-47a5-85f8-010b36ea7bce/list",
|
||||
"labelField" : "_label",
|
||||
"valueField" : "_id",
|
||||
"modalMode" : "dialog",
|
||||
"modalSize" : "lg",
|
||||
"pickerSchema" : {
|
||||
"mode" : "table",
|
||||
"headerToolbar" : [ {
|
||||
"type" : "search-box",
|
||||
"name" : "q",
|
||||
"placeholder" : "输入关键字搜索"
|
||||
} ],
|
||||
"footerToolbar" : [ "pagination" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "SUBTYPE",
|
||||
"label" : "承包方式",
|
||||
"type" : "select",
|
||||
"clearable" : true,
|
||||
"source" : "/api/poc/dict/REIMBURSEMENT_APPROVALTYPE"
|
||||
} ]
|
||||
},
|
||||
"columns" : [ {
|
||||
"name" : "VIEW_PM_PAYMENTBATCHAFFIRM_ID",
|
||||
"label" : "主键",
|
||||
"width" : 200,
|
||||
"toggled" : false
|
||||
}, {
|
||||
"name" : "PM_PAYMENTAPPLY_ID_DISPLAY__",
|
||||
"label" : "付款单据号",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "PROJECTID_DISPLAY__",
|
||||
"label" : "工程名称",
|
||||
"width" : 300
|
||||
}, {
|
||||
"name" : "MONEYITEM",
|
||||
"label" : "支付款项",
|
||||
"width" : 100,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "人工费",
|
||||
"2" : "分包项目费",
|
||||
"3" : "工程材料费",
|
||||
"4" : "工程机械费",
|
||||
"5" : "管理费",
|
||||
"6" : "税金",
|
||||
"7" : "其他费用",
|
||||
"10" : "分包项目-劳务(专户)"
|
||||
}
|
||||
}, {
|
||||
"name" : "OTHERMONEYITEM",
|
||||
"label" : "其他费用支付款项",
|
||||
"width" : 150,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "农民工工伤保险",
|
||||
"2" : "零星",
|
||||
"3" : "其它",
|
||||
"4" : "分摊工资",
|
||||
"5" : "设计费",
|
||||
"6" : "工程审计费",
|
||||
"7" : "交易中心费",
|
||||
"8" : "劳保费",
|
||||
"9" : "其他费用",
|
||||
"10" : "间接费",
|
||||
"11" : "保险费",
|
||||
"12" : "租金",
|
||||
"13" : "折旧费",
|
||||
"14" : "工程设计合同",
|
||||
"15" : "工程外围布局合同",
|
||||
"16" : "外调项目服务合同",
|
||||
"17" : "辅助服务合同",
|
||||
"18" : "检测费",
|
||||
"19" : "项目水电费",
|
||||
"20" : "保证金",
|
||||
"21" : "福利保险缴交合同"
|
||||
}
|
||||
}, {
|
||||
"name" : "VIEW_PM_CONTRACT_ID_DISPLAY__",
|
||||
"label" : "合同名称",
|
||||
"width" : 200
|
||||
}, {
|
||||
"name" : "SUBTYPE",
|
||||
"label" : "承包方式",
|
||||
"width" : 80,
|
||||
"type" : "mapping",
|
||||
"map" : {
|
||||
"1" : "单包",
|
||||
"2" : "双包"
|
||||
}
|
||||
}, {
|
||||
"name" : "OPERATOR_DISPLAY__",
|
||||
"label" : "申请人",
|
||||
"width" : 80
|
||||
}, {
|
||||
"name" : "AFFIRMPRICE",
|
||||
"label" : "未付款金额(元)",
|
||||
"width" : 150
|
||||
} ],
|
||||
"headerToolbar" : [ "pagination" ],
|
||||
"primaryField" : "VIEW_PM_PAYMENTBATCHAFFIRM_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user