{ "type" : "page", "title" : "快速派车", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "VEHICLEID", "label" : "车牌号", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/40c51eee-c812-475c-81eb-c02b0bca734e/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" : "VEHICLETYPEID", "label" : "车辆类型", "type" : "static", "tpl" : "${VEHICLETYPEID_DISPLAY__ ? VEHICLETYPEID_DISPLAY__ : (VEHICLETYPE ? VEHICLETYPE : VEHICLETYPEID)}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "BURDEN", "label" : "核定载客人数/载货量", "disabled" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] }, { "md" : 6, "body" : [ { "name" : "DRIVERID", "label" : "驾驶员", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/a9abafe3-1c68-47dd-9068-63c9eb732673/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" : "DEPARTS", "label" : "用车部门", "required" : true, "type" : "tree-select", "clearable" : true, "multiple" : true, "overflowConfig" : { "displayPosition" : [ "select" ], "maxTagCount" : 1 }, "source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree", "searchable" : true, "onlyLeaf" : true } ] }, { "md" : 6, "body" : [ { "name" : "USERS", "label" : "使用人", "required" : true, "type" : "picker", "clearable" : true, "multiple" : true, "overflowConfig" : { "displayPosition" : [ "select" ], "maxTagCount" : 1 }, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "OUTWARDRUNDATE", "label" : "实际出车时间", "required" : true, "type" : "input-datetime" } ] }, { "md" : 6, "body" : [ { "name" : "RETURNDATE", "label" : "预计归车时间", "required" : true, "type" : "input-datetime" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "DESTINATION", "label" : "目的地", "required" : true, "type" : "input-text" } ] }, { "md" : 6, "body" : [ { "name" : "OPERATOR", "label" : "派车人", "type" : "static", "tpl" : "${OPERATOR_DISPLAY__ ? OPERATOR_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : OPERATOR)}", "value" : "${currentUser}" } ] } ] }, { "name" : "OA_VEHICLESEND_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "SENDDATE", "label" : "派车时间", "hidden" : true, "type" : "input-datetime" }, { "name" : "ACTUALRETURNDATE", "label" : "实际归车时间", "hidden" : true, "type" : "input-datetime" }, { "name" : "DISPATCHPLACE", "label" : "发车地点", "hidden" : true, "type" : "input-text" }, { "name" : "FRONTMILEAGE", "label" : "发车公里数", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "BEHINDMILEAGE", "label" : "返回公里数", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "REMARK", "label" : "备注", "hidden" : true, "type" : "input-text" }, { "name" : "ISRETURN", "label" : "是否归车", "hidden" : true, "type" : "checkbox", "value" : "0" } ], "actions" : [ ] } }