📄 pickmovestock.ftl
字号:
<#-- * Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author David E. Jones (jonesde@ofbiz.org) *@author thierry.grauss@etu.univ-tours.fr (migration to uiLabelMap) *@version $Rev: 6118 $ *@since 3.0--><div class="screenlet"> <div class="screenlet-header"> <div class="simple-right-half"> <a href="<@ofbizUrl>PicklistOptions?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="submenutext">${uiLabelMap.ProductPicklistOptions}</a> <a href="<@ofbizUrl>PicklistManage?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="submenutext">${uiLabelMap.ProductPicklistManage}</a> <a href="<@ofbizUrl>PickMoveStock?facilityId=${facilityId?if_exists}</@ofbizUrl>" class="submenutextright">${uiLabelMap.ProductStockMoves}</a> </div> <div class="boxhead">${uiLabelMap.ProductStockMovesNeeded}</div> </div> <div class="screenlet-body"> <form method="post" action="<@ofbizUrl>processPhysicalStockMove</@ofbizUrl>" name='selectAllForm' style='margin: 0;'> <#-- general request fields --> <input type="hidden" name="facilityId" value="${facilityId?if_exists}"> <input type="hidden" name="_useRowSubmit" value="Y"> <#assign rowCount = 0> <table border="1" cellspacing="0" cellpadding="2"> <tr> <td><div class="tableheadtext">${uiLabelMap.ProductProduct}</div></td> <td><div class="tableheadtext">${uiLabelMap.ProductFromLocation}</div></td> <td><div class="tableheadtext">${uiLabelMap.ProductToLocation}</div></td> <td><div class="tableheadtext">${uiLabelMap.ProductQuantity}</div></td> <td><div class="tableheadtext">${uiLabelMap.OrderConfirm}</div></td> <td align="right"> <span class="tableheadtext">${uiLabelMap.ProductSelectAll}</span> <input type="checkbox" name="selectAll" value="Y" onclick="javascript:toggleAll(this, 'selectAllForm');"> </td> </tr> <#if moveByOisgirInfoList?has_content || moveByPflInfoList?has_content> <#list moveByOisgirInfoList?if_exists as moveByOisgirInfo> <#assign product = moveByOisgirInfo.product> <#assign facilityLocationFrom = moveByOisgirInfo.facilityLocationFrom> <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign facilityLocationTo = moveByOisgirInfo.facilityLocationTo> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByOisgirInfo.totalQuantity> <tr> <td><div class="tabletext">${product.internalName?if_exists} [${product.productId}]</div></td> <td><div class="tabletext">${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</div></td> <td><div class="tabletext">${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</div></td> <td><div class="tabletext">${totalQuantity?string.number}</div></td> <td align="right"> <input type="hidden" name="productId_o_${rowCount}" value="${product.productId?if_exists}"> <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId?if_exists}"> <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId?if_exists}"> <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId?if_exists}"> <input type="text" class="inputBox" name="quantityMoved_o_${rowCount}" size="6" value="${totalQuantity?string.number}"> </td> <td align="right"> <input type="checkbox" name="_rowSubmit_o_${rowCount}" value="Y" onclick="javascript:checkToggle(this, 'selectAllForm');"> </td> </tr> <#assign rowCount = rowCount + 1> </#list> <#list moveByPflInfoList?if_exists as moveByPflInfo> <#assign product = moveByPflInfo.product> <#assign facilityLocationFrom = moveByPflInfo.facilityLocationFrom> <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign facilityLocationTo = moveByPflInfo.facilityLocationTo> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByPflInfo.totalQuantity> <tr> <td><div class="tabletext">${product.internalName?if_exists} [${product.productId}]</div></td> <td><div class="tabletext">${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</div></td> <td><div class="tabletext">${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</div></td> <td><div class="tabletext">${totalQuantity?string.number}</div></td> <td align="right"> <input type="hidden" name="productId_o_${rowCount}" value="${product.productId?if_exists}"> <input type="hidden" name="facilityId_o_${rowCount}" value="${facilityId?if_exists}"> <input type="hidden" name="locationSeqId_o_${rowCount}" value="${facilityLocationFrom.locationSeqId?if_exists}"> <input type="hidden" name="targetLocationSeqId_o_${rowCount}" value="${facilityLocationTo.locationSeqId?if_exists}"> <input type="text" class="inputBox" name="quantityMoved_o_${rowCount}" size="6" value="${totalQuantity?string.number}"> </td> <td align="right"> <input type="checkbox" name="_rowSubmit_o_${rowCount}" value="Y" onclick="javascript:checkToggle(this, 'selectAllForm');"> </td> </tr> <#assign rowCount = rowCount + 1> </#list> <tr> <td colspan="6" align="right"> <a href="javascript:document.selectAllForm.submit();" class="buttontext">${uiLabelMap.ProductConfirmSelectedMoves}</a> </td> </tr> <#else> <tr><td colspan="6"><div class="head3">${uiLabelMap.ProductNoStockMovesNeeded}.</div></td></tr> </#if> <#assign messageCount = 0> <#list pflWarningMessageList?if_exists as pflWarningMessage> <#assign messageCount = messageCount + 1> <tr><td colspan="6"><div class="head3">${messageCount}:${pflWarningMessage}.</div></td></tr> </#list> </table> <input type="hidden" name="_rowCount" value="${rowCount}"> </form> </div></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -