Ap_OtherBillPrint.r1-print 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <DocRoot>
  2. <Parameters />
  3. <DataSources>
  4. <Reference name="DefinitionData.bos-query" alias.zh_TW="應付單自定義套打範本" alias.en="" alias="#1" desc.zh_TW="應付單自定義套打範本" desc.en="" desc="#1" info="DefinitionData.bos-query">
  5. <Sorts>
  6. <Sort field="FID" type="ascend" />
  7. </Sorts>
  8. </Reference>
  9. </DataSources>
  10. <Styles version="1.0">
  11. <Style id="2">
  12. <Borders>
  13. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  14. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  15. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  16. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  17. </Borders>
  18. </Style>
  19. <Style id="1" />
  20. <Style id="0">
  21. <Font fontName="宋体" size="16" color="#000000" bold="true" underline="false" italic="false" strikethrough="false" weight="400.0" />
  22. <Borders>
  23. <Border position="left" lineStyle="NullLine" />
  24. <Border position="top" lineStyle="NullLine" />
  25. <Border position="right" lineStyle="NullLine" />
  26. <Border position="bottom" lineStyle="NullLine" />
  27. <Border position="diagonalleft" lineStyle="NullLine" />
  28. <Border position="diagonalright" lineStyle="NullLine" />
  29. </Borders>
  30. <Interior color="#ffffff00" pattern="None" patternColor="#000000" />
  31. <Alignment horizontal="center" vertical="middle" wrapText="false" rotate="0" shrink="false" lineSpace="0.0" padding="1,1,1,1" clip="true" />
  32. <Protection hidden="false" locked="false" />
  33. </Style>
  34. </Styles>
  35. <Report type="r1-print" version="6.1.0">
  36. <Page id="page1" width="1720" height="2470">
  37. <Sub-objects>
  38. <Text id="text1" styleId="0" x="635" y="37" width="450" height="103">
  39. <Data><![CDATA[应付单
  40. ]]></Data>
  41. </Text>
  42. <PrintDataGrid id="dataGrid1" styleId="1" x="17" y="210">
  43. <Data dataSource="DefinitionData.bos-query" />
  44. <Col width="214" id="column3" />
  45. <Col width="214" id="column4" />
  46. <Col width="213" id="column5" />
  47. <Col width="213" id="column6" />
  48. <Col width="213" id="column7" />
  49. <Col width="212" id="column8" />
  50. <Col width="212" id="column9" />
  51. <Col width="212" id="column10" />
  52. <TR height="80" type="normal" displayEveryPage="true" id="row1" styleId="1">
  53. <TD id="cell3" styleId="2">
  54. <Value type="text">物料名称</Value>
  55. </TD>
  56. <TD id="cell4" styleId="2">
  57. <Value type="text">规格型号</Value>
  58. </TD>
  59. <TD id="cell5" styleId="2">
  60. <Value type="text">基本计量单位</Value>
  61. </TD>
  62. <TD id="cell6" styleId="2">
  63. <Value type="text">数量</Value>
  64. </TD>
  65. <TD id="cell7" styleId="2">
  66. <Value type="text">单价</Value>
  67. </TD>
  68. <TD id="cell8" styleId="2">
  69. <Value type="text">金额</Value>
  70. </TD>
  71. <TD id="cell9" styleId="2">
  72. <Value type="text">含税单价</Value>
  73. </TD>
  74. <TD id="cell10" styleId="2">
  75. <Value type="text">价税合计</Value>
  76. </TD>
  77. </TR>
  78. <TR height="50" type="group" group="g0" displayEveryPage="true" id="row4" styleId="1" hide="true">
  79. <TD id="cell25" styleId="1" />
  80. <TD id="cell26" styleId="1" />
  81. <TD id="cell27" styleId="1" />
  82. <TD id="cell28" styleId="1" />
  83. <TD id="cell29" styleId="1" />
  84. <TD id="cell30" styleId="1" />
  85. <TD id="cell31" styleId="1" />
  86. <TD id="cell32" styleId="1" />
  87. </TR>
  88. <TR height="90" type="detail" id="row2">
  89. <TD id="cell13" styleId="2">
  90. <Value type="field">MATERIAL_NAME</Value>
  91. </TD>
  92. <TD id="cell14" styleId="2">
  93. <Value type="field">MATERIAL_MODEL</Value>
  94. </TD>
  95. <TD id="cell15" styleId="2">
  96. <Value type="field">BASEMEASUREUNIT_NAME</Value>
  97. </TD>
  98. <TD id="cell16" styleId="2">
  99. <Script><![CDATA[var precison = getFieldValue("MULTIMEASUREUNIT_QTYPRECISION");
  100. var formatString = ((precison == 0)? "0" : "0." + repeatString("0", precison));
  101. setValue(format(getValue(), formatString));]]></Script>
  102. <Value type="field">ENTRY_FBASEQTY</Value>
  103. </TD>
  104. <TD id="cell17" styleId="2">
  105. <Value type="field">ENTRY_PRICE</Value>
  106. </TD>
  107. <TD id="cell18" styleId="2">
  108. <Value type="field">ENTRY_AMOUNT</Value>
  109. </TD>
  110. <TD id="cell19" styleId="2">
  111. <Value type="field">ENTRY_TAXPRICE</Value>
  112. </TD>
  113. <TD id="cell20" styleId="2">
  114. <Value type="field">ENTRY_RECIEVEPAYAMOUNT</Value>
  115. </TD>
  116. </TR>
  117. <TR height="50" type="group" group="g0" id="row3" styleId="1" hide="true">
  118. <TD id="cell1" styleId="1" />
  119. <TD id="cell2" styleId="1" />
  120. <TD id="cell11" styleId="1" />
  121. <TD id="cell12" styleId="1" />
  122. <TD id="cell21" styleId="1" />
  123. <TD id="cell22" styleId="1" />
  124. <TD id="cell23" styleId="1" />
  125. <TD id="cell24" styleId="1" />
  126. </TR>
  127. <Groups>
  128. <Group id="g0" according="field" dividePage="true">FID</Group>
  129. </Groups>
  130. </PrintDataGrid>
  131. </Sub-objects>
  132. </Page>
  133. </Report>
  134. <PrintInfo>
  135. <PaperSetup>
  136. <Paper>iso-a4</Paper>
  137. <Orientation>PORTRAIT</Orientation>
  138. <PageMargin left="190" right="190" top="250" bottom="250" />
  139. <Header height="150" margin="100" />
  140. <Footer height="150" margin="100" />
  141. </PaperSetup>
  142. <PrinterSetup>
  143. <DynamicPaper>false</DynamicPaper>
  144. <EconomizePaper>false</EconomizePaper>
  145. </PrinterSetup>
  146. <PreviewSetup>
  147. <BackgroundPicture>false</BackgroundPicture>
  148. </PreviewSetup>
  149. </PrintInfo>
  150. </DocRoot>