| | |
| | | <apex:page controller="AssetMaintainController" title="数据维护" showHeader="true" sidebar="false" id="allPage" action="{!init}" docType="html-5.0" lightningStylesheets="true"> |
| | | <apex:page controller="AssetMaintainController" title="数据维护" showHeader="false" sidebar="false" id="allPage" 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:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <style> |
| | | .dateFormat { |
| | | display: none; |
| | |
| | | } |
| | | div#in_Div_L td.dataCellBorder1 { |
| | | border-width: 1px; |
| | | border-left: 1px solid rgb(229, 229, 229); |
| | | } |
| | | div#in_Div_R td.dataCellBorder1 { |
| | | border-width: 1px; |
| | |
| | | } |
| | | 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> |
| | | <!-- 左侧按钮区 --> |
| | | <apex:outputPanel layout="block" style="width: 13%; float: left;" rendered="{!showTop}"> |
| | | <!-- chenjingwu 2023.8.2 start--> |
| | | <!-- <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"><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 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 blueStyle"><apex:commandButton 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"><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="{!!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 blueStyle"><apex:commandButton value="查看已过期的保有设备" rendered="{!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | | </apex:outputPanel> |
| | | </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> --> |
| | | <!-- chenjingwu 2023.8.2 end--> |
| | | <!-- 右侧检索区 --> |
| | | <apex:outputPanel layout="block" style="width: 87%; float: right;" rendered="{!showTop}"> |
| | | <apex:outputPanel layout="block" style="width: 100%;margin: 0 auto;" rendered="{!showTop}"> |
| | | <apex:pageBlock mode="maindetail"> |
| | | <table style='width: 95%; height: 220px'> |
| | | <tr> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <!-- chenjingwu 2023.8.2 start--> |
| | | <td class="labelStyle">设备状态</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!assertQueryCondition}" id="assertQueryCondition" size="1"> |
| | | <apex:selectOptions value="{!assertQueryConditionOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <!-- chenjingwu 2023.8.2 end--> |
| | | </tr> |
| | | </table> |
| | | </apex:pageBlock> |