{ "type" : "page", "title" : "物资采购订单(土建)核价编辑页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "PURCHASEAPPLYID", "label" : "物资采购申请表ID", "type" : "static", "tpl" : "${PURCHASEAPPLYID_DISPLAY__ ? PURCHASEAPPLYID_DISPLAY__ : (FORMNO ? FORMNO : PURCHASEAPPLYID)}" } ] }, { "md" : 5, "body" : [ { "name" : "ISPREPARATION", "label" : "公司备料", "disabled" : true, "type" : "checkbox", "value" : "0" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "FORMNO", "label" : "表单号", "required" : true, "disabled" : true, "type" : "input-text", "maxLength" : 50 } ] }, { "md" : 3, "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "type" : "static", "tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}", "value" : "${currentProject}" } ] }, { "md" : 5, "body" : [ { "name" : "APPLYDATE", "label" : "申请日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "DEPARTID", "label" : "申请部门", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_DEPART/list?perPage=500", "value" : "${currentDepart}" } ] }, { "md" : 3, "body" : [ { "name" : "APPLYNAME", "label" : "申请人", "type" : "static", "tpl" : "${APPLYNAME_DISPLAY__ ? APPLYNAME_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYNAME)}", "value" : "${currentUser}" } ] }, { "md" : 5, "body" : [ { "name" : "DELIVERYREQUIRE", "label" : "要求到货日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "DELIVERYPLACE", "label" : "送货地点", "required" : true, "disabled" : true, "type" : "input-text", "maxLength" : 100 } ] }, { "md" : 3, "body" : [ { "name" : "CONSIGNEE", "label" : "收货联系人", "type" : "static", "tpl" : "${CONSIGNEE_DISPLAY__ ? CONSIGNEE_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CONSIGNEE)}" } ] }, { "md" : 5, "body" : [ { "name" : "CONFIRMATIONPEOPLE", "label" : "确认人", "type" : "static", "tpl" : "${CONFIRMATIONPEOPLE_DISPLAY__ ? CONFIRMATIONPEOPLE_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CONFIRMATIONPEOPLE)}", "value" : "${currentUser}" } ] } ] }, { "name" : "APPLYTYPE", "label" : "申请类型", "required" : true, "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/APPLYTYPE", "value" : "2" }, { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "CONFIRMATIONDATE", "label" : "订货日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 3, "body" : [ { "name" : "DELIVERDATE", "label" : "预计到货日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 3, "body" : [ { "name" : "UNITINFOID", "label" : "物资供应商", "type" : "static", "tpl" : "${UNITINFOID_DISPLAY__ ? UNITINFOID_DISPLAY__ : (UNITID ? UNITID : UNITINFOID)}" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTID", "label" : "物资合同名称", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_MATERIALCONTRACTREGISTER/list?perPage=500" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "EXPLAIN", "label" : "说明", "disabled" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "ORDERSDETAILS", "label" : "订单明细", "type" : "input-table", "id" : "eg-ORDERSDETAILS", "addable" : false, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "MATERIALCODE", "label" : "材料编码", "quickEdit" : { "name" : "MATERIALCODE", "disabled" : true, "type" : "input-text" } }, { "name" : "MATERIALNAME", "label" : "材料名称", "quickEdit" : { "name" : "MATERIALNAME", "disabled" : true, "type" : "input-text" } }, { "name" : "SPECIFICATIONS", "label" : "规格", "quickEdit" : { "name" : "SPECIFICATIONS", "disabled" : true, "type" : "input-text" } }, { "name" : "PURCHASENUM", "label" : "数量", "quickEdit" : { "name" : "PURCHASENUM", "required" : true, "type" : "input-number", "precision" : 4 } }, { "name" : "UNIT", "label" : "单位", "quickEdit" : { "name" : "UNIT", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/PM_UNITLIST/list?perPage=500" } }, { "name" : "UNITPRICE", "label" : "单价(元)", "quickEdit" : { "name" : "UNITPRICE", "required" : true, "type" : "input-number", "precision" : 2 } }, { "name" : "REMARK", "label" : "备注", "quickEdit" : { "name" : "REMARK", "disabled" : true, "type" : "input-text", "maxLength" : 100 } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "disabled" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_MATERIALPURCHASEORDERS_TJ&businessKey=${PM_MATERIALPURCHASEORDERS_TJ_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PM_MATERIALPURCHASEORDERS_TJ_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "SELECT", "label" : "选择", "type" : "static", "tpl" : "${SELECT_DISPLAY__ ? SELECT_DISPLAY__ : SELECT}", "hidden" : true }, { "name" : "PROJECTCODE", "label" : "工程ID", "hidden" : true, "type" : "input-text" }, { "name" : "OLDUNITINFOID", "label" : "物资供应商", "hidden" : true, "type" : "input-text" }, { "name" : "TEMP", "label" : "TEMP", "type" : "input-text", "hidden" : true }, { "name" : "ADD", "label" : "添加", "disabled" : true, "hidden" : true, "type" : "input-text", "value" : "1" }, { "name" : "PRICERAPIDFILLIN", "label" : "单价快填", "type" : "input-number", "precision" : 2, "hidden" : true }, { "name" : "CONTRACTMONEY", "label" : "合同价款(元)", "disabled" : true, "type" : "input-number", "precision" : 2, "hidden" : true } ], "actions" : [ ] } }