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

📄 findorders.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2003 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     Andy Zeneski (jaz@ofbiz.org) *@author     Jean-Luc.Malet@nereide.biz (migration to uiLabelMap) *@version    $Rev: 7349 $ *@since      2.2--><script language="JavaScript" type="text/javascript"><!-- //function lookupOrders(click) {    orderIdValue = document.lookuporder.orderId.value;    if (orderIdValue.length > 1) {        document.lookuporder.action = "<@ofbizUrl>orderview</@ofbizUrl>";        document.lookuporder.method = "get";    } else {        document.lookuporder.action = "<@ofbizUrl>findorders</@ofbizUrl>";    }    if (click) {        document.lookuporder.submit();    }    return true;}function toggleOrderId(master) {    var form = document.massOrderChangeForm;    var orders = form.elements.length;    for (var i = 0; i < orders; i++) {        var element = form.elements[i];        if (element.name == "orderIdList") {            element.checked = master.checked;            element.disabled = !element.disabled;        }    }}function setServiceName(selection) {    document.massOrderChangeForm.action = selection.value;}function runAction() {    var form = document.massOrderChangeForm;    var orders = form.elements.length;    for (var i = 0; i < orders; i++) {        var element = form.elements[i];        if (element.name == "orderIdList") {            element.disabled = false;        }    }    form.submit();}// --></script><#if security.hasEntityPermission("ORDERMGR", "_VIEW", session)><form method="post" name="lookuporder" action="<@ofbizUrl>findorders</@ofbizUrl>" onsubmit="javascript:lookupOrders();"><input type="hidden" name="lookupFlag" value="Y"/><input type="hidden" name="hideFields" value="Y"/><table border="0" width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>  <tr>    <td width='100%'>      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>        <tr>          <td><div class='boxhead'>${uiLabelMap.OrderFindOrder}</div></td>          <td align='right'>            <div class="tabletext">              <#if requestParameters.hideFields?default("N") == "Y">                <a href="<@ofbizUrl>findorders?hideFields=N${paramList}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonShowLookupFields}</a>              <#else>                <#if orderHeaderList?exists><a href="<@ofbizUrl>findorders?hideFields=Y${paramList}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonHideFields}</a></#if>                <a href="javascript:lookupOrders(true);" class="submenutext">${uiLabelMap.OrderLookupOrder}</a>                <a href="/partymgr/control/findparty?externalLoginKey=${requestAttributes.externalLoginKey?if_exists}" class="submenutextright">${uiLabelMap.PartyLookupParty}</a>              </#if>            </div>          </td>        </tr>      </table>      <#if requestParameters.hideFields?default("N") != "Y">      <table width='100%' border='0' cellspacing='0' cellpadding='2' class='boxbottom'>        <tr>          <td align='center' width='100%'>            <table border='0' cellspacing='0' cellpadding='2'>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderOrderId}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='orderId'/></td>              </tr>             <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderExternalId}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='externalId'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderCustomerPo}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='correspondingPoId' value='${requestParameters.correspondingPoId?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderInternalCode}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='internalCode' value='${requestParameters.internalCode?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.ProductProductId}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='productId' value='${requestParameters.productId?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.PartyRoleType}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='roleTypeId' class='selectBox'>                    <#if currentRole?has_content>                    <option value="${currentRole.roleTypeId}">${currentRole.description}</option>                    <option value="${currentRole.roleTypeId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyRoleType}</option>                    <#list roleTypes as roleType>                      <option value="${roleType.roleTypeId}">${roleType.description}</option>                    </#list>                  </select>                </td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.PartyPartyId}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='partyId' value='${requestParameters.partyId?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.PartyUserLoginId}</div></td>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='userLoginId' value='${requestParameters.userLoginId?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderOrderType}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='orderTypeId' class='selectBox'>                    <#if currentType?has_content>                    <option value="${currentType.orderTypeId}">${currentType.description}</option>                    <option value="${currentType.orderTypeId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyOrderType}</option>                    <#list orderTypes as orderType>                      <option value="${orderType.orderTypeId}">${orderType.description}</option>                    </#list>                  </select>                </td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.AccountingBillingAccount}</div>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='billingAccountId' value='${requestParameters.billingAccountId?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.CommonCreatedBy}</div>                <td width='5%'>&nbsp;</td>                <td><input type='text' class='inputBox' name='createdBy' value='${requestParameters.createdBy?if_exists}'/></td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.OrderSalesChannel}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='salesChannelEnumId' class='selectBox'>                    <#if currentSalesChannel?has_content>                    <option value="${currentSalesChannel.enumId}">${currentSalesChannel.description}</option>                    <option value="${currentSalesChannel.enumId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnySalesChannel}</option>                    <#list salesChannels as channel>                      <option value="${channel.enumId}">${channel.description}</option>                    </#list>                  </select>                </td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.ProductProductStore}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='productStoreId' class='selectBox'>                    <#if currentProductStore?has_content>                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName?if_exists}</option>                    <option value="${currentProductStore.productStoreId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyStore}</option>                    <#list productStores as store>                      <option value="${store.productStoreId}">${store.storeName?if_exists}</option>                    </#list>                  </select>                </td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.ProductWebSite}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='webSiteId' class='selectBox'>                    <#if currentWebSite?has_content>                    <option value="${currentWebSite.webSiteId}">${currentWebSite.siteName}</option>                    <option value="${currentWebSite.webSiteId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyWebSite}</option>                    <#list webSites as webSite>                      <option value="${webSite.webSiteId}">${webSite.siteName}</option>                    </#list>                  </select>                </td>              </tr>              <tr>                <td width='25%' align='right'><div class='tableheadtext'>${uiLabelMap.CommonStatus}</div></td>                <td width='5%'>&nbsp;</td>                <td>                  <select name='orderStatusId' class='selectBox'>                    <#if currentStatus?has_content>                    <option value="${currentStatus.statusId}">${currentStatus.description}</option>                    <option value="${currentStatus.statusId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyOrderStatus}</option>                    <#list orderStatuses as orderStatus>                      <option value="${orderStatus.statusId}">${orderStatus.description}</option>

⌨️ 快捷键说明

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