| | |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <style> |
| | | |
| | | .dateFormat { |
| | | display: none; |
| | | } |
| | |
| | | div#in_Div_L { |
| | | position: relative; |
| | | width: 745px; |
| | | height: 451px; |
| | | height: 470px !important; |
| | | } |
| | | div#in_Div_R { |
| | | position: relative; |
| | | overflow: auto; |
| | | height: 451px; |
| | | height: 485px !important; |
| | | margin-left: 686px; |
| | | margin-top: -451px; |
| | | } |
| | |
| | | height:45px; |
| | | } |
| | | /*20230815 ljh end*/ |
| | | /*20231007 ljh start*/ |
| | | body .datePicker .calDays, .slds-vf-scope .datePicker .calDays { |
| | | width:auto !important |
| | | } |
| | | /*20231007 ljh end*/ |
| | | </style> |
| | | <script type="text/javascript"> |
| | | // 改变table尺寸 |
| | | var heightAjustment = 120; |
| | | var widthAjustment = 30; |
| | | |
| | | function showCalendar(inputId, position) { |
| | | // 使用jQuery UI DatePicker或其他日期选择器库,将日历弹出到指定的位置 |
| | | // 这里假设您使用了jQuery UI DatePicker作为示例 |
| | | $("#" + inputId).datepicker({ |
| | | // 在这里配置DatePicker的选项 |
| | | // 比如,设置日期选择器的位置 |
| | | beforeShow: function(input, inst) { |
| | | inst.dpDiv.addClass(position); |
| | | } |
| | | }); |
| | | |
| | | // 手动触发日期选择器的显示 |
| | | $("#" + inputId).datepicker('show'); |
| | | } |
| | | |
| | | function windowResize() { |
| | | blockHeight = j$(window).innerHeight() - j$(escapeVfId('allPage:allForm:searchBlock')).height() - j$(escapeVfId('allPage:allForm:dataBlock:pageBlockButton1')).height() - j$('table#msg').height() - heightAjustment; |
| | | sbwidth = scrollbarWidth(); |
| | |
| | | j$('div#in_Div_R').css('width', (R_width-blockWidth-240 + sbwidth) + 'px'); |
| | | } |
| | | } |
| | | |
| | | // 全选功能 |
| | | function selectAllJs() { |
| | | j$(escapeVfId('checker')).prop('disabled', true); |
| | |
| | | <tr><td class="checkButtonStyle"><apex:commandButton value="查看已过期的保有设备" rendered="{!!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | <tr><td class="checkButtonStyle blueStyle"><apex:commandButton style="background-color: silver;" value="查看已过期的保有设备" rendered="{!expiredBlueFlag}" onclick="checkAssetJs('expired'); return false;" /></td></tr> |
| | | <!-- 【FY24大及巨大课题】北京新法规项目对应 DB202307428742 20230804 by lc Start --> |
| | | <tr> |
| | | <!-- 202310109 ljh 迁移到盘点模块了 --> |
| | | <!-- <tr> |
| | | <td class="checkButtonStyle"> |
| | | <apex:commandButton value="温湿度盘点" rendered="{!angecylookrole}" onclick="checkChangeFlg(); gotoInventoryTemperatureHumidity(); return false;" /> |
| | | </td> |
| | | </tr> |
| | | </tr> --> |
| | | <!-- 【FY24大及巨大课题】北京新法规项目对应 DB202307428742 20230804 by lc End --> |
| | | </table> |
| | | </apex:pageBlock> |
| | |
| | | <apex:inputText disabled="true" rendered="{!!angecylookrole}" /> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="labelStyle">备品状态</td> |
| | | <td class="labelStyle">机身号</td> |
| | | <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></td> |
| | | <!-- <td class="labelStyle">备品状态</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!searchB.fixture_Status}" id="assetStatusId" size="1"> |
| | | <apex:selectOptions value="{!assetStatusOptionList}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | </td> --> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | |
| | | <apex:inputText value="{!searchB.internal_Asset_number}" id="fixedAssetNumId2" rendered="{!!internalAssetNumberEditableFlag}" /> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="labelStyle">机身号</td> |
| | | <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></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);showCalendar('consumable_Guaranteen_endStr','right');" /> |
| | | </td> |
| | | <!-- <td class="labelStyle">机身号</td> |
| | | <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></td> --> |
| | | <td class="blankStyle"></td> |
| | | <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:selectList value="{!searchB.manage_type}" id="manage_type" size="1"> |
| | | <apex:selectOptions value="{!manage_typeOpts}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | </td> --> |
| | | <td class="blankStyle"></td> |
| | | <td class="blankStyle"></td> |
| | | </tr> |
| | | <tr><td><br /><br /></td></tr> |
| | | <tr> |
| | |
| | | </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:inputText id="consumable_Guaranteen_endStr" value="{!searchB.consumable_Guaranteen_endStr}" size="12" onfocus="DatePicker.pickDate(true, '{!$Component.consumable_Guaranteen_endStr}', false);showCalendar('consumable_Guaranteen_endStr','right');" /> |
| | | </td> --> |
| | | <td class="labelStyle">备品状态</td> |
| | | <td class="inputTextStyle"> |
| | | <apex:selectList value="{!searchB.fixture_Status}" id="assetStatusId" size="1"> |
| | | <apex:selectOptions value="{!assetStatusOptionList}"/> |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | </tr> |
| | |
| | | </apex:selectList> |
| | | </td> |
| | | <td class="blankStyle"></td> |
| | | <td class="blankStyle"></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> |
| | | <td class="blankStyle"></td> |
| | | <td colspan="2"> |
| | | <apex:commandButton style="width: 28%" value="检索" onclick="searchBtnJs(); return false;" rerender="allForm" /> |