binxie
2024-01-18 0f648a2059e4c0f0f850b69128e2123673732ed1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!-- 20230815 zcx <apex:page controller="StatusPageController" showHeader="false" id="allPage" sidebar="false" action="{!init}" docType="html-5.0"> -->
<apex:page controller="StatusPageController" showHeader="false" id="allPage" sidebar="false" action="{!init}" docType="html-5.0" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
    <head>
        <title>跟进</title>
    </head>
    <style>
        /*kkbes 修改产品咨询相关页面 选择框大小字体   20230918*/
        body .pbSubsection, .slds-vf-scope .pbSubsection {
    padding-top: 0.75rem;
    padding-bottom: 0rem;
    background: rgb(255, 255, 255);
}   
/*保存按钮位置*/
body .pbBottomButtons, .slds-vf-scope .pbBottomButtons {
    margin: 0rem 0rem 0;
    text-align: left;
    margin-right: 25%;
}
        body .multiSelectPicklistRow optgroup[label], .slds-vf-scope .multiSelectPicklistRow optgroup[label] {
    font-size: .80rem;
    line-height: 1.5;
    color: rgb(68, 68, 68);
    font-weight: bold;
}
body select[size] option, body select[multiple] option, .slds-vf-scope select[size] option, .slds-vf-scope select[multiple] option {
    text-indent: 0.12rem;
    font-size: small;
}
body .bPageBlock .dataCol .multiSelectPicklistRow select[multiple], .slds-vf-scope .bPageBlock .dataCol .multiSelectPicklistRow select[multiple] {
    display: block;
    min-width: auto;
    width: 159px;
    </style>
    <script type="text/javascript">
        function save(){
            var content = j$(escapeVfId('allPage:allForm:pageBlock:pageBlockSection:content')).value();
            var content1 = j$(escapeVfId('allPage:allForm:pageBlock:pageBlockSection:content1')).value();
            if (content == '' || content == null) {
                alert('跟进内容不能为空!');
                return;
            }else if(content == '仅需服务对应,营业服务共同对应'){
                alert('仅需服务对应和营业服务共同对应只能选择一项!');
                return;
            }else if(content1 !='' && content1!= null && content=='仅需服务对应'){
                alert('您已进行了营业跟进,不可选择仅服务对应!');
                return;
            }else{
                blockme();
                allSave();
            }
        }
        function check(){
            window.opener.location.href = "/{!Inquiryform.id}";
            window.close();
        }
    </script>
    <apex:form id="allForm">
        <apex:actionfunction action="{!TransferServicesavefo}" name="allSave" onComplete="check();unblockUI();"></apex:actionfunction>
        <apex:pageBlock id="pageBlock">
            <apex:pageBlockSection id="pageBlockSection">  
                   <apex:pageBlockSectionItem ><font color="red">备注:选择营业服务共同应对时,请一并完成营业跟进。</font></apex:pageBlockSectionItem><br /><br />
                    <apex:inputField id="content" value="{!Inquiryform.Transfer_Service_Follow_Content__c}" />
                    <apex:inputHidden id="content1" value="{!Inquiryform.Follow_Content__c}"/>
                    <br />
            </apex:pageBlockSection>
 
            <apex:pageblockbuttons location="bottom">
                <apex:commandButton onclick="save();return false;" value="保存"></apex:commandButton>
            </apex:pageblockbuttons>
        </apex:pageBlock>
    </apex:form>
</apex:page>