| | |
| | | <apex:page Controller="EquipmentSetShippmentReceived3Controller" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="备品出库入库"> |
| | | <apex:page Controller="EquipmentSetShippmentReceived3Controller" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="备品出库入库" lightningStylesheets="true"> |
| | | <head> |
| | | <meta name="format-detection" content="telephone=no"/> |
| | | </head> |
| | |
| | | } |
| | | |
| | | function fixDeliveryType() { |
| | | j$(escapeVfId('allPage:allForm:DeliveryType')).children().each(function() { |
| | | if (this.value == '回寄') j$(this).remove(); |
| | | }) |
| | | j$(escapeVfId('allPage:allForm:DeliveryType')).children().each(function() { |
| | | if (this.value == '回寄') j$(this).remove(); |
| | | }) |
| | | } |
| | | |
| | | function resetDetailDivMargintop() { |
| | |
| | | <p>扫描中</p> |
| | | <p>Code:<input type="text" id="qrcode"/></p> |
| | | <video playsinline="true" id="preview" style="width: 100%;z-index: 11;transform: scaleX(-1);margin-top: 10px;"></video> |
| | | 扫码履历: |
| | | 扫码履历: |
| | | <ul id="scanedqr" style="list-style-type: none; text-align: center;padding: 0;width: 100%; height: 100px; overflow: auto"> |
| | | </ul> |
| | | </div> |
| | |
| | | <br/> |
| | | <apex:variable var="SetName" value="{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Rental_Apply__r.Name}" /> |
| | | <apex:variable var="applychange" value="{!1}" /> |
| | | <input type="hidden" value="{!esdInfo.rec.Rental_Apply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.Rental_Apply__c}"/> |
| | | <!-- 20230220 ljh uat 临时注释 <input type="hidden" value="{!esdInfo.rec.Rental_Apply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.Rental_Apply__c}"/> --> |
| | | </apex:outputPanel> |
| | | |
| | | <apex:outputPanel layout="none" rendered="{!IF(SetName2=esdInfo.rec.Rental_Apply_Equipment_Set__r.Id, false, true)}"> |
| | |
| | | <apex:variable var="applychange" value="{!0}" /> |
| | | <apex:outputPanel layout="none" rendered="{!IF(esdInfo.rec.Rental_Apply_Equipment_Set__r.Inspection_not_finish__c > 0, false, true)}"> |
| | | <apex:inputCheckbox value="{!esdInfo.isChecked}"/><input type="hidden" value="{!esdInfo.rec.Rental_Apply_Equipment_Set__c}"/><input type="hidden" value="{!esdInfo.rec.Rental_Apply__c}"/> |
| | | </apex:outputPanel> |
| | | </apex:outputPanel> |
| | | <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Name}:{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Fixture_Set__r.Name}</h2> |
| | | <apex:variable var="SetName2" value="{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Id}" /> |
| | | </apex:outputPanel> |
| | |
| | | <apex:outputPanel layout="none" rendered="{!IF(indexloop == 1, true, false)}"> |
| | | <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Rental_Apply__r.Name}</h2> |
| | | <br/> |
| | | <input type="hidden" value="{!esdInfo.rec.Rental_Apply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.Rental_Apply__c}"/> |
| | | <!-- 20230220 ljh uat 临时注释 <input type="hidden" value="{!esdInfo.rec.Rental_Apply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.Rental_Apply__c}"/> --> |
| | | <apex:outputPanel layout="none" rendered="{!IF(esdInfo.rec.Rental_Apply_Equipment_Set__r.Inspection_not_finish__c > 0, false, true)}"> |
| | | <apex:inputCheckbox value="{!esdInfo.isChecked}"/><input type="hidden" value="{!esdInfo.rec.Rental_Apply_Equipment_Set__c}"/><input type="hidden" value="{!esdInfo.rec.Rental_Apply__c}"/> |
| | | </apex:outputPanel> |
| | | </apex:outputPanel> |
| | | <h3 style="padding: 5px;" class="detailtab">{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Name}:{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Fixture_Set__r.Name}</h3> |
| | | </apex:outputPanel> |
| | | <div class="rtop"> |
| | |
| | | j$("#scanedqr").children().remove(); |
| | | } |
| | | j$(document).ready(function(){ |
| | | j$( '#qrcode' ).unbind(); |
| | | j$( '#qrcode' ).unbind(); |
| | | j$( '#qrcode' ).keypress( function ( e ) { |
| | | if ( e.which == 13 ) { |
| | | filljsQR(j$( '#qrcode' ).val()); |