Files
eip4-platform/转换产物-attach/schema/3ac6d010-8d3b-4766-bd58-437276155fb3.json
zhengwr 8fe377b0c8 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>
2026-06-20 15:16:30 +08:00

261 lines
6.9 KiB
JSON

{
"type" : "page",
"title" : "印章台帐编辑页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"name" : "SEALLEDGERANDENGRAVINGAPPLYRELATIONLIST",
"label" : "印章刻制申请",
"hidden" : true,
"type" : "picker",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/picker/ec6a5881-656c-4e26-b451-bda671888497/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SELECTAPPLY",
"label" : "从刻制申请中选择",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/70fb1c0f-489a-4199-aeeb-a25e54f1fb8d/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SEALCODE",
"label" : "印章编码",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEALNAME",
"label" : "印章名称",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SEALUSEBOUND",
"label" : "印章使用范围",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALTYPE_SEALUSEBOUND"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "SEALTYPE_ID",
"label" : "印章类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/OA_SEALTYPE/list?perPage=500"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "USESTATE",
"label" : "使用状态",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/OA_SEALLEDGER_USESTATE",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "KEEPER_USER",
"label" : "保管人",
"required" : true,
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
},
"placeholder" : "请点击右侧的图标"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "KEEPER_DEPART",
"label" : "保管部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500",
"value" : "${currentDepart}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "REGISTER_USER",
"label" : "登记人",
"type" : "static",
"tpl" : "${REGISTER_USER_DISPLAY__ ? REGISTER_USER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTER_USER)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PARENTNAME",
"label" : "补办印章",
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PARENTID",
"label" : "选择补办印章",
"type" : "picker",
"clearable" : true,
"source" : "/api/picker/7c0b30a5-9798-4120-8db3-1be55d18a886/list",
"labelField" : "_label",
"valueField" : "_id",
"modalMode" : "dialog",
"modalSize" : "lg",
"pickerSchema" : {
"mode" : "table",
"headerToolbar" : [ {
"type" : "search-box",
"name" : "q",
"placeholder" : "输入关键字搜索"
} ],
"footerToolbar" : [ "pagination" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "印章图片",
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_SEALLEDGER&businessKey=${OA_SEALLEDGER_ID}",
"downloadUrl" : "/api/file/${id}",
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_SEALLEDGER_ID",
"label" : "主键",
"type" : "input-text",
"hidden" : true
}, {
"name" : "1",
"label" : "1",
"type" : "input-text",
"value" : "1",
"hidden" : true
}, {
"name" : "ISBRINGOUT",
"label" : "是否外带",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO",
"value" : "0"
}, {
"name" : "ISSUPPLEMENT",
"label" : "是否补办",
"type" : "checkbox",
"value" : "0",
"hidden" : true
} ],
"actions" : [ ]
}
}