浏览代码

DeliveryNotePdf update

production
tommy 1周前
父节点
当前提交
0bc0e86933
共有 3 个文件被更改,包括 538 次插入421 次删除
  1. +106
    -17
      src/main/java/com/ffii/fpsms/modules/deliveryOrder/service/DeliveryOrderService.kt
  2. +31
    -3
      src/main/java/com/ffii/fpsms/modules/deliveryOrder/service/DoWorkbenchMainService.kt
  3. +401
    -401
      src/main/resources/DeliveryNote/DeliveryNotePDF.jrxml

+ 106
- 17
src/main/java/com/ffii/fpsms/modules/deliveryOrder/service/DeliveryOrderService.kt 查看文件

@@ -1157,26 +1157,39 @@ open class DeliveryOrderService(
val truckNo = doPickOrder.truckLanceCode ?: ""
val selectedPickOrder = pickOrderRepository.findById(pickOrderId).orElse(null)

val allLines = deliveryNoteInfo.flatMap { info ->
info.deliveryOrderLines.map { line -> line }
}
val deliveryOrders = deliveryOrderRepository.findAllById(deliveryOrderIds)
val deliveryOrderCodeById = deliveryOrders.associate { it.id!! to (it.code ?: "") }
val isExtraByDoId = deliveryOrders.associate { it.id!! to it.isExtra }

val sortedLines = allLines.sortedBy { line ->
line.itemId?.let { itemId ->
val exportLines = deliveryNoteExportLines(deliveryNoteInfo)
val sortedLines = exportLines.sortedBy { row ->
row.line.itemId?.let { itemId ->
getWarehouseOrderByItemId(itemId)
} ?: Int.MAX_VALUE
}
val uniqueItemIds = sortedLines.mapNotNull { it.itemId }.distinct()
val uniqueItemIds = sortedLines.mapNotNull { it.line.itemId }.distinct()
val itemsMap = if (uniqueItemIds.isNotEmpty()) {
itemsRepository.findAllById(uniqueItemIds).associateBy { it.id }
} else {
emptyMap()
}

sortedLines.forEach { line ->
sortedLines.forEach { row ->
val line = row.line
val field = mutableMapOf<String, Any>()

field["sequenceNumber"] = (fields.size + 1).toString()
val sequenceNumber = fields.size + 1

field["sequenceNumber"] = formatSequenceNumber(
sequenceNumber,
isExtraDeliveryTicket(
lineTicketNo = null,
deliveryOrderIsExtra = isExtraByDoId[row.deliveryOrderId] == true,
headerIsMerge = false,
),
)
field["deliveryOrderCode"] = formatDoCodeWithUnderlineLast4(
deliveryOrderCodeById[row.deliveryOrderId].orEmpty(),
)
field["itemNo"] = line.itemNo
field["itemName"] = line.itemName ?: ""
field["uom"] = line.uom ?: ""
@@ -1221,13 +1234,14 @@ open class DeliveryOrderService(
params["numOfCarton"] = ""
}

params["shopName"] = doPickOrder.shopName ?: deliveryNoteInfo[0].shopName ?: ""
params["shopName"] = formatShopNameForDeliveryNote(
doPickOrder.shopName ?: deliveryNoteInfo[0].shopName ?: "",
)
params["shopAddress"] = deliveryNoteInfo[0].shopAddress ?: ""
params["deliveryDate"] =
deliveryNoteInfo[0].estimatedArrivalDate?.format(DateTimeFormatter.ISO_LOCAL_DATE) ?: ""
params["truckNo"] = truckNo
params["ShopPurchaseOrderNo"] = doPickOrder.deliveryOrderCode ?: deliveryNoteInfo.joinToString(", ") { it.code }
params["FGPickOrderNo"] = doPickOrder.pickOrderCode ?: selectedPickOrder?.code ?: ""
params["deliveryOrderCodeAll"] = formatDoCodesPlain(deliveryNoteInfo.map { it.code })
params["loadingSequence"] = doPickOrder.loadingSequence?.let {
"裝載順序:$it"
} ?: ""
@@ -1326,6 +1340,10 @@ open class DeliveryOrderService(
} else {
emptyMap()
}

val deliveryOrders = deliveryOrderRepository.findAllById(deliveryOrderIds)
val deliveryOrderCodeById = deliveryOrders.associate { it.id!! to (it.code ?: "") }
val isExtraByDoId = deliveryOrders.associate { it.id!! to it.isExtra }
sortedLines.forEach { row ->
fields.add(
@@ -1338,6 +1356,10 @@ open class DeliveryOrderService(
stockOutLinesByPickOrderLineId = stockOutLinesByPickOrderLineId,
illById = illById,
itemsById = itemsById,
deliveryOrderCodeById = deliveryOrderCodeById,
isExtraByDoId = isExtraByDoId,
headerTicketNo = null,
headerIsMerge = false,
),
)
}
@@ -1353,14 +1375,14 @@ open class DeliveryOrderService(
params["numOfCarton"] = ""
}
params["shopName"] = doPickOrderRecord.shopName ?: deliveryNoteInfo[0].shopName ?: ""
params["shopName"] = formatShopNameForDeliveryNote(
doPickOrderRecord.shopName ?: deliveryNoteInfo[0].shopName ?: "",
)
params["shopAddress"] = deliveryNoteInfo[0].shopAddress ?: ""
params["deliveryDate"] =
deliveryNoteInfo[0].estimatedArrivalDate?.format(DateTimeFormatter.ISO_LOCAL_DATE) ?: ""
params["truckNo"] = truckNo
params["ShopPurchaseOrderNo"] =
doPickOrderRecord.deliveryOrderCode ?: deliveryNoteInfo.joinToString(", ") { it.code }
params["FGPickOrderNo"] = doPickOrderRecord.pickOrderCode ?: selectedPickOrder?.code ?: ""
params["deliveryOrderCodeAll"] = formatDoCodesPlain(deliveryNoteInfo.map { it.code })
params["loadingSequence"] = doPickOrderRecord.loadingSequence?.let {
"裝載順序:$it"
} ?: ""
@@ -1394,6 +1416,61 @@ open class DeliveryOrderService(
?.id
}

fun parseTicketTypeLetter(ticketNo: String?): String? {
if (ticketNo.isNullOrBlank()) return null
val parts = ticketNo.split("-")
return if (parts.size >= 2) parts[1] else null
}

fun isExtraDeliveryTicket(
lineTicketNo: String?,
deliveryOrderIsExtra: Boolean,
headerIsMerge: Boolean,
): Boolean {
if (headerIsMerge) return deliveryOrderIsExtra
if (lineTicketNo != null) return parseTicketTypeLetter(lineTicketNo) == "E"
return deliveryOrderIsExtra
}

private fun escapeXmlForJasperStyled(text: String): String =
text.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")

fun formatDoCodeWithUnderlineLast4(code: String): String {
if (code.isBlank()) return ""
return if (code.length <= 4) {
"<style isBold=\"true\" isUnderline=\"true\">${escapeXmlForJasperStyled(code)}</style>"
} else {
val prefix = escapeXmlForJasperStyled(code.dropLast(4))
val suffix = escapeXmlForJasperStyled(code.takeLast(4))
"$prefix<style isBold=\"true\" isUnderline=\"true\">$suffix</style>"
}
}

fun formatShopNameForDeliveryNote(raw: String): String {
if (raw.isBlank()) return ""
val trimmed = raw.trim()
val (shopCodePart, restPart) = trimmed.split(" - ", limit = 2).let { parts ->
(parts.getOrNull(0)?.trim().orEmpty()) to (parts.getOrNull(1)?.trim().orEmpty())
}
return if (shopCodePart.isNotBlank() && restPart.isNotBlank()) {
val styledCode =
"<style isBold=\"true\" isUnderline=\"true\">${escapeXmlForJasperStyled(shopCodePart)}</style>"
"$styledCode - ${escapeXmlForJasperStyled(restPart)}"
} else {
escapeXmlForJasperStyled(trimmed)
}
}

fun formatDoCodesStyled(codes: Collection<String>): String =
codes.filter { it.isNotBlank() }.distinct().sorted().joinToString(", ") { formatDoCodeWithUnderlineLast4(it) }

fun formatDoCodesPlain(codes: Collection<String>): String =
codes.filter { it.isNotBlank() }.distinct().sorted()
.joinToString(", ") { escapeXmlForJasperStyled(it) }

fun formatSequenceNumber(sequenceNumber: Int, isExtra: Boolean): String =
if (isExtra) "$sequenceNumber(加單)" else sequenceNumber.toString()

fun buildDeliveryNotePdfLineField(
deliveryOrderId: Long,
line: DeliveryOrderLineInfo,
@@ -1403,9 +1480,21 @@ open class DeliveryOrderService(
stockOutLinesByPickOrderLineId: Map<Long, List<StockOutLineInfo>>,
illById: Map<Long, InventoryLotLine>,
itemsById: Map<Long, Items>,
deliveryOrderCodeById: Map<Long, String> = emptyMap(),
isExtraByDoId: Map<Long, Boolean> = emptyMap(),
headerTicketNo: String? = null,
headerIsMerge: Boolean = false,
): MutableMap<String, Any> {
val field = mutableMapOf<String, Any>()
field["sequenceNumber"] = sequenceNumber.toString()
val isExtra = isExtraDeliveryTicket(
lineTicketNo = headerTicketNo,
deliveryOrderIsExtra = isExtraByDoId[deliveryOrderId] == true,
headerIsMerge = headerIsMerge,
)
field["sequenceNumber"] = formatSequenceNumber(sequenceNumber, isExtra)
field["deliveryOrderCode"] = formatDoCodeWithUnderlineLast4(
deliveryOrderCodeById[deliveryOrderId].orEmpty(),
)
field["itemNo"] = line.itemNo
field["itemName"] = line.itemName ?: ""
field["uom"] = line.uom ?: ""


+ 31
- 3
src/main/java/com/ffii/fpsms/modules/deliveryOrder/service/DoWorkbenchMainService.kt 查看文件

@@ -2679,6 +2679,21 @@ return MessageResponse(
)
}

private fun buildDeliveryOrderCodeAll(deliveryNoteCode: String): String {
val sql = """
SELECT DISTINCT do.code AS code
FROM delivery_order_pick_order dop
JOIN pick_order po ON po.deliveryOrderPickOrderId = dop.id AND po.deleted = 0
JOIN delivery_order do ON do.id = po.doId
WHERE dop.deliveryNoteCode = :deliveryNoteCode
AND dop.deleted = 0
ORDER BY do.code
""".trimIndent()
val codes = jdbcDao.queryForList(sql, mapOf("deliveryNoteCode" to deliveryNoteCode))
.mapNotNull { row -> row["code"]?.toString() }
return deliveryOrderService.formatDoCodesPlain(codes)
}

open fun exportDeliveryNoteWorkbench(request: ExportDeliveryNoteRequest): Map<String, Any> {
val DELIVERYNOTE_PDF = "DeliveryNote/DeliveryNotePDF.jrxml"
val resource = ClassPathResource(DELIVERYNOTE_PDF)
@@ -2744,6 +2759,12 @@ return MessageResponse(
emptyMap()
}

val deliveryOrders = deliveryOrderRepository.findAllById(ctx.deliveryOrderIds)
val deliveryOrderCodeById = deliveryOrders.associate { it.id!! to (it.code ?: "") }
val isExtraByDoId = deliveryOrders.associate { it.id!! to it.isExtra }
val headerIsMerge = ctx.header.ticketNo?.startsWith("TI-M-") == true
val headerTicketNo = ctx.header.ticketNo

sortedLines.forEach { row ->
fields.add(
deliveryOrderService.buildDeliveryNotePdfLineField(
@@ -2755,6 +2776,10 @@ return MessageResponse(
stockOutLinesByPickOrderLineId = stockOutLinesByPickOrderLineId,
illById = illById,
itemsById = itemsById,
deliveryOrderCodeById = deliveryOrderCodeById,
isExtraByDoId = isExtraByDoId,
headerTicketNo = headerTicketNo,
headerIsMerge = headerIsMerge,
),
)
}
@@ -2765,14 +2790,17 @@ return MessageResponse(
params["deliveryNoteCodeTitle"] = "送貨單編號:"
params["deliveryNoteCode"] = ctx.header.deliveryNoteCode ?: ""
params["numOfCarton"] = request.numOfCarton.toString().takeUnless { it == "0" } ?: ""
params["shopName"] = ctx.header.shopName ?: deliveryNoteInfo[0].shopName ?: ""
params["shopName"] = deliveryOrderService.formatShopNameForDeliveryNote(
ctx.header.shopName ?: deliveryNoteInfo[0].shopName ?: "",
)
params["shopAddress"] = deliveryNoteInfo[0].shopAddress ?: ""
params["deliveryDate"] = ctx.header.requiredDeliveryDate?.format(DateTimeFormatter.ISO_LOCAL_DATE)
?: deliveryNoteInfo[0].estimatedArrivalDate?.format(DateTimeFormatter.ISO_LOCAL_DATE)
?: ""
params["truckNo"] = ctx.header.truckLanceCode ?: ""
params["ShopPurchaseOrderNo"] = deliveryNoteInfo.joinToString(", ") { it.code }
params["FGPickOrderNo"] = ctx.pickOrderCodes.joinToString(", ")
params["deliveryOrderCodeAll"] = ctx.header.deliveryNoteCode?.let(::buildDeliveryOrderCodeAll)
?.takeIf { it.isNotBlank() }
?: deliveryOrderService.formatDoCodesPlain(deliveryNoteInfo.map { it.code })
params["loadingSequence"] = ""

return mapOf(


+ 401
- 401
src/main/resources/DeliveryNote/DeliveryNotePDF.jrxml 查看文件

@@ -1,404 +1,404 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd -->
<!-- Created with Jaspersoft Studio version 6.20.6.final using JasperReports Library version 6.20.6-5c96b6aa8a39ac1dc6b6bea4b81168e16dd39231 -->
<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="DeliveryNotePDF" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="36f9d415-527f-4152-b7b0-eea81fe06f73">
<parameter name="deliveryNoteCode" class="java.lang.String">
<parameterDescription><![CDATA[DeliveryOrderCode]]></parameterDescription>
</parameter>
<parameter name="shopName" class="java.lang.String"/>
<parameter name="shopAddress" class="java.lang.String"/>
<parameter name="deliveryDate" class="java.lang.String"/>
<parameter name="FGPickOrderNo" class="java.lang.String"/>
<parameter name="ShopPurchaseOrderNo" class="java.lang.String"/>
<parameter name="truckNo" class="java.lang.String"/>
<parameter name="numOfCarton" class="java.lang.String"/>
<parameter name="dnTitle" class="java.lang.String"/>
<parameter name="colQty" class="java.lang.String"/>
<parameter name="totalCartonTitle" class="java.lang.String"/>
<parameter name="deliveryNoteCodeTitle" class="java.lang.String"/>
<parameter name="loadingSequence" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="sequenceNumber" class="java.lang.String"/>
<field name="itemNo" class="java.lang.String"/>
<field name="itemName" class="java.lang.String"/>
<field name="uom" class="java.lang.String"/>
<field name="qty" class="java.lang.String"/>
<field name="shortName" class="java.lang.String"/>
<field name="route" class="java.lang.String"/>
<field name="lotNo" class="java.lang.String"/>
<field name="signOff" class="java.lang.String"/>
<background>
<band height="41" splitType="Stretch"/>
</background>
<title>
<band/>
</title>
<pageHeader>
<band height="155">
<staticText>
<reportElement x="430" y="0" width="40" height="18" uuid="3381622a-7eda-4649-88b8-650da96c2a77">
<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="12"/>
</textElement>
<text><![CDATA[頁數]]></text>
</staticText>
<textField>
<reportElement x="470" y="0" width="20" height="18" uuid="33b3d236-1c13-4751-abf5-79871b2535ea">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="530" y="0" width="25" height="18" uuid="11a0dc53-3742-4c56-a9b2-b284bfe8b07e">
<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="12"/>
</textElement>
<text><![CDATA[頁]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="510" y="0" width="20" height="18" uuid="428142d2-39f0-43f1-b662-f1ab72f0aa1a">
<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>
<staticText>
<reportElement x="490" y="0" width="20" height="18" uuid="fb619a24-7eb9-4f2e-89b3-ac7efdb04333">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Justified">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[/]]></text>
</staticText>
<textField>
<reportElement x="220" y="0" width="108" height="23" uuid="a8e0ca5e-3b0c-4f88-8c4c-f922a84cb18f">
<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>
<textElement textAlignment="Center">
<font fontName="微軟正黑體" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{dnTitle}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="25" width="70" height="23" uuid="de40ab55-5e3a-4730-b6cc-ddb4272edd6d">
<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="16" isBold="true"/>
</textElement>
<text><![CDATA[店鋪:]]></text>
</staticText>
<textField>
<reportElement x="70" y="25" width="300" height="23" uuid="abe02be5-6047-4dd1-9637-f21612d9040a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{shopName}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="50" width="70" height="23" uuid="1802947d-3ddb-4c51-99ab-82dda9119e34">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<text><![CDATA[地址:]]></text>
</staticText>
<textField textAdjust="ScaleFont">
<reportElement x="70" y="50" width="465" height="23" uuid="89e79bce-bd39-48e6-b114-c11b4bcc5c9f"/>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{shopAddress}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="370" y="25" width="70" height="23" uuid="a8be367e-c33a-4876-bb0e-14c2eea6bca0">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<text><![CDATA[貨車:]]></text>
</staticText>
<textField textAdjust="ScaleFont">
<reportElement x="440" y="25" width="95" height="23" uuid="2a73f702-dda6-4abf-90b3-14704f6d3c7b">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{truckNo}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="80" width="554" height="1" uuid="ccc9c703-7813-43c3-9443-fb2b15f6749c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<staticText>
<reportElement x="5" y="90" width="110" height="18" uuid="329c1490-958e-4884-a36f-cdb0867162c3">
<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"/>
</textElement>
<text><![CDATA[送貨日期:]]></text>
</staticText>
<staticText>
<reportElement x="5" y="110" width="110" height="18" uuid="3c8084d3-e0c7-4bb9-90ec-0759b20eecf1">
<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"/>
</textElement>
<text><![CDATA[成品提貨單號:]]></text>
</staticText>
<staticText>
<reportElement x="5" y="130" width="110" height="18" uuid="111c5f73-f543-4006-931b-27479ccca816">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[店鋪採購單號:]]></text>
</staticText>
<textField textAdjust="StretchHeight">
<reportElement x="115" y="130" width="425" height="18" uuid="7171ba0b-1a78-4ff6-a765-7b2b543ab0bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{ShopPurchaseOrderNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="115" y="110" width="150" height="18" uuid="3fe3119e-8882-4c99-b9a9-9a1cec0d18c9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{FGPickOrderNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="115" y="90" width="150" height="18" uuid="606bac90-efd9-440c-a220-a8fad85ff82f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryDate}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="390" y="90" width="150" height="18" uuid="8497bbd0-84cb-4912-abe2-03dea16c51ec">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{numOfCarton}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="280" y="90" width="110" height="18" uuid="87fb3b29-92ab-4478-8e63-11ea1da7d6c8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{totalCartonTitle}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="390" y="110" width="150" height="18" uuid="b24ade74-805f-45aa-9a59-65861fe0d853">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryNoteCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="280" y="110" width="110" height="18" uuid="f0f2f87f-26cb-4fad-9c78-9d934191fad9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryNoteCodeTitle}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="0" width="220" height="23" uuid="3e4f08dd-2aa9-45cf-80f4-e867ea5fe028">
<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>
<textElement textAlignment="Left">
<font fontName="微軟正黑體" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{loadingSequence}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="33">
<staticText>
<reportElement x="0" y="5" width="40" height="18" uuid="d0d76c93-d260-4b03-b116-6e7ba1fdbdd8">
<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">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[序號]]></text>
</staticText>
<staticText>
<reportElement x="40" y="5" width="110" height="18" uuid="58a5c922-fd98-4997-9b17-16bdf9f78519">
<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">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[路綫]]></text>
</staticText>
<staticText>
<reportElement x="150" y="5" width="80" height="18" uuid="65c27cc0-f806-4930-930c-6b3fd632a52f">
<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"/>
</textElement>
<text><![CDATA[貨品編號]]></text>
</staticText>
<staticText>
<reportElement x="230" y="5" width="240" height="18" uuid="fa7ba1d5-003a-4c99-8a2f-4162756ee515">
<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"/>
</textElement>
<text><![CDATA[貨品名稱]]></text>
</staticText>
<line>
<reportElement x="0" y="28" width="554" height="1" uuid="76648c53-0490-4e52-b737-a8075d9c654f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<line>
<reportElement x="0" y="23" width="554" height="1" uuid="113fc71d-cfb1-4a3a-8ab7-8fea54843197">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<textField>
<reportElement x="470" y="5" width="84" height="18" uuid="c7debdbf-fb80-4e4a-92d0-1bff85b60d0e">
<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>
<textElement>
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{colQty}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="42">
<textField>
<reportElement x="0" y="0" width="40" height="18" uuid="ae87b739-dadf-452a-bc35-8c2da1a6a9a8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{sequenceNumber}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="40" y="0" width="110" height="18" uuid="b4bcfa6c-5d2e-4fba-815a-cc2fccd39213">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{route}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="150" y="0" width="80" height="18" uuid="3e4a71e7-d6e1-4da8-ae58-ef752c289a6d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{itemNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="470" y="0" width="84" height="18" uuid="e60b7a29-273a-4a9f-a443-f4977292c429">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{qty} + $F{shortName}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="230" y="0" width="230" height="18" uuid="c2b4da75-fdca-4e99-8103-5769dea75841">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{itemName} + "(" + $F{uom} + ")"]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="36" width="554" height="1" uuid="00d1c4c2-fcb0-4282-90c6-5443b260007c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<textField>
<reportElement x="230" y="18" width="230" height="18" uuid="af701932-2e78-47d4-a131-b668200dc376">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{lotNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="470" y="18" width="84" height="18" uuid="c4f745b9-29ab-4bc1-a65e-ee3cf36e6d4b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{signOff}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="14"/>
</pageFooter>
<parameter name="deliveryNoteCode" class="java.lang.String">
<parameterDescription><![CDATA[DeliveryOrderCode]]></parameterDescription>
</parameter>
<parameter name="shopName" class="java.lang.String"/>
<parameter name="shopAddress" class="java.lang.String"/>
<parameter name="deliveryDate" class="java.lang.String"/>
<parameter name="deliveryOrderCodeAll" class="java.lang.String"/>
<parameter name="truckNo" class="java.lang.String"/>
<parameter name="numOfCarton" class="java.lang.String"/>
<parameter name="dnTitle" class="java.lang.String"/>
<parameter name="colQty" class="java.lang.String"/>
<parameter name="totalCartonTitle" class="java.lang.String"/>
<parameter name="deliveryNoteCodeTitle" class="java.lang.String"/>
<parameter name="loadingSequence" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="sequenceNumber" class="java.lang.String"/>
<field name="itemNo" class="java.lang.String"/>
<field name="itemName" class="java.lang.String"/>
<field name="uom" class="java.lang.String"/>
<field name="qty" class="java.lang.String"/>
<field name="shortName" class="java.lang.String"/>
<field name="route" class="java.lang.String"/>
<field name="lotNo" class="java.lang.String"/>
<field name="deliveryOrderCode" class="java.lang.String"/>
<field name="signOff" class="java.lang.String"/>
<background>
<band height="41" splitType="Stretch"/>
</background>
<title>
<band/>
</title>
<pageHeader>
<band height="128">
<staticText>
<reportElement x="430" y="0" width="40" height="18" uuid="3381622a-7eda-4649-88b8-650da96c2a77">
<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="12"/>
</textElement>
<text><![CDATA[頁數]]></text>
</staticText>
<textField>
<reportElement x="470" y="0" width="20" height="18" uuid="33b3d236-1c13-4751-abf5-79871b2535ea">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="530" y="0" width="25" height="18" uuid="11a0dc53-3742-4c56-a9b2-b284bfe8b07e">
<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="12"/>
</textElement>
<text><![CDATA[頁]]></text>
</staticText>
<textField evaluationTime="Report">
<reportElement x="510" y="0" width="20" height="18" uuid="428142d2-39f0-43f1-b662-f1ab72f0aa1a">
<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>
<staticText>
<reportElement x="490" y="0" width="20" height="18" uuid="fb619a24-7eb9-4f2e-89b3-ac7efdb04333">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Justified">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[/]]></text>
</staticText>
<textField>
<reportElement x="220" y="0" width="108" height="23" uuid="a8e0ca5e-3b0c-4f88-8c4c-f922a84cb18f">
<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>
<textElement textAlignment="Center">
<font fontName="微軟正黑體" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{dnTitle}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="25" width="70" height="23" uuid="de40ab55-5e3a-4730-b6cc-ddb4272edd6d">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<text><![CDATA[店鋪:]]></text>
</staticText>
<textField textAdjust="StretchHeight">
<reportElement x="70" y="25" width="300" height="23" uuid="abe02be5-6047-4dd1-9637-f21612d9040a">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle" markup="styled">
<font fontName="微軟正黑體" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{shopName}]]></textFieldExpression>
</textField>
<staticText>
<reportElement positionType="Float" x="0" y="50" width="80" height="23" uuid="1802947d-3ddb-4c51-99ab-82dda9119e34">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="false"/>
</textElement>
<text><![CDATA[地址:]]></text>
</staticText>
<textField textAdjust="StretchHeight">
<reportElement positionType="Float" x="70" y="50" width="465" height="23" uuid="89e79bce-bd39-48e6-b114-c11b4bcc5c9f"/>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{shopAddress}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="370" y="25" width="70" height="23" uuid="a8be367e-c33a-4876-bb0e-14c2eea6bca0">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<text><![CDATA[貨車:]]></text>
</staticText>
<textField textAdjust="ScaleFont">
<reportElement x="440" y="25" width="95" height="23" uuid="2a73f702-dda6-4abf-90b3-14704f6d3c7b">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="16" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{truckNo}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="80" width="554" height="1" uuid="ccc9c703-7813-43c3-9443-fb2b15f6749c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<staticText>
<reportElement positionType="Float" x="5" y="90" width="64" height="18" uuid="329c1490-958e-4884-a36f-cdb0867162c3">
<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"/>
</textElement>
<text><![CDATA[送貨日期:]]></text>
</staticText>
<staticText>
<reportElement positionType="Float" x="5" y="110" width="110" height="18" uuid="111c5f73-f543-4006-931b-27479ccca816">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[店鋪採購單號:]]></text>
</staticText>
<textField textAdjust="StretchHeight">
<reportElement positionType="Float" x="115" y="110" width="425" height="18" uuid="7171ba0b-1a78-4ff6-a765-7b2b543ab0bc">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Middle" markup="styled">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryOrderCodeAll}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="69" y="90" width="110" height="18" uuid="606bac90-efd9-440c-a220-a8fad85ff82f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12" isBold="true" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryDate}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="240" y="90" width="40" height="18" uuid="8497bbd0-84cb-4912-abe2-03dea16c51ec">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{numOfCarton}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="190" y="90" width="50" height="18" uuid="87fb3b29-92ab-4478-8e63-11ea1da7d6c8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{totalCartonTitle}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="370" y="90" width="170" height="18" uuid="b24ade74-805f-45aa-9a59-65861fe0d853">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryNoteCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="Float" x="290" y="90" width="80" height="18" uuid="f0f2f87f-26cb-4fad-9c78-9d934191fad9">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{deliveryNoteCodeTitle}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="0" width="220" height="23" uuid="3e4f08dd-2aa9-45cf-80f4-e867ea5fe028">
<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>
<textElement textAlignment="Left">
<font fontName="微軟正黑體" size="16"/>
</textElement>
<textFieldExpression><![CDATA[$P{loadingSequence}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="33">
<staticText>
<reportElement x="0" y="5" width="40" height="18" uuid="d0d76c93-d260-4b03-b116-6e7ba1fdbdd8">
<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">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[序號]]></text>
</staticText>
<staticText>
<reportElement x="40" y="5" width="110" height="18" uuid="58a5c922-fd98-4997-9b17-16bdf9f78519">
<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">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[路綫]]></text>
</staticText>
<staticText>
<reportElement x="150" y="5" width="80" height="18" uuid="65c27cc0-f806-4930-930c-6b3fd632a52f">
<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"/>
</textElement>
<text><![CDATA[貨品編號]]></text>
</staticText>
<staticText>
<reportElement x="230" y="5" width="240" height="18" uuid="fa7ba1d5-003a-4c99-8a2f-4162756ee515">
<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"/>
</textElement>
<text><![CDATA[貨品名稱]]></text>
</staticText>
<line>
<reportElement x="0" y="28" width="554" height="1" uuid="76648c53-0490-4e52-b737-a8075d9c654f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<line>
<reportElement x="0" y="23" width="554" height="1" uuid="113fc71d-cfb1-4a3a-8ab7-8fea54843197">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<textField>
<reportElement x="470" y="5" width="84" height="18" uuid="c7debdbf-fb80-4e4a-92d0-1bff85b60d0e">
<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>
<textElement>
<font fontName="微軟正黑體" size="12"/>
</textElement>
<textFieldExpression><![CDATA[$P{colQty}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="42">
<textField>
<reportElement x="0" y="0" width="40" height="18" uuid="ae87b739-dadf-452a-bc35-8c2da1a6a9a8">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{sequenceNumber}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="40" y="0" width="110" height="18" uuid="b4bcfa6c-5d2e-4fba-815a-cc2fccd39213">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{route}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="150" y="0" width="80" height="18" uuid="3e4a71e7-d6e1-4da8-ae58-ef752c289a6d">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體" isBold="true" isItalic="false" isUnderline="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{itemNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="470" y="0" width="84" height="18" uuid="e60b7a29-273a-4a9f-a443-f4977292c429">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{qty} + $F{shortName}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="230" y="0" width="230" height="18" uuid="c2b4da75-fdca-4e99-8103-5769dea75841">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{itemName} + "(" + $F{uom} + ")"]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="36" width="554" height="1" uuid="00d1c4c2-fcb0-4282-90c6-5443b260007c">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
</line>
<textField>
<reportElement x="40" y="18" width="185" height="18" uuid="d0c1a2b3-4e5f-6789-abcd-ef0123456789">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle" markup="styled">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{deliveryOrderCode}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="230" y="18" width="230" height="18" uuid="af701932-2e78-47d4-a131-b668200dc376">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{lotNo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="470" y="18" width="84" height="18" uuid="c4f745b9-29ab-4bc1-a65e-ee3cf36e6d4b">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement verticalAlignment="Middle">
<font fontName="微軟正黑體"/>
</textElement>
<textFieldExpression><![CDATA[$F{signOff}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="18" width="40" height="18" uuid="c47819b4-0cf1-40f6-99bf-798a3afe836b">
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<textElement textAlignment="Left" verticalAlignment="Top">
<font fontName="微軟正黑體" size="12"/>
</textElement>
<text><![CDATA[單號:]]></text>
</staticText>
</band>
</detail>
<pageFooter>
<band height="14"/>
</pageFooter>
</jasperReport>

正在加载...
取消
保存