SaleContract.r1-print 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  1. <DocRoot>
  2. <Parameters />
  3. <DataSources>
  4. <Reference name="SaleContract" alias.zh_CN="销售合同" alias.en="" alias.zh_TW="銷售合同" alias="#1" desc.zh_TW="銷售合同" desc.en="" desc.zh_CN="销售合同" desc="#1" info="SaleContract.bos-query" />
  5. <Reference name="SaleContractTerm" alias.zh_CN="销售合同条款" alias.en="" alias.zh_TW="銷售合同條款" alias="#1" desc.zh_TW="銷售合同條款" desc.en="" desc.zh_CN="销售合同条款" desc="#1" info="SaleContractTerm.bos-query">
  6. <Params>
  7. <Param name="parentID">
  8. <Associate dataSourceID="SaleContract">id</Associate>
  9. </Param>
  10. </Params>
  11. </Reference>
  12. <Reference name="SaleContractEntry" alias.zh_CN="销售合同分录" alias.en="" alias.zh_TW="銷售合同分錄" alias="#1" desc.zh_TW="銷售合同分錄" desc.en="" desc.zh_CN="销售合同分录" desc="#1" info="SaleContractEntry.bos-query">
  13. <Params>
  14. <Param name="parentID">
  15. <Associate dataSourceID="SaleContract">id</Associate>
  16. </Param>
  17. </Params>
  18. </Reference>
  19. </DataSources>
  20. <Styles version="1.0">
  21. <Style id="10">
  22. <Borders>
  23. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  24. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  25. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  26. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  27. </Borders>
  28. <NumberFormat>[Rmb]0.00;[Rmb](负数)0.00</NumberFormat>
  29. </Style>
  30. <Style id="3">
  31. <Font size="11" bold="true" italic="false" />
  32. </Style>
  33. <Style id="5">
  34. <Borders>
  35. <Border position="left" lineStyle="NullLine" />
  36. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  37. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  38. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  39. </Borders>
  40. </Style>
  41. <Style id="7">
  42. <Borders>
  43. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  44. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  45. <Border position="right" lineStyle="NullLine" />
  46. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  47. </Borders>
  48. </Style>
  49. <Style id="2">
  50. <Alignment horizontal="left" />
  51. </Style>
  52. <Style id="0" />
  53. <Style id="11">
  54. <Alignment horizontal="left" vertical="top" wrapText="true" />
  55. </Style>
  56. <Style id="9">
  57. <Borders>
  58. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  59. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  60. <Border position="right" lineStyle="NullLine" />
  61. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  62. </Borders>
  63. <Alignment horizontal="center" />
  64. <NumberFormat>yyyy年m月d日;@</NumberFormat>
  65. </Style>
  66. <Style id="4">
  67. <Font fontName="宋体" size="9" color="#000000" bold="false" underline="false" italic="false" strikethrough="false" weight="400.0" />
  68. <Borders>
  69. <Border position="left" lineStyle="NullLine" />
  70. <Border position="top" lineStyle="NullLine" />
  71. <Border position="right" lineStyle="NullLine" />
  72. <Border position="bottom" lineStyle="NullLine" />
  73. <Border position="diagonalleft" lineStyle="NullLine" />
  74. <Border position="diagonalright" lineStyle="NullLine" />
  75. </Borders>
  76. <Interior color="#ffffff00" pattern="None" patternColor="#000000" />
  77. <Alignment horizontal="left" vertical="bottom" wrapText="false" rotate="0" shrink="false" lineSpace="0.0" padding="1,1,1,1" clip="true" />
  78. <Protection hidden="false" locked="false" />
  79. </Style>
  80. <Style id="8">
  81. <Borders>
  82. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  83. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  84. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  85. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  86. </Borders>
  87. <Alignment horizontal="right" />
  88. </Style>
  89. <Style id="6">
  90. <Borders>
  91. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  92. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  93. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  94. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  95. </Borders>
  96. </Style>
  97. <Style id="1">
  98. <Font size="14" bold="true" italic="false" />
  99. </Style>
  100. </Styles>
  101. <Report type="r1-print" version="6.3.0">
  102. <Page id="page1" width="1720" height="2470">
  103. <Sub-objects>
  104. <PrintLayoutGrid id="layoutGrid1" x="0" y="0" horizontalFill="true">
  105. <Data />
  106. <Col width="1720" id="column1" />
  107. <TR height="521" id="row1">
  108. <TD id="cell1" styleId="0">
  109. <Sub-objects>
  110. <PrintLayoutGrid id="layoutGrid2" x="0" y="0" horizontalFill="true">
  111. <Data />
  112. <Col width="199" id="column2" />
  113. <Col width="832" id="column3" />
  114. <Col width="197" id="column5" />
  115. <Col width="492" id="column6" />
  116. <TR height="130" id="row6">
  117. <TD id="cell2" styleId="1">
  118. <Value type="field" dataSource="SaleContract">contractType.name</Value>
  119. </TD>
  120. <TD id="cell3" styleId="0" />
  121. <TD id="cell24" styleId="0" />
  122. <TD id="cell30" styleId="0" />
  123. </TR>
  124. <TR height="68" id="row7">
  125. <TD id="cell6" styleId="0" />
  126. <TD id="cell8" styleId="0" />
  127. <TD id="cell25" styleId="0">
  128. <Value type="text"><![CDATA[编 号:]]></Value>
  129. </TD>
  130. <TD id="cell31" styleId="2" />
  131. </TR>
  132. <TR height="69" id="row8">
  133. <TD id="cell11" styleId="0" />
  134. <TD id="cell12" styleId="0" />
  135. <TD id="cell26" styleId="0">
  136. <Value type="text"><![CDATA[合 同 号:]]></Value>
  137. </TD>
  138. <TD id="cell32" styleId="2">
  139. <Value type="field" dataSource="SaleContract">number</Value>
  140. </TD>
  141. </TR>
  142. <TR height="76" id="row9">
  143. <TD id="cell15" styleId="3">
  144. <Value type="text"><![CDATA[出卖方:]]></Value>
  145. </TD>
  146. <TD id="cell16" styleId="2">
  147. <Value type="field" dataSource="SaleContract">saleOrgUnit.name</Value>
  148. </TD>
  149. <TD id="cell27" styleId="0">
  150. <Value type="text"><![CDATA[订约日期:]]></Value>
  151. </TD>
  152. <TD id="cell33" styleId="2">
  153. <Value type="field" dataSource="SaleContract">bizDate</Value>
  154. </TD>
  155. </TR>
  156. <TR height="72" id="row10">
  157. <TD id="cell18" styleId="3">
  158. <Value type="text"><![CDATA[买受方:]]></Value>
  159. </TD>
  160. <TD id="cell19" styleId="2">
  161. <Value type="field" dataSource="SaleContract">customer.name</Value>
  162. </TD>
  163. <TD id="cell28" styleId="0">
  164. <Value type="text"><![CDATA[签定地点:]]></Value>
  165. </TD>
  166. <TD id="cell34" styleId="2">
  167. <Value type="field" dataSource="SaleContract">signAddress</Value>
  168. </TD>
  169. </TR>
  170. <TR height="79" id="row11">
  171. <TD id="cell21" styleId="0">
  172. <Sub-objects>
  173. <Text id="text13" styleId="4" x="0" y="0" width="1720" height="79" horizontalFill="true" verticalFill="true">
  174. <Data><![CDATA[根据《中华人民共和国合同法》及有关法规的规定,经双方友好协商,签定本合同,双方共同遵守。]]></Data>
  175. </Text>
  176. </Sub-objects>
  177. </TD>
  178. <TD id="cell22" styleId="0" />
  179. <TD id="cell29" styleId="0" />
  180. <TD id="cell35" styleId="0" />
  181. </TR>
  182. <MergeBlocks>
  183. <Block left="0" right="3" top="0" bottom="0" />
  184. <Block left="0" right="3" top="5" bottom="5" />
  185. </MergeBlocks>
  186. </PrintLayoutGrid>
  187. </Sub-objects>
  188. </TD>
  189. </TR>
  190. <TR height="187" id="row2" autoAdjustHeight="true">
  191. <TD id="cell4" styleId="0">
  192. <Sub-objects>
  193. <PrintDataGrid id="dataGrid1" styleId="0" x="0" y="3" horizontalFill="true">
  194. <Data dataSource="SaleContractEntry" />
  195. <Col width="275" id="column8" styleId="0" />
  196. <Col width="217" id="column9" styleId="0" />
  197. <Col width="221" id="column10" styleId="0" />
  198. <Col width="217" id="column11" styleId="0" />
  199. <Col width="228" id="column12" styleId="0" />
  200. <Col width="286" id="column13" styleId="0" />
  201. <Col width="276" id="column14" styleId="0" />
  202. <TR height="79" type="normal" id="row12">
  203. <TD id="cell42" styleId="5">
  204. <Value type="text"><![CDATA[材 质]]></Value>
  205. </TD>
  206. <TD id="cell43" styleId="6">
  207. <Value type="text"><![CDATA[规格尺寸]]></Value>
  208. </TD>
  209. <TD id="cell44" styleId="6">
  210. <Value type="text"><![CDATA[单位]]></Value>
  211. </TD>
  212. <TD id="cell48" styleId="6">
  213. <Value type="text"><![CDATA[单价]]></Value>
  214. </TD>
  215. <TD id="cell50" styleId="6">
  216. <Value type="text"><![CDATA[数量]]></Value>
  217. </TD>
  218. <TD id="cell52" styleId="6">
  219. <Value type="text"><![CDATA[总金额]]></Value>
  220. </TD>
  221. <TD id="cell54" styleId="7">
  222. <Value type="text"><![CDATA[交货日期]]></Value>
  223. </TD>
  224. </TR>
  225. <TR height="94" type="detail" autoAdjustHeight="true" id="row13" styleId="0">
  226. <TD id="cell45" styleId="5">
  227. <Value type="field">material.name</Value>
  228. </TD>
  229. <TD id="cell46" styleId="6">
  230. <Value type="field">material.model</Value>
  231. </TD>
  232. <TD id="cell47" styleId="6">
  233. <Value type="field">unit.name</Value>
  234. </TD>
  235. <TD id="cell49" styleId="6">
  236. <Value type="field">entries.actualTaxPrice</Value>
  237. </TD>
  238. <TD id="cell51" styleId="8">
  239. <Value type="field">entries.qty</Value>
  240. </TD>
  241. <TD id="cell53" styleId="8">
  242. <Value type="field">entries.amount</Value>
  243. </TD>
  244. <TD id="cell55" styleId="9">
  245. <Value type="field">entries.deliveryDate</Value>
  246. </TD>
  247. </TR>
  248. </PrintDataGrid>
  249. </Sub-objects>
  250. </TD>
  251. </TR>
  252. <TR height="99" id="row3">
  253. <TD id="cell7">
  254. <Sub-objects>
  255. <PrintLayoutGrid id="layoutGrid3" x="0" y="0" horizontalFill="true" verticalFill="true">
  256. <Data />
  257. <Col width="430" id="column15" />
  258. <Col width="430" id="column16" />
  259. <Col width="430" id="column17" />
  260. <Col width="430" id="column18" />
  261. <TR height="99" id="row14">
  262. <TD id="cell56" styleId="5">
  263. <Value type="text"><![CDATA[合计人民币大写:]]></Value>
  264. </TD>
  265. <TD id="cell57" styleId="10">
  266. <Value type="field" dataSource="SaleContract">totalAmount</Value>
  267. </TD>
  268. <TD id="cell58" styleId="6">
  269. <Value type="text"><![CDATA[合计人民币小写:]]></Value>
  270. </TD>
  271. <TD id="cell59" styleId="7">
  272. <Value type="field" dataSource="SaleContract">totalAmount</Value>
  273. </TD>
  274. </TR>
  275. </PrintLayoutGrid>
  276. </Sub-objects>
  277. </TD>
  278. </TR>
  279. <TR height="265" id="row4" autoAdjustHeight="true">
  280. <TD id="cell10" styleId="0">
  281. <Sub-objects>
  282. <PrintDataGrid id="dataGrid2" styleId="0" x="0" y="4" horizontalFill="true">
  283. <Data dataSource="SaleContractTerm" />
  284. <Col width="1720" id="column23" />
  285. <TR height="29" type="normal" id="row22">
  286. <TD id="cell88" styleId="0" />
  287. </TR>
  288. <TR height="93" type="detail" autoAdjustHeight="true" id="row23" styleId="0">
  289. <TD id="cell91" styleId="11">
  290. <Value type="field">terms.termContent</Value>
  291. </TD>
  292. </TR>
  293. <TR height="33" type="normal" id="row24">
  294. <TD id="cell94" styleId="0" />
  295. </TR>
  296. </PrintDataGrid>
  297. </Sub-objects>
  298. </TD>
  299. </TR>
  300. <TR height="493" id="row5">
  301. <TD id="cell13">
  302. <Sub-objects>
  303. <PrintLayoutGrid id="layoutGrid4" x="0" y="0" horizontalFill="true" verticalFill="true">
  304. <Data />
  305. <Col width="214" id="column19" />
  306. <Col width="652" id="column20" />
  307. <Col width="221" id="column21" />
  308. <Col width="633" id="column22" />
  309. <TR height="71" id="row15">
  310. <TD id="cell60" styleId="2">
  311. <Value type="text"><![CDATA[出卖方:]]></Value>
  312. </TD>
  313. <TD id="cell61" styleId="2">
  314. <Value type="field" dataSource="SaleContract">saleOrgUnit.name</Value>
  315. </TD>
  316. <TD id="cell62" styleId="2">
  317. <Value type="text"><![CDATA[买受方:]]></Value>
  318. </TD>
  319. <TD id="cell81" styleId="2">
  320. <Value type="field" dataSource="SaleContract">customer.name</Value>
  321. </TD>
  322. </TR>
  323. <TR height="71" id="row16">
  324. <TD id="cell63" styleId="2">
  325. <Value type="text"><![CDATA[法定代表人:]]></Value>
  326. </TD>
  327. <TD id="cell64" styleId="2" />
  328. <TD id="cell65" styleId="2">
  329. <Value type="text"><![CDATA[法定代表人:]]></Value>
  330. </TD>
  331. <TD id="cell82" styleId="2" />
  332. </TR>
  333. <TR height="71" id="row17">
  334. <TD id="cell66" styleId="2">
  335. <Value type="text"><![CDATA[单位地址:]]></Value>
  336. </TD>
  337. <TD id="cell67" styleId="2" />
  338. <TD id="cell68" styleId="2">
  339. <Value type="text"><![CDATA[单位地址:]]></Value>
  340. </TD>
  341. <TD id="cell83" styleId="2">
  342. <Value type="field" dataSource="SaleContract">customer.address</Value>
  343. </TD>
  344. </TR>
  345. <TR height="70" id="row18">
  346. <TD id="cell69" styleId="2">
  347. <Value type="text"><![CDATA[开户银行:]]></Value>
  348. </TD>
  349. <TD id="cell70" styleId="2" />
  350. <TD id="cell71" styleId="2">
  351. <Value type="text"><![CDATA[开户银行:]]></Value>
  352. </TD>
  353. <TD id="cell84" styleId="2" />
  354. </TR>
  355. <TR height="70" id="row19">
  356. <TD id="cell72" styleId="2">
  357. <Value type="text"><![CDATA[银行帐号:]]></Value>
  358. </TD>
  359. <TD id="cell73" styleId="2" />
  360. <TD id="cell74" styleId="2">
  361. <Value type="text"><![CDATA[银行帐号:]]></Value>
  362. </TD>
  363. <TD id="cell85" styleId="2" />
  364. </TR>
  365. <TR height="70" id="row20">
  366. <TD id="cell75" styleId="2">
  367. <Value type="text"><![CDATA[电话传真:]]></Value>
  368. </TD>
  369. <TD id="cell76" styleId="2" />
  370. <TD id="cell77" styleId="2">
  371. <Value type="text"><![CDATA[电话传真:]]></Value>
  372. </TD>
  373. <TD id="cell86" styleId="2" />
  374. </TR>
  375. <TR height="70" id="row21">
  376. <TD id="cell78" styleId="2">
  377. <Value type="text"><![CDATA[税号:]]></Value>
  378. </TD>
  379. <TD id="cell79" styleId="2" />
  380. <TD id="cell80" styleId="2">
  381. <Value type="text"><![CDATA[税号:]]></Value>
  382. </TD>
  383. <TD id="cell87" styleId="2" />
  384. </TR>
  385. </PrintLayoutGrid>
  386. </Sub-objects>
  387. </TD>
  388. </TR>
  389. </PrintLayoutGrid>
  390. </Sub-objects>
  391. </Page>
  392. </Report>
  393. <PrintInfo>
  394. <PaperSetup>
  395. <Paper>iso-a4</Paper>
  396. <Orientation>PORTRAIT</Orientation>
  397. <PageMargin left="190" right="190" top="250" bottom="250" />
  398. <Header height="150" margin="100" />
  399. <Footer height="150" margin="100" />
  400. </PaperSetup>
  401. <PrinterSetup>
  402. <DynamicPaper>false</DynamicPaper>
  403. <EconomizePaper isVerEconomizePaper="false" verSpace="0" isHorEconomizePaper="false" horSpace="0" />
  404. </PrinterSetup>
  405. <PreviewSetup>
  406. <BackgroundPicture>false</BackgroundPicture>
  407. </PreviewSetup>
  408. </PrintInfo>
  409. </DocRoot>