| | |
| | | <apex:page controller="NewQuoteIraiController" sidebar="false" action="{!init}" id="Page" > |
| | | <apex:page controller="NewQuoteIraiController" sidebar="false" action="{!init}" id="Page" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.jquerysuggestcss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | |
| | | alert('请选择对应的营业助理.'); |
| | | unblockUI(); |
| | | } |
| | | else if (window.confirm('确定要委托该人员吗?\n' + mail)) { |
| | | QuoteIrai(); |
| | | } else { |
| | | unblockUI(); |
| | | // 20230104 lt DB202212427301 start 注释 |
| | | // else if (window.confirm('确定要委托该人员吗?\n' + mail)) { |
| | | // QuoteIrai(); |
| | | // } |
| | | // 20230104 lt DB202212427301 end |
| | | else { |
| | | QuoteIrai(); // 20230104 lt DB202212427301 end |
| | | // unblockUI(); // 20230104 lt DB202212427301 end |
| | | } |
| | | } else { |
| | | alert('请选择委托人员.'); |
| | |
| | | <td style="text-align:center;width:20px;"><apex:selectList value="{!quo.IraiUser__c}" size="1" style="width:120px" id="IraiUser" onchange="ObsapUsersChange()"><apex:selectOptions value="{!ObsapUsers}" id="obsapUsersList"/></apex:selectList></td> |
| | | </apex:variable> |
| | | |
| | | <!-- 20230104 lt DB202212427301 start--> |
| | | <!-- <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th> |
| | | <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> --> |
| | | <!-- 20230104 lt DB202212427301 end--> |
| | | |
| | | <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th> |
| | | <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> |
| | | <!-- 20230104 lt DB202212427301 start--> |
| | | <th style="text-align:right;width:190px;">紧急:</th> |
| | | <td style="text-align:center;width:10px;"><apex:inputField id="Urgent" value="{!quo.Urgent__c}"/></td> |
| | | <!-- 20230104 lt DB202212427301 end--> |
| | | |
| | | <!-- 2020/02/18 精琢技术 韩部长提出先隐藏 没必要 Start--> |
| | | <!-- <th style="text-align:right;width:70px;">总计</th> |
| | | <td style="text-align:right;width:80px;"> |
| | |
| | | </tr> |
| | | <tr> |
| | | <td style="text-align:right;width:50px;"></td> |
| | | <th style="text-align:right;width:50px;" rowspan="2"> |
| | | <th style="text-align:right;width:50px;" rowspan="3"> |
| | | {!$ObjectType.QuoteIrai__c.fields.MultiYearWarrantyTotalPrice__c.Label} |
| | | : </th> |
| | | <!-- <td style="width:470px;"> --> |
| | | <!--obsap 新增经销商1字段 fy start--> |
| | | <td style="width:10px;" rowspan="2"> |
| | | <td style="width:100px;" rowspan="3"> |
| | | <!--obsap 新增经销商1字段 fy end--> |
| | | <apex:outputtext id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" |
| | | <apex:outputtext style="width: :100px" id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}" |
| | | > |
| | | <!--obsap 新增经销商1字段 fy start--> |
| | | <!-- style="text-align:right;width:180px;"> --> |
| | |
| | | <th style="width:100px;text-align:right;">{!$Label.Sales_Name1}</th> |
| | | <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName1" value="{!quo.Agency1_entrust__c}" onChange=""/></td> |
| | | <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start --> |
| | | <th style="width:100px;text-align:right;">取消多年保</th> |
| | | <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance" value="{!quo.cancelMultiyearInsurance__c}" /></td> |
| | | <th style="width:100px;text-align:right;">多年保</th> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start --> |
| | | <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance" value="{!quo.cancelMultiyearInsurance__c}" onChange="cancelMultiyearInsurancechange()"/></td><!-- onChange="cancelMultiyearInsurancechange()"--> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end --> |
| | | <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end --> |
| | | </tr> |
| | | <!--obsap 新增经销商1字段 fy end--> |
| | | <!--DB202302464682【报价委托】报价委托改善224 fy start--> |
| | | <tr> |
| | | <td ></td> |
| | | <td ></td> |
| | | <td ></td> |
| | | <th style="width:100px;text-align:right;">{!$Label.Sales_Name2}</th> |
| | | <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName2" value="{!quo.Agency2_entrust__c}" onChange=""/></td> |
| | | <th style="width:100px;text-align:right;"></th> |
| | | <td colspan="2" style="text-align:left;"></td> |
| | | </tr> |
| | | <!--DB202302464682【报价委托】报价委托改善224 fy end--> |
| | | <tr> |
| | | <td> </td> |
| | | </tr> |
| | |
| | | <!-- 产品编号--> |
| | | <apex:column style="text-align:center;width:150px;"> |
| | | <apex:inputText id="Assert" style="width:120px;" value="{!s.Asset_Model}" onclick="searchProduct('{!s.lineNo}',this.value)" /> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start --> |
| | | <apex:inputHidden id="CanNotCancelledGurantee__c" value="{!s.CanNotCancelledGurantee}" /> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start --> |
| | | </apex:column> |
| | | <!-- NMPA状态 --> |
| | | <apex:column style="width:100px;text-align:center;"> |
| | |
| | | <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" > |
| | | <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span> |
| | | <script type="text/javascript"> |
| | | debugger |
| | | j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0)); |
| | | </script> |
| | | </apex:outputPanel> |
| | | |
| | | |
| | | </apex:column> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start --> |
| | | <!-- <apex:column style="width:100px;text-align:right;"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='要' ||(quo.cancelMultiyearInsurance__c =='不要' && s.CanNotCancelledGurantee == 'true' ),true,false)}" > |
| | | <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}"> |
| | | <apex:param value="{!s.NoDiscountTotal_Page}" /> |
| | | </apex:outputText> |
| | | </apex:outputPanel> |
| | | <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/> |
| | | <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/> |
| | | <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='不要'&& s.CanNotCancelledGurantee == 'false' ,true,false)}" > |
| | | <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span> |
| | | <script type="text/javascript"> |
| | | j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0)); |
| | | </script> |
| | | </apex:outputPanel> |
| | | </apex:column> --> |
| | | <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end --> |
| | | <!-- CHAN-BHNBX6 NodisCount 小计 2019/11/20 END --> |
| | | </apex:pageBlockTable> |
| | | </div> |
| | |
| | | <td style="width:100px;" align="right"><apex:commandButton id="QuoteIraiBtn" action="{!checkIraiUser}" reRender="IraiUserId,message1" onclick="blockme();" oncomplete="iraiJs();return false;" value="发送委托邮件" style="width:90px;" disabled="{!Save_button}"/></td> |
| | | <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end --> |
| | | <td style="width:100px;" align="right"><apex:commandButton action="{!checkIraiUser}" reRender="IraiUserId,hiddenQuoid,message1" onclick="blockme();" oncomplete="save2btn();return false;" value="{!$Label.Save_Button}" style="width:90px;" disabled="{!Save_button}" /></td> |
| | | <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td> |
| | | <!-- 20230109 lt DB202212427301 start 注释 --> |
| | | <!-- <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td> |
| | | <td style="width:100px;" align="right"><apex:commandButton action="{!Back}" rerender="hiddenQuoid" value="不保存(返回)" style="width:90px;"/></td> |
| | | <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价OPD" style="width:95px;" onclick="openpdf('OPD');return false;" disabled="{!pdf_button}"/></td> |
| | | <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> |
| | | <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> --> |
| | | <!-- 20230109 lt DB202212427301 end 注释 --> |
| | | </tr> |
| | | </table> |
| | | </td> |