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

📄 editproductassoc.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
            <td>&nbsp;</td>            <td><b>${productIdTo?if_exists}</b> ${uiLabelMap.ProductRecreateAssociation}</td>        </tr>        <tr>            <td align="right"><div class="tabletext">${uiLabelMap.ProductAssociationType}</div></td>            <td>&nbsp;</td>            <td><b><#if curProductAssocType?exists>${(curProductAssocType.description)?if_exists}<#else> ${productAssocTypeId?if_exists}</#if></b> (You must re-create the association to change this.)</td>        </tr>        <tr>            <td align="right"><div class="tabletext">${uiLabelMap.CommonFromDate}</div></td>            <td>&nbsp;</td>            <td><b>${fromDate?if_exists}</b> ${uiLabelMap.ProductRecreateAssociation}</td>        </tr>    </#if>    <tr>        <td width="26%" align="right"><div class="tabletext">${uiLabelMap.CommonThruDate}</div></td>        <td>&nbsp;</td>        <td width="74%">        <div class="tabletext">            <input type="text" class="inputBox" name="THRU_DATE" <#if useValues> value="${productAssoc.thruDate?if_exists}"<#else>value="${(request.getParameter("THRU_DATE"))?if_exists}"</#if> size="30" maxlength="30">             <a href="javascript:call_cal(document.editProductAssocForm.THRU_DATE, <#if useValues>'${productAssoc.thruDate?if_exists}'<#elseif (request.getParameter("THRU_DATE"))?exists>'${request.getParameter("THRU_DATE")}'<#else>'${nowTimestampString}'</#if>);"><img src="/images/cal.gif" width="16" height="16" border="0" alt="Calendar"></a>        </div>        </td>    </tr>    <tr>        <td width="26%" align="right"><div class="tabletext">${uiLabelMap.ProductSequenceNum}</div></td>        <td>&nbsp;</td>        <td width="74%"><input type="text" class="inputBox" name="SEQUENCE_NUM" <#if useValues>value="${(productAssoc.sequenceNum)?if_exists}"<#else>value="${(request.getParameter("SEQUENCE_NUM"))?if_exists}"</#if> size="5" maxlength="10"></td>    </tr>    <tr>        <td width="26%" align="right"><div class="tabletext">${uiLabelMap.ProductReason}</div></td>        <td>&nbsp;</td>        <td width="74%"><input type="text" class="inputBox" name="REASON" <#if useValues>value="${(productAssoc.reason)?if_exists}"<#else>value="${(request.getParameter("REASON"))?if_exists}"</#if> size="60" maxlength="255"></td>    </tr>    <tr>        <td width="26%" align="right"><div class="tabletext">${uiLabelMap.ProductInstruction}</div></td>        <td>&nbsp;</td>        <td width="74%"><input type="text" class="inputBox" name="INSTRUCTION" <#if useValues>value="${(productAssoc.instruction)?if_exists}"<#else>value="${(request.getParameter("INSTRUCTION"))?if_exists}"</#if> size="60" maxlength="255"></td>    </tr>        <tr>        <td width="26%" align="right"><div class="tabletext">${uiLabelMap.ProductQuantity}</div></td>        <td>&nbsp;</td>        <td width="74%"><input type="text" class="inputBox" name="QUANTITY" <#if useValues>value="${(productAssoc.quantity)?if_exists}"<#else>value="${(request.getParameter("QUANTITY"))?if_exists}"</#if> size="10" maxlength="15"></td>    </tr>        <tr>        <td colspan="2">&nbsp;</td>        <td align="left"><input type="submit" <#if isCreate>value="${uiLabelMap.CommonCreate}"<#else>value="${uiLabelMap.CommonUpdate}"</#if>></td>    </tr>    </table>    </form>    <br/>    <#if productId?exists && product?exists>        <hr class="sepbar">        <div class="head2">${uiLabelMap.ProductAssociationsFromProduct}...</div>                <table border="1" cellpadding="2" cellspacing="0">            <tr>            <td><div class="tabletext"><b>${uiLabelMap.ProductProductId}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.ProductName}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.CommonFromDateTime}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.CommonThruDateTime}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.ProductSeqNum}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.CommonQuantity}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.ProductAssociationType}</b></div></td>            <td><div class="tabletext"><b>&nbsp;</b></div></td>            <td><div class="tabletext"><b>&nbsp;</b></div></td>            </tr>            <#list assocFromProducts as assocFromProduct>            <#assign listToProduct = assocFromProduct.getRelatedOneCache("AssocProduct")>            <#assign curProductAssocType = assocFromProduct.getRelatedOneCache("ProductAssocType")>            <tr valign="middle">                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)?if_exists}</@ofbizUrl>" class="buttontext">${(assocFromProduct.productIdTo)?if_exists}</a></td>                <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProduct?productId=${(assocFromProduct.productIdTo)?if_exists}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if>&nbsp;</td>                <td><div class="tabletext" <#if (assocFromProduct.getTimestamp("fromDate"))?exists && nowDate.before(assocFromProduct.getTimestamp("fromDate"))> style="color: red;"</#if>>                ${(assocFromProduct.fromDate)?if_exists}&nbsp;</div></td>                <td><div class="tabletext" <#if (assocFromProduct.getTimestamp("thruDate"))?exists && nowDate.after(assocFromProduct.getTimestamp("thruDate"))> style="color: red;"</#if>>                ${(assocFromProduct.thruDate)?if_exists}&nbsp;</div></td>                <td><div class="tabletext">&nbsp;${(assocFromProduct.sequenceNum)?if_exists}</div></td>                <td><div class="tabletext">&nbsp;${(assocFromProduct.quantity)?if_exists}</div></td>                <td><div class="tabletext"><#if curProductAssocType?exists> ${(curProductAssocType.description)?if_exists}<#else>${(assocFromProduct.productAssocTypeId)?if_exists}</#if></div></td>                <td>                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&PRODUCT_ID=${productId}&PRODUCT_ID_TO=${(assocFromProduct.productIdTo)?if_exists}&PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)?if_exists}&FROM_DATE=${Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(assocFromProduct.getTimestamp("fromDate").toString())}&useValues=true</@ofbizUrl>" class="buttontext">                [${uiLabelMap.CommonDelete}]</a>                </td>                <td>                <a href="<@ofbizUrl>EditProductAssoc?PRODUCT_ID=${productId}&PRODUCT_ID_TO=${(assocFromProduct.productIdTo)?if_exists}&PRODUCT_ASSOC_TYPE_ID=${(assocFromProduct.productAssocTypeId)?if_exists}&FROM_DATE=${Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(assocFromProduct.getTimestamp("fromDate").toString())}&useValues=true</@ofbizUrl>" class="buttontext">                [${uiLabelMap.CommonEdit}]</a>                </td>            </tr>            </#list>        </table>                <hr class="sepbar">        <div class="head2">${uiLabelMap.ProductAssociationsToProduct}...</div>        <table border="1" cellpadding="2" cellspacing="0">            <tr>            <td><div class="tabletext"><b>${uiLabelMap.ProductProductId}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.ProductName}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.CommonFromDateTime}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.CommonThruDateTime}</b></div></td>            <td><div class="tabletext"><b>${uiLabelMap.ProductAssociationType}</b></div></td>            <td><div class="tabletext"><b>&nbsp;</b></div></td>            </tr>            <#list assocToProducts as assocToProduct>            <#assign listToProduct = assocToProduct.getRelatedOneCache("MainProduct")>            <#assign curProductAssocType = assocToProduct.getRelatedOneCache("ProductAssocType")>            <tr valign="middle">                <td><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">${(assocToProduct.productId)?if_exists}</a></td>                <td><#if listToProduct?exists><a href="<@ofbizUrl>EditProduct?productId=${(assocToProduct.productId)?if_exists}</@ofbizUrl>" class="buttontext">${(listToProduct.internalName)?if_exists}</a></#if></td>                <td><div class="tabletext">${(assocToProduct.getTimestamp("fromDate"))?if_exists}&nbsp;</div></td>                <td><div class="tabletext">${(assocToProduct.getTimestamp("thruDate"))?if_exists}&nbsp;</div></td>                <td><div class="tabletext"><#if curProductAssocType?exists> ${(curProductAssocType.description)?if_exists}<#else> ${(assocToProduct.productAssocTypeId)?if_exists}</#if></div></td>                <td>                <a href="<@ofbizUrl>UpdateProductAssoc?UPDATE_MODE=DELETE&PRODUCT_ID=${(assocToProduct.productId)?if_exists}&PRODUCT_ID_TO=${(assocToProduct.productIdTo)?if_exists}&PRODUCT_ASSOC_TYPE_ID=${(assocToProduct.productAssocTypeId)?if_exists}&FROM_DATE=${Static["org.ofbiz.base.util.UtilFormatOut"].encodeQueryValue(assocToProduct.getTimestamp("fromDate").toString())}&useValues=true</@ofbizUrl>" class="buttontext">                [${uiLabelMap.CommonDelete}]</a>                </td>            </tr>            </#list>        </table>        <br/>        <div class="tabletext">${uiLabelMap.CommonNote} : ${uiLabelMap.ProductRedExplanation}</div>    </#if>

⌨️ 快捷键说明

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