| | |
| | | <title>借出备品配套明细选择</title> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.RentalFixtureSetDetilSelectCss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/><!-- 20230624 ljh lightning --> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/> |
| | | |
| | | <!-- 20230511 ljh lightning start --> |
| | | <style type="text/css"> |
| | | table.list td input[type="text"]{width:55%;} |
| | | </style> |
| | | <!-- 20230511 ljh lightning end --> |
| | | <script type="text/javascript"> |
| | | var heightAjustment = 120; |
| | | var widthAjustment = 30; |
| | |
| | | </apex:actionFunction> |
| | | <apex:outputPanel id="pageallPanel"> |
| | | <apex:pageBlock id="searchBlock" tabStyle="Report"> |
| | | <apex:pageBlockButtons location="bottom"> |
| | | <!--20230425 zq lightning下修改样式 <apex:commandButton style="float:left;" action="{!save}" value="確定" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> |
| | | <apex:commandButton style="float:right;" value="返回上一级" action="{!goBack}"/> |
| | | --> |
| | | |
| | | <apex:commandButton action="{!save}" value="確定" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> |
| | | <apex:commandButton style="float:right;margin: 0 10px;" value="返回上一级" action="{!goBack}"/> |
| | | <!-- 20230522 ljh lightning start --> |
| | | <!-- <apex:pageBlockButtons location="bottom"> |
| | | <apex:commandButton style="float:left;" action="{!save}" value="確定" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> |
| | | <apex:commandButton style="float:right;" value="返回上一级" action="{!goBack}"/> |
| | | <apex:commandButton style="float:right;" value="返回申请单" action="{!cancel}"/> |
| | | </apex:pageBlockButtons> |
| | | </apex:pageBlockButtons> |
| | | <div style="clear:both;"></div> --> |
| | | <!-- 20230522 ljh lightning end --> |
| | | <table> |
| | | <tr> |
| | | <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Name.label}:</td> |
| | | <td style="text-align:left;"><apex:outputText value="{!parentObj.Name}" style="width:100px"/></td> |
| | | </tr> |
| | | <tr> |
| | | <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Fixture_Set_Idx__c.label}:</td> |
| | | <td style="text-align:left;"><apex:outputText value="{!parentObj.Fixture_Set_Idx__c}" style="width:100px"/></td> |
| | | </tr> |
| | | <tr> |
| | | <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_name_F__c.label}:</td> |
| | | <td style="text-align:left;"><apex:outputText value="{!parentObj.Loaner_name_F__c}" style="width:100px"/></td> |
| | | </tr> |
| | | <!-- <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_code__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Loaner_code__c}" style="width:100px"/></td> |
| | | </tr> --> |
| | | <!-- <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Rental_Num__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Rental_Num__c}" style="width:100px"/></td> |
| | | </tr> --> |
| | | <!--TODO 同一附属品:レ --> |
| | | |
| | | </table> |
| | | <!-- 20230522 ljh lightning start --> |
| | | <div style="width:50%;float:right;"> |
| | | <apex:commandButton style="float:left;" action="{!save}" value="確定" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> |
| | | <apex:commandButton style="float:right;" value="返回上一级" action="{!goBack}"/> |
| | | <apex:commandButton style="float:right;" value="返回申请单" action="{!cancel}"/> |
| | | <div style="clear:both;"></div> |
| | | |
| | | <table> |
| | | <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Name.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Name}" style="width:100px"/></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Fixture_Set_Idx__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Fixture_Set_Idx__c}" style="width:100px"/></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_name_F__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Loaner_name_F__c}" style="width:100px"/></td> |
| | | </tr> |
| | | <!-- <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_code__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Loaner_code__c}" style="width:100px"/></td> |
| | | </tr> --> |
| | | <!-- <tr> |
| | | <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Rental_Num__c.label}</td> |
| | | <td colspan="3"><apex:outputText value="{!parentObj.Rental_Num__c}" style="width:100px"/></td> |
| | | </tr> --> |
| | | <!--TODO 同一附属品:レ --> |
| | | |
| | | </table> |
| | | </div> |
| | | <!-- 20230522 ljh lightning end --> |
| | | </apex:pageBlock> |
| | | <c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="false" noSort="true"/> |
| | | </apex:outputPanel> |
| | |
| | | <script type="text/javascript"> |
| | | // 数量添加加减符号 |
| | | j$(".dataCellBorder1.col_Rental_Num__c").each(function () { |
| | | // 20230614 ljh lightning start |
| | | if(!this.firstElementChild.disabled){ |
| | | j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />'); |
| | | } |
| | | // j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />'); |
| | | j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="inc btn" value="+" /><input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />'); |
| | | } |
| | | else{ |
| | | j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />'); |
| | | // j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />'); |
| | | j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />'); |
| | | } |
| | | // 20230614 ljh lightning end |
| | | }); |
| | | j$(".dataCellBorder1.col_Rental_Num__c input[type=button]").on("click", function() { |
| | | var $button = j$(this); |