找回密码
 立即注册

QQ登录

只需一步,快速开始

加油加油

初级会员

27

主题

74

帖子

229

积分

初级会员

积分
229
加油加油
初级会员   /  发表于:2022-10-28 16:04  /   查看:2236  /  回复:2
1金币
参考此文档进行集成时,预留报错:https://help.grapecity.com.cn/pages/viewpage.action?pageId=58726308

report.definition 的内容为:

  1. {"Name":"Report","Width":"7.5cm","Layers":[{"Name":"default"}],"CustomProperties":[{"Name":"DisplayType","Value":"Page"},{"Name":"SizeType","Value":"Default"},{"Name":"PaperOrientation","Value":"Portrait"}],"Page":{"PageWidth":"8.5in","PageHeight":"11in","RightMargin":"1in","LeftMargin":"1in","TopMargin":"1in","BottomMargin":"1in","Columns":1,"ColumnSpacing":"0in"},"Body":{"Height":"2.25cm","ReportItems":[{"Type":"table","Name":"表格1","Style":{"FontFamily":"微软雅黑"},"TableColumns":[{"Width":"2.5cm"},{"Width":"2.5cm"},{"Width":"2.5cm"}],"Header":{"TableRows":[{"Height":"0.75cm","TableCells":[{"Item":{"Type":"textbox","Name":"文本框1","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框2","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框3","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}}]}],"RepeatOnNewPage":true},"Details":{"TableRows":[{"Height":"0.75cm","TableCells":[{"Item":{"Type":"textbox","Name":"文本框4","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框5","CanGrow":true,"KeepTogether":true,"Value":"324523","Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框6","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}}]}]},"Footer":{"TableRows":[{"Height":"0.75cm","TableCells":[{"Item":{"Type":"textbox","Name":"文本框7","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框8","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}},{"Item":{"Type":"textbox","Name":"文本框9","CanGrow":true,"KeepTogether":true,"Style":{"Border":{"Color":"DimGray","Style":"Solid"},"FontFamily":"微软雅黑","PaddingLeft":"2pt","PaddingRight":"2pt","PaddingTop":"2pt","PaddingBottom":"2pt","TextAlign":"Center","VerticalAlign":"Middle"},"Left":"0cm","Top":"0cm","Width":"2.5cm","Height":"0.75cm"}}]}]},"Left":"0cm","Top":"0cm","Width":"7.5cm","Height":"2.25cm"}]}}
复制代码


报错为:



附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册

最佳答案

查看完整内容

选择一下

2 个回复

倒序浏览
最佳答案
最佳答案
x154
注册会员   /  发表于:2022-10-28 16:04:16
来自 2#

选择一下

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

评分

参与人数 1金币 +666 收起 理由
Bella.Yuan + 666 山寨

查看全部评分

回复 使用道具 举报
Bella.YuanWyn认证
超级版主   /  发表于:2022-10-28 16:48:55
3#

感谢大佬帮忙回复~
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部