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>
186 lines
4.4 KiB
JSON
186 lines
4.4 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" : "ISMAJORPRODUCTS",
|
|
"label" : "是否主要供产品",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/YESNO"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "ISTURNOVERMATERIAL",
|
|
"label" : "是否周材",
|
|
"disabled" : true,
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/YESNO"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "SUPPLIERID",
|
|
"label" : "物资供应商",
|
|
"type" : "static",
|
|
"tpl" : "${SUPPLIERID_DISPLAY__ ? SUPPLIERID_DISPLAY__ : (UNITNAME ? UNITNAME : SUPPLIERID)}"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MATERIALREPOSITORYID",
|
|
"label" : "材料名称",
|
|
"type" : "static",
|
|
"tpl" : "${MATERIALREPOSITORYID_DISPLAY__ ? MATERIALREPOSITORYID_DISPLAY__ : (MATERIALNAME ? MATERIALNAME : MATERIALREPOSITORYID)}"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "SURFACEPREPARATION",
|
|
"label" : "表面处理",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "COLOURNUMBER",
|
|
"label" : "色泽色号",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "EDGINGPREPARATION",
|
|
"label" : "磨边处理",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "BRAND",
|
|
"label" : "品牌",
|
|
"disabled" : true,
|
|
"type" : "input-text"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "SUPPLYPERIOD",
|
|
"label" : "供货周期(天)",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1,
|
|
"min" : 1,
|
|
"max" : 999
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "REGISTERDATE",
|
|
"label" : "登记日期",
|
|
"disabled" : true,
|
|
"type" : "input-date"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MARKETPRICE",
|
|
"label" : "市场标价(元)",
|
|
"required" : true,
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 9.9999999999E8
|
|
} ]
|
|
}, {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "MARKETPREFERENTIALPRICE",
|
|
"label" : "市场优惠价(元)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 9.9999999999E8
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 6,
|
|
"body" : [ {
|
|
"name" : "COMPANYPRICE",
|
|
"label" : "公司价(元)",
|
|
"disabled" : true,
|
|
"type" : "input-number",
|
|
"precision" : 2,
|
|
"min" : 0,
|
|
"max" : 9.9999999999E8
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "COMPOUNDPRICE",
|
|
"label" : "合成单价",
|
|
"disabled" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"type" : "grid",
|
|
"columns" : [ {
|
|
"md" : 12,
|
|
"body" : [ {
|
|
"name" : "REMARK",
|
|
"label" : "备注",
|
|
"disabled" : true,
|
|
"type" : "textarea"
|
|
} ]
|
|
} ]
|
|
}, {
|
|
"name" : "PM_MATERIALHISTORYPRICE_ID",
|
|
"label" : "主键",
|
|
"hidden" : true,
|
|
"type" : "input-text"
|
|
} ],
|
|
"actions" : [ ]
|
|
}
|
|
} |