{ "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" : "工程名称", "type" : "static", "tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}", "value" : "${currentProject}" } ] }, { "md" : 6, "body" : [ { "name" : "BUDGETUNITID", "label" : "预算单元", "type" : "static", "tpl" : "${BUDGETUNITID_DISPLAY__ ? BUDGETUNITID_DISPLAY__ : (BUDGETUNITNAME ? BUDGETUNITNAME : BUDGETUNITID)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "LISTNO", "label" : "清单编码", "required" : true, "disabled" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "LISTNAME", "label" : "清单名称", "required" : true, "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "LISTTRAIT", "label" : "项目特征", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "LABOURCOSTS", "label" : "单价组成-人工费", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "MATERIALCOSTS", "label" : "单价组成-材料费", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "MACHINERYCOSTS", "label" : "单价组成-机械费", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "MANAGEMENTEXPENSE", "label" : "单价组成-管理费", "required" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DROFIT", "label" : "单价组成-利润", "required" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "COMPREHENSIVEUNITPRICE", "label" : "综合单价", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "FEERATEGROUPID", "label" : "费率组", "type" : "picker", "clearable" : true, "source" : "/api/picker/8fadaa6e-eef2-4fe6-b13f-a2fb4d598253/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] } ] }, { "name" : "UNITLISTID", "label" : "单位", "required" : true, "disabled" : true, "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITLIST/list?perPage=500" }, { "name" : "PM_CBUDGETLIST_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "CALCRULES", "label" : "计算规则", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "ISLIST", "label" : "是否清单", "required" : true, "hidden" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ], "actions" : [ ] } }