{ "type" : "page", "title" : "指定参照材料编辑界面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BUDGETMATERIALNAME", "label" : "预算材料名称", "required" : true, "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "BUDGETMATERIALSPECIFICATIONS", "label" : "预算材料规格", "required" : true, "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BUDGETMATERIALUNIT", "label" : "预算材料单位", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITLIST/list?perPage=500" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PM_MATERIALREPOSITORY_ID", "label" : "公司材料", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/1d3c0d8c-b74b-45f4-87c4-79ff17fdd180/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 6, "body" : [ { "name" : "SPECIFICATIONS", "label" : "公司材料规格", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "UNIT", "label" : "公司材料单位", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITLIST/list?perPage=500" } ] } ] }, { "name" : "PM_MATERIALRELATION_ID", "label" : "子表主键", "hidden" : true, "type" : "input-text" }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "SCALERQUOTIETY", "label" : "换算系数", "required" : true, "type" : "input-number", "precision" : 4, "min" : 1.0 } ] } ] }, { "name" : "MATERIALCODE", "label" : "公司材料编码", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "MATERIALNAME", "label" : "公司材料名称", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "VIEW_PM_MATERIALRELATION_ID", "label" : "主键", "type" : "input-text", "hidden" : true }, { "name" : "PM_BUDGETMATERIALREPOSITORY_ID", "label" : "预算材料ID", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "EVENT", "label" : "换算系数赋值", "hidden" : true, "type" : "input-text", "value" : "1" } ], "actions" : [ ] } }