| | |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="/soap/ajax/29.0/connection.js"/> |
| | | <apex:includeScript value="/soap/ajax/29.0/apex.js"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> |
| | | |
| | | <style type="text/css"> |
| | | .hideDropdown select{ |
| | |
| | | //点击 本部选择 |
| | | function selectBenBu(obj,name){ |
| | | var checked1 = j$(obj).prop("checked"); |
| | | if (checked1 == true) { |
| | | j$("#classification").children("#initial").remove(); |
| | | var idTemp = j$(obj).value().trim(); |
| | | idTemp = 'Id'+idTemp.split('.')[0]; |
| | | j$("#classification").append("<span class='valClass' id='" + (idTemp) + "'>" + (j$(obj) |
| | | .value().trim() + ",") + "</span>"); |
| | | } else { |
| | | var idTemp = 'Id'+name.split('.')[0]; |
| | | j$("#classification").children("#" + (idTemp)).remove(); |
| | | var length = j$("#classification").html().length; |
| | | if (length === 0) { |
| | | j$("#classification").append("<span class='valClass' id='initial'>--无--</span>"); |
| | | } |
| | | } |
| | | var optioncheck = j$(".valClass"); |
| | | var hint = ''; |
| | | for(var i = 0;i<optioncheck.length;i++){ |
| | | if (checked1 == true) { |
| | | j$("#classification").children("#initial").remove(); |
| | | var idTemp = j$(obj).value().trim(); |
| | | idTemp = 'Id'+idTemp.split('.')[0]; |
| | | j$("#classification").append("<span class='valClass' id='" + (idTemp) + "'>" + (j$(obj) |
| | | .value().trim() + ",") + "</span>"); |
| | | } else { |
| | | var idTemp = 'Id'+name.split('.')[0]; |
| | | j$("#classification").children("#" + (idTemp)).remove(); |
| | | var length = j$("#classification").html().length; |
| | | if (length === 0) { |
| | | j$("#classification").append("<span class='valClass' id='initial'>--无--</span>"); |
| | | } |
| | | } |
| | | var optioncheck = j$(".valClass"); |
| | | var hint = ''; |
| | | for(var i = 0;i<optioncheck.length;i++){ |
| | | if(optioncheck[i].innerText != '--无--'){ |
| | | hint +=optioncheck[i].innerText; |
| | | } |
| | | } |
| | | } |
| | | // console.log(hint); |
| | | j$(escapeVfId('allPage:allForm:searchBlock:mainSection:ApplyBB:S_ApplyBenBu')).val(hint); |
| | | } |
| | |
| | | <apex:actionFunction name="checkEvent" action="{!checkEvent}" rerender="checEventFrame" oncomplete="window.scrollTo(0, 200);unblockUI();"> |
| | | </apex:actionFunction> |
| | | <apex:inputHidden id="checkEventId" value="{!checkEventId}" /> |
| | | <apex:pageBlock id="searchBlock" title="查看排队情况"> |
| | | <apex:pageBlockSection title="检索" id="mainSection" columns="4" > |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="申请单号" /> |
| | | <apex:inputText id="S_raName" value="{!S_raName}"/> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="型号" /> |
| | | <apex:inputText id="S_Fixture_Model_No" value="{!S_Fixture_Model_No}"/> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="备品出借担当" /> |
| | | <apex:inputField id="S_Person_In_Charge" value="{!S_Ra_Person.Person_In_Charge__c}" styleClass="hideDropdown" /> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlock id="searchBlock" title="查看排队情况"> |
| | | <apex:pageBlockSection title="检索" id="mainSection" columns="4" > |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="申请单号" /> |
| | | <apex:inputText id="S_raName" value="{!S_raName}"/> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="型号" /> |
| | | <apex:inputText id="S_Fixture_Model_No" value="{!S_Fixture_Model_No}"/> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem > |
| | | <apex:outputLabel value="备品出借担当" /> |
| | | <apex:inputField id="S_Person_In_Charge" value="{!S_Ra_Person.Person_In_Charge__c}" styleClass="hideDropdown" /> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}"> |
| | | <apex:outputLabel for="S_bieBenBu" value="队列所在地区本部" /> |
| | | <apex:inputText id="S_bieBenBu" value="{!S_bieBenBu}"/> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}"> |
| | | <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"> |
| | | <apex:selectOptions value="{!bieCunFangDiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | <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"> |
| | | <apex:selectOptions value="{!bieCunFangDiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!!isEquipmentCenter}"></apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="ApplyBB"> |
| | | <apex:outputLabel for="S_bieBenBuApply" value="申请人所属本部" /> |
| | | <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;"> |
| | | <apex:pageBlockSectionItem id="ApplyBB"> |
| | | <apex:outputLabel for="S_bieBenBuApply" value="申请人所属本部" /> |
| | | <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> |
| | | <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> |
| | | <ul> |
| | | <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> |
| | | <!-- style="display: none;" --> |
| | | </ul> |
| | | </ul> |
| | | <div class="nav_close"></div> |
| | | </apex:outputPanel> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="ApplyAA" > |
| | | </apex:outputPanel> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="ApplyAA" > |
| | | <apex:outputLabel for="S_AgencyApply" value="申请者办事处" /> |
| | | <apex:outputPanel style="position: relative; " id="S_AgencyApply"> |
| | | <apex:inputHidden id="S_Agency" value="{!S_Agency}" /> |
| | |
| | | <!-- style="display: none;" --> |
| | | </ul> |
| | | </apex:outputPanel> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}" > |
| | | <apex:outputLabel for="S_bieBeiPinFenLei" value="备品分类" /> |
| | | <apex:selectList value="{!S_bieBeiPinFenLei}" size="1" id="bieBeiPinFenLei" style="width:180px"> |
| | | <apex:selectOptions value="{!bieBeiPinFenLeiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}" > |
| | | <apex:outputLabel for="S_Product_category" value="产品分类(GI/SP)" /> |
| | | <apex:selectList value="{!S_Product_category}" size="1" style="width:60px" id="S_Product_category"> |
| | | <apex:selectOptions value="{!bieChanPinFenLeiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:pageBlockSectionItem > |
| | | <apex:commandButton style="" value="检索" onclick="searchJs(); return false;"/> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageBlockSection> |
| | | |
| | | <!-- 数据 --> |
| | | </apex:pageBlock> |
| | | <apex:pageBlock id="MySequence"> |
| | | <apex:outputPanel id="message"> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}" > |
| | | <apex:outputLabel for="S_bieBeiPinFenLei" value="备品分类" /> |
| | | <apex:selectList value="{!S_bieBeiPinFenLei}" size="1" id="bieBeiPinFenLei" style="width:180px"> |
| | | <apex:selectOptions value="{!bieBeiPinFenLeiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem rendered="{!isEquipmentCenter}" > |
| | | <apex:outputLabel for="S_Product_category" value="产品分类(GI/SP)" /> |
| | | <apex:selectList value="{!S_Product_category}" size="1" style="width:60px" id="S_Product_category"> |
| | | <apex:selectOptions value="{!bieChanPinFenLeiOps}"/> |
| | | </apex:selectList> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:pageBlockSectionItem > |
| | | <apex:commandButton style="" value="检索" onclick="searchJs(); return false;"/> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageBlockSection> |
| | | |
| | | <!-- 数据 --> |
| | | </apex:pageBlock> |
| | | <apex:pageBlock id="MySequence"> |
| | | <apex:outputPanel id="message"> |
| | | <apex:pageMessages /> |
| | | </apex:outputPanel> |
| | | <apex:pageBlockButtons location="top" id="pageBlockButton1"> |
| | |
| | | <td align="left">共{!totalPage}页</td> |
| | | </tr> |
| | | </table> |
| | | </apex:pageBlockButtons> |
| | | <!-- <div style="height: 270px;overflow-y:auto;"> --> |
| | | </apex:pageBlockButtons> |
| | | <!-- <div style="height: 270px;overflow-y:auto;"> --> |
| | | <div class="" id="table-head"> |
| | | <table class="list" border="0" cellpadding="0" cellspacing="0" width="100%" > |
| | | <!-- style="table-layout: fixed;" --> |
| | | <colgroup style="{!IF(isEquipmentCenter,'','display:none;')}" > |
| | | <!-- style="table-layout: fixed;" --> |
| | | <colgroup style="{!IF(isEquipmentCenter,'','display:none;')}" > |
| | | <col width="10%" /> |
| | | <col width="10%" /> |
| | | <col width="8%" /> |
| | |
| | | <td style="white-space: pre-wrap;word-wrap:break-word;"><apex:outputField value="{!info.raesd.Rental_Apply__r.WorkPlace__c}"/></td> |
| | | <td style="white-space: pre-wrap;word-wrap:break-word;"><apex:outputField value="{!info.raesd.Rental_Apply__r.Person_In_Charge__c}"/></td> |
| | | <td style="white-space: pre-wrap;word-wrap:break-word;"> |
| | | <apex:outputField value="{!info.raesd.Queue_Number__c}" rendered="{!!isEquipmentCenter}" /> |
| | | <apex:outputLink value="" rendered="{!isEquipmentCenter}" onclick="checkEventJs('1;{!info.raesd.Rental_Apply_Equipment_Set__c}');return false;"> {!info.raesd.Queue_Number__c}</apex:outputLink> |
| | | <apex:outputField value="{!info.raesd.Queue_Number__c}" rendered="{!!isEquipmentCenter}" /> |
| | | <apex:outputLink value="" rendered="{!isEquipmentCenter}" onclick="checkEventJs('1;{!info.raesd.Rental_Apply_Equipment_Set__c}');return false;"> {!info.raesd.Queue_Number__c}</apex:outputLink> |
| | | </td> |
| | | <apex:outputPanel rendered="{!isEquipmentCenter}" layout="none"> |
| | | <td> |
| | |
| | | </apex:outputLink><br/> |
| | | </apex:repeat> |
| | | </td> |
| | | </apex:outputPanel> |
| | | </apex:outputPanel> |
| | | </tr> |
| | | </apex:repeat> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </apex:pageBlock> |
| | | </div> |
| | | </apex:pageBlock> |
| | | </apex:form> |
| | | |
| | | <apex:outputPanel id="checEventFrame"> |