inventory.jrxml
8.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown -->
<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="inventory" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="f2b84649-4c05-45e1-97d0-9f31966f494f">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="myAdapter"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w1" value="647"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w2" value="353"/>
<parameter name="date" class="java.sql.Date"/>
<queryString language="SQL">
<![CDATA[SELECT locationCode AS locationCode,
containerCode AS containerCode,
materialCode AS materialCode,
name AS name,
spec AS spec,
inventorySts AS inventorySts,
qty AS qty
FROM inventory_detail i
INNER JOIN material m ON
'NULL' = 'NULL'
ORDER BY locationCode ASC]]>
</queryString>
<field name="locationCode" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="locationCode"/>
<property name="com.jaspersoft.studio.field.tree.path" value="inventory_detail"/>
</field>
<field name="containerCode" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="containerCode"/>
<property name="com.jaspersoft.studio.field.tree.path" value="inventory_detail"/>
</field>
<field name="materialCode" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="materialCode"/>
<property name="com.jaspersoft.studio.field.tree.path" value="inventory_detail"/>
</field>
<field name="name" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="name"/>
<property name="com.jaspersoft.studio.field.tree.path" value="material"/>
</field>
<field name="spec" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="spec"/>
<property name="com.jaspersoft.studio.field.tree.path" value="material"/>
</field>
<field name="inventorySts" class="java.lang.String">
<property name="com.jaspersoft.studio.field.label" value="inventorySts"/>
<property name="com.jaspersoft.studio.field.tree.path" value="inventory_detail"/>
</field>
<field name="qty" class="java.math.BigDecimal">
<property name="com.jaspersoft.studio.field.label" value="qty"/>
<property name="com.jaspersoft.studio.field.tree.path" value="inventory_detail"/>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="57" splitType="Stretch">
<staticText>
<reportElement x="190" y="20" width="140" height="30" uuid="a5dadfff-1941-4d79-94ab-d850eed5ae79"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="16"/>
</textElement>
<text><![CDATA[长沙华恒库存报表]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="35" splitType="Stretch">
<staticText>
<reportElement x="-20" y="0" width="100" height="30" uuid="cb8872ee-e1ac-4b42-a863-e8ac49daa4c4"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<text><![CDATA[时间:]]></text>
</staticText>
<staticText>
<reportElement x="370" y="0" width="100" height="30" uuid="559c32ed-18e1-4bd0-8eb1-98eb70990295"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<text><![CDATA[部门:]]></text>
</staticText>
<staticText>
<reportElement x="470" y="0" width="100" height="30" uuid="49283584-65ca-4219-8c4d-3f8dbd641e56"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[仓库]]></text>
</staticText>
<textField pattern="MMMMM dd, yyyy">
<reportElement x="80" y="0" width="100" height="30" uuid="b6c60f61-7328-4d66-89df-8136959bb837"/>
<textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="32" splitType="Stretch">
<staticText>
<reportElement x="-20" y="0" width="80" height="30" uuid="b202c2a1-46b8-4727-91ce-4e1280566016"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[库位]]></text>
</staticText>
<staticText>
<reportElement x="60" y="0" width="70" height="30" uuid="c03890b2-30ed-4b16-b884-acbfe95cd982"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[容器]]></text>
</staticText>
<staticText>
<reportElement x="130" y="0" width="80" height="30" uuid="ece5cb44-94b6-4203-82b7-094214770cad"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[物料编码]]></text>
</staticText>
<staticText>
<reportElement x="210" y="0" width="90" height="30" uuid="31baaf40-5e47-4b4a-a8ba-d3efb10137e7"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[物料名称]]></text>
</staticText>
<staticText>
<reportElement x="300" y="0" width="100" height="30" uuid="46dfbcb4-5464-4df0-afae-8f24f91e9082"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[物料规格]]></text>
</staticText>
<staticText>
<reportElement x="400" y="0" width="90" height="30" uuid="637a4fa3-87f2-48c7-8077-ab1a0182bbac"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[库存]]></text>
</staticText>
<staticText>
<reportElement x="490" y="0" width="85" height="30" uuid="6c92e083-a134-423e-814f-870b0e522e9c"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[库存状态]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="34" splitType="Stretch">
<textField>
<reportElement x="-20" y="0" width="80" height="30" uuid="44ac5289-dc22-45f4-ac12-d59f564b3dea"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{locationCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="60" y="0" width="70" height="30" uuid="0c322385-42cc-4908-a1f5-f92c707cfe23"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{containerCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="130" y="0" width="80" height="30" uuid="f6576e46-cbaa-4f97-a303-9adb35d66dbd"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{materialCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="210" y="0" width="90" height="30" uuid="21d367fe-919a-4669-82e4-f13fdc9d4223"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="300" y="0" width="100" height="30" uuid="3927d013-40f7-4bb5-9de9-cc9587214dd5"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{spec}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="400" y="0" width="90" height="30" uuid="8ad633b4-63e6-46b9-b09f-8a2658f0248d"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{qty}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="490" y="0" width="85" height="30" uuid="e33bc011-8c17-4ee9-8eb0-f18da95f51c8"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{inventorySts}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="36" splitType="Stretch">
<textField>
<reportElement x="475" y="0" width="100" height="30" uuid="142d35d8-e054-4bdb-a690-4e044d037273"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>