{ "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" : "ARTIFICIALPLANID", "label" : "工作内容", "type" : "static", "tpl" : "${ARTIFICIALPLANID_DISPLAY__ ? ARTIFICIALPLANID_DISPLAY__ : (WORKCONTENT ? WORKCONTENT : ARTIFICIALPLANID)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "TOTALPRICE", "label" : "金额(元)", "required" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 6, "body" : [ { "name" : "UNITINFOID", "label" : "劳务队组", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/587eb790-330f-4cae-a547-4839756de943/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "CONTRACTID", "label" : "劳务合同名称", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_LABOURSUBCONTRACTREGISTER/list?perPage=500" } ] }, { "md" : 6, "body" : [ { "name" : "CONTRACTMONEY", "label" : "合同价款(元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "name" : "VIEW_PM_NOTRELATIONARTIFICIAL_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "RELATIONID", "label" : "项目劳务合同关联", "hidden" : true, "type" : "select", "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "OLDUNITINFOID", "label" : "原选中劳务队组", "hidden" : true, "type" : "input-text" }, { "name" : "ADD", "label" : "添加", "hidden" : true, "type" : "input-text", "value" : "1" } ], "actions" : [ ] } }