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>
372 lines
11 KiB
JSON
372 lines
11 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" : 4,
|
|
"body" : [ {
|
|
"name" : "SERIALNUMBER",
|
|
"label" : "编号",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 8,
|
|
"body" : [ {
|
|
"name" : "LABORTEAMNAME",
|
|
"label" : "劳务队组名称",
|
|
"required" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "RECORDDATE",
|
|
"label" : "登记日期",
|
|
"required" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "VALIDDATE",
|
|
"label" : "有效期至",
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"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" : "SAFETYHEAD",
|
|
"label" : "安全负责人",
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MATERIALSTAFF",
|
|
"label" : "材料员",
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MAINHEAD",
|
|
"label" : "主要负责人",
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PAYEE",
|
|
"label" : "领款人",
|
|
"type" : "input-text",
|
|
"maxLength" : 50
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "PROFESSIONALWORKERS",
|
|
"label" : "专业工种",
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "WORKERAMOUNT",
|
|
"label" : "劳务人数(人)",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "SENIORTECHNICIANAMOUNT",
|
|
"label" : "其中高级技工(人)",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "MIDDLE_LEVELTECHNICIANAMOUNT",
|
|
"label" : "中级技工(人)",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
}, {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "JUNIORTECHNICIANAMOUNT",
|
|
"label" : "初级技工(人)",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 4,
|
|
"body" : [ {
|
|
"name" : "UNDERWORKERAMOUNT",
|
|
"label" : "辅助工人数",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "CONSTRUCTIONPROJECT",
|
|
"label" : "近年来主要劳务施工项目情况",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REMARK",
|
|
"label" : "备注",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"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"
|
|
}
|
|
}, {
|
|
"name" : "OPENINGBANK",
|
|
"label" : "开户银行",
|
|
"quickEdit" : {
|
|
"name" : "OPENINGBANK",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "ACCOUNTNUMBER",
|
|
"label" : "银行账号",
|
|
"quickEdit" : {
|
|
"name" : "ACCOUNTNUMBER",
|
|
"type" : "input-text"
|
|
}
|
|
} ],
|
|
"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"
|
|
}
|
|
}, {
|
|
"name" : "POSITIONTITLE",
|
|
"label" : "职位职称",
|
|
"quickEdit" : {
|
|
"name" : "POSITIONTITLE",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "PHONE",
|
|
"label" : "电话",
|
|
"quickEdit" : {
|
|
"name" : "PHONE",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "FAX",
|
|
"label" : "传真",
|
|
"quickEdit" : {
|
|
"name" : "FAX",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "EMAIL",
|
|
"label" : "邮箱",
|
|
"quickEdit" : {
|
|
"name" : "EMAIL",
|
|
"type" : "input-text"
|
|
}
|
|
}, {
|
|
"name" : "ISPRINCIPALPERSON",
|
|
"label" : "负责人",
|
|
"quickEdit" : {
|
|
"name" : "ISPRINCIPALPERSON",
|
|
"required" : true,
|
|
"type" : "checkbox"
|
|
}
|
|
} ],
|
|
"needConfirm" : false
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"title" : "人员信息",
|
|
"body" : [ {
|
|
"name" : "MEMBERS",
|
|
"label" : "人员信息",
|
|
"type" : "input-table",
|
|
"id" : "eg-MEMBERS",
|
|
"addable" : true,
|
|
"removable" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"columns" : [ ],
|
|
"needConfirm" : false
|
|
}, {
|
|
"name" : "VIEW_PM_LABORTEAM_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "LABORCOMPANYID",
|
|
"label" : "所属劳务公司",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/e6af3a6b-9fbf-4f55-bd2b-b60dcfa1f7df/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
},
|
|
"hidden" : true
|
|
}, {
|
|
"name" : "RESPONSIBLEPERSON",
|
|
"label" : "负责人",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "ADDRESS",
|
|
"label" : "负责人地址",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "CONTACTPHONE",
|
|
"label" : "联系电话",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "MOBILEPHONE",
|
|
"label" : "手机",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "TAXTICKETTYPE",
|
|
"label" : "税票类型",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/TAXTICKETTYPE",
|
|
"hidden" : true
|
|
} ]
|
|
} ]
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |