| | |
| | | <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; |
| | | } |
| | |
| | | // 改变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); |
| | |
| | | <td class="blankStyle"></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="blankStyle"></td> |
| | | </tr> |