LiJinHuan
2023-05-24 5e96c498e70f390d6d5926148ea026d569921b57
备品查看排队
1个文件已修改
127 ■■■■ 已修改文件
force-app/main/default/pages/RentalApplySequence.page 127 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/RentalApplySequence.page
@@ -1,4 +1,6 @@
<apex:page controller="RentalApplySequenceController"  showHeader="false" sidebar="false" id="allPage" action="{!init}" title="排队查看">
<!-- 20230522 ljh lightning  -->
<!-- <apex:page controller="RentalApplySequenceController"  showHeader="false" sidebar="false" id="allPage" action="{!init}" title="排队查看"> -->
<apex:page controller="RentalApplySequenceController"  showHeader="false" sidebar="false" id="allPage" action="{!init}" title="排队查看" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
@@ -12,6 +14,19 @@
    .table-head{padding-right:17px;}
    .tablehead0{padding-right:0;}
    .table-body table tr:nth-child(2n){background-color:#f2f2f2;}
    /* 20230524 ljh lightning start  */
    body .pbBody table.list tr th, body .pbBody table.list tr td {
        border: 1px solid #ededed;
        white-space: normal;
    }
    body .pbBody table.list tr.headerRow td,body .pbBody table.list tr.headerRow th {
        background: #f2f3f3;
        border-width: 0 0 1px 1px;
        border-color: #e0e3e5;
        font-size: .9em;
        font-weight: bold;
    }
    /* 20230524 ljh lightning end  */
    /*以下是下拉复选框的样式  start*/
    * {
        margin: 0;
@@ -224,8 +239,9 @@
    </apex:actionFunction>
    <apex:inputHidden id="checkEventId" value="{!checkEventId}" /> 
    <apex:pageBlock id="searchBlock" title="查看排队情况">
        <apex:pageBlockSection title="检索" id="mainSection" columns="4"  >
            <apex:pageBlockSectionItem >
        <!-- 20230523 ljh lightning start -->
        <!-- <apex:pageBlockSection title="检索" id="mainSection" columns="4"  >
             <apex:pageBlockSectionItem >
                <apex:outputLabel value="申请单号" />
                <apex:inputText id="S_raName" value="{!S_raName}"/>
            </apex:pageBlockSectionItem>
@@ -242,8 +258,6 @@
                <apex:outputLabel for="S_bieBenBu" value="队列所在地区本部" />
                <apex:inputText id="S_bieBenBu" value="{!S_bieBenBu}"/>
            </apex:pageBlockSectionItem>
            <!-- onchange="blockme(); changebenbu()" -->
            <!-- changebenbu(); -->
            <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}">
                <apex:outputLabel for="S_bieCunFangDi" value="备品存放地" />
                <apex:selectList value="{!S_bieCunFangDi}"  onchange="blockme(); changeCunfangdi();selectCunFangDiJs(this);return false;" size="1" style="width:160px" id="S_bieCunFangDi">
@@ -271,7 +285,6 @@
                            </apex:repeat>
                            </ul>
                        </li>
                        <!-- style="display: none;" -->
                    </ul>
                    <div class="nav_close"></div>
                </apex:outputPanel>
@@ -296,7 +309,6 @@
                        </apex:repeat>
                        </ul>
                    </li>
                    <!-- style="display: none;" -->
                </ul>
            </apex:outputPanel>
            </apex:pageBlockSectionItem>
@@ -314,12 +326,100 @@
            </apex:pageBlockSectionItem>
            
            <apex:pageBlockSectionItem >
                 <apex:commandButton style="" value="检索" onclick="searchJs(); return false;"/>
            </apex:pageBlockSectionItem>
        </apex:pageBlockSection>
                <apex:commandButton style="" value="检索" onclick="searchJs(); return false;"/>
            </apex:pageBlockSectionItem>
        </apex:pageBlockSection> -->
        <div class="pbSubheader brandTertiaryBgr first tertiaryPalette" >
            <h3>检索</h3>
        </div>
            <table style="width:100%;margin:10px 0;" >
                <tr style="height:40px;">
                    <td>申请单号</td>
                    <td><apex:inputText id="S_raName" value="{!S_raName}"/></td>
                    <td>型号</td>
                    <td><apex:inputText id="S_Fixture_Model_No" value="{!S_Fixture_Model_No}"/></td>
                    <td>备品出借担当</td>
                    <td>
                        <apex:inputField id="S_Person_In_Charge" value="{!S_Ra_Person.Person_In_Charge__c}" styleClass="hideDropdown" />
                    </td>
                    <td>队列所在地区本部</td>
                    <td><apex:inputText id="S_bieBenBu" value="{!S_bieBenBu}"/></td>
                </tr>
                <tr style="height:40px;">
                    <td>备品存放地</td>
                    <td>
                        <apex:selectList value="{!S_bieCunFangDi}"  onchange="blockme(); changeCunfangdi();selectCunFangDiJs(this);return false;" size="1" style="width:160px" id="S_bieCunFangDi">
                        <apex:selectOptions value="{!bieCunFangDiOps}"/>
                        </apex:selectList>
                    </td>
                    <td>申请人所属本部</td>
                    <td>
                        <apex:outputPanel style="position: relative; " id="S_bieBenBuApply">
                        <apex:inputHidden id="S_ApplyBenBu" value="{!S_ApplyBenBu}" />
                        <ul class="nav" id="nav" style="background-color: #FFFFFF;left:0px;">
                            <li id="classification" class="transparent_class" style="margin-left:0px;height:20px;" onclick="navClose();return false;">
                                <span id="initial">--无--</span>
                            </li>
                            <li id="selectCheckId" style="margin-left:0px;display: none;">
                                <ul style="margin-left: 0;" >
                                <apex:repeat value="{!SApplyBenBu}" var="orr" id="selSD">
                                <li class="sdclass" style="margin-left:0px">
                                    <p class="ul-nav" name="cate_id[]" >
                                        <input type="checkbox" value="{!orr.parameterName}" class="li-input" onclick="selectBenBu(this,'{!orr.parameterName}');" style="display: inline-block;vertical-align: middle;" />
                                        <font style="">{!orr.parameterName}</font>
                                    </p>
                                </li>
                                </apex:repeat>
                                </ul>
                            </li>
                        </ul>
                        <div class="nav_close"></div>
                        </apex:outputPanel>
                    </td>
                    <td>申请者办事处</td>
                    <td>
                        <apex:outputPanel style="position: relative; " id="S_AgencyApply">
                        <apex:inputHidden id="S_Agency" value="{!S_Agency}" />
                        <ul class="nav" id="nav_a" style="background-color: #FFFFFF;left:0px;">
                            <li id="classification_a" class="transparent_class" style="margin-left:0px;height:20px;" onclick="navClose_a();return false;">
                                <span id="initial_a">--无--</span>
                            </li>
                            <li id="selectCheckId_a" style="margin-left:0px;display: none;">
                                <ul style="margin-left: 0;" >
                                <apex:repeat value="{!SApplyAgency}" var="orr" id="selSA">
                                <li class="sdclass" style="margin-left:0px">
                                    <p class="ul-nav" name="cate_id[]" >
                                        <input type="checkbox" value="{!orr.parameterName}" class="li-input" onclick="selectAgency(this,'{!orr.parameterName}');" style="display: inline-block;vertical-align: middle;" />
                                        <font style="">{!orr.parameterName}</font>
                                    </p>
                                </li>
                                </apex:repeat>
                                </ul>
                            </li>
                        </ul>
                        </apex:outputPanel>
                    </td>
                    <td>备品分类</td>
                    <td>
                        <apex:selectList value="{!S_bieBeiPinFenLei}" size="1" id="bieBeiPinFenLei" style="width:180px">
                        <apex:selectOptions value="{!bieBeiPinFenLeiOps}"/>
                        </apex:selectList>
                    </td>
                </tr>
                <tr style="height:40px;">
                    <td>产品分类(GI/SP)</td>
                    <td>
                        <apex:selectList value="{!S_Product_category}" size="1" style="width:60px" id="S_Product_category">
                        <apex:selectOptions value="{!bieChanPinFenLeiOps}"/>
                        </apex:selectList>
                    </td>
                    <td colspan="6"> <apex:commandButton style="" value="检索" onclick="searchJs(); return false;"/> </td>
                </tr>
            </table>
        <!-- 数据 -->
    </apex:pageBlock>
    <!-- </apex:pageBlock> -->
    <!-- 20230523 ljh lightning end -->
    <apex:pageBlock id="MySequence">
    <apex:outputPanel id="message">
        <apex:pageMessages />
@@ -387,7 +487,7 @@
            <col width="10%"/>
            </colgroup>   
            <thead>
            <tr class="headerRow" >
            <tr class="headerRow">
                <th style="padding-bottom: 6px;">申请单号No.</th>
                <th style="padding-bottom: 6px;">一览No.</th>
                <th style="padding-bottom: 6px;">型号</th>
@@ -468,6 +568,7 @@
        </table>
    </div>
    </apex:pageBlock>
</apex:pageBlock> <!-- 20230523 ljh lightning  -->
</apex:form>
<apex:outputPanel id="checEventFrame">