Files
eip4-platform/转换产物-attach/schema/274e7994-b564-4ef0-bd2d-024db1eb95d1.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

348 lines
8.7 KiB
JSON

{
"type" : "page",
"title" : "外经证开具申请(通用)",
"body" : {
"type" : "form",
"id" : "eip4-edit-form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "NO",
"label" : "申请单号",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "PROJECTID",
"label" : "工程名称",
"required" : true,
"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" ]
}
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ORGID",
"label" : "所属(分)公司",
"type" : "static",
"tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ITEMATTRIBUTE",
"label" : "项目属性",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "BUILDCOMPANY",
"label" : "建设单位",
"type" : "static",
"tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 8,
"body" : [ {
"name" : "ADDRESS",
"label" : "工程地址",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "PROVINCE",
"label" : "省份",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_PROJECT_PROVINCE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CITY",
"label" : "城市",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "COUNTY",
"label" : "县(区)",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "STREET",
"label" : "街道",
"required" : true,
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ACTUALSTARTDATE",
"label" : "开工日期",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ACTUALENDDATE",
"label" : "竣工日期",
"disabled" : true,
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTID",
"label" : "合同名称",
"type" : "static",
"tpl" : "${CONTRACTID_DISPLAY__ ? CONTRACTID_DISPLAY__ : (CONTRACTNAME ? CONTRACTNAME : CONTRACTID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CONTRACTNO",
"label" : "合同编号",
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTMONEY",
"label" : "合同总价(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "INVOICEFORM",
"label" : "征税方式",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/INVOICE_INVOICEFORM"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "EXTERNAL_TOTAL",
"label" : "累计跨区域涉税事项开具金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OUTPUTTAX_INVOICES",
"label" : "已开票金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "EXTERNAL_REMAINDER",
"label" : "跨区域涉税事项开具余额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "EXTERNALMONEY",
"label" : "本次跨区域涉税事项开具金额(元)",
"required" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPROVALTYPE",
"label" : "审批类型",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_EXTERNALAPPLY_APPROVALTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TAXABLECONDUCT",
"label" : "应税行为",
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CONTACTS",
"label" : "联系人",
"required" : true,
"type" : "input-text"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTACTSPHONE",
"label" : "联系电话",
"type" : "input-text"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "APPLICANT",
"label" : "申请人",
"type" : "static",
"tpl" : "${APPLICANT_DISPLAY__ ? APPLICANT_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLICANT)}",
"value" : "${currentUser}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "APPLYDATE",
"label" : "申请日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "DEPARTID",
"label" : "申请部门",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/picker/SYS_DEPART/list?perPage=500"
} ]
} ]
}, {
"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=PM_EXTERNALAPPLY&businessKey=${PM_EXTERNALAPPLY_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "PM_EXTERNALAPPLY_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "VALIDITYBEGIN",
"label" : "外经证有效开始日期",
"type" : "input-date",
"hidden" : true
}, {
"name" : "VALIDITYEND",
"label" : "外经证有效结束日期",
"type" : "input-date",
"hidden" : true
}, {
"name" : "MANAGENO",
"label" : "管理编号",
"type" : "input-text",
"hidden" : true
}, {
"name" : "WRITEOFF",
"label" : "核销金额",
"type" : "input-number",
"precision" : 2,
"hidden" : true
}, {
"name" : "TAXES",
"label" : "税金(元)",
"type" : "input-number",
"precision" : 2,
"hidden" : true
} ],
"actions" : [ ]
}
}