inspectBill.r1-print 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <DocRoot>
  2. <Parameters />
  3. <DataSources>
  4. <Reference name="baseInfo" alias.zh_CN="考察申报单" alias="#1" desc.zh_CN="多分录基础单据查询" desc="#1" info="baseInfo.bos-query" />
  5. <Reference name="approveInfo" alias.zh_CN="考察申报单审批信息" alias="#1" desc.zh_CN="考察申报单审批查询" desc="#1" info="approveInfo.bos-query">
  6. <Params>
  7. <Param name="billId">
  8. <Associate dataSourceID="baseInfo">id</Associate>
  9. </Param>
  10. </Params>
  11. </Reference>
  12. </DataSources>
  13. <Styles version="1.0">
  14. <Style id="3">
  15. <Borders>
  16. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  17. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  18. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  19. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  20. </Borders>
  21. <Alignment wrapText="true" />
  22. </Style>
  23. <Style id="2">
  24. <Font size="16" bold="true" />
  25. <Alignment wrapText="true" />
  26. </Style>
  27. <Style id="1">
  28. <Alignment wrapText="true" />
  29. </Style>
  30. <Style id="0" />
  31. <Style id="7">
  32. <Alignment horizontal="right" />
  33. </Style>
  34. <Style id="6">
  35. <Font fontName="宋体" size="9" color="#000000" bold="false" underline="false" italic="false" strikethrough="false" weight="400.0" />
  36. <Borders>
  37. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  38. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  39. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  40. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  41. <Border position="diagonalleft" lineStyle="NullLine" />
  42. <Border position="diagonalright" lineStyle="NullLine" />
  43. </Borders>
  44. <Interior color="#ffffff00" pattern="None" patternColor="#000000" />
  45. <Alignment horizontal="center" vertical="middle" wrapText="true" rotate="0" shrink="false" lineSpace="0.0" padding="1,1,1,1" clip="true" />
  46. <Protection hidden="false" locked="false" />
  47. <NumberFormat>G/通用格式</NumberFormat>
  48. </Style>
  49. <Style id="5">
  50. <Font size="12" bold="true" italic="false" />
  51. <Alignment horizontal="left" />
  52. </Style>
  53. <Style id="4">
  54. <Borders>
  55. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  56. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  57. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  58. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  59. </Borders>
  60. <Alignment horizontal="left" wrapText="true" />
  61. </Style>
  62. <Style id="8">
  63. <Alignment horizontal="left" />
  64. <NumberFormat>yyyy年m月d日;@</NumberFormat>
  65. </Style>
  66. </Styles>
  67. <Report type="r1-print" version="6.2.0">
  68. <Page id="page1" width="1720" height="2470">
  69. <Sub-objects>
  70. <PrintDataGrid id="dataGrid1" styleId="0" x="0" y="4">
  71. <Data dataSource="baseInfo" />
  72. <Col width="1719" id="column12" />
  73. <TR height="558" type="normal" displayEveryPage="true" id="row7" styleId="0">
  74. <TD id="cell37" styleId="0">
  75. <Sub-objects>
  76. <PrintLayoutGrid id="layoutGrid2" styleId="1" x="0" y="0">
  77. <Data />
  78. <Col width="281" id="column14" />
  79. <Col width="299" id="column1" />
  80. <Col width="270" id="column2" />
  81. <Col width="301" id="column3" />
  82. <Col width="281" id="column4" />
  83. <Col width="263" id="column5" />
  84. <TR height="81" id="row10">
  85. <TD id="cell38" styleId="2">
  86. <Value type="text"><![CDATA[考察申报单]]></Value>
  87. </TD>
  88. <TD id="cell1" styleId="1" />
  89. <TD id="cell2" styleId="1" />
  90. <TD id="cell3" styleId="1" />
  91. <TD id="cell10" styleId="1" />
  92. <TD id="cell13" styleId="1" />
  93. </TR>
  94. <TR height="90" id="row1">
  95. <TD id="cell16" styleId="1" />
  96. <TD id="cell4" styleId="1" />
  97. <TD id="cell5" styleId="1" />
  98. <TD id="cell6" styleId="1" />
  99. <TD id="cell11" styleId="1" />
  100. <TD id="cell14" styleId="1" />
  101. </TR>
  102. <TR height="93" id="row2" styleId="0">
  103. <TD id="cell17" styleId="3">
  104. <Value type="text"><![CDATA[员工编码]]></Value>
  105. </TD>
  106. <TD id="cell7" styleId="3">
  107. <Value type="field" dataSource="baseInfo">applier.number</Value>
  108. </TD>
  109. <TD id="cell8" styleId="3">
  110. <Value type="text"><![CDATA[申请人]]></Value>
  111. </TD>
  112. <TD id="cell9" styleId="3">
  113. <Value type="field" dataSource="baseInfo">entrys.person.name</Value>
  114. </TD>
  115. <TD id="cell12" styleId="3">
  116. <Value type="text"><![CDATA[所在部门]]></Value>
  117. </TD>
  118. <TD id="cell15" styleId="3">
  119. <Value type="field" dataSource="baseInfo">adminOrg1.name</Value>
  120. </TD>
  121. </TR>
  122. <TR height="82" id="row3" styleId="0">
  123. <TD id="cell18" styleId="3">
  124. <Value type="text"><![CDATA[职位]]></Value>
  125. </TD>
  126. <TD id="cell19" styleId="3">
  127. <Value type="field" dataSource="baseInfo">position.name</Value>
  128. </TD>
  129. <TD id="cell20" styleId="3">
  130. <Value type="text"><![CDATA[考察事由]]></Value>
  131. </TD>
  132. <TD id="cell21" styleId="3">
  133. <Value type="field" dataSource="baseInfo">entrys.reason</Value>
  134. </TD>
  135. <TD id="cell22" styleId="3">
  136. <Value type="text"><![CDATA[考察地点]]></Value>
  137. </TD>
  138. <TD id="cell23" styleId="3">
  139. <Value type="field" dataSource="baseInfo">entrys.place</Value>
  140. </TD>
  141. </TR>
  142. <TR height="93" id="row4" styleId="0">
  143. <TD id="cell24" styleId="3">
  144. <Value type="text"><![CDATA[考察开始时间]]></Value>
  145. </TD>
  146. <TD id="cell25" styleId="3">
  147. <Value type="field" dataSource="baseInfo">entrys.timeStart</Value>
  148. </TD>
  149. <TD id="cell26" styleId="3">
  150. <Value type="text"><![CDATA[考察结束时间]]></Value>
  151. </TD>
  152. <TD id="cell27" styleId="3">
  153. <Value type="field" dataSource="baseInfo">entrys.timeEnd</Value>
  154. </TD>
  155. <TD id="cell28" styleId="3">
  156. <Value type="text"><![CDATA[考察人]]></Value>
  157. </TD>
  158. <TD id="cell29" styleId="3">
  159. <Value type="field" dataSource="baseInfo">entrys.inspector</Value>
  160. </TD>
  161. </TR>
  162. <TR height="91" id="row5" styleId="0">
  163. <TD id="cell30" styleId="3">
  164. <Value type="text"><![CDATA[考察材料路径]]></Value>
  165. </TD>
  166. <TD id="cell31" styleId="3">
  167. <Value type="field" dataSource="baseInfo">entrys.path</Value>
  168. </TD>
  169. <TD id="cell32" styleId="3">
  170. <Value type="text"><![CDATA[备注]]></Value>
  171. </TD>
  172. <TD id="cell33" styleId="4">
  173. <Value type="field" dataSource="baseInfo">entrys.description</Value>
  174. </TD>
  175. <TD id="cell34" styleId="3" />
  176. <TD id="cell35" styleId="3" />
  177. </TR>
  178. <MergeBlocks>
  179. <Block left="0" right="5" top="0" bottom="1" />
  180. <Block left="3" right="5" top="5" bottom="5" />
  181. </MergeBlocks>
  182. </PrintLayoutGrid>
  183. </Sub-objects>
  184. </TD>
  185. </TR>
  186. <TR height="130" type="detail" repeatTimes="1" id="row8" styleId="0">
  187. <TD id="cell40" styleId="5">
  188. <Value type="text"><![CDATA[审批意见]]></Value>
  189. </TD>
  190. </TR>
  191. </PrintDataGrid>
  192. <PrintDataGrid id="dataGrid3" styleId="1" x="0" y="699" horizontalFill="true">
  193. <PreScript><![CDATA[secondBirth();]]></PreScript>
  194. <Data dataSource="approveInfo" />
  195. <Col width="287" id="column6" />
  196. <Col width="301" id="column13" />
  197. <Col width="277" id="column7" />
  198. <Col width="306" id="column8" />
  199. <Col width="283" id="column9" />
  200. <Col width="266" id="column10" />
  201. <TR height="98" type="normal" displayEveryPage="true" id="row6" styleId="0">
  202. <TD id="cell36" styleId="6">
  203. <Value type="text"><![CDATA[审批结果]]></Value>
  204. </TD>
  205. <TD id="cell39" styleId="6">
  206. <Value type="text"><![CDATA[审批意见]]></Value>
  207. </TD>
  208. <TD id="cell41" styleId="6">
  209. <Value type="text"><![CDATA[审批人]]></Value>
  210. </TD>
  211. <TD id="cell42" styleId="6">
  212. <Value type="text"><![CDATA[审批人所在部门]]></Value>
  213. </TD>
  214. <TD id="cell43" styleId="6">
  215. <Value type="text"><![CDATA[审批人职位]]></Value>
  216. </TD>
  217. <TD id="cell44" styleId="6">
  218. <Value type="text"><![CDATA[审批时间]]></Value>
  219. </TD>
  220. </TR>
  221. <TR height="110" type="detail" id="row9" styleId="0">
  222. <TD id="cell45" styleId="6">
  223. <Script><![CDATA[if(toStr(getFieldValue("isPass")) != null)
  224. {
  225. if(toStr(getFieldValue("isPass")) == "true")
  226. {
  227. setValue("同意");
  228. }
  229. else
  230. {
  231. setValue("不同意");
  232. }
  233. }]]></Script>
  234. <Value type="field">isPass</Value>
  235. </TD>
  236. <TD id="cell46" styleId="6">
  237. <Value type="field">opinion</Value>
  238. </TD>
  239. <TD id="cell47" styleId="6">
  240. <Value type="field">creator.name</Value>
  241. </TD>
  242. <TD id="cell48" styleId="6">
  243. <Value type="field">AdminOrgUnit.name</Value>
  244. </TD>
  245. <TD id="cell49" styleId="6">
  246. <Value type="field">Position.name</Value>
  247. </TD>
  248. <TD id="cell50" styleId="6">
  249. <Value type="field">createTime</Value>
  250. </TD>
  251. </TR>
  252. </PrintDataGrid>
  253. <PrintLayoutGrid id="layoutGrid1" x="11" y="1420">
  254. <Data />
  255. <Col width="570" id="column11" />
  256. <Col width="802" id="column15" />
  257. <Col width="337" id="column16" />
  258. <TR height="98" id="row11">
  259. <TD id="cell51" />
  260. <TD id="cell52" styleId="7">
  261. <Value type="text"><![CDATA[打印日期:]]></Value>
  262. </TD>
  263. <TD id="cell53" styleId="8">
  264. <Value type="text"><![CDATA[=now()]]></Value>
  265. </TD>
  266. </TR>
  267. </PrintLayoutGrid>
  268. </Sub-objects>
  269. </Page>
  270. </Report>
  271. <PrintInfo>
  272. <PaperSetup>
  273. <Paper>iso-a4</Paper>
  274. <Orientation>PORTRAIT</Orientation>
  275. <PageMargin left="190" right="190" top="250" bottom="250" />
  276. <Header height="150" margin="100" />
  277. <Footer height="150" margin="100" />
  278. </PaperSetup>
  279. <PrinterSetup>
  280. <DynamicPaper>false</DynamicPaper>
  281. <EconomizePaper>false</EconomizePaper>
  282. </PrinterSetup>
  283. <PreviewSetup>
  284. <BackgroundPicture>false</BackgroundPicture>
  285. </PreviewSetup>
  286. </PrintInfo>
  287. </DocRoot>