| | |
| | | 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 widthAjustment = 30; |
| | | |
| | | function showCalendar(inputId, position) { |
| | | // 使用jQuery UI DatePicker或其他日期选择器库,将日历弹出到指定的位置 |
| | | // 这里假设您使用了jQuery UI DatePicker作为示例 |
| | | $("#" + inputId).datepicker({ |
| | | // 在这里配置DatePicker的选项 |
| | | // 比如,设置日期选择器的位置 |
| | | beforeShow: function(input, inst) { |
| | | inst.dpDiv.addClass(position); |
| | | } |
| | | }); |
| | | // 使用jQuery UI DatePicker或其他日期选择器库,将日历弹出到指定的位置 |
| | | // 这里假设您使用了jQuery UI DatePicker作为示例 |
| | | $("#" + inputId).datepicker({ |
| | | // 在这里配置DatePicker的选项 |
| | | // 比如,设置日期选择器的位置 |
| | | beforeShow: function(input, inst) { |
| | | inst.dpDiv.addClass(position); |
| | | } |
| | | }); |
| | | |
| | | // 手动触发日期选择器的显示 |
| | | $("#" + inputId).datepicker('show'); |
| | | } |
| | | // 手动触发日期选择器的显示 |
| | | $("#" + 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; |
| | |
| | | <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);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" /> |
| | |
| | | <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"> |
| | | <apex:inputCheckbox id="rowCheck" value="{!eachAssetData.isCheck}" disabled="{!IF(columnLeftRWMap[leftApiList[0][0]]=='r' || (internalAssetLocationLogin != 'All' && eachAssetData.assetQuertResult['Internal_asset_location__c'] != internalAssetLocationLogin), true, false)}" onchange="checkboxOnclick(); return false;" /> |
| | | <apex:inputCheckbox id="rowCheck" value="{!eachAssetData.isCheck}" disabled="{!IF((internalAssetLocationLogin != 'All' && eachAssetData.assetQuertResult['Internal_asset_location__c'] != internalAssetLocationLogin), true, false)}" onchange="checkboxOnclick(); return false;" /> |
| | | <apex:inputHidden id="canChange" /> |
| | | </td> |
| | | <apex:variable value="{!0}" var="cnt2" /> |