{ "type" : "page", "title" : "合同视图查看", "body" : { "type" : "form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "tabs", "tabs" : [ { "title" : "原始合同", "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "CONTRACTNUMBER", "label" : "合同编码", "required" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTNAME", "label" : "合同名称", "required" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "FIRSTPARTY", "label" : "甲方", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "CONTRACTCATEGORY", "label" : "合同类别", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTCATEGORY" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTFORM", "label" : "合同形式", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTFORM" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTTYPE", "label" : "合同种类", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACT_CONTRACTTYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PM_PROJECT_ID", "label" : "工程名称", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/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" : "STARTCONTRACTMONEY", "label" : "合同价款(元)", "required" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PARTYB", "label" : "乙方", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/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" : "OA_CONTACTPERSONINFO_ID", "label" : "联系人", "type" : "picker", "clearable" : true, "source" : "/api/picker/23d68556-782b-49bd-ae2c-f913bcad0b95/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" : "PHONE", "label" : "联系电话", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "STARTDATE", "label" : "开始日期", "type" : "input-date" } ] }, { "md" : 4, "body" : [ { "name" : "ENDDATE", "label" : "结束日期", "type" : "input-date" } ] }, { "md" : 4, "body" : [ { "name" : "APPLYER", "label" : "申请人", "type" : "picker", "clearable" : true, "source" : "/api/picker/ac35b7e4-a338-4ca6-b5cd-98d5d1c54bab/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" : 12, "body" : [ { "name" : "CONTRACTCONTENT", "label" : "合同内容", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "AGREEDTERMS", "label" : "合同约定付款条款", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONFIGDETAILS", "label" : "付款配置", "type" : "input-table", "id" : "eg-CONFIGDETAILS", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "RATEITEM", "label" : "付款节点", "quickEdit" : { "name" : "RATEITEM", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/SUBCONTRACT_BASICSCONFIG" } }, { "name" : "RATEVALUE", "label" : "付款比例", "quickEdit" : { "name" : "RATEVALUE", "required" : true, "type" : "input-number", "precision" : 2 } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "type" : "input-file", "receiver" : "/api/file/upload?tableName=VIEW_PM_CONTRACT&businessKey=${VIEW_PM_CONTRACT_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] } ] }, { "title" : "变更后合同", "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "CONTRACTNUMBER1", "label" : "合同编码1", "required" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTNAME1", "label" : "合同名称1", "required" : true, "type" : "input-text" } ] }, { "md" : 4, "body" : [ { "name" : "FIRSTPARTY1", "label" : "甲方1", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "CONTRACTCATEGORY1", "label" : "合同类别1", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTCATEGORY" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTFORM1", "label" : "合同形式1", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTFORM" } ] }, { "md" : 4, "body" : [ { "name" : "CONTRACTTYPE1", "label" : "合同种类1", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACT_CONTRACTTYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PM_PROJECT_ID1", "label" : "工程名称1", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/07eef963-fd17-42a5-997c-219f0ec18cff/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" : "CONTRACTMONEY", "label" : "变更后合同价款(元)", "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PARTYB1", "label" : "乙方1", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/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" : "OA_CONTACTPERSONINFO_ID1", "label" : "联系人1", "type" : "picker", "clearable" : true, "source" : "/api/picker/23d68556-782b-49bd-ae2c-f913bcad0b95/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" : "PHONE1", "label" : "联系电话1", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "STARTDATE1", "label" : "开始日期1", "type" : "input-date" } ] }, { "md" : 4, "body" : [ { "name" : "ENDDATE1", "label" : "结束日期1", "type" : "input-date" } ] }, { "md" : 4, "body" : [ { "name" : "APPLYER1", "label" : "申请人1", "type" : "picker", "clearable" : true, "source" : "/api/picker/ac35b7e4-a338-4ca6-b5cd-98d5d1c54bab/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" : 12, "body" : [ { "name" : "CONTRACTCONTENT1", "label" : "合同内容1", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "AGREEDTERMS1", "label" : "合同约定付款条款1", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONFIGDETAILS1", "label" : "付款配置1", "type" : "input-table", "id" : "eg-CONFIGDETAILS1", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "RATEITEM", "label" : "付款节点", "quickEdit" : { "name" : "RATEITEM", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/SUBCONTRACT_BASICSCONFIG" } }, { "name" : "RATEVALUE", "label" : "付款比例", "quickEdit" : { "name" : "RATEVALUE", "required" : true, "type" : "input-number", "precision" : 2 } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT1", "label" : "附件1", "type" : "input-file", "receiver" : "/api/file/upload?tableName=VIEW_PM_CONTRACT&businessKey=${VIEW_PM_CONTRACT_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "name" : "PROTOCOLTYPE1", "label" : "订单协议合同1", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_MATE_PROTOCOL_TYPE", "hidden" : true }, { "name" : "PROTOCOLTYPE", "label" : "订单协议合同", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_MATE_PROTOCOL_TYPE", "hidden" : true }, { "name" : "VIEW_PM_CONTRACT_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ] } ] } ], "actions" : [ ] } }