material.jrxml 17.5 KB
<?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="material2" pageWidth="240" pageHeight="141" whenNoDataType="AllSectionsNoDetail" columnWidth="240" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="79975b38-5e6c-4eab-9bc4-c6eb16eedad0">
	<property name="ireport.zoom" value="1.3310000000000015"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
	<parameter name="materialId" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT * FROM material WHERE id = $P{materialId}]]>
	</queryString>
	<field name="id" class="java.lang.Integer">
		<fieldDescription><![CDATA[ID]]></fieldDescription>
	</field>
	<field name="code" class="java.lang.String">
		<fieldDescription><![CDATA[物料编码]]></fieldDescription>
	</field>
	<field name="companyCode" class="java.lang.String">
		<fieldDescription><![CDATA[货主编码]]></fieldDescription>
	</field>
	<field name="warehouseCode" class="java.lang.String">
		<fieldDescription><![CDATA[仓库编码]]></fieldDescription>
	</field>
	<field name="name" class="java.lang.String">
		<fieldDescription><![CDATA[名称]]></fieldDescription>
	</field>
	<field name="spec" class="java.lang.String">
		<fieldDescription><![CDATA[规格]]></fieldDescription>
	</field>
	<field name="unit" class="java.lang.String">
		<fieldDescription><![CDATA[单位]]></fieldDescription>
	</field>
	<field name="type" class="java.lang.String">
		<fieldDescription><![CDATA[类别]]></fieldDescription>
	</field>
	<field name="abcClass" class="java.lang.String">
		<fieldDescription><![CDATA[ABC分类]]></fieldDescription>
	</field>
	<field name="daysToExpire" class="java.lang.Integer">
		<fieldDescription><![CDATA[保质期(天)]]></fieldDescription>
	</field>
	<field name="locatingRule" class="java.lang.String">
		<fieldDescription><![CDATA[定位规则]]></fieldDescription>
	</field>
	<field name="allocationRule" class="java.lang.String">
		<fieldDescription><![CDATA[分配规则]]></fieldDescription>
	</field>
	<field name="replenishmentRule" class="java.lang.String">
		<fieldDescription><![CDATA[补货规则]]></fieldDescription>
	</field>
	<field name="emptyLocRule" class="java.lang.String">
		<fieldDescription><![CDATA[空货位规则]]></fieldDescription>
	</field>
	<field name="pickingRule" class="java.lang.String">
		<fieldDescription><![CDATA[拣货规则]]></fieldDescription>
	</field>
	<field name="receivingFlow" class="java.lang.String">
		<fieldDescription><![CDATA[入库流程]]></fieldDescription>
	</field>
	<field name="shippingFlow" class="java.lang.String">
		<fieldDescription><![CDATA[出库流程]]></fieldDescription>
	</field>
	<field name="attributeTemplateCode" class="java.lang.String">
		<fieldDescription><![CDATA[属性模版]]></fieldDescription>
	</field>
	<field name="trackSerialNum" class="java.lang.Integer">
		<fieldDescription><![CDATA[记录序列号]]></fieldDescription>
	</field>
	<field name="autoGenSerialNum" class="java.lang.Integer">
		<fieldDescription><![CDATA[自动生成序列号]]></fieldDescription>
	</field>
	<field name="autoGenSerialNumFormat" class="java.lang.String">
		<fieldDescription><![CDATA[自动生成序列号表达式]]></fieldDescription>
	</field>
	<field name="snTemplateCode" class="java.lang.String">
		<fieldDescription><![CDATA[序列号模版]]></fieldDescription>
	</field>
	<field name="expiringDays" class="java.lang.Integer">
		<fieldDescription><![CDATA[临期预警天数]]></fieldDescription>
	</field>
	<field name="minShelfLifeDays" class="java.lang.Integer">
		<fieldDescription><![CDATA[收货预警天数]]></fieldDescription>
	</field>
	<field name="enable" class="java.lang.Boolean">
		<fieldDescription><![CDATA[状态]]></fieldDescription>
	</field>
	<field name="created" class="java.sql.Timestamp">
		<fieldDescription><![CDATA[创建时间]]></fieldDescription>
	</field>
	<field name="createdBy" class="java.lang.String">
		<fieldDescription><![CDATA[创建用户]]></fieldDescription>
	</field>
	<field name="lastUpdated" class="java.sql.Timestamp">
		<fieldDescription><![CDATA[创建时间]]></fieldDescription>
	</field>
	<field name="lastUpdatedBy" class="java.lang.String">
		<fieldDescription><![CDATA[更新用户]]></fieldDescription>
	</field>
	<field name="version" class="java.lang.Integer">
		<fieldDescription><![CDATA[数据版本]]></fieldDescription>
	</field>
	<field name="userDef1" class="java.lang.String">
		<fieldDescription><![CDATA[是否AGV区域发货]]></fieldDescription>
	</field>
	<field name="userDef2" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段2]]></fieldDescription>
	</field>
	<field name="userDef3" class="java.lang.String">
		<fieldDescription><![CDATA[商品同步标识]]></fieldDescription>
	</field>
	<field name="userDef4" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段4]]></fieldDescription>
	</field>
	<field name="userDef5" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段5]]></fieldDescription>
	</field>
	<field name="userDef6" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段6]]></fieldDescription>
	</field>
	<field name="userDef7" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段7]]></fieldDescription>
	</field>
	<field name="userDef8" class="java.lang.String">
		<fieldDescription><![CDATA[自定义字段8]]></fieldDescription>
	</field>
	<field name="deleted" class="java.lang.Boolean">
		<fieldDescription><![CDATA[删除标记]]></fieldDescription>
	</field>
	<field name="isMix" class="java.lang.Boolean">
		<fieldDescription><![CDATA[是否允许混放]]></fieldDescription>
	</field>
	<variable name="QRShow" class="java.lang.String">
		<variableExpression><![CDATA[$F{code}+"/"+$F{type}+"/"+$F{name}+"/"+$F{spec}]]></variableExpression>
		<initialValueExpression><![CDATA[$F{code}+"/"+$F{type}+"/"+$F{name}+"/"+$F{spec}]]></initialValueExpression>
	</variable>
	<title>
		<band height="140" splitType="Prevent">
			<property name="com.jaspersoft.studio.layout"/>
			<property name="com.jaspersoft.studio.unit.height" value="px"/>
			<staticText>
				<reportElement x="20" y="110" width="20" height="30" uuid="c3011957-1a50-4d63-8b0b-08573c633bdf">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[批次]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="20" y="10" width="20" height="100" uuid="7b292b83-e2c7-4f33-8d36-e08f4db0c049">
					<property name="com.jaspersoft.studio.unit.y" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{userDef2}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="40" y="110" width="20" height="30" uuid="6f331ec1-5529-4b13-bcf9-caa2d60df9c5"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[图号]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="40" y="49" width="20" height="61" uuid="8338c23b-738e-49b9-bfdc-784b9e91d684"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{userDef1}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="60" y="110" width="20" height="30" uuid="4ed1e330-b41e-4a85-8e2b-9ba55ac26ca0">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[名称]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="60" y="49" width="20" height="61" uuid="1a91b7f9-afde-4f8b-a375-2a6a77201bae">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
			</textField>
			<componentElement>
				<reportElement x="40" y="10" width="38" height="39" uuid="1f8fd6fe-b45e-42a8-b1b1-b2011add2fde">
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.y" value="px"/>
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
					<jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
				</jr:QRCode>
			</componentElement>
			<textField isBlankWhenNull="true">
				<reportElement x="40" y="10" width="40" height="40" uuid="45109a37-39f1-440c-b726-0d6907d11afe">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
			</textField>
			<staticText>
				<reportElement x="160" y="110" width="20" height="30" uuid="e3cf2468-be83-45b9-a90c-68ca96b1a725">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[批次]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="160" y="9" width="20" height="101" uuid="c8267bae-59c4-4c4e-b89c-76206ef9afb1">
					<property name="com.jaspersoft.studio.unit.y" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{userDef2}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="180" y="110" width="20" height="30" uuid="2410a6d5-f9c2-4483-a518-b30b58446cb8">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[图号]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="180" y="48" width="20" height="62" uuid="f34f774a-b37c-4e74-a3cc-f80369dc5147">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{userDef1}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="200" y="110" width="20" height="30" uuid="50293feb-5a2b-47a5-8b18-e8b4d8926cb1">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[名称]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="200" y="48" width="20" height="62" uuid="e0de1a8d-6ae2-4c1b-8ce6-9a4bcac73256">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="Left">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
			</textField>
			<componentElement>
				<reportElement x="180" y="9" width="37" height="38" uuid="5e3c085d-df38-4ca4-8585-ebc6a4fd0688">
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.y" value="px"/>
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
					<jr:codeExpression><![CDATA[$F{code}]]></jr:codeExpression>
				</jr:QRCode>
			</componentElement>
			<textField isBlankWhenNull="true">
				<reportElement x="180" y="9" width="40" height="40" uuid="a3bfb96b-1bc6-46f5-bb77-a1b1b58c8ed3">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="10" isBold="true"/>
				</textElement>
			</textField>
		</band>
	</title>
</jasperReport>