📄 picklist.fo.ftl
字号:
<fo:table-column column-width="220pt"/> <fo:table-column column-width="50pt"/> <fo:table-column column-width="80pt"/> <fo:table-header> <fo:table-row font-weight="bold"> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductLocation}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductProductId}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductToPick}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>Quantity to Bin#</fo:block></fo:table-cell> <#-- Not display details here, just the summary info for the bins <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.OrderOrderItems}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductInventoryItems}</fo:block></fo:table-cell> --> </fo:table-row> </fo:table-header> <fo:table-body> <#-- 2. facilityLocationInfoList (facilityLocation, product, pickQuantity, picklistBinInfoList (picklistBin, quantity), picklistItemInfoList (picklistItem, picklistBin, orderItem, product, inventoryItemAndLocation, orderItemShipGrpInvRes, itemIssuanceList)) 3. noLocationProductInfoList (product, pickQuantity, picklistBinInfoList (picklistBin, quantity), picklistItemInfoList (picklistItem, picklistBin, orderItem, product, inventoryItemAndLocation, orderItemShipGrpInvRes, itemIssuanceList)) --> <#if facilityLocationInfoList?has_content || noLocationProductInfoList?has_content> <#assign rowColor = "white"> <#if facilityLocationInfoList?has_content> <#list facilityLocationInfoList as facilityLocationInfo> <@pickInfoDetail pickQuantity=facilityLocationInfo.pickQuantity picklistBinInfoList=facilityLocationInfo.picklistBinInfoList product=facilityLocationInfo.product facilityLocation=facilityLocationInfo.facilityLocation facilityLocationInfo=facilityLocationInfo/> <#-- Not display details here, just the summary info for the bins <#list facilityLocationInfo.picklistItemInfoList as picklistItemInfo> <@picklistItemInfoDetail picklistItemInfo=picklistItemInfo product=picklistItemInfo.product facilityLocation=facilityLocationInfo.facilityLocation/> </#list> --> </#list> </#if> <#if noLocationProductInfoList?has_content> <#list noLocationProductInfoList as noLocationProductInfo> <@pickInfoDetail pickQuantity=noLocationProductInfo.pickQuantity picklistBinInfoList=noLocationProductInfo.picklistBinInfoList product=noLocationProductInfo.product facilityLocation=null facilityLocationInfo=null/> <#-- Not display details here, just the summary info for the bins <#list noLocationProductInfo.picklistItemInfoList as picklistItemInfo> <@picklistItemInfoDetail picklistItemInfo=picklistItemInfo product=noLocationProductInfo.product facilityLocation=null/> </#list> --> </#list> </#if> <#else> <fo:table-row font-weight="bold"> <fo:table-cell><fo:block>${uiLabelMap.ProductNoInventoryFoundToPick}.</fo:block></fo:table-cell> </fo:table-row> </#if> </fo:table-body> </fo:table> </fo:block></fo:flow></fo:page-sequence><#if picklistInfo?has_content> <#list picklistInfo.picklistBinInfoList as picklistBinInfo> <#assign rowColor = "white"> <#assign picklistBin = picklistBinInfo.picklistBin> <#assign picklistItemInfoList = picklistBinInfo.picklistItemInfoList?if_exists> <fo:page-sequence master-reference="main"> <fo:flow flow-name="xsl-region-body" font-family="Helvetica"> <fo:block text-align="right"> <fo:instream-foreign-object> <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="${picklistBinInfo.primaryOrderHeader.orderId}/${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}"> <barcode:code39> <barcode:height>8mm</barcode:height> </barcode:code39> </barcode:barcode> </fo:instream-foreign-object> </fo:block> <fo:block><fo:leader/></fo:block> <fo:block font-size="14pt">Bin ${picklistBin.binLocationNumber} to Pack, Order ID: ${picklistBinInfo.primaryOrderHeader.orderId}, Ship Group ID: ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}</fo:block> <fo:block><fo:leader/></fo:block> <fo:block space-after.optimum="10pt" font-size="10pt"> <fo:table> <fo:table-column column-width="60pt"/> <fo:table-column column-width="180pt"/> <fo:table-column column-width="50pt"/> <fo:table-column column-width="150pt"/> <fo:table-header> <fo:table-row font-weight="bold"> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.OrderOrderItem}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductProductId}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductToPack}</fo:block></fo:table-cell> <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductInventoryAvailNotAvail}</fo:block></fo:table-cell> </fo:table-row> </fo:table-header> <fo:table-body> <#list picklistItemInfoList as picklistItemInfo> <#assign picklistItem = picklistItemInfo.picklistItem> <#assign orderItem = picklistItemInfo.orderItem> <#assign product = picklistItemInfo.product> <#assign orderItemShipGrpInvRes = picklistItemInfo.orderItemShipGrpInvRes?if_exists> <fo:table-row> <fo:table-cell padding="2pt" background-color="${rowColor}"> <fo:block><#--${picklistItem.orderId}:${picklistItem.shipGroupSeqId}:-->${picklistItem.orderItemSeqId}</fo:block> </fo:table-cell> <fo:table-cell padding="2pt" background-color="${rowColor}"> <#if product?has_content> <fo:block>${product.internalName?xml?default("Internal Name Not Set!")} [${product.productId}]</fo:block> <#else/> <fo:block> </fo:block> </#if> </fo:table-cell> <fo:table-cell padding="2pt" background-color="${rowColor}"> <fo:block>${picklistItem.quantity}</fo:block> </fo:table-cell> <fo:table-cell padding="2pt" background-color="${rowColor}"> <#if orderItemShipGrpInvRes?has_content> <fo:block>${orderItemShipGrpInvRes.inventoryItemId}:${orderItemShipGrpInvRes.quantity}:${orderItemShipGrpInvRes.quantityNotAvailable?if_exists}</fo:block> <#else> <fo:block>No Inventory Reservation Information Available</fo:block> </#if> </fo:table-cell> </fo:table-row> <#-- toggle the row color --> <#if rowColor == "white"> <#assign rowColor = "#D4D0C8"> <#else> <#assign rowColor = "white"> </#if> </#list> </fo:table-body> </fo:table> </fo:block> </fo:flow> </fo:page-sequence> </#list></#if> <#else> <fo:block font-size="14pt"> ${uiLabelMap.ProductFacilityViewPermissionError} </fo:block> </#if></fo:root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -