|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
- <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">
- <subDataset name="Empty Dataset1" uuid="b8103bc4-ba4d-4924-9104-c2a6b6737612"/>
- <parameter name="stockSubCategory" class="java.lang.String">
- <defaultValueExpression><![CDATA["stockSubCategory"]]></defaultValueExpression>
- </parameter>
- <parameter name="stockCategory" class="java.lang.String">
- <defaultValueExpression><![CDATA["stockCategory"]]></defaultValueExpression>
- </parameter>
- <parameter name="itemNo" class="java.lang.String">
- <defaultValueExpression><![CDATA["itemCode"]]></defaultValueExpression>
- </parameter>
- <parameter name="year" class="java.lang.String"/>
- <parameter name="reportDate" class="java.lang.String"/>
- <parameter name="reportTime" class="java.lang.String"/>
- <parameter name="storeLocation" class="java.lang.String">
- <parameterDescription><![CDATA["storeLocation"]]></parameterDescription>
- </parameter>
- <parameter name="balanceFilterStart" class="java.lang.String">
- <parameterDescription><![CDATA["balanceFilterStart"]]></parameterDescription>
- </parameter>
- <parameter name="balanceFilterEnd" class="java.lang.String">
- <parameterDescription><![CDATA["balanceFilterEnd"]]></parameterDescription>
- </parameter>
- <parameter name="lastInDateStart" class="java.lang.String">
- <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
- </parameter>
- <parameter name="lastOutDateStart" class="java.lang.String">
- <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
- </parameter>
- <parameter name="lastInDateEnd" class="java.lang.String">
- <parameterDescription><![CDATA["lastInDateStart"]]></parameterDescription>
- </parameter>
- <parameter name="lastOutDateEnd" class="java.lang.String">
- <parameterDescription><![CDATA["lastOutDateStart"]]></parameterDescription>
- </parameter>
- <parameter name="reportSection" class="java.lang.String">
- <defaultValueExpression><![CDATA[""]]></defaultValueExpression>
- </parameter>
- <parameter name="qcTypeLabel" class="java.lang.String">
- <defaultValueExpression><![CDATA["全部"]]></defaultValueExpression>
- </parameter>
- <queryString>
- <![CDATA[]]>
- </queryString>
- <field name="itemNo" class="java.lang.String"/>
- <field name="itemName" class="java.lang.String"/>
- <field name="unitOfMeasure" class="java.lang.String"/>
- <field name="lotNo" class="java.lang.String"/>
- <field name="expiryDate" class="java.lang.String"/>
- <field name="qcType" class="java.lang.String"/>
- <field name="qcTemplate" class="java.lang.String"/>
- <field name="qcDefectCriteria" class="java.lang.String"/>
- <field name="lotQty" class="java.lang.String"/>
- <field name="defectQty" class="java.lang.String"/>
- <field name="measuredValue" class="java.lang.String"/>
- <field name="remark" class="java.lang.String"/>
- <field name="orderRefNo" class="java.lang.String"/>
- <field name="stockSubCategory" class="java.lang.String"/>
- <group name="Group1" keepTogether="true">
- <groupExpression><![CDATA[$F{itemNo}+"|"+$F{unitOfMeasure}]]></groupExpression>
- <groupHeader>
- <band height="18">
- <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
- <textField textAdjust="StretchHeight">
- <reportElement isPrintRepeatedValues="false" x="10" y="0" width="579" height="18" uuid="2e1dc204-1626-43ee-97eb-bcfa745b2ff1"/>
- <textElement textAlignment="Left" verticalAlignment="Top" markup="styled">
- <font fontName="微軟正黑體" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{itemNo}+" "+$F{itemName}+" "+$F{unitOfMeasure}]]></textFieldExpression>
- </textField>
- </band>
- </groupHeader>
- <groupFooter>
- <band height="1">
- <line>
- <reportElement x="0" y="0" width="799" height="1" uuid="babfccb0-edd7-419b-92df-848cf3da5c45">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- </band>
- </groupFooter>
- </group>
- <background>
- <band splitType="Stretch"/>
- </background>
- <pageHeader>
- <band height="99" splitType="Stretch">
- <line>
- <reportElement x="0" y="80" width="799" height="1" uuid="ac02dc33-cb8d-4e70-8bcc-42285159d0bc">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <line>
- <reportElement x="0" y="76" width="799" height="1" uuid="b4baa70b-6211-49e6-95f4-218c624647e0">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <staticText>
- <reportElement x="322" y="0" width="158" height="23" uuid="0102d5e8-f072-4701-abff-8f62a4dc8463">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="16" isBold="true"/>
- </textElement>
- <text><![CDATA[庫存品質檢測報告]]></text>
- </staticText>
- <staticText>
- <reportElement x="600" y="80" width="90" height="18" uuid="e36d0d94-9345-46d2-8fa5-604676255cba">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[實測值]]></text>
- </staticText>
- <staticText>
- <reportElement x="90" y="80" width="70" height="18" uuid="7db4a800-8573-408c-baad-f4f4885625c9">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[品質檢查類型]]></text>
- </staticText>
- <staticText>
- <reportElement x="490" y="80" width="50" height="18" uuid="808b9adc-e79f-469b-89f8-a4d8035d0b02">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[數量]]></text>
- </staticText>
- <staticText>
- <reportElement x="160" y="80" width="160" height="18" uuid="f6036ff2-a00e-4809-bcb2-f4e86fb1ccf7">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[品質檢查樣板]]></text>
- </staticText>
- <staticText>
- <reportElement x="10" y="80" width="80" height="18" uuid="67fc8d08-74ed-4e63-af62-4bf566c2bea4">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[到期日]]></text>
- </staticText>
- <staticText>
- <reportElement x="550" y="80" width="50" height="18" uuid="7d8c7616-20d1-4081-853b-34bf90711d8f">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[瑕疵品數量]]></text>
- </staticText>
- <staticText>
- <reportElement x="690" y="80" width="108" height="18" uuid="8b11690e-d04c-4402-9436-dba241594b9a">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[參考編號]]></text>
- </staticText>
- <staticText>
- <reportElement x="330" y="80" width="160" height="18" uuid="26c0ec07-f36c-4f9a-8b9c-5e485bdd501e">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="10"/>
- </textElement>
- <text><![CDATA[品質問題]]></text>
- </staticText>
- <line>
- <reportElement x="0" y="98" width="799" height="1" uuid="726e7b1b-ad52-448c-8ad8-c091106d74dc">
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- </line>
- <textField evaluationTime="Report">
- <reportElement x="768" y="0" width="30" height="23" uuid="c70ffa4e-4a94-4f79-b849-249f71ab8fc4">
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle"/>
- <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement x="717" y="0" width="30" height="23" uuid="d7f500db-9b11-4fa7-b1e2-e31648986858">
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle"/>
- <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="747" y="0" width="21" height="23" uuid="0af6c3ee-f85d-4a9b-bc51-558d2848f492">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12"/>
- </textElement>
- <text><![CDATA[/]]></text>
- </staticText>
- <staticText>
- <reportElement x="677" y="0" width="40" height="23" uuid="e6d84133-39ab-4405-be2c-abdcd968076e">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12"/>
- </textElement>
- <text><![CDATA[頁數]]></text>
- </staticText>
- <textField>
- <reportElement x="708" y="29" width="90" height="23" uuid="2531fea1-1a06-4c5b-9be5-c2f615d98dac"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{reportTime}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="640" y="29" width="68" height="23" uuid="8160cd29-88e8-495b-b0ff-b816df69d2c2">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[報告時間:]]></text>
- </staticText>
- <textField>
- <reportElement x="100" y="30" width="335" height="23" uuid="20007ca4-c3e0-4e46-b05f-53ca15e9494f"/>
- <textElement verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="10" y="30" width="90" height="23" uuid="a5e6b095-e0c8-4200-911f-cdf9fbc953b1">
- <property name="com.jaspersoft.studio.unit.y" value="px"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[報告日期:]]></text>
- </staticText>
- <staticText>
- <reportElement x="10" y="53" width="90" height="23" uuid="91156739-c0e2-4cd2-b4a5-a1bcef9a1eea">
- <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
- <property name="com.jaspersoft.studio.unit.height" value="px"/>
- <property name="com.jaspersoft.studio.unit.width" value="px"/>
- </reportElement>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[QC 檢測日期:]]></text>
- </staticText>
- <textField>
- <reportElement x="100" y="53" width="560" height="23" uuid="96afd73f-53ed-42cd-9911-fdaac017d65b"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{lastInDateStart} + " 至 " + $P{lastInDateEnd}]]></textFieldExpression>
- </textField>
- <textField isBlankWhenNull="true">
- <reportElement x="322" y="23" width="158" height="20" uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{reportSection} != null && !$P{reportSection}.isEmpty() ? "(" + $P{reportSection} + ")" : ""]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="450" y="53" width="70" height="23" uuid="b2c3d4e5-f6a7-8901-bcde-f12345678901"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <text><![CDATA[QC 類型:]]></text>
- </staticText>
- <textField>
- <reportElement x="520" y="53" width="80" height="23" uuid="c3d4e5f6-a7b8-9012-cdef-123456789012"/>
- <textElement textAlignment="Left" verticalAlignment="Middle">
- <font fontName="微軟正黑體" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{qcTypeLabel}]]></textFieldExpression>
- </textField>
- </band>
- </pageHeader>
- <detail>
- <band height="20" splitType="Stretch">
- <textField textAdjust="StretchHeight">
- <reportElement x="10" y="0" width="80" height="17" uuid="2f60426c-0d94-483f-8851-2b9d73b438e3"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{expiryDate}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="90" y="0" width="70" height="17" uuid="c738c90c-e341-420f-ac76-4ee2660b038f"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{qcType}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="160" y="0" width="160" height="17" uuid="6e149a04-1b03-4ac6-8c54-c15ae889365d"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{qcTemplate}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="330" y="0" width="160" height="17" uuid="e079b438-f9e4-443d-a3f3-c0805292292c"/>
- <textElement textAlignment="Left" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{qcDefectCriteria}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="490" y="0" width="50" height="17" uuid="4abfba85-9590-4121-aeb3-724182614bea"/>
- <textElement textAlignment="Right" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{lotQty}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="550" y="0" width="50" height="17" uuid="ffa7b57b-4036-40b7-a6b0-d5e217afbb3b"/>
- <textElement textAlignment="Right" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{defectQty}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="600" y="0" width="90" height="17" uuid="9fb029a9-a16e-48d3-870e-d63af808faab"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{measuredValue}]]></textFieldExpression>
- </textField>
- <textField textAdjust="StretchHeight">
- <reportElement x="690" y="0" width="108" height="17" uuid="a5e52468-0ed0-4dfb-a305-2873273101c0"/>
- <textElement textAlignment="Center" verticalAlignment="Top">
- <font fontName="微軟正黑體"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{orderRefNo}]]></textFieldExpression>
- </textField>
- </band>
- </detail>
- </jasperReport>
|