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>
374 lines
10 KiB
JSON
374 lines
10 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "单位基本信息编辑页面(内部定制)-日志查看用",
|
|
"body" : {
|
|
"type" : "form",
|
|
"id" : "eip4-edit-form",
|
|
"title" : "",
|
|
"mode" : "horizontal",
|
|
"horizontal" : {
|
|
"leftFixed" : 120
|
|
},
|
|
"body" : [ {
|
|
"type" : "tabs",
|
|
"tabs" : [ {
|
|
"title" : "单位基本信息",
|
|
"body" : [ {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITNAME",
|
|
"label" : "单位名称",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITNO",
|
|
"label" : "单位编码",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITABBREVIATION",
|
|
"label" : "单位简称",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITPROPERTY",
|
|
"label" : "单位性质",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/UNITPROPERTY"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITFOUNDDATE",
|
|
"label" : "企业成立日期",
|
|
"type" : "input-date"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTERCAPITAL",
|
|
"label" : "注册资本(万元)",
|
|
"type" : "input-number",
|
|
"precision" : 4
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITAPTITUDE",
|
|
"label" : "单位资质",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "BUSINESSLICENSEPERIOD",
|
|
"label" : "营业执照期限",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITPHONE",
|
|
"label" : "单位电话",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITFAX",
|
|
"label" : "传真",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITADDRESS",
|
|
"label" : "地址",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITZIPCODE",
|
|
"label" : "邮编",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITEMAIL",
|
|
"label" : "单位邮箱",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITURL",
|
|
"label" : "网址",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CORPORATE",
|
|
"label" : "法人代表",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CORPORATEPHONE",
|
|
"label" : "法人代表电话",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CORPORATEFAX",
|
|
"label" : "法人代表传真",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CORPORATEEMAIL",
|
|
"label" : "法人代表邮箱",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTERDATE",
|
|
"label" : "登记日期",
|
|
"required" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "UNITTYPE2",
|
|
"label" : "单位分类",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/UNITTYPE"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "TAXPAYERIDNO",
|
|
"label" : "统一社会信用代码",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MAJORFORREGOIN",
|
|
"label" : "负责区域",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REMARK",
|
|
"label" : "备注",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "银行账户信息",
|
|
"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
|
|
}
|
|
}, {
|
|
"name" : "INTERBANKNO",
|
|
"label" : "联行号",
|
|
"quickEdit" : {
|
|
"name" : "INTERBANKNO",
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
}
|
|
}, {
|
|
"name" : "BANKACCOUNTADDRESS",
|
|
"label" : "公司地址",
|
|
"quickEdit" : {
|
|
"name" : "BANKACCOUNTADDRESS",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "BANKACCOUNTPHONE",
|
|
"label" : "联系电话",
|
|
"quickEdit" : {
|
|
"name" : "BANKACCOUNTPHONE",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "ABOLISH",
|
|
"label" : "使用状态",
|
|
"quickEdit" : {
|
|
"name" : "ABOLISH",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/OFFICE_USERSTATUS",
|
|
"value" : "1"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
}, {
|
|
"name" : "OA_UNITINFO_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"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" : "PERSONREMARK",
|
|
"label" : "备注",
|
|
"quickEdit" : {
|
|
"name" : "PERSONREMARK",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "FAX",
|
|
"label" : "传真",
|
|
"quickEdit" : {
|
|
"name" : "FAX",
|
|
"type" : "input-text",
|
|
"maxLength" : 20
|
|
}
|
|
}, {
|
|
"name" : "EMAIL",
|
|
"label" : "邮箱",
|
|
"quickEdit" : {
|
|
"name" : "EMAIL",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "ISPRINCIPALPERSON",
|
|
"label" : "负责人",
|
|
"quickEdit" : {
|
|
"name" : "ISPRINCIPALPERSON",
|
|
"required" : true,
|
|
"type" : "checkbox",
|
|
"value" : "0"
|
|
}
|
|
} ],
|
|
"needConfirm" : false,
|
|
"hidden" : true
|
|
}, {
|
|
"name" : "UNITTYPE",
|
|
"label" : "实际单位分类",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |