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

📄 findparty.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2001-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     Andy Zeneski (jaz@ofbiz.org) *@version    $Rev: 7118 $ *@since      3.0--><script language="JavaScript" type="text/javascript">function lookupParty(click) {    partyIdValue = document.lookupparty.partyId.value;    userLoginIdValue = document.lookupparty.userlogin_id.value;    if (partyIdValue.length > 1 || userLoginIdValue.length > 1) {        document.lookupparty.action = "<@ofbizUrl>viewprofile</@ofbizUrl>";    } else {        document.lookupparty.action = "<@ofbizUrl>findparty</@ofbizUrl>";    }    if (click) {        document.lookupparty.submit();    }    return true;}function refreshInfo() {    document.lookupparty.lookupFlag.value = "N";    document.lookupparty.hideFields.value = "N";    document.lookupparty.submit();}</script><#assign extInfo = parameters.extInfo?default("N")><div class="screenlet">    <div class="screenlet-header">        <div style="float: right;">            <div class="tabletext">              <#if parameters.hideFields?default("N") == "Y">                <a href="<@ofbizUrl>findparty?hideFields=N${paramList}</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonShowLookupFields}</a>              <#else>                <#if partyList?exists><a href="<@ofbizUrl>findparty?hideFields=Y${paramList}</@ofbizUrl>" class="submenutext">${uiLabelMap.CommonHideFields}</a></#if>                <a href="javascript:document.lookupparty.submit();" class="submenutextright">${uiLabelMap.PartyLookupParty}</a>              </#if>            </div>        </div>        <div class="boxhead">&nbsp;${uiLabelMap.PartyFindParty}</div>    </div>  <#if parameters.hideFields?default("N") != "Y">    <div class="screenlet-body">      <form method="post" name="lookupparty" action="<@ofbizUrl>findparty</@ofbizUrl>" onsubmit="javascript:lookupParty();">          <input type="hidden" name="lookupFlag" value="Y"/>          <input type="hidden" name="hideFields" value="Y"/>          <table border="0" cellspacing="0" cellpadding="2">            <tr>              <td width="25%" align="right" nowrap><div class="tableheadtext">${uiLabelMap.PartyContactInformation} :</div></td>              <td width="5%">&nbsp;</td>              <td nowrap>                <div class="tabletext">                  <input type="radio" name="extInfo" value="N" onclick="javascript:refreshInfo();" <#if extInfo == "N">checked="checked"</#if>/>${uiLabelMap.CommonNone}&nbsp;                  <input type="radio" name="extInfo" value="P" onclick="javascript:refreshInfo();" <#if extInfo == "P">checked="checked"</#if>/>${uiLabelMap.PartyPostal}&nbsp;                  <input type="radio" name="extInfo" value="T" onclick="javascript:refreshInfo();" <#if extInfo == "T">checked="checked"</#if>/>${uiLabelMap.PartyTelecom}&nbsp;                  <input type="radio" name="extInfo" value="O" onclick="javascript:refreshInfo();" <#if extInfo == "O">checked="checked"</#if>/>${uiLabelMap.CommonOther}&nbsp;                </div>              </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"/></td>            </tr>            <tr>              <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyUserLogin} :</div></td>              <td width="5%">&nbsp;</td>              <td><input type="text" class="inputBox" name="userLoginId" value="${parameters.userLoginId?if_exists}"/></td>            </tr>            <tr>              <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyLastName} :</div></td>              <td width="5%">&nbsp;</td>              <td><input type="text" class="inputBox" name="lastName" value="${parameters.lastName?if_exists}"/></td>            </tr>            <tr>              <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyFirstName} :</div></td>              <td width="5%">&nbsp;</td>              <td><input type="text" class="inputBox" name="firstName" value="${parameters.firstName?if_exists}"/></td>            </tr>            <tr>              <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyPartyGroupName} :</div></td>              <td width="5%">&nbsp;</td>              <td><input type="text" class="inputBox" name="groupName" value="${parameters.groupName?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>            <#if extInfo == "P">              <tr><td colspan="3"><hr class="sepbar"/></td></tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.CommonAddress1} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="address1" value="${parameters.address1?if_exists}"/></td>              </tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.CommonAddress2} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="address2" value="${parameters.address2?if_exists}"/></td>              </tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.CommonCity} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="city" value="${parameters.city?if_exists}"/></td>              </tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.CommonStateProvince} :</div></td>                <td width="5%">&nbsp;</td>                <td>                  <select name="stateProvinceGeoId" class="selectBox">                    <#if currentStateGeo?has_content>                      <option value="${currentStateGeo.geoId}">${currentStateGeo.geoName?default(currentStateGeo.geoId)}</option>                      <option value="${currentStateGeo.geoId}">---</option>                    </#if>                    <option value="ANY">${uiLabelMap.CommonAnyStateProvince}</option>                    ${screens.render("component://common/widget/CommonScreens.xml#states")}                  </select>                </td>              </tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyPostalCode} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="postalCode" value="${parameters.postalCode?if_exists}"/></td>              </tr>            </#if>            <#if extInfo == "T">              <tr><td colspan="3"><hr class="sepbar"/></td></tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyCountryCode} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="countryCode" value="${parameters.countryCode?if_exists}"/></td>              </tr>              <tr>                <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.PartyAreaCode} :</div></td>                <td width="5%">&nbsp;</td>                <td><input type="text" class="inputBox" name="areaCode" value="${parameters.areaCode?if_exists}"/></td>              </tr>              <tr>

⌨️ 快捷键说明

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