| | |
| | | <apex:page id="Page" showHeader="false" sidebar="false" Controller="SetProductTargetController" action="{!init}"> |
| | | <apex:page id="Page" showHeader="false" sidebar="false" Controller="SetProductTargetController" action="{!init}" lightningStylesheets="true"> |
| | | <head> |
| | | <title>各省重点产品目标设定</title> |
| | | |
| | |
| | | for(var i = 0; i< tbl.rows.length;i++){ |
| | | if(document.getElementById("Page:Form:dataBlock:dbRepeat_L:"+i+":owner_mlktp")){ |
| | | document.getElementById("Page:Form:dataBlock:dbRepeat_L:"+i+":owner_mlktp").style.display="none"; |
| | | document.getElementById("Page:Form:dataBlock:dbRepeat_L:"+i+":owner").style.width="80%"; |
| | | document.getElementById("Page:Form:dataBlock:dbRepeat_L:"+i+":owner").style.width="99%"; |
| | | } |
| | | //j$("Page:Form:dataBlock:dbRepeat_L:"+i+":owner_mlktp").attr('display','none'); |
| | | //j$("Page:Form:dataBlock:dbRepeat_L:"+i+":owner").css("width","80%"); |
| | |
| | | </script> |
| | | <style> |
| | | .TestCss{ |
| | | width:80%; |
| | | width:99%; |
| | | } |
| | | div#out_Div { |
| | | position:relative; |
| | |
| | | <table id="ButtonTable" border="0" width="100%"> |
| | | <tr> |
| | | <td> |
| | | 本部 <apex:selectList value="{!salesDpt}" size="1" style="width:120px" onchange="searchByDptJs();return false;"><apex:selectOptions value="{!salesDptOpts}"/></apex:selectList> |
| | | 省 <apex:inputField value="{!opp.SAP_Province__c}" id="province" style="width:140px" onchange="searchByProvinceJs();return false;"></apex:inputField> |
| | | <!-- 重点目标分类 <apex:selectList value="{!target_category}" size="1" style="width:140px" onchange="searchByCategoryJs();return false;"><apex:selectOptions value="{!targetOpts}"/></apex:selectList> |
| | | 重点产品 |
| | | 本部 <apex:selectList value="{!salesDpt}" size="1" style="width:120px" onchange="searchByDptJs();return false;"><apex:selectOptions value="{!salesDptOpts}"/></apex:selectList> |
| | | 省 <apex:inputField value="{!opp.SAP_Province__c}" id="province" style="width:140px" onchange="searchByProvinceJs();return false;"></apex:inputField> |
| | | <!-- 重点目标分类 <apex:selectList value="{!target_category}" size="1" style="width:140px" onchange="searchByCategoryJs();return false;"><apex:selectOptions value="{!targetOpts}"/></apex:selectList> |
| | | 重点产品 |
| | | <apex:selectList value="{!opp.Important_Key_product_category__c}" id="impKey" size="1" style="width:200px;" onchange="searchByImpKeyJs();return false;"> |
| | | <apex:selectOptions value="{!impProductOptions}"/> |
| | | </apex:selectList>--> |
| | |
| | | <!-- ljh 样式调整 20210204 start --> |
| | | <!--CHAN-BDQBLX 20210204 ljh end --> |
| | | <td align="right"> |
| | | <apex:commandButton value="反应到目标" rerender="dummy" onclick="UpdateJs(this);return false;" rendered="{!Not(isPast)}" id="setTarget"/> |
| | | <apex:commandButton value="反映到目标" rerender="dummy" onclick="UpdateJs(this);return false;" rendered="{!Not(isPast)}" id="setTarget"/> |
| | | <apex:commandbutton onclick="exportJs();return false;" id="export" value="导出数据模板"></apex:commandbutton> |
| | | <apex:commandButton onclick="openPopupCSV(); return false;" value="导入" rerender="Form"/> |
| | | </td> |
| | |
| | | </table> |
| | | </div> |
| | | <div id="out_Div" > |
| | | <table class="list" style="border-collapse: collapse;border-bottom-width: 0px;table-layout:fixed;" id="topTable"> |
| | | <table class="list" style="border-collapse: collapse;border-bottom-width: 0px;table-layout:fixed;width:100%;" id="topTable"> |
| | | <thead> |
| | | <tr class="headerRow" id="header_R"> |
| | | <apex:repeat value="{!opportunity_category}" var="oc" id="opportunityCategoryRepeat"> |
| | |
| | | <tr class="dataRow {!IF(MOD(cnt, 2)==0, 'odd', 'even')} {!IF(cnt==1, 'first', '')}"> |
| | | <td class="dataCell" width="140px">{!dbs.department}</td> |
| | | <td class="dataCell" width="110px"><apex:outputField value="{!dbs.opportunity.SAP_Province__c}"></apex:outputField></td> |
| | | <td class="dataCell" width="160px"><apex:inputField id="owner" value="{!dbs.opportunity.Owner_System__c}" onchange="checkOwner(this.value, this.id, {!cnt});" style="width:80%;"></apex:inputField> |
| | | <td class="dataCell" width="160px"><apex:inputField id="owner" value="{!dbs.opportunity.Owner_System__c}" onchange="checkOwner(this.value, this.id, {!cnt});" style="width:99%;"></apex:inputField> |
| | | <script type="text/javascript"> |
| | | var ispast = {!isPast}; |
| | | if (ispast) { |
| | |
| | | </div> |
| | | |
| | | <div id="in_Div" > |
| | | <table class="list" style="border-collapse: collapse;border-bottom-width: 0px;table-layout:fixed;" id="bodyTable"> |
| | | <table class="list" style="border-collapse: collapse;border-bottom-width: 0px;table-layout:fixed;width:100%;" id="bodyTable"> |
| | | |
| | | <tbody> |
| | | <apex:repeat value="{!dataBeans}" var="dbs" id="dbRepeat"> |