Files
eip4-platform/转换产物-attach/schema/6000d02f-2069-4e5b-9a7f-a5ba2b560828.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

437 lines
11 KiB
JSON

{
"type" : "page",
"title" : "物资供应商调查-表单",
"body" : {
"type" : "form",
"title" : "",
"mode" : "horizontal",
"horizontal" : {
"leftFixed" : 120
},
"body" : [ {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "UNITNAME",
"label" : "企业名称",
"required" : true,
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITABBREVIATION",
"label" : "企业简称",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITNO",
"label" : "企业编码",
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "TAXTICKETTYPES",
"label" : "税票类型明细",
"required" : true,
"type" : "input-table",
"id" : "eg-TAXTICKETTYPES",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "TAXTICKETTYPE",
"label" : "税票类型",
"quickEdit" : {
"name" : "TAXTICKETTYPE",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TAXTICKETTYPE"
}
}, {
"name" : "REMARK",
"label" : "备注",
"quickEdit" : {
"name" : "REMARK",
"type" : "input-text"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "VALIDDATE",
"label" : "有效期至",
"type" : "input-date"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITPROPERTY",
"label" : "单位性质",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/UNITPROPERTY"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "REGISTERCAPITAL",
"label" : "注册资金(万元)",
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "UNITFOUNDDATE",
"label" : "企业成立日期",
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITPHONE",
"label" : "单位电话",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITFAX",
"label" : "传真",
"type" : "input-text",
"maxLength" : 20
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "SUPPLIER_TYPE",
"label" : "供应商分类",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/supplier_type",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITZIPCODE",
"label" : "邮编",
"type" : "input-text",
"maxLength" : 10
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "UNITEMAIL",
"label" : "单位邮箱",
"type" : "input-text",
"maxLength" : 50
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ABC_TYPE",
"label" : "ABC分类",
"required" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/ABC_type",
"value" : "1"
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "UNITURL",
"label" : "网址",
"type" : "input-text",
"maxLength" : 200
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "MAJORPRODUCTS",
"label" : "主要供应产品",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 8,
"body" : [ {
"name" : "TYPES",
"label" : "主要供应产品类型",
"type" : "tree-select",
"clearable" : true,
"multiple" : true,
"overflowConfig" : {
"displayPosition" : [ "select" ],
"maxTagCount" : 1
},
"source" : "/api/template/fdd10db0-963d-4e67-bf2a-584ba48fca33/tree",
"searchable" : true
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "CORPORATE",
"label" : "法人代表",
"type" : "input-text",
"maxLength" : 20
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CORPORATEPHONE",
"label" : "法人代表电话",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CORPORATEFAX",
"label" : "法人代表传真",
"type" : "input-text",
"maxLength" : 20
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "UNITADDRESS",
"label" : "地址",
"type" : "input-text",
"maxLength" : 100
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CORPORATEEMAIL",
"label" : "法人代表邮箱",
"type" : "input-text",
"maxLength" : 50
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "BANKS",
"label" : "银行账户信息",
"type" : "input-table",
"id" : "eg-BANKS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "PAYEEUNITNAME",
"label" : "收款单位全称",
"quickEdit" : {
"name" : "PAYEEUNITNAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "OPENINGBANK",
"label" : "开户银行",
"quickEdit" : {
"name" : "OPENINGBANK",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ACCOUNTNUMBER",
"label" : "银行账号",
"quickEdit" : {
"name" : "ACCOUNTNUMBER",
"type" : "input-text",
"maxLength" : 50
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "PERSONS",
"label" : "联系人信息",
"type" : "input-table",
"id" : "eg-PERSONS",
"addable" : true,
"removable" : true,
"staticOn" : "${__readonly}",
"columns" : [ {
"name" : "NAME",
"label" : "姓名",
"quickEdit" : {
"name" : "NAME",
"required" : true,
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "POSITIONTITLE",
"label" : "职位职称",
"quickEdit" : {
"name" : "POSITIONTITLE",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "PHONE",
"label" : "电话",
"quickEdit" : {
"name" : "PHONE",
"type" : "input-text",
"maxLength" : 100
}
}, {
"name" : "FAX",
"label" : "传真",
"quickEdit" : {
"name" : "FAX",
"type" : "input-text",
"maxLength" : 20
}
}, {
"name" : "EMAIL",
"label" : "邮箱",
"quickEdit" : {
"name" : "EMAIL",
"type" : "input-text",
"maxLength" : 50
}
}, {
"name" : "ISPRINCIPALPERSON",
"label" : "负责人",
"quickEdit" : {
"name" : "ISPRINCIPALPERSON",
"required" : true,
"type" : "checkbox",
"value" : "0"
}
} ],
"needConfirm" : false
} ]
} ]
}, {
"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=VIEW_PM_MATERIALSUPPLIER&businessKey=${VIEW_PM_MATERIALSUPPLIER_ID}",
"downloadUrl" : "/api/file/${id}",
"multiple" : true,
"staticOn" : "${__readonly}",
"joinValues" : false,
"extractValue" : false
} ]
} ]
}, {
"name" : "VIEW_PM_MATERIALSUPPLIER_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "UNITID",
"label" : "单位",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "TAXTICKETTYPE",
"label" : "税票类型",
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/TAXTICKETTYPE",
"hidden" : true
}, {
"name" : "ELIGIBILITY",
"label" : "供应商状态",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/eligibility",
"value" : "1"
}, {
"name" : "REGION",
"label" : "地区",
"required" : true,
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/SUPPLIER_REGION",
"value" : "1"
}, {
"name" : "IFJC",
"label" : "是否集采",
"hidden" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/YESNO"
} ],
"actions" : [ ]
}
}