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>
327 lines
7.9 KiB
JSON
327 lines
7.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" : "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" ]
|
|
},
|
|
"value" : "${currentProject}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ISFINISH",
|
|
"label" : "本月是否完工",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/YESNO",
|
|
"value" : "0"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "YEAR",
|
|
"label" : "年份",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"options" : [ {
|
|
"label" : "2035",
|
|
"value" : 2035
|
|
}, {
|
|
"label" : "2034",
|
|
"value" : 2034
|
|
}, {
|
|
"label" : "2033",
|
|
"value" : 2033
|
|
}, {
|
|
"label" : "2032",
|
|
"value" : 2032
|
|
}, {
|
|
"label" : "2031",
|
|
"value" : 2031
|
|
}, {
|
|
"label" : "2030",
|
|
"value" : 2030
|
|
}, {
|
|
"label" : "2029",
|
|
"value" : 2029
|
|
}, {
|
|
"label" : "2028",
|
|
"value" : 2028
|
|
}, {
|
|
"label" : "2027",
|
|
"value" : 2027
|
|
}, {
|
|
"label" : "2026",
|
|
"value" : 2026
|
|
}, {
|
|
"label" : "2025",
|
|
"value" : 2025
|
|
}, {
|
|
"label" : "2024",
|
|
"value" : 2024
|
|
}, {
|
|
"label" : "2023",
|
|
"value" : 2023
|
|
}, {
|
|
"label" : "2022",
|
|
"value" : 2022
|
|
}, {
|
|
"label" : "2021",
|
|
"value" : 2021
|
|
}, {
|
|
"label" : "2020",
|
|
"value" : 2020
|
|
}, {
|
|
"label" : "2019",
|
|
"value" : 2019
|
|
}, {
|
|
"label" : "2018",
|
|
"value" : 2018
|
|
}, {
|
|
"label" : "2017",
|
|
"value" : 2017
|
|
}, {
|
|
"label" : "2016",
|
|
"value" : 2016
|
|
}, {
|
|
"label" : "2015",
|
|
"value" : 2015
|
|
}, {
|
|
"label" : "2014",
|
|
"value" : 2014
|
|
}, {
|
|
"label" : "2013",
|
|
"value" : 2013
|
|
}, {
|
|
"label" : "2012",
|
|
"value" : 2012
|
|
}, {
|
|
"label" : "2011",
|
|
"value" : 2011
|
|
}, {
|
|
"label" : "2010",
|
|
"value" : 2010
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MONTH",
|
|
"label" : "月份",
|
|
"required" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"options" : [ {
|
|
"label" : "1月",
|
|
"value" : 1
|
|
}, {
|
|
"label" : "2月",
|
|
"value" : 2
|
|
}, {
|
|
"label" : "3月",
|
|
"value" : 3
|
|
}, {
|
|
"label" : "4月",
|
|
"value" : 4
|
|
}, {
|
|
"label" : "5月",
|
|
"value" : 5
|
|
}, {
|
|
"label" : "6月",
|
|
"value" : 6
|
|
}, {
|
|
"label" : "7月",
|
|
"value" : 7
|
|
}, {
|
|
"label" : "8月",
|
|
"value" : 8
|
|
}, {
|
|
"label" : "9月",
|
|
"value" : 9
|
|
}, {
|
|
"label" : "10月",
|
|
"value" : 10
|
|
}, {
|
|
"label" : "11月",
|
|
"value" : 11
|
|
}, {
|
|
"label" : "12月",
|
|
"value" : 12
|
|
} ]
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "COMPLETEAMOUNT",
|
|
"label" : "月完成工作量(元)",
|
|
"required" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "CUMULATIVECOMPLETE",
|
|
"label" : "累计完成工作量(元)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "IMAGEPROGRESS",
|
|
"label" : "本月形象进度",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "NEXTPLAN",
|
|
"label" : "下月计划完成工作量(元)",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "NEXTIMAGEPROGRESS",
|
|
"label" : "下月计划形象进度",
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "DESIGNCHANGE",
|
|
"label" : "设计变更或决算调整(元)",
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "PROJECTMANGER",
|
|
"label" : "项目经理",
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"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_MONTHCOMPLETEWORK&businessKey=${PM_MONTHCOMPLETEWORK_ID}",
|
|
"downloadUrl" : "/api/file/${id}",
|
|
"multiple" : true,
|
|
"staticOn" : "${__readonly}",
|
|
"joinValues" : false,
|
|
"extractValue" : false
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTEREDDATE",
|
|
"label" : "登记日期",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-date",
|
|
"value" : "${now}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTEREDUSER",
|
|
"label" : "登记人",
|
|
"type" : "static",
|
|
"tpl" : "${REGISTEREDUSER_DISPLAY__ ? REGISTEREDUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : REGISTEREDUSER)}",
|
|
"value" : "${currentUser}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "RECORDCUMULATIVECOMPLETE",
|
|
"label" : "记录累计完成工作量",
|
|
"disabled" : true,
|
|
"hidden" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2
|
|
}, {
|
|
"name" : "PM_MONTHCOMPLETEWORKCONFIRM_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "CHANGE",
|
|
"label" : "CHANGE",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1,
|
|
"value" : "1",
|
|
"hidden" : true
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |