{ "type" : "page", "title" : "总包合同接收交底", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "PM_PROJECTID", "label" : "工程名称", "type" : "static", "tpl" : "${PM_PROJECTID_DISPLAY__ ? PM_PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PM_PROJECTID)}", "value" : "${currentProject}" } ] }, { "md" : 3, "body" : [ { "name" : "BUILDCOMPANY", "label" : "建设单位", "type" : "static", "tpl" : "${BUILDCOMPANY_DISPLAY__ ? BUILDCOMPANY_DISPLAY__ : (SHOWNAME ? SHOWNAME : BUILDCOMPANY)}" } ] }, { "md" : 3, "body" : [ { "name" : "ORGID", "label" : "(分)公司", "type" : "static", "tpl" : "${ORGID_DISPLAY__ ? ORGID_DISPLAY__ : (NAME ? NAME : ORGID)}", "value" : "${orgId}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "TYPE", "label" : "工程类型", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECT_TYPE" } ] }, { "md" : 3, "body" : [ { "name" : "CATEGORY", "label" : "工程类别", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECT_CATEGORY" } ] }, { "md" : 3, "body" : [ { "name" : "ADDRESS", "label" : "工程地址", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "STRUCTURE", "label" : "结构", "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "NUMBER", "label" : "层次", "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "ACREAGE", "label" : "建筑面积(m2)", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "PROJECTMANAGER", "label" : "项目经理", "type" : "static", "tpl" : "${PROJECTMANAGER_DISPLAY__ ? PROJECTMANAGER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : PROJECTMANAGER)}" } ] }, { "md" : 3, "body" : [ { "name" : "FIRSTSIDEMANAGER", "label" : "建设单位负责人", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "SIGNUPTIME", "label" : "签约日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTNUMBER", "label" : "合同编号", "required" : true, "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTUALMODE", "label" : "承包方式", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "CONTRACTUALFORM", "label" : "合同形式", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTFORM" } ] }, { "md" : 3, "body" : [ { "name" : "GENERALCONTRACTOR", "label" : "发包人(总包方)", "type" : "picker", "clearable" : true, "source" : "/api/picker/1964fda1-b020-4a8b-95e2-dc32de36e74a/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, { "md" : 3, "body" : [ { "name" : "PRJNUMBER", "label" : "合同备案编号", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "STARTTIME", "label" : "开工日期", "disabled" : true, "type" : "input-date" } ] }, { "md" : 3, "body" : [ { "name" : "ENDTIME", "label" : "竣工日期", "disabled" : true, "type" : "input-date" } ] }, { "md" : 3, "body" : [ { "name" : "WORKINGDAYS", "label" : "工期(天)", "disabled" : true, "type" : "input-number", "precision" : 0, "step" : 1 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "CONTRACTUALMONEY", "label" : "合同价款(元)", "required" : true, "disabled" : true, "type" : "input-number", "precision" : 2, "max" : 9.99999999999E9 } ] }, { "md" : 7, "body" : [ { "name" : "CAPITAL", "label" : "大写", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "TYPEOFPAYMENT", "label" : "付款方式", "required" : true, "disabled" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONTRACTUALSCOPE", "label" : "承包范围", "required" : true, "disabled" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "QUALITYSTANDARD", "label" : "质量标准", "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "SECURITYDESIRE", "label" : "安全要求", "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "DEPOSITRATE", "label" : "合同履约金", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "MEMBERUSERS", "label" : "合同备案人员", "disabled" : true, "type" : "input-table", "id" : "eg-MEMBERUSERS", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "PROJECTROLE", "label" : "项目角色", "quickEdit" : { "name" : "PROJECTROLE", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECTMANAGERROLE", "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "1e943fbb-1a80-47ab-8af1-673d8233e32f", "editgridField" : "MEMBERUSERS", "scriptKey" : "2884336e-0637-4a49-908d-d96cf811c8b2", "changedField" : "PROJECTROLE", "row" : "${__rendererData}", "parent" : { "MEMBERUSERS" : "${__rendererData.MEMBERUSERS || MEMBERUSERS}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-MEMBERUSERS", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } }, { "name" : "USERID", "label" : "姓名", "type" : "tpl", "tpl" : "${USERID_DISPLAY__ ? USERID_DISPLAY__ : USERID}", "quickEdit" : false }, { "name" : "SELECT", "label" : "SELECT", "quickEdit" : { "name" : "SELECT", "type" : "picker", "clearable" : true, "source" : "/api/picker/a801e436-9176-4794-a48b-5c7020697697/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "1e943fbb-1a80-47ab-8af1-673d8233e32f", "editgridField" : "MEMBERUSERS", "scriptKey" : "d2f3163a-73c7-4072-9ab9-bfe28e4cbb54", "changedField" : "SELECT", "row" : "${__rendererData}", "parent" : { "MEMBERUSERS" : "${__rendererData.MEMBERUSERS || MEMBERUSERS}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-MEMBERUSERS", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "NOTE", "label" : "备注", "disabled" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "BOOKS", "label" : "交底书", "disabled" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_CONTRACTUALBOOKRECEIVER&businessKey=${PM_CONTRACTUALBOOKRECEIVER_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "RECEIVER", "label" : "接收人", "type" : "static", "tpl" : "${RECEIVER_DISPLAY__ ? RECEIVER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : RECEIVER)}", "value" : "${currentUser}" } ] } ] }, { "name" : "PM_CONTRACTUALREGISTER_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "CONTRACTNAME", "label" : "合同名称", "required" : true, "disabled" : true, "type" : "input-text", "hidden" : true }, { "name" : "PREPAY", "label" : "预付款(元)", "disabled" : true, "type" : "input-number", "precision" : 2, "max" : 9.99999999999E9, "hidden" : true }, { "name" : "PROGRESSPAYRATE", "label" : "进度支付比例(%)", "disabled" : true, "type" : "input-number", "precision" : 2, "max" : 100.0, "hidden" : true }, { "name" : "BALANCEPAYRATE", "label" : "竣工结算支付比例(%)", "disabled" : true, "type" : "input-number", "precision" : 2, "max" : 100.0, "hidden" : true }, { "name" : "PM_CONTRACTUALBOOKRECEIVER_ID", "label" : "接收交底ID", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }