| | |
| | | <apex:page controller="FixtureSetManageController" showHeader="false" sidebar="false" id="allPage" action="{!init}"> |
| | | <apex:page controller="FixtureSetManageController" showHeader="false" sidebar="false" id="allPage" action="{!init}" lightningStylesheets="true"> |
| | | <head> |
| | | <title>备品配套明细管理</title> |
| | | <apex:stylesheet value="{!URLFOR($Resource.FixtureSetManagecssTwo1)}"/> |
| | | |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <!-- FixtureSetManageページ用css --> |
| | | <apex:stylesheet value="{!URLFOR($Resource.FixtureSetManageCss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/> |
| | | |
| | | |
| | | <script type="text/javascript"> |
| | | var heightAjustment = 120; |
| | |
| | | j$('.col_Is_Body__c').children('input[type=checkbox]').each(function() { |
| | | if (j$(this).prop('checked')){ |
| | | j$(this).parent().parent().children('.col_Is_OneToOne__c').children('input[type=checkbox]').prop('disabled', true).prop('checked', false); |
| | | //20210727 you 新品收货_集中备品_建立新品入库标准配套 |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New__c').children('input[type=checkbox]').prop('disabled', true).prop('checked', false); |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New_Quantity__c').children('input[type=text]').prop('disabled', true); |
| | | } else { |
| | | j$(this).parent().parent().children('.col_Is_OneToOne__c').children('input[type=checkbox]').prop('disabled', false); |
| | | //20210727 you 新品收货_集中备品_建立新品入库标准配套 |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New__c').children('input[type=checkbox]').prop('disabled', false); |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New_Quantity__c').children('input[type=text]').prop('disabled', false); |
| | | } |
| | | }); |
| | | |
| | |
| | | return; |
| | | } |
| | | j$(this).parent().parent().children('.col_Is_OneToOne__c').children('input[type=checkbox]').prop('disabled', true).prop('checked', false); |
| | | //20210727 you 新品收货_集中备品_建立新品入库标准配套 |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New__c').children('input[type=checkbox]').prop('disabled', true).prop('checked', false); |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New_Quantity__c').children('input[type=text]').prop('disabled', true).prop('value', ''); |
| | | } else { |
| | | j$(this).parent().parent().children('.col_Is_OneToOne__c').children('input[type=checkbox]').prop('disabled', false); |
| | | //20210727 you 新品收货_集中备品_建立新品入库标准配套 |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New__c').children('input[type=checkbox]').prop('disabled', false); |
| | | // j$(this).parent().parent().children('.col_Fixture_Set_New_Quantity__c').children('input[type=text]').prop('disabled', false); |
| | | |
| | | } |
| | | }); |
| | | } |