{ "type" : "page", "title" : "周转(自购)材料盘点准备编辑界面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "tabs", "tabs" : [ { "title" : "盘点信息", "body" : [ { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "PAPERDATE", "label" : "账面日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 6, "body" : [ { "name" : "INVENTORYSTARTDATE", "label" : "盘点开始日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 6, "body" : [ { "name" : "ATTNNAME", "label" : "经办人", "type" : "static", "tpl" : "${ATTNNAME_DISPLAY__ ? ATTNNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : ATTNNAME)}", "value" : "${currentUser}" } ] }, { "md" : 6, "body" : [ { "name" : "DEPARTID", "label" : "部门", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_DEPART/list?perPage=500", "value" : "${currentDepart}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] } ] }, { "title" : "材料明细", "body" : [ { "name" : "INVENTORYDETAILS", "label" : "材料盘点明细", "required" : true, "type" : "input-table", "id" : "eg-INVENTORYDETAILS", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "MATERIALCODE", "label" : "材料编码", "quickEdit" : { "name" : "MATERIALCODE", "disabled" : true, "type" : "input-text" } }, { "name" : "MATERIALID", "label" : "材料名称", "type" : "tpl", "tpl" : "${MATERIALID_DISPLAY__ ? MATERIALID_DISPLAY__ : MATERIALID}", "quickEdit" : false }, { "name" : "SPECIFICATIONS", "label" : "规格", "quickEdit" : { "name" : "SPECIFICATIONS", "disabled" : true, "type" : "input-text" } }, { "name" : "PAPERPURCHASENUM", "label" : "账面数量", "quickEdit" : { "name" : "PAPERPURCHASENUM", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 4 } }, { "name" : "UNIT", "label" : "单位", "quickEdit" : { "name" : "UNIT", "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITLIST/list?perPage=500" } }, { "name" : "UNITPRICE", "label" : "单价(元)", "quickEdit" : { "name" : "UNITPRICE", "disabled" : true, "type" : "input-number", "precision" : 2 } } ], "needConfirm" : false }, { "name" : "PM_TURNOVERMATERIALBUYINVENTORY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "FORMNO", "label" : "盘点单号", "required" : true, "type" : "input-text", "maxLength" : 50, "hidden" : true }, { "name" : "STOREHOUSEINFOID", "label" : "盘店仓库", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_MATERIAL_STOREHOUSE", "hidden" : true }, { "name" : "INVENTORYENDDATE", "label" : "盘点结束日期", "type" : "input-date", "hidden" : true }, { "name" : "INVENTORYSTATUS", "label" : "盘点状态", "required" : true, "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/MATERIAL_INVENTORYSTATUS", "value" : "1" }, { "name" : "OLDSTOREHOUSE", "label" : "原选择仓库", "type" : "picker", "clearable" : true, "source" : "/api/picker/4e901c80-8a74-42b8-80ef-2e496e536fc3/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "hidden" : true }, { "name" : "EVENT", "label" : "事件", "type" : "input-number", "precision" : 0, "step" : 1, "value" : "1", "hidden" : true }, { "name" : "ORGID", "label" : "(分)公司", "type" : "picker", "clearable" : true, "source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "value" : "${orgId}", "hidden" : true } ] } ] } ], "actions" : [ ] } }