{ "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" } ] } ] }, { "name" : "EVENT", "label" : "换算系数赋值", "hidden" : true, "type" : "input-text", "value" : "1" }, { "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" : "MACHINEREPOSITORYID", "label" : "公司机械名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/template/treegrid?treeRef=814d3da1-b354-4cd7-9ca5-e54e74849358&gridTable=PM_MACHINEREPOSITORY&rcol=RESOURCETYPEID&node=${RESOURCETYPEID}&MACHINECODE=${MACHINECODE}&page=${page}&perPage=${perPage}", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "filter" : { "title" : "", "body" : [ { "type" : "tree-select", "name" : "RESOURCETYPEID", "label" : "分类", "source" : "/api/template/814d3da1-b354-4cd7-9ca5-e54e74849358/tree", "searchable" : true, "clearable" : true }, { "type" : "input-text", "name" : "MACHINECODE", "label" : "名称", "clearable" : true } ] }, "columns" : [ { "name" : "MACHINECODE", "label" : "机械编码", "width" : 200 }, { "name" : "MACHINENAME", "label" : "机械名称", "width" : 200 }, { "name" : "SPECIFICATIONS", "label" : "规格", "width" : 200 }, { "name" : "UNIT_DISPLAY__", "label" : "计量单位", "width" : 200 }, { "name" : "RESOURCETYPEID_DISPLAY__", "label" : "机械分类", "width" : 200 } ], "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_BUDGETMATERIALREPOSITORY_ID", "label" : "预算机械ID", "required" : true, "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "MACHINECODE", "label" : "公司机械编码", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "MACHINENAME", "label" : "公司机械名称", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "SCALERQUOTIETY", "label" : "换算系数", "required" : true, "hidden" : true, "type" : "input-number", "precision" : 4, "min" : 1.0E-4 }, { "name" : "VIEW_PM_MACHINERELATION_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "PM_COMPANY_J_RELATION_ID", "label" : "子表主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }