{ "type" : "page", "title" : "车辆档案编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PLATENUMBER", "label" : "车牌号", "required" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "VEHICLETYPEID", "label" : "车辆类型", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/de60eda0-e7f0-4853-96c9-88cb05383ab8/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 4, "body" : [ { "name" : "FLEETID", "label" : "所属车队", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/OA_FLEET/list?perPage=500" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "MODEL", "label" : "厂家型号", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "BRAND", "label" : "车辆品牌", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "VEHICLECOLOR", "label" : "颜色", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "BURDEN", "label" : "核定载客人数/载货量", "required" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] }, { "md" : 4, "body" : [ { "name" : "PRODUCTIONDATE", "label" : "出厂日期", "type" : "input-date", "value" : "${now}" } ] }, { "md" : 4, "body" : [ { "name" : "DRIVERID", "label" : "默认驾驶员", "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" : 4, "body" : [ { "name" : "PURCHASEDATE", "label" : "购买日期", "type" : "input-date", "value" : "${now}" } ] }, { "md" : 4, "body" : [ { "name" : "BUYINGPRICE", "label" : "购买价格(万元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "SUPPLIER", "label" : "供应商", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "SUPPLIERCONTACT", "label" : "供应商联系人", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "SUPPLIERTELEPHONE", "label" : "供应商联系电话", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "MAINTENANCESTATION", "label" : "维修站", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "MAINTENANCECONTACT", "label" : "维修站联系人", "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "MAINTENANCETELEPHONE", "label" : "维修站联系电话", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "ISPUBLIC", "label" : "是否公开使用", "required" : true, "type" : "checkbox", "value" : "1" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "车辆照片", "type" : "input-file", "receiver" : "/api/file/upload?tableName=OA_VEHICLEINFORMATION&businessKey=${OA_VEHICLEINFORMATION_ID}", "downloadUrl" : "/api/file/${id}", "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "OA_VEHICLEINFORMATION_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "VEHICLESTATUS", "label" : "车辆目前的状态", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/vehicleStatus", "value" : "0" } ], "actions" : [ ] } }