| | |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <style> |
| | | /*20230815 ljh start*/ |
| | | table.mytable tr{ |
| | | height:45px; |
| | | } |
| | | /*20230815 ljh end*/ |
| | | .dateFormat { |
| | | display: none; |
| | | } |
| | |
| | | table { |
| | | table-layout: fixed; |
| | | border-collapse: collapse; |
| | | line-height: 28px; |
| | | } |
| | | a { |
| | | text-decoration: none; |
| | |
| | | padding-left: 10px; |
| | | } |
| | | .inputTextStyle input { |
| | | width: 90%; |
| | | width: 95%; |
| | | } |
| | | .inputTextStyle select { |
| | | width: 95%; |
| | |
| | | } |
| | | #pageBlockButton1 { |
| | | margin: 0pxt; |
| | | } |
| | | td{ |
| | | min-height: 28px |
| | | } |
| | | |
| | | .you-button { |
| | | background-color: #d9d8d8 !important; |
| | | box-shadow: 0px 7px 2px 0px #aeacac !important; |
| | | transition: all .5s !important; |
| | | } |
| | | |
| | | /* .you-button:hover { |
| | | background-color: #fcdc5e !important; |
| | | } */ |
| | | |
| | | .you-button:active { |
| | | transform: translate(0,4px) !important; |
| | | text-shadow: -2px 2px 2px rgb(209 132 0), |
| | | -2px 2px 2px rgb(209 132 0), |
| | | -2px 2px 2px rgb(209 132 0), |
| | | -2px 2px 2px rgb(209 132 0), |
| | | -2px 2px 2px rgb(209 132 0), |
| | | -2px 2px 2px rgb(209 132 0) !important; |
| | | box-shadow: 0px 1px 0px 0px #aeacac !important; |
| | | } |
| | | </style> |
| | | <script type="text/javascript"> |
| | |
| | | } |
| | | var globalQueryCondition; |
| | | var fromQuickBarFlag = 'false'; |
| | | // function checkAssetJs(queryCondition) { |
| | | // fromQuickBarFlag = 'true'; |
| | | // globalQueryCondition = queryCondition; |
| | | // var changeFlg = checkChangeFlg(); |
| | | // if (changeFlg == '1') { |
| | | // blockme(); |
| | | // checkAssetFunc(queryCondition, fromQuickBarFlag); |
| | | // } else if (changeFlg == '3') { |
| | | // blockme(); |
| | | // checkAssetFunc(queryCondition, fromQuickBarFlag); |
| | | // globalQueryCondition = ''; |
| | | // } |
| | | // fromQuickBarFlag = 'false'; |
| | | // return false; |
| | | // } |
| | | function checkAssetJs(queryCondition) { |
| | | fromQuickBarFlag = 'true'; |
| | | globalQueryCondition = queryCondition; |
| | | var changeFlg = checkChangeFlg(); |
| | | if (changeFlg == '1') { |
| | | blockme(); |
| | | checkAssetFunc(queryCondition, fromQuickBarFlag); |
| | | } else if (changeFlg == '3') { |
| | | blockme(); |
| | | checkAssetFunc(queryCondition, fromQuickBarFlag); |
| | | globalQueryCondition = ''; |
| | | } |
| | | fromQuickBarFlag = 'false'; |
| | | return false; |
| | | } |
| | | |
| | | // 检索按钮 |
| | | function searchBtnJs() { |
| | |
| | | <apex:actionFunction name="clearAllSearchConditionWhenCancel" action="{!clearAllSearchConditionWhenCancel}"></apex:actionFunction> |
| | | <!-- 左侧按钮区 --> |
| | | <!-- chenjingwu 2023.8.2 start--> |
| | | <!-- <apex:outputPanel layout="block" style="width: 13%; float: left;" rendered="{!showTop}"> |
| | | <!-- 左侧按钮区 --> |
| | | <apex:outputPanel layout="block" style="width: 17%; float: left;" rendered="{!showTop}"> |
| | | <apex:pageBlock mode="maindetail"> |
| | | <table style='height: 220px'> |
| | | <table style='height: 390px'> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看全部保有设备" rendered="{!!allBlueFlag}" onclick="checkAssetJs('all'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看全部保有设备" rendered="{!allBlueFlag}" onclick="checkAssetJs('all'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle "><apex:commandButton styleClass="you-button" value="查看全部保有设备" rendered="{!allBlueFlag}" onclick="checkAssetJs('all'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看有效库存" rendered="{!!consumableBlueFlag}" onclick="checkAssetJs('consumable'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看有效库存" rendered="{!consumableBlueFlag}" onclick="checkAssetJs('consumable'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看有效库存" rendered="{!consumableBlueFlag}" onclick="checkAssetJs('consumable'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看借出分配数" rendered="{!!lendingBlueFlag}" onclick="checkAssetJs('lending'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看借出分配数" rendered="{!lendingBlueFlag}" onclick="checkAssetJs('lending'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看借出分配数" rendered="{!lendingBlueFlag}" onclick="checkAssetJs('lending'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看修理中保有设备" rendered="{!!repairingBlueFlag}" onclick="checkAssetJs('repairing'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看修理中保有设备" rendered="{!repairingBlueFlag}" onclick="checkAssetJs('repairing'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看修理中保有设备" rendered="{!repairingBlueFlag}" onclick="checkAssetJs('repairing'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看待报废保有设备" rendered="{!!scrappingBlueFlag}" onclick="checkAssetJs('scrapping'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看待报废保有设备" rendered="{!scrappingBlueFlag}" onclick="checkAssetJs('scrapping'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看待报废保有设备" rendered="{!scrappingBlueFlag}" onclick="checkAssetJs('scrapping'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看已报废保有设备" rendered="{!!scrappedBlueFlag}" onclick="checkAssetJs('scrapped'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看已报废保有设备" rendered="{!scrappedBlueFlag}" onclick="checkAssetJs('scrapped'); return false;" /></td></tr> --> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看已报废保有设备" rendered="{!scrappedBlueFlag}" onclick="checkAssetJs('scrapped'); return false;" /></td></tr> |
| | | <!-- OLY_OCM-818 --> |
| | | |
| | | <!-- <tr><td class="checkButtonStyle"><apex:commandButton value="查看已消耗的保有设备" rendered="{!!consumedBlueFlag}" onclick="checkAssetJs('consumed'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看已消耗的保有设备" rendered="{!consumedBlueFlag}" onclick="checkAssetJs('consumed'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看已消耗的保有设备" rendered="{!!consumedBlueFlag}" onclick="checkAssetJs('consumed'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看已消耗的保有设备" rendered="{!consumedBlueFlag}" onclick="checkAssetJs('consumed'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看即将到期的保有设备" rendered="{!!soonExpiredBlueFlag}" onclick="checkAssetJs('soonExpired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看即将到期的保有设备" rendered="{!soonExpiredBlueFlag}" onclick="checkAssetJs('soonExpired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看即将到期的保有设备" rendered="{!soonExpiredBlueFlag}" onclick="checkAssetJs('soonExpired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看已过期的保有设备" rendered="{!!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看已过期的保有设备" rendered="{!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton styleClass="you-button" value="查看已过期的保有设备" rendered="{!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | | </apex:outputPanel> --> |
| | | |
| | | <!-- <apex:outputPanel layout="block" style="width: 13%; float: left;" rendered="{!showTop}"> |
| | | <apex:pageBlock mode="maindetail"> |
| | | <table style='height: 220px'> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看全部保有设备" rendered="{!!allBlueFlag}" onclick="checkAssetJs('all'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看全部保有设备" rendered="{!allBlueFlag}" onclick="checkAssetJs('all'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看有效库存" rendered="{!!consumableBlueFlag}" onclick="checkAssetJs('consumable'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton value="查看有效库存" rendered="{!consumableBlueFlag}" onclick="checkAssetJs('consumable'); return false;" /></td></tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | | </apex:outputPanel> --> |
| | | </apex:outputPanel> |
| | | <!-- chenjingwu 2023.8.2 end--> |
| | | <!-- 右侧检索区 --> |
| | | <apex:outputPanel layout="block" style="width: 100%;margin: 0 auto;" rendered="{!showTop}"> |
| | | <apex:outputPanel layout="block" style="width: 82%;margin: 0 auto;float: right;" rendered="{!showTop}"> |
| | | <apex:pageBlock mode="maindetail"> |
| | | <table style='width: 95%; height: 220px'> |
| | | <table style='width: 100%; height: 390px' class="mytable"> |
| | | <tr> |
| | | <td class="labelStyle">备品存放地</td> |
| | | <td class="inputTextStyle"> |
| | |
| | | <td class="labelStyle">货架号</td> |
| | | <td class="inputTextStyle"><apex:inputText value="{!searchB.wh_location}" id="shelfNumId" /></td> |
| | | <td class="blankStyle"></td> |
| | | <td class="labelStyle">备品状态</td> |
| | | <td class="labelStyle">消耗品有效期至</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!searchB.fixture_Status}" id="assetStatusId" size="1"> |
| | | <apex:selectOptions value="{!assetStatusOptionList}"/> |
| | | </apex:selectList> |
| | | <apex:inputText id="consumable_Guaranteen_endStr" value="{!searchB.consumable_Guaranteen_endStr}" size="12" onfocus="DatePicker.pickDate(true, '{!$Component.consumable_Guaranteen_endStr}', false)" /> |
| | | </td> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | | <td class="labelStyle">备品管理编码</td> <!-- シリアル番号 --> |
| | | <td class="inputTextStyle"> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | | <td class="labelStyle">主体/附属品</td> |
| | | <td class="inputTextStyle"> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="labelStyle">管理种类</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!searchB.manage_type}" id="manage_type" size="1"> |
| | | <apex:selectOptions value="{!manage_typeOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | | <td class="labelStyle">所在地区(本部)</td> |
| | | <td class="inputTextStyle"> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="labelStyle">消耗品有效期至</td> |
| | | <td class="labelStyle">备品状态</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:inputText id="consumable_Guaranteen_endStr" value="{!searchB.consumable_Guaranteen_endStr}" size="12" onfocus="DatePicker.pickDate(true, '{!$Component.consumable_Guaranteen_endStr}', false)" /> |
| | | <apex:selectList value="{!searchB.fixture_Status}" id="assetStatusId" size="1"> |
| | | <apex:selectOptions value="{!assetStatusOptionList}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="searchButtonStyle" colspan="2"> |
| | | <apex:commandButton style="width: 30%" value="检索" onclick="searchBtnJs(); return false;" rerender="allForm" /> |
| | | <apex:commandButton style="width: 30%" value="取消" onclick="cancelBtnJs(); return false;" rerender="allForm" /> |
| | | </td> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | | <td class="labelStyle">备品类别</td> |
| | | <td class="inputTextStyle"> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <!-- chenjingwu 2023.8.2 start--> |
| | | <td class="labelStyle">设备状态</td> |
| | | <td class="labelStyle">管理种类</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!assertQueryCondition}" id="assertQueryCondition" size="1"> |
| | | <apex:selectOptions value="{!assertQueryConditionOpts}"/> |
| | | <apex:selectList value="{!searchB.manage_type}" id="manage_type" size="1"> |
| | | <apex:selectOptions value="{!manage_typeOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <!-- chenjingwu 2023.8.2 end--> |
| | | <td class="blankStyle"></td> |
| | | <td class="searchButtonStyle" colspan="2" style="text-align: right;"> |
| | | <apex:commandButton style="width: 30%" value="检索" onclick="searchBtnJs(); return false;" rerender="allForm" /> |
| | | <apex:commandButton style="width: 30%" value="取消" onclick="cancelBtnJs(); return false;" rerender="allForm" /> |
| | | </td> |
| | | |
| | | </tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | |
| | | <apex:inputHidden id="clearApplyFlagId" /> |
| | | <apex:outputPanel style="display:none"> |
| | | <apex:outputPanel id="popupBox" layout="block"> |
| | | <input type="file" id="file_input" name="attFile" accept=".csv" /><br/> |
| | | <input type="file" id="file_input" name="attFile" accept=".csv" style="padding-left: 8px;"/><br/><br/> |
| | | <apex:selectList size="1" id="csvMaintaintype"> |
| | | <apex:selectOptions value="{!maintainTypeOptionList}"/> |
| | | </apex:selectList> |
| | | <center> |
| | | <input type="hidden" id="customHidden"/> |
| | | <apex:commandButton value="确认" onclick="remoteLocationPost(); return false;" style="width: 20%; margin: 20px 10px 0px 10px" /> |
| | | <apex:commandButton value="取消" onclick="popupBox.hide();" style="width: 20%; margin: 20px 10px 0px 10px" /> |
| | | </center> |
| | |
| | | |
| | | <table border="0"> |
| | | <tr> |
| | | <td style="width: 2%"></td> |
| | | <td class="setButtonStyle"><apex:commandButton value="EXCEL导入" onclick="openPopupCSV(); return false;" oncomplete="refresh" disabled="{!!importCSVButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton action="{!saveApply}" value="保存申请" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()" disabled="{!!saveButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton value="提交申请" onclick="submitApplyJS();return false;" disabled="{!!submitButtonActive}" /></td> |
| | | <!-- <td style="width: 2%"></td> --> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 90%" value="EXCEL导入" onclick="openPopupCSV(); return false;" oncomplete="refresh" disabled="{!!importCSVButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 90%" action="{!saveApply}" value="保存申请" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()" disabled="{!!saveButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 90%" value="提交申请" onclick="submitApplyJS();return false;" disabled="{!!submitButtonActive}" /></td> |
| | | <apex:actionFunction name="submitApply" action="{!submitApply}" rerender="allForm" onComplete="unblockUI();" /> |
| | | <script> |
| | | function submitApplyJS(){ |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <td class="setButtonStyle"><apex:commandButton value="删除" onclick="deleteApplyJS();return false;" disabled="{!!deleteButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 90%" value="删除" onclick="deleteApplyJS();return false;" disabled="{!!deleteButtonActive}" /></td> |
| | | <apex:actionFunction name="deleteApply" action="{!deleteApply}" rerender="allForm" onComplete="unblockUI();" /> |
| | | <script> |
| | | function deleteApplyJS() { |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <td class="setButtonStyle"><apex:commandButton action="{!abandon}" value="废弃" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()" disabled="{!!abandonButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 90%" action="{!abandon}" value="废弃" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()" disabled="{!!abandonButtonActive}" /></td> |
| | | <td> |
| | | <apex:selectList size="1" id="reportMaintaintype"> |
| | | <apex:selectOptions value="{!maintainTypeOptionList}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <td> |
| | | <apex:commandButton onclick="openReport();return false;" value="查看报表" /> |
| | | <apex:commandButton style="width: 90px" onclick="openReport();return false;" value="查看报表" /> |
| | | </td> |
| | | <script type="text/javascript"> |
| | | var popupBox; |
| | |
| | | else{ |
| | | reportId = "{!notScrappedReportId}"; |
| | | } |
| | | var url = `/${reportId}?pv0=${maintainType}`; |
| | | var url = `/lightning/r/Report/${reportId}?fv0=${maintainType}`; |
| | | window.open(url); |
| | | } |
| | | </script> |
| | | </tr> |
| | | <tr><td> </td></tr> |
| | | <tr> |
| | | <td class="labelSettingStyle">维护类型</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList id="maintainTypeId" size="1"> |
| | | <td> |
| | | <font>维护类型</font> |
| | | <apex:selectList id="maintainTypeId" size="1" style="width: 100px;"> |
| | | <apex:selectOptions value="{!maintainTypeOptionList}"/> |
| | | </apex:selectList> |
| | | </apex:selectList> |
| | | </td> |
| | | <!-- <td class="inputTextStyle"> |
| | | |
| | | </td> --> |
| | | <td class="labelSettingStyle">维护数量</td> |
| | | <td class="inputTextStyle"> |
| | | |
| | | <apex:inputText id="maintainCountId"/> |
| | | <apex:inputText id="maintainCountId" style="width: 90%"/> |
| | | </td> |
| | | <td class="labelSettingStyle">废弃数量</td> |
| | | <td class="inputTextStyle"> |
| | | |
| | | <apex:inputText id="abandonCountId"/> |
| | | <apex:inputText id="abandonCountId" style="width: 90%"/> |
| | | </td> |
| | | <td class="setButtonStyle"><apex:commandButton action="{!changeEditable}" value="编辑" onclick="blockme();" rerender="allForm" oncomplete="unblockUI();" disabled="{!!editButtonActive}" /></td> |
| | | <td class="setButtonStyle"><apex:commandButton style="width: 70%" action="{!changeEditable}" value="编辑" onclick="blockme();" rerender="allForm" oncomplete="unblockUI();" disabled="{!!editButtonActive}" /></td> |
| | | <td class="setButtonStyle"> |
| | | <apex:commandButton value="适用" reRender="allForm" onclick="applyJs(); return false;" disabled="{!!editmode}" /> |
| | | <apex:commandButton style="width: 58%" value="适用" reRender="allForm" onclick="applyJs(); return false;" disabled="{!!editmode}" /> |
| | | <script type="text/javascript"> |
| | | // 适用按钮 |
| | | function applyJs() { |
| | |
| | | </script> |
| | | </td> |
| | | </tr> |
| | | <tr><td> </td></tr> |
| | | </table> |
| | | |
| | | <table> |
| | | <tr> |
| | | <td> |
| | | <td style="width: 49%;"> |
| | | <font>数据字段</font> |
| | | <apex:selectList value="{!fieldName}" size="1" style="width:110px"><apex:selectOptions value="{!fieldNameOpts}"/></apex:selectList> |
| | | <apex:selectList value="{!fieldName}" size="1" style="width:100px"><apex:selectOptions value="{!fieldNameOpts}"/></apex:selectList> |
| | | <apex:selectList value="{!operator}" size="1"><apex:selectOptions value="{!operatorOpts}"/></apex:selectList> |
| | | <apex:inputText value="{!fieldvalue}" style="width:80px"/> |
| | | <apex:commandButton value="筛选" action="{!filter}" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()"/> |
| | | <apex:commandButton style="width: 18%;" value="筛选" action="{!filter}" onclick="blockme();" rerender="allForm" oncomplete="unblockUI()"/> |
| | | </td> |
| | | <td>显示数据数量</td> |
| | | <td style="width: 8%;">显示数据数量</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:actionFunction name="firstPg" action="{!firstPage}" rerender="allForm" onComplete="unblockUI();" /> |
| | | <apex:selectList value="{!selRecordOption}" size="1" onchange="blockme();firstPg(); return false;"> |
| | | <apex:selectOptions value="{!limitOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <td align="right">共{!allAssetDataListSize}条数据</td> |
| | | <td align="right" style="width: 8%;">共{!allAssetDataListSize}条数据</td> |
| | | <td width="20px"></td> |
| | | <td align="right"> 已选中<label id="checkedNumId">{!checkedSize}</label>条数据</td> |
| | | <td align="right" style="width: 10%;"> 已选中<label id="checkedNumId">{!checkedSize}</label>条数据</td> |
| | | <td width="20px"></td> |
| | | <td align="right"> 未选中<label id="uncheckedNumId">{!allAssetDataListSize - checkedSize}</label>条数据</td> |
| | | <td width="20px"></td> |
| | | <td align="right">第 {!currPage} 页</td> |
| | | <td width="20px"></td> |
| | | <td align="right">共 {!totalPage} 页</td> |
| | | <td width="20px"></td> |
| | | <td align="right" width="45px"> |
| | | <td style="width: 13%;"> 未选中<label id="uncheckedNumId">{!allAssetDataListSize - checkedSize}</label>条数据</td> |
| | | |
| | | </tr> |
| | | |
| | | </table> |
| | | <table style="width: 97%"> |
| | | <tr> |
| | | <td></td> |
| | | <td style="width: 40%" align="right">第 {!currPage} 页 共 {!totalPage} 页</td> |
| | | <td align="left"></td> |
| | | <td width="120px"></td> |
| | | <td style="width: 8%"> |
| | | <apex:commandLink action="{!firstPage}" value="首页" id="firstPg" onclick="blockme();" oncomplete="unblockUI();" reRender="allForm" style="{!IF(currPage==1,'display: none;','')}color: blue;"/> |
| | | <apex:outputText value="首页" style="{!IF(currPage!=1,'display: none;','')}color: gray;"></apex:outputText> |
| | | |
| | | </td> |
| | | <td width="45px"></td> |
| | | <td align="right" width="45px"> |
| | | <td width="4%"> |
| | | <apex:commandLink action="{!previousPage}" value="上一页" id="previous" onclick="blockme();" oncomplete="unblockUI();" reRender="allForm" style="{!IF(currPage==1,'display: none;','')}color: blue;"/> |
| | | <apex:outputText value="上一页" style="{!IF(currPage!=1,'display: none;','')}color: gray;"></apex:outputText> |
| | | </td> |
| | | <td width="45px"></td> |
| | | <td align="right" width="45px"> |
| | | <td width="45px"> |
| | | <apex:commandLink action="{!nextPage}" value="下一页" id="next" onclick="blockme();" oncomplete="unblockUI();" reRender="allForm" style="{!IF(totalPage==currPage ||totalPage == 0,'display: none;','')}color: blue;"/> |
| | | <apex:outputText value="下一页" style="{!IF(totalPage!=currPage && totalPage != 0,'display: none;','')}color: gray;"></apex:outputText> |
| | | </td> |
| | | <td width="45px"></td> |
| | | <td align="right" width="45px"> |
| | | <td width="50px"></td> |
| | | <td width="45px"> |
| | | <apex:commandLink action="{!endPage}" value="尾页" id="endPg" onclick="blockme();" oncomplete="unblockUI();" reRender="allForm" style="{!IF(totalPage==currPage||totalPage == 0,'display: none;','')}color: blue;"/> |
| | | <apex:outputText value="尾页" style="{!IF(totalPage!=currPage && totalPage != 0,'display: none;','')}color: gray;"></apex:outputText> |
| | | </td> |
| | |
| | | <table class="list" border="1" style="border-collapse: collapse; table-layout: fixed; border-bottom-width: 0px; border-spacing: 0px; height: 30px;"> |
| | | <tr class="headerRow" style="background-color: #DCDCDC; text-align: left; vertical-align: top;"> |
| | | <!-- 全选 --> |
| | | <td style="width:20px"><input type='checkbox' onclick='selectAllJs()' id='checker' onchange='checkboxOnclick(); return false;'/></td> |
| | | <td style="width:23px"><input type='checkbox' onclick='selectAllJs()' id='checker' onchange='checkboxOnclick(); return false;'/></td> |
| | | <apex:variable value="{!0}" var="cnt" /> |
| | | <apex:repeat value="{!amdLeftLabelList}" var="t"> |
| | | <td class="col_{!columnAmdLeftCssList[cnt]}" style="word-wrap:break-word"> |
| | |
| | | <apex:repeat id="dataline_L1" value="{!allAssetInfoShowList}" var="eachAssetData"> |
| | | <tr class="dataRow" id="tableData_L_{!Cnt_L}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | <!-- 全选 --> |
| | | <td class="dataCellBorder1" style="width:20px" align="center"> |
| | | <td class="dataCellBorder1" style="width:23px" align="center"> |
| | | <apex:inputCheckbox id="rowCheck" value="{!eachAssetData.isCheck}" disabled="{!IF((internalAssetLocationLogin != 'All' && eachAssetData.amd['Internal_asset_location__c'] != internalAssetLocationLogin), true, false)}" onchange="checkboxOnclick(); return false;" /> |
| | | <apex:inputHidden id="canChange" /> |
| | | </td> |
| | |
| | | <apex:repeat id="dataline_L2" value="{!assetFromSearchList}" var="eachAssetData"> |
| | | <tr class="dataRow" id="tableData_L_{!Cnt_L}" onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onblur="if (window.hiOff){hiOff(this);}" onfocus="if (window.hiOn){hiOn(this);}"> |
| | | <!-- 全选 --> |
| | | <td class="dataCellBorder1" style="width:20px" align="center"> |
| | | <td class="dataCellBorder1" style="width:23px" align="center"> |
| | | <apex:inputCheckbox id="rowCheck" value="{!eachAssetData.isCheck}" disabled="{!IF((internalAssetLocationLogin != 'All' && eachAssetData.amd['Internal_asset_location__c'] != internalAssetLocationLogin), true, false)}" onchange="checkboxOnclick(); return false;" /> |
| | | <apex:inputHidden id="canChange" /> |
| | | </td> |