Files
eip4-platform/转换产物-attach/schema/6aec5e5e-7ef2-42ad-b8b5-0baa05fb34bd.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

203 lines
4.9 KiB
JSON

{
"type" : "page",
"title" : "印章使用申请查看页面",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "ISBRINGOUTAPPLY",
"label" : "是否外带",
"required" : true,
"disabled" : true,
"type" : "checkbox",
"value" : "0"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "FORMNO",
"label" : "表单号",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "FILENAME",
"label" : "文件名称",
"required" : true,
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "SEALCOUNT",
"label" : "盖章文件份数",
"disabled" : true,
"type" : "input-number",
"precision" : 0,
"step" : 1,
"min" : 1,
"max" : 9999
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "SEALBUSINESSCONENT",
"label" : "用印业务内容",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/sealBusinessConent"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "LEDGERS",
"label" : "申请印章",
"type" : "static",
"tpl" : "${LEDGERS_DISPLAY__ ? LEDGERS_DISPLAY__ : (SEALNAME ? SEALNAME : LEDGERS)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "DEPARTI_D",
"label" : "申请部门",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500",
"value" : "${currentDepart}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "APPLYNAME",
"label" : "申请人",
"type" : "static",
"tpl" : "${APPLYNAME_DISPLAY__ ? APPLYNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYNAME)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "APPLYDATE",
"label" : "申请日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "BRINGOUTADDRESS",
"label" : "外带地点",
"disabled" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 6,
"body" : [ {
"name" : "EXPECTEDBRINGOUTDATE",
"label" : "预计外带日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 6,
"body" : [ {
"name" : "EXPECTEDRETURNDATE",
"label" : "预计归还日期",
"required" : true,
"disabled" : true,
"type" : "input-date"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "USEREASON",
"label" : "用印事由",
"required" : true,
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "DOCUMENT",
"label" : "附件",
"disabled" : true,
"type" : "input-file",
"receiver" : "/api/file/upload?tableName=OA_SEALUSEAPPLY&businessKey=${OA_SEALUSEAPPLY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "OA_SEALUSEAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "EVENT",
"label" : "触发事件绑定是否外带标题",
"type" : "input-text",
"value" : "1",
"hidden" : true
} ],
"actions" : [ ]
}
}