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

📄 findorders.ftl

📁 国外的一套开源CRM
💻 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)
 *@version    $Revision: 1.10 $
 *@since      2.2
-->

<script language="JavaScript">
<!-- //
function lookupOrders(click) {
    orderIdValue = document.lookuporder.order_id.value;
    if (orderIdValue.length > 1) {
        document.lookuporder.action = "<@ofbizUrl>/orderview</@ofbizUrl>";
    } else {
        document.lookuporder.action = "<@ofbizUrl>/findorders</@ofbizUrl>";
    }

    if (click) {
        document.lookuporder.submit();
    }
    return true;
}
// -->
</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'>Find Order(s)</div></td>
          <td align='right'>
            <div class="tabletext">
              <#if requestParameters.hideFields?default("N") == "Y">
                <a href="<@ofbizUrl>/findorders?hideFields=N${paramList}</@ofbizUrl>" class="submenutextright">Show Lookup Fields</a>
              <#else>
                <#if orderHeaderList?exists><a href="<@ofbizUrl>/findorders?hideFields=Y${paramList}</@ofbizUrl>" class="submenutext">Hide Fields</a></#if>
                <a href="javascript:lookupOrders(true);" class="submenutext">Lookup Order(s)</a>
                <a href="/partymgr/control/findparty?externalLoginKey=${requestAttributes.externalLoginKey?if_exists}" class="submenutextright">Lookup Party</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'>Order ID:</div></td>
                <td width='5%'>&nbsp;</td>
                <td><input type='text' class='inputBox' name='order_id'></td>
              </tr>
              <tr>
                <td width='25%' align='right'><div class='tableheadtext'>Customer PO#:</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'>Product ID:</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'>Role Type:</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">Any Role Type</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'>Party ID:</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'>UserLogin ID:</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'>Order Type:</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">Any Order Type</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'>Billing Acct:</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'>Created By:</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'>Store:</div></td>
                <td width='5%'>&nbsp;</td>
                <td>
                  <select name='productStoreId' class='selectBox'>
                    <#if currentProductStore?has_content>
                    <option value="${currentProductStore.productStoreId}">${currentProductStore.storeName}</option>
                    <option value="${currentProductStore.productStoreId}">---</option>
                    </#if>
                    <option value="ANY">Any Store</option>
                    <#list productStores as store>
                      <option value="${store.productStoreId}">${store.storeName}</option>
                    </#list>
                  </select>
                </td>
              </tr>
              <tr>
                <td width='25%' align='right'><div class='tableheadtext'>Web Site:</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">Any Web Site</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'>Status:</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">Any Order Status</option>
                    <#list orderStatuses as orderStatus>
                      <option value="${orderStatus.statusId}">${orderStatus.description}</option>
                    </#list>
                  </select>
                </td>
              </tr>
              <tr>
                <td width='25%' align='right'>

⌨️ 快捷键说明

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