Files
eip4-platform/转换产物-attach/schema/e9616113-472b-413e-8515-b74e4240c2b4.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

273 lines
7.0 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" : "PROJECTID",
"label" : "工程名称",
"type" : "static",
"tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}",
"value" : "${currentProject}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "CONTRACTID",
"label" : "合同名称",
"type" : "static",
"tpl" : "${CONTRACTID_DISPLAY__ ? CONTRACTID_DISPLAY__ : (CONTRACTNAME ? CONTRACTNAME : CONTRACTID)}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYMETHOD",
"label" : "支付方式",
"required" : true,
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PROJECTFUNDS_PAYMETHOD",
"value" : "1"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "ACCOUNTEDDATE",
"label" : "入账日期",
"required" : true,
"type" : "input-date",
"value" : "${now}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PAYMENTTYPE",
"label" : "来款类型",
"disabled" : true,
"type" : "select",
"clearable" : true,
"source" : "/api/poc/dict/PM_RECEIVABLES_PAYMENTTYPE"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PREPAY",
"label" : "按合同约定预付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "ADVANCEPRICE",
"label" : "本次预付款收款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALADVANCEPRICE",
"label" : "累计已收预付款(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "RECEIVABLESPRICE",
"label" : "本次进度款收款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALRECEIVABLESPRICE",
"label" : "累计已收进度款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "FORAPRICE",
"label" : "本次甲供款收款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2,
"min" : -9.9999999999E8,
"max" : 9.9999999999E8
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALFORAPRICE",
"label" : "累计已收甲供款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "PROJECTFUND",
"label" : "本次工程款收款金额(元)",
"required" : true,
"validationErrors" : {
"required" : "预付款、进度款、甲供款至少需要填写一项!"
},
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "TOTALPROJECTFUND",
"label" : "累计已收工程款金额(元)",
"disabled" : true,
"type" : "input-number",
"precision" : 2
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "REGISTERDATE",
"label" : "登记日期",
"required" : true,
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "OPERATOR",
"label" : "登记人",
"type" : "static",
"tpl" : "${OPERATOR_DISPLAY__ ? OPERATOR_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : OPERATOR)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 12,
"body" : [ {
"name" : "REMARK",
"label" : "备注",
"disabled" : true,
"type" : "textarea"
} ]
} ]
}, {
"type" : "grid",
"columns" : [ {
"md" : 4,
"body" : [ {
"name" : "AFFIRMDATE",
"label" : "确认日期",
"disabled" : true,
"type" : "input-date",
"value" : "${now}"
} ]
}, {
"md" : 4,
"body" : [ {
"name" : "AFFIRMUSER",
"label" : "确认人",
"type" : "static",
"tpl" : "${AFFIRMUSER_DISPLAY__ ? AFFIRMUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : AFFIRMUSER)}",
"value" : "${currentUser}"
} ]
} ]
}, {
"name" : "RECORDTOTALRECEIVABLESPRICE",
"label" : "RECORDTOTALRECEIVABLESPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALFORAPRICE",
"label" : "RECORDTOTALFORAPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALPROJECTFUND",
"label" : "RECORDTOTALPROJECTFUND",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "RECORDTOTALADVANCEPRICE",
"label" : "RECORDTOTALADVANCEPRICE",
"disabled" : true,
"hidden" : true,
"type" : "input-number",
"precision" : 2
}, {
"name" : "PM_RECEIVABLES_ID",
"label" : "主键",
"hidden" : true,
"type" : "input-text"
}, {
"name" : "ISAFFIRMDATE",
"label" : "是否已确认",
"required" : true,
"disabled" : true,
"hidden" : true,
"type" : "checkbox",
"value" : "0"
} ],
"actions" : [ ]
}
}