⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productionrundeclaration.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<#-- *  Copyright (c) 2004 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     Olivier.Heintz@nereide.biz *@version    $Rev: 7292 $ *@since      3.0--><#if productionRunId?has_content><#-- Mandatory work efforts --><#if mandatoryWorkEfforts?has_content>    <div class="tabletext">    ${uiLabelMap.ManufacturingMandatoryProductionRuns}:    <#list mandatoryWorkEfforts as mandatoryWorkEffortAssoc>        <#assign mandatoryWorkEffort = mandatoryWorkEffortAssoc.getRelatedOne("FromWorkEffort")>        <#if "PRUN_COMPLETED" == mandatoryWorkEffort.getString("currentStatusId") || "PRUN_CLOSED" == mandatoryWorkEffort.getString("currentStatusId")>            <a href="<@ofbizUrl>ProductionRunDeclaration?productionRunId=${mandatoryWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${mandatoryWorkEffort.workEffortName}</a>&nbsp;        <#else>            <#if "PRUN_CREATED" == mandatoryWorkEffort.getString("currentStatusId")>                <a href="<@ofbizUrl>EditProductionRun?productionRunId=${mandatoryWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${mandatoryWorkEffort.workEffortName}</a>[*]&nbsp;            <#else>                <a href="<@ofbizUrl>ProductionRunDeclaration?productionRunId=${mandatoryWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${mandatoryWorkEffort.workEffortName}</a>[*]&nbsp;            </#if>        </#if>    </#list>    </div></#if><#-- Dependent work efforts --><#if dependentWorkEfforts?has_content>    <div class="tabletext">    ${uiLabelMap.ManufacturingDependentProductionRuns}:     <#list dependentWorkEfforts as dependentWorkEffortAssoc>        <#assign dependentWorkEffort = dependentWorkEffortAssoc.getRelatedOne("ToWorkEffort")>        <#if "PRUN_COMPLETED" == dependentWorkEffort.currentStatusId || "PRUN_CLOSED" == dependentWorkEffort.currentStatusId>            <a href="<@ofbizUrl>ProductionRunDeclaration?productionRunId=${dependentWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${dependentWorkEffort.workEffortName}</a>&nbsp;        <#else>            <#if "PRUN_CREATED" == dependentWorkEffort.getString("currentStatusId")>                <a href="<@ofbizUrl>EditProductionRun?productionRunId=${dependentWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${dependentWorkEffort.workEffortName}</a>[*]&nbsp;            <#else>                <a href="<@ofbizUrl>ProductionRunDeclaration?productionRunId=${dependentWorkEffort.workEffortId}</@ofbizUrl>" class="buttontext">${dependentWorkEffort.workEffortName}</a>[*]&nbsp;            </#if>        </#if>    </#list>    </div></#if><table border="0" width="100%" cellspacing="0" cellpadding="0">    <tr valign="top">        <td>            <#-- ProductionRun Update sub-screen -->            <table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">                <tr>                    <td>                        <div class="boxtop">                            <div class="boxhead-left">                                ${uiLabelMap.ManufacturingProductionRunId}: ${productionRunId}                            </div>                            <div class="boxhead-right" align="right">                                <#assign currentStatus = productionRun.getString("currentStatusId")/>                                <span class="submenutextdisabled">${uiLabelMap.ManufacturingConfirmProductionRun}</span>                                <#if currentStatus == "PRUN_COMPLETED">                                    <a href="<@ofbizUrl>changeProductionRunStatusToClosed?productionRunId=${productionRunId}</@ofbizUrl>" class="submenutext">${uiLabelMap.ManufacturingProductionRunClose}</a>                                <#else>                                    <span class="submenutextdisabled">${uiLabelMap.ManufacturingProductionRunClose}</span>                                </#if>                                <#if currentStatus == "PRUN_CANCELLED" || currentStatus == "PRUN_COMPLETED" || currentStatus == "PRUN_CLOSED">                                    <span class="submenutextdisabled">${uiLabelMap.ManufacturingQuickComplete}</span>                                <#else>                                    <a href="<@ofbizUrl>quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_COMPLETED</@ofbizUrl>" class="submenutext">${uiLabelMap.ManufacturingQuickComplete}</a>                                </#if>                                <#if currentStatus == "PRUN_CANCELLED" || currentStatus == "PRUN_CLOSED">                                    <span class="submenutextdisabled">${uiLabelMap.ManufacturingQuickClose}</span>                                <#else>                                    <a href="<@ofbizUrl>quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_CLOSED</@ofbizUrl>" class="submenutext">${uiLabelMap.ManufacturingQuickClose}</a>                                </#if>                                <#if currentStatus == "PRUN_CANCELLED" || currentStatus == "PRUN_COMPLETED" || currentStatus == "PRUN_CLOSED">                                    <span class="submenutextdisabled">${uiLabelMap.ManufacturingCancel}</span>                                <#else>                                    <a href="<@ofbizUrl>cancelProductionRun?productionRunId=${productionRunId}</@ofbizUrl>" class="submenutextright">${uiLabelMap.ManufacturingCancel}</a>                                </#if>                            </div>                            <div class="boxhead-fill">&nbsp;</div>                        </div>                        ${updateProductionRunWrapper.renderFormString(context)}                    </td>                </tr>                <#if inventoryItems?has_content>                <tr>                    <td align="left">                        <table border="0" cellpadding="2" cellspacing="0">                            <tr>                                <td width="20%" align="right">                                    <span class="tableheadtext">${uiLabelMap.ManufacturingInventoryItemsProduced}</span>                                </td>                                <td>&nbsp;</td>                                <td width="80%" align="left">                                    <span class="tabletext">                                        <#list inventoryItems as inventoryItem>                                            <a href="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItem.getString("inventoryItemId")}" class="buttontext" target="_blank">                                                ${inventoryItem.getString("inventoryItemId")}                                            </a>&nbsp;                                        </#list>                                    </span>                                </td>                            </tr>                        </table>                    </td>                </tr>                </#if>                <#if orderItems?has_content>                <tr>                    <td align="left">                        <table border="0" cellpadding="2" cellspacing="0">                            <tr>                                <td width="20%" align="right">                                    <span class="tableheadtext">${uiLabelMap.ManufacturingOrderItems}</span>                                </td>                                <td>&nbsp;</td>                                <td width="80%" align="left">                                    <span class="tabletext">                                        <#list orderItems as orderItem>                                            <a href="/ordermgr/control/orderview?orderId=${orderItem.getString("orderId")}" class="buttontext" target="_blank">                                                ${orderItem.getString("orderId")}/${orderItem.getString("orderItemSeqId")}                                            </a>&nbsp;                                        </#list>                                    </span>                                </td>                            </tr>                        </table>                    </td>                </tr>                </#if>            </table>        </td>        <#-- RoutingTask sub-screen  Update or Add  -->        <#if routingTaskId?has_content || actionForm=="AddRoutingTask">        <td> &nbsp; </td>        <td>            <table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">                <tr>                    <td>                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">                            <tr>                                <#-- RoutingTask Update  -->                                <#if routingTaskId?has_content>                                <td>                                    <div class="boxhead">${uiLabelMap.CommonEdit}&nbsp;${uiLabelMap.ManufacturingRoutingTaskId}: ${routingTaskId}</div>                                </td>                                <#else>                                <#-- RoutingTask Add -->                                <td>                                    <div class="boxhead">${uiLabelMap.ManufacturingAddRoutingTask}</div>                                </td>                                </#if>                            </tr>                        </table>                        ${editPrRoutingTaskWrapper.renderFormString(context)}                        <br/>                        ${createRoutingTaskDelivProductForm.renderFormString(context)}                        <#if prunInventoryProduced?has_content>                            <br/>                            ${prunInventoryProducedForm.renderFormString(context)}                        </#if>                    </td>                </tr>            </table>            </td>        </#if>                <#-- Product component sub-screen  Update or Add  -->                <#if productId?has_content || actionForm=="AddProductComponent">            <td> &nbsp; </td>            <td>                <table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">                  <tr><td>                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">                        <tr>                        <#if productId?has_content> <#-- Product component Update  -->                            <td><div class="boxhead">${uiLabelMap.CommonEdit}&nbsp;${uiLabelMap.ManufacturingProductionRunProductComponent} : ${productId}</div></td>                        <#else> <#-- Product component Add         -->                            <td><div class="boxhead">${uiLabelMap.ManufacturingAddProductionRunProductComponent}</div></td>                        </#if>                        </tr>                    </table>                    ${editPrProductComponentWrapper.renderFormString(context)}                  </td></tr>                </table>            </td>        </#if>        </tr>    </table>    <br/>                  <#-- List Of ProductionRun RoutingTasks  sub-screen -->    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">        <tr>            <td>                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">                    <tr>                        <td><div class="boxhead">${uiLabelMap.ManufacturingListOfProductionRunRoutingTasks}</div></td>                        <td align="right">                            <div class="boxhead-right" align="right">                                <a href="<@ofbizUrl>quickRunAllProductionRunTasks?productionRunId=${productionRunId}</@ofbizUrl>" class="submenutext">${uiLabelMap.ManufacturingQuickRunAllTasks}</a>                            </div>                        </td>                    </tr>                </table>            </td>        </tr>        <tr>            <td>                ${ListProductionRunRoutingTasksWrapper.renderFormString(context)}            </td>        </tr>    </table>        <#-- List Of ProductionRun Components  sub-screen -->    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">      <tr><td>        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">            <tr>                <td><div class="boxhead">${uiLabelMap.ManufacturingListOfProductionRunComponents}</div></td>                <td align="right"><div class="tabletext">                </td>            </tr>        </table>        ${ListProductionRunComponentsWrapper.renderFormString(context)}      </td></tr>    </table><#else>  <div class="head1">${uiLabelMap.ManufacturingNoProductionRunSelected}</div></#if>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -