material2.jrxml 12.3 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="material" language="groovy" 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"/>
	<parameter name="material2Id" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT * FROM material WHERE id = $P{material2Id}]]>
	</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="141" splitType="Stretch">
			<staticText>
				<reportElement x="10" y="15" width="30" height="35" uuid="36e036ce-e132-4dca-9474-b7e031ad4c47">
					<property name="com.jaspersoft.studio.unit.width" 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">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[编码]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="85" width="30" height="35" uuid="1e6a8cae-dfa3-4da6-be9d-2e089c00616d">
					<property name="com.jaspersoft.studio.unit.width" 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">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<text><![CDATA[规格]]></text>
			</staticText>
			<staticText>
				<reportElement x="10" y="50" width="30" height="35" uuid="1170c59a-3dd3-4b1a-800a-489d76558dbe">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
					<property name="com.jaspersoft.studio.unit.y" 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="None">
					<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="15" width="180" height="35" uuid="17f11a15-8e18-4eb8-9868-9d0f454dfc0d">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" 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">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{code}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="40" y="85" width="94" height="35" uuid="cf37df27-bc4c-4e09-bbc1-f2162e84b203">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" 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">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{spec}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="40" y="50" width="94" height="35" uuid="eaf61177-6b01-40e2-bd5e-672839fd9c25">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" 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">
					<font fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="134" y="50" width="86" height="70" uuid="6bdad49f-b16c-4d03-84c9-71afa40e510f"/>
				<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 fontName="宋体" size="10" isBold="true" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="true"/>
				</textElement>
			</textField>
			<componentElement>
				<reportElement x="134" y="50" width="84" height="69" uuid="78442e0c-8482-454e-9417-283a58c221ad">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.y" 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>
		</band>
	</title>
</jasperReport>