{ "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" : 5, "body" : [ { "name" : "CONTRACTNAME", "label" : "合同名称", "required" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTNUMBER", "label" : "合同编号", "required" : true, "disabled" : true, "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "A_PART", "label" : "甲方", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "CONTRACTCATEGORY", "label" : "合同类别", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTCATEGORY" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTFORM", "label" : "合同形式", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTFORM" } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTTYPE", "label" : "合同类型", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/MACH_CONTRACTTYPE" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "MACHINENAME", "label" : "机械供应商", "type" : "static", "tpl" : "${MACHINENAME_DISPLAY__ ? MACHINENAME_DISPLAY__ : (UNITNAME ? UNITNAME : MACHINENAME)}" } ] }, { "md" : 3, "body" : [ { "name" : "CONTACTPERSONID", "label" : "联系人", "type" : "select", "clearable" : true, "source" : "/api/picker/OA_CONTACTPERSONINFO/list?perPage=500" } ] }, { "md" : 3, "body" : [ { "name" : "LXDH", "label" : "联系电话", "disabled" : true, "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "CONTRACTMONEY", "label" : "合同价款", "required" : true, "type" : "input-number", "precision" : 2, "min" : 0.0 } ] }, { "md" : 3, "body" : [ { "name" : "CONTRACTMONEYC", "label" : "变更后合同价款(元)", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "STARTTIME", "label" : "开始日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 3, "body" : [ { "name" : "ENDTIME", "label" : "结束日期", "required" : true, "type" : "input-date", "value" : "${now}" } ] }, { "md" : 5, "body" : [ { "name" : "SEALCOUNT", "label" : "合同份数", "type" : "input-number", "precision" : 0, "step" : 1 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "EQUIPMENTCODE", "label" : "设备编码", "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "EQUIPMENTNAME", "label" : "设备名称", "type" : "input-text" } ] }, { "md" : 3, "body" : [ { "name" : "EQUIPMENTNORMS", "label" : "设备规格", "type" : "input-text" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "type" : "static", "tpl" : "${PROJECTID_DISPLAY__ ? PROJECTID_DISPLAY__ : (PROJECTNAME ? PROJECTNAME : PROJECTID)}", "value" : "${currentProject}" } ] }, { "md" : 3, "body" : [ { "name" : "DEPART", "label" : "(分)公司", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_ORG/list?perPage=500" } ] }, { "md" : 3, "body" : [ { "name" : "SIGNUPTIME", "label" : "签约日期", "required" : true, "type" : "input-date" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 5, "body" : [ { "name" : "PUTONRECORD", "label" : "是否备案", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO" } ] }, { "md" : 3, "body" : [ { "name" : "CREATEBY", "label" : "登记人", "type" : "static", "tpl" : "${CREATEBY_DISPLAY__ ? CREATEBY_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : CREATEBY)}", "value" : "${currentUser}" } ] }, { "md" : 3, "body" : [ { "name" : "CREATETIME", "label" : "登记日期", "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "CONTRACTCONTENT", "label" : "合同内容", "required" : true, "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "AGREEDTERMS", "label" : "合同约定付款条款", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMARK", "label" : "备注", "type" : "textarea" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "MACHINECONTRACTREGISTERID", "label" : "机械合同登记表ID(外键)", "type" : "input-table", "id" : "eg-MACHINECONTRACTREGISTERID", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "RATEITEM", "label" : "付款节点", "quickEdit" : { "name" : "RATEITEM", "required" : true, "disabled" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/SUBCONTRACT_BASICSCONFIG" } }, { "name" : "RATEVALUE", "label" : "付款比例(%)", "quickEdit" : { "name" : "RATEVALUE", "required" : true, "type" : "input-number", "precision" : 4, "min" : 0.0, "max" : 100.0 } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENT", "label" : "附件", "required" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_MACHINECONTRACTREGISTER&businessKey=${PM_MACHINECONTRACTREGISTER_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "DOCUMENTC", "label" : "变更后附件", "disabled" : true, "type" : "input-file", "receiver" : "/api/file/upload?tableName=PM_MACHINECONTRACTREGISTER&businessKey=${PM_MACHINECONTRACTREGISTER_ID}", "downloadUrl" : "/api/file/${id}", "multiple" : true, "staticOn" : "${__readonly}", "joinValues" : false, "extractValue" : false } ] } ] } ] }, { "title" : "结算\\决算\\发票\\支付详情", "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "CONTRACTSUM", "label" : "合同合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 4, "body" : [ { "name" : "BALANCESUM", "label" : "结算合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 4, "body" : [ { "name" : "ACCOUNTSUM", "label" : "决算合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "INVOICESUM", "label" : "发票合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 4, "body" : [ { "name" : "SQPAYSUM", "label" : "申请合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] }, { "md" : 4, "body" : [ { "name" : "PAYSUM", "label" : "支付合计", "disabled" : true, "type" : "input-number", "precision" : 2 } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "BALANCES", "label" : "结算列表", "disabled" : true, "type" : "input-table", "id" : "eg-BALANCES", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "BALANCEDATE", "label" : "结算日期", "quickEdit" : { "name" : "BALANCEDATE", "required" : true, "type" : "input-date" } }, { "name" : "THISBALANCEMONEY", "label" : "本次结算金额(元)", "quickEdit" : { "name" : "THISBALANCEMONEY", "type" : "input-number", "precision" : 2 } }, { "name" : "CONTRACTBALANCEMONEY", "label" : "合同约定本次应付金额(元)", "quickEdit" : { "name" : "CONTRACTBALANCEMONEY", "type" : "input-number", "precision" : 2 } }, { "name" : "COMPLIEPERSON", "label" : "编制人", "quickEdit" : { "name" : "COMPLIEPERSON", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标" } }, { "name" : "VERSION", "label" : "审批状态", "quickEdit" : { "name" : "VERSION", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/WFSTATUS" } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "ACCOUNTS", "label" : "决算列表", "disabled" : true, "type" : "input-table", "id" : "eg-ACCOUNTS", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "COMPILEDATE", "label" : "登记日期", "quickEdit" : { "name" : "COMPILEDATE", "required" : true, "type" : "input-date" } }, { "name" : "ACCOUNTSMONEY", "label" : "决算金额(元)", "quickEdit" : { "name" : "ACCOUNTSMONEY", "type" : "input-number", "precision" : 2 } }, { "name" : "COMPILEUSER", "label" : "登记人", "quickEdit" : { "name" : "COMPILEUSER", "required" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标" } }, { "name" : "VERSION", "label" : "审批状态", "quickEdit" : { "name" : "VERSION", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/WFSTATUS" } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "INVOICES", "label" : "发票列表", "disabled" : true, "type" : "input-table", "id" : "eg-INVOICES", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "INVOICEDATE", "label" : "开票日期", "quickEdit" : { "name" : "INVOICEDATE", "required" : true, "type" : "input-date" } }, { "name" : "RECEIPTTYPE", "label" : "发票类型", "quickEdit" : { "name" : "RECEIPTTYPE", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/INVOICEMANAGEMENT_INVOICETYPE" } }, { "name" : "INVOICECODE", "label" : "发票代码", "quickEdit" : { "name" : "INVOICECODE", "type" : "input-text" } }, { "name" : "INVOICENO", "label" : "票号", "quickEdit" : { "name" : "INVOICENO", "type" : "input-text" } }, { "name" : "INVOICEMONEY", "label" : "开票金额(元)", "quickEdit" : { "name" : "INVOICEMONEY", "required" : true, "type" : "input-number", "precision" : 2 } }, { "name" : "TAX", "label" : "税额(元)", "quickEdit" : { "name" : "TAX", "required" : true, "type" : "input-number", "precision" : 2 } }, { "name" : "TOTALMONEY", "label" : "价税合计(元)", "quickEdit" : { "name" : "TOTALMONEY", "required" : true, "type" : "input-number", "precision" : 2 } }, { "name" : "SALESPARTY", "label" : "销售方", "quickEdit" : { "name" : "SALESPARTY", "type" : "input-text" } }, { "name" : "VERSION", "label" : "审批状态", "quickEdit" : { "name" : "VERSION", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/WFSTATUS" } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "PAYS", "label" : "支付列表", "type" : "input-table", "id" : "eg-PAYS", "addable" : false, "removable" : false, "staticOn" : "${__readonly}", "columns" : [ { "name" : "APPLYDATE", "label" : "申请日期", "quickEdit" : { "name" : "APPLYDATE", "required" : true, "type" : "input-date" } }, { "name" : "UPDATETIME", "label" : "支付日期", "quickEdit" : { "name" : "UPDATETIME", "type" : "input-date" } }, { "name" : "ISPAID", "label" : "是否付讫", "quickEdit" : { "name" : "ISPAID", "required" : true, "type" : "checkbox" } }, { "name" : "APPLYPRICE", "label" : "本次申请付款金额(元)", "quickEdit" : { "name" : "APPLYPRICE", "required" : true, "type" : "input-number", "precision" : 2 } }, { "name" : "CONTRACTPAIDMONEY", "label" : "本次申请已付金额(元)", "quickEdit" : { "name" : "CONTRACTPAIDMONEY", "type" : "input-number", "precision" : 2 } }, { "name" : "OPERATOR", "label" : "申请人", "quickEdit" : { "name" : "OPERATOR", "required" : true, "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" ] } } }, { "name" : "APPLYCONTENT", "label" : "申请内容", "quickEdit" : { "name" : "APPLYCONTENT", "type" : "input-text" } }, { "name" : "VERSION", "label" : "审批状态", "quickEdit" : { "name" : "VERSION", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/WFSTATUS" } } ], "needConfirm" : false } ] } ] }, { "name" : "PM_MACHINECONTRACTREGISTER_ID", "label" : "主键", "hidden" : true, "type" : "input-text" }, { "name" : "REVIEWID", "label" : "合同评审", "type" : "picker", "clearable" : true, "source" : "/api/picker/13fcdb5a-6dca-425e-a994-3c5d52787d5a/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "hidden" : true }, { "name" : "CONTRACTSTATUS", "label" : "合同状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CONTRACTSTATUS", "value" : "1", "hidden" : true } ] } ] } ], "actions" : [ ] } }