Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

374 rindas
18 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
  3. <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="ItemQCReport" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6a86bad3-14fb-475b-b1eb-824e47f43432">
  4. <subDataset name="Empty Dataset1" uuid="b8103bc4-ba4d-4924-9104-c2a6b6737612"/>
  5. <parameter name="stockSubCategory" class="java.lang.String">
  6. <defaultValueExpression><![CDATA["stockSubCategory"]]></defaultValueExpression>
  7. </parameter>
  8. <parameter name="stockCategory" class="java.lang.String">
  9. <defaultValueExpression><![CDATA["stockCategory"]]></defaultValueExpression>
  10. </parameter>
  11. <parameter name="itemNo" class="java.lang.String">
  12. <defaultValueExpression><![CDATA["itemCode"]]></defaultValueExpression>
  13. </parameter>
  14. <parameter name="year" class="java.lang.String"/>
  15. <parameter name="reportDate" class="java.lang.String"/>
  16. <parameter name="reportTime" class="java.lang.String"/>
  17. <parameter name="storeLocation" class="java.lang.String">
  18. <parameterDescription><![CDATA["storeLocation"]]></parameterDescription>
  19. </parameter>
  20. <parameter name="balanceFilterStart" class="java.lang.String">
  21. <parameterDescription><![CDATA["balanceFilterStart"]]></parameterDescription>
  22. </parameter>
  23. <parameter name="balanceFilterEnd" class="java.lang.String">
  24. <parameterDescription><![CDATA["balanceFilterEnd"]]></parameterDescription>
  25. </parameter>
  26. <parameter name="lastInDateStart" class="java.lang.String">
  27. <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
  28. </parameter>
  29. <parameter name="lastOutDateStart" class="java.lang.String">
  30. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  31. </parameter>
  32. <parameter name="lastInDateEnd" class="java.lang.String">
  33. <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
  34. </parameter>
  35. <parameter name="lastOutDateEnd" class="java.lang.String">
  36. <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
  37. </parameter>
  38. <parameter name="reportSection" class="java.lang.String">
  39. <defaultValueExpression><![CDATA[""]]></defaultValueExpression>
  40. </parameter>
  41. <parameter name="qcTypeLabel" class="java.lang.String">
  42. <defaultValueExpression><![CDATA["全部"]]></defaultValueExpression>
  43. </parameter>
  44. <queryString>
  45. <![CDATA[]]>
  46. </queryString>
  47. <field name="itemNo" class="java.lang.String"/>
  48. <field name="itemName" class="java.lang.String"/>
  49. <field name="unitOfMeasure" class="java.lang.String"/>
  50. <field name="lotNo" class="java.lang.String"/>
  51. <field name="expiryDate" class="java.lang.String"/>
  52. <field name="qcType" class="java.lang.String"/>
  53. <field name="qcTemplate" class="java.lang.String"/>
  54. <field name="qcDefectCriteria" class="java.lang.String"/>
  55. <field name="lotQty" class="java.lang.String"/>
  56. <field name="defectQty" class="java.lang.String"/>
  57. <field name="measuredValue" class="java.lang.String"/>
  58. <field name="remark" class="java.lang.String"/>
  59. <field name="orderRefNo" class="java.lang.String"/>
  60. <field name="stockSubCategory" class="java.lang.String"/>
  61. <group name="Group1" keepTogether="true">
  62. <groupExpression><![CDATA[$F{itemNo}+"|"+$F{unitOfMeasure}]]></groupExpression>
  63. <groupHeader>
  64. <band height="18">
  65. <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
  66. <textField textAdjust="StretchHeight">
  67. <reportElement isPrintRepeatedValues="false" x="10" y="0" width="579" height="18" uuid="2e1dc204-1626-43ee-97eb-bcfa745b2ff1"/>
  68. <textElement textAlignment="Left" verticalAlignment="Top" markup="styled">
  69. <font fontName="微軟正黑體" isBold="true"/>
  70. </textElement>
  71. <textFieldExpression><![CDATA[$F{itemNo}+" "+$F{itemName}+" "+$F{unitOfMeasure}]]></textFieldExpression>
  72. </textField>
  73. </band>
  74. </groupHeader>
  75. <groupFooter>
  76. <band height="1">
  77. <line>
  78. <reportElement x="0" y="0" width="799" height="1" uuid="babfccb0-edd7-419b-92df-848cf3da5c45">
  79. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  80. </reportElement>
  81. </line>
  82. </band>
  83. </groupFooter>
  84. </group>
  85. <background>
  86. <band splitType="Stretch"/>
  87. </background>
  88. <pageHeader>
  89. <band height="99" splitType="Stretch">
  90. <line>
  91. <reportElement x="0" y="80" width="799" height="1" uuid="ac02dc33-cb8d-4e70-8bcc-42285159d0bc">
  92. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  93. </reportElement>
  94. </line>
  95. <line>
  96. <reportElement x="0" y="76" width="799" height="1" uuid="b4baa70b-6211-49e6-95f4-218c624647e0">
  97. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  98. </reportElement>
  99. </line>
  100. <staticText>
  101. <reportElement x="322" y="0" width="158" height="23" uuid="0102d5e8-f072-4701-abff-8f62a4dc8463">
  102. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  103. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  104. </reportElement>
  105. <textElement textAlignment="Center" verticalAlignment="Middle">
  106. <font fontName="微軟正黑體" size="16" isBold="true"/>
  107. </textElement>
  108. <text><![CDATA[庫存品質檢測報告]]></text>
  109. </staticText>
  110. <staticText>
  111. <reportElement x="600" y="80" width="90" height="18" uuid="e36d0d94-9345-46d2-8fa5-604676255cba">
  112. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  113. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  114. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  115. </reportElement>
  116. <textElement textAlignment="Center" verticalAlignment="Middle">
  117. <font fontName="微軟正黑體" size="10"/>
  118. </textElement>
  119. <text><![CDATA[實測值]]></text>
  120. </staticText>
  121. <staticText>
  122. <reportElement x="90" y="80" width="70" height="18" uuid="7db4a800-8573-408c-baad-f4f4885625c9">
  123. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  124. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  125. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  126. </reportElement>
  127. <textElement textAlignment="Center" verticalAlignment="Middle">
  128. <font fontName="微軟正黑體" size="10"/>
  129. </textElement>
  130. <text><![CDATA[品質檢查類型]]></text>
  131. </staticText>
  132. <staticText>
  133. <reportElement x="490" y="80" width="50" height="18" uuid="808b9adc-e79f-469b-89f8-a4d8035d0b02">
  134. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  135. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  136. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  137. </reportElement>
  138. <textElement textAlignment="Right" verticalAlignment="Middle">
  139. <font fontName="微軟正黑體" size="10"/>
  140. </textElement>
  141. <text><![CDATA[數量]]></text>
  142. </staticText>
  143. <staticText>
  144. <reportElement x="160" y="80" width="160" height="18" uuid="f6036ff2-a00e-4809-bcb2-f4e86fb1ccf7">
  145. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  146. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  147. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  148. </reportElement>
  149. <textElement textAlignment="Center" verticalAlignment="Middle">
  150. <font fontName="微軟正黑體" size="10"/>
  151. </textElement>
  152. <text><![CDATA[品質檢查樣板]]></text>
  153. </staticText>
  154. <staticText>
  155. <reportElement x="10" y="80" width="80" height="18" uuid="67fc8d08-74ed-4e63-af62-4bf566c2bea4">
  156. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  157. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  158. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  159. </reportElement>
  160. <textElement textAlignment="Center" verticalAlignment="Middle">
  161. <font fontName="微軟正黑體" size="10"/>
  162. </textElement>
  163. <text><![CDATA[到期日]]></text>
  164. </staticText>
  165. <staticText>
  166. <reportElement x="550" y="80" width="50" height="18" uuid="7d8c7616-20d1-4081-853b-34bf90711d8f">
  167. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  168. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  169. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  170. </reportElement>
  171. <textElement textAlignment="Right" verticalAlignment="Middle">
  172. <font fontName="微軟正黑體" size="10"/>
  173. </textElement>
  174. <text><![CDATA[瑕疵品數量]]></text>
  175. </staticText>
  176. <staticText>
  177. <reportElement x="690" y="80" width="108" height="18" uuid="8b11690e-d04c-4402-9436-dba241594b9a">
  178. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  179. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  180. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  181. </reportElement>
  182. <textElement textAlignment="Center" verticalAlignment="Middle">
  183. <font fontName="微軟正黑體" size="10"/>
  184. </textElement>
  185. <text><![CDATA[參考編號]]></text>
  186. </staticText>
  187. <staticText>
  188. <reportElement x="330" y="80" width="160" height="18" uuid="26c0ec07-f36c-4f9a-8b9c-5e485bdd501e">
  189. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  190. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  191. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  192. </reportElement>
  193. <textElement textAlignment="Left" verticalAlignment="Middle">
  194. <font fontName="微軟正黑體" size="10"/>
  195. </textElement>
  196. <text><![CDATA[品質問題]]></text>
  197. </staticText>
  198. <line>
  199. <reportElement x="0" y="98" width="799" height="1" uuid="726e7b1b-ad52-448c-8ad8-c091106d74dc">
  200. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  201. </reportElement>
  202. </line>
  203. <textField evaluationTime="Report">
  204. <reportElement x="768" y="0" width="30" height="23" uuid="c70ffa4e-4a94-4f79-b849-249f71ab8fc4">
  205. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  206. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  207. </reportElement>
  208. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  209. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  210. </textField>
  211. <textField>
  212. <reportElement x="717" y="0" width="30" height="23" uuid="d7f500db-9b11-4fa7-b1e2-e31648986858">
  213. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  214. </reportElement>
  215. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  216. <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
  217. </textField>
  218. <staticText>
  219. <reportElement x="747" y="0" width="21" height="23" uuid="0af6c3ee-f85d-4a9b-bc51-558d2848f492">
  220. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  221. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  222. </reportElement>
  223. <textElement textAlignment="Center" verticalAlignment="Middle">
  224. <font fontName="微軟正黑體" size="12"/>
  225. </textElement>
  226. <text><![CDATA[/]]></text>
  227. </staticText>
  228. <staticText>
  229. <reportElement x="677" y="0" width="40" height="23" uuid="e6d84133-39ab-4405-be2c-abdcd968076e">
  230. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  231. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  232. </reportElement>
  233. <textElement textAlignment="Center" verticalAlignment="Middle">
  234. <font fontName="微軟正黑體" size="12"/>
  235. </textElement>
  236. <text><![CDATA[頁數]]></text>
  237. </staticText>
  238. <textField>
  239. <reportElement x="708" y="29" width="90" height="23" uuid="2531fea1-1a06-4c5b-9be5-c2f615d98dac"/>
  240. <textElement textAlignment="Left" verticalAlignment="Middle">
  241. <font fontName="微軟正黑體" size="12" isBold="true"/>
  242. </textElement>
  243. <textFieldExpression><![CDATA[$P{reportTime}]]></textFieldExpression>
  244. </textField>
  245. <staticText>
  246. <reportElement x="640" y="29" width="68" height="23" uuid="8160cd29-88e8-495b-b0ff-b816df69d2c2">
  247. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  248. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  249. </reportElement>
  250. <textElement textAlignment="Left" verticalAlignment="Middle">
  251. <font fontName="微軟正黑體" size="12" isBold="true"/>
  252. </textElement>
  253. <text><![CDATA[報告時間:]]></text>
  254. </staticText>
  255. <textField>
  256. <reportElement x="100" y="30" width="335" height="23" uuid="20007ca4-c3e0-4e46-b05f-53ca15e9494f"/>
  257. <textElement verticalAlignment="Middle">
  258. <font fontName="微軟正黑體" size="12" isBold="true"/>
  259. </textElement>
  260. <textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
  261. </textField>
  262. <staticText>
  263. <reportElement x="10" y="30" width="90" height="23" uuid="a5e6b095-e0c8-4200-911f-cdf9fbc953b1">
  264. <property name="com.jaspersoft.studio.unit.y" value="px"/>
  265. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  266. </reportElement>
  267. <textElement textAlignment="Left" verticalAlignment="Middle">
  268. <font fontName="微軟正黑體" size="12" isBold="true"/>
  269. </textElement>
  270. <text><![CDATA[報告日期:]]></text>
  271. </staticText>
  272. <staticText>
  273. <reportElement x="10" y="53" width="90" height="23" uuid="91156739-c0e2-4cd2-b4a5-a1bcef9a1eea">
  274. <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
  275. <property name="com.jaspersoft.studio.unit.height" value="px"/>
  276. <property name="com.jaspersoft.studio.unit.width" value="px"/>
  277. </reportElement>
  278. <textElement textAlignment="Left" verticalAlignment="Middle">
  279. <font fontName="微軟正黑體" size="12" isBold="true"/>
  280. </textElement>
  281. <text><![CDATA[QC 檢測日期:]]></text>
  282. </staticText>
  283. <textField>
  284. <reportElement x="100" y="53" width="560" height="23" uuid="96afd73f-53ed-42cd-9911-fdaac017d65b"/>
  285. <textElement textAlignment="Left" verticalAlignment="Middle">
  286. <font fontName="微軟正黑體" size="12" isBold="true"/>
  287. </textElement>
  288. <textFieldExpression><![CDATA[$P{lastInDateStart} + " 至 " + $P{lastInDateEnd}]]></textFieldExpression>
  289. </textField>
  290. <textField isBlankWhenNull="true">
  291. <reportElement x="322" y="23" width="158" height="20" uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890"/>
  292. <textElement textAlignment="Center" verticalAlignment="Middle">
  293. <font fontName="微軟正黑體" size="12" isBold="true"/>
  294. </textElement>
  295. <textFieldExpression><![CDATA[$P{reportSection} != null && !$P{reportSection}.isEmpty() ? "(" + $P{reportSection} + ")" : ""]]></textFieldExpression>
  296. </textField>
  297. <staticText>
  298. <reportElement x="450" y="53" width="70" height="23" uuid="b2c3d4e5-f6a7-8901-bcde-f12345678901"/>
  299. <textElement textAlignment="Left" verticalAlignment="Middle">
  300. <font fontName="微軟正黑體" size="12" isBold="true"/>
  301. </textElement>
  302. <text><![CDATA[QC 類型:]]></text>
  303. </staticText>
  304. <textField>
  305. <reportElement x="520" y="53" width="80" height="23" uuid="c3d4e5f6-a7b8-9012-cdef-123456789012"/>
  306. <textElement textAlignment="Left" verticalAlignment="Middle">
  307. <font fontName="微軟正黑體" size="12" isBold="true"/>
  308. </textElement>
  309. <textFieldExpression><![CDATA[$P{qcTypeLabel}]]></textFieldExpression>
  310. </textField>
  311. </band>
  312. </pageHeader>
  313. <detail>
  314. <band height="20" splitType="Stretch">
  315. <textField textAdjust="StretchHeight">
  316. <reportElement x="10" y="0" width="80" height="17" uuid="2f60426c-0d94-483f-8851-2b9d73b438e3"/>
  317. <textElement textAlignment="Center" verticalAlignment="Top">
  318. <font fontName="微軟正黑體"/>
  319. </textElement>
  320. <textFieldExpression><![CDATA[$F{expiryDate}]]></textFieldExpression>
  321. </textField>
  322. <textField textAdjust="StretchHeight">
  323. <reportElement x="90" y="0" width="70" height="17" uuid="c738c90c-e341-420f-ac76-4ee2660b038f"/>
  324. <textElement textAlignment="Center" verticalAlignment="Top">
  325. <font fontName="微軟正黑體"/>
  326. </textElement>
  327. <textFieldExpression><![CDATA[$F{qcType}]]></textFieldExpression>
  328. </textField>
  329. <textField textAdjust="StretchHeight">
  330. <reportElement x="160" y="0" width="160" height="17" uuid="6e149a04-1b03-4ac6-8c54-c15ae889365d"/>
  331. <textElement textAlignment="Center" verticalAlignment="Top">
  332. <font fontName="微軟正黑體"/>
  333. </textElement>
  334. <textFieldExpression><![CDATA[$F{qcTemplate}]]></textFieldExpression>
  335. </textField>
  336. <textField textAdjust="StretchHeight">
  337. <reportElement x="330" y="0" width="160" height="17" uuid="e079b438-f9e4-443d-a3f3-c0805292292c"/>
  338. <textElement textAlignment="Left" verticalAlignment="Top">
  339. <font fontName="微軟正黑體"/>
  340. </textElement>
  341. <textFieldExpression><![CDATA[$F{qcDefectCriteria}]]></textFieldExpression>
  342. </textField>
  343. <textField textAdjust="StretchHeight">
  344. <reportElement x="490" y="0" width="50" height="17" uuid="4abfba85-9590-4121-aeb3-724182614bea"/>
  345. <textElement textAlignment="Right" verticalAlignment="Top">
  346. <font fontName="微軟正黑體"/>
  347. </textElement>
  348. <textFieldExpression><![CDATA[$F{lotQty}]]></textFieldExpression>
  349. </textField>
  350. <textField textAdjust="StretchHeight">
  351. <reportElement x="550" y="0" width="50" height="17" uuid="ffa7b57b-4036-40b7-a6b0-d5e217afbb3b"/>
  352. <textElement textAlignment="Right" verticalAlignment="Top">
  353. <font fontName="微軟正黑體"/>
  354. </textElement>
  355. <textFieldExpression><![CDATA[$F{defectQty}]]></textFieldExpression>
  356. </textField>
  357. <textField textAdjust="StretchHeight">
  358. <reportElement x="600" y="0" width="90" height="17" uuid="9fb029a9-a16e-48d3-870e-d63af808faab"/>
  359. <textElement textAlignment="Center" verticalAlignment="Top">
  360. <font fontName="微軟正黑體"/>
  361. </textElement>
  362. <textFieldExpression><![CDATA[$F{measuredValue}]]></textFieldExpression>
  363. </textField>
  364. <textField textAdjust="StretchHeight">
  365. <reportElement x="690" y="0" width="108" height="17" uuid="a5e52468-0ed0-4dfb-a305-2873273101c0"/>
  366. <textElement textAlignment="Center" verticalAlignment="Top">
  367. <font fontName="微軟正黑體"/>
  368. </textElement>
  369. <textFieldExpression><![CDATA[$F{orderRefNo}]]></textFieldExpression>
  370. </textField>
  371. </band>
  372. </detail>
  373. </jasperReport>