| | |
| | | list-style: none; |
| | | border-top: 1px solid #ddd; |
| | | } |
| | | /* 20230423 ljh lightning 切换 start */ |
| | | .lookupInput input{ |
| | | width: 140px; |
| | | } |
| | | /* 20230423 ljh lightning 切换 end */ |
| | | </style> |
| | | <div id="myModal" class="modal"> |
| | | |
| | | <!-- Modal content --> |
| | | <div class="modal-content"> |
| | | <!-- Modal content --> |
| | | <div class="modal-content"> |
| | | <span class="close" onclick="stopScan()">×</span> |
| | | <p>扫描中</p> |
| | | <p>Code:<input type="text" id="qrcode"/></p> |
| | |
| | | 扫码履历: |
| | | <ul id="scanedqr" style="list-style-type: none; text-align: center;padding: 0;width: 100%; height: 100px; overflow: auto"> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <apex:form id="allForm"> |
| | |
| | | |
| | | <apex:outputPanel layout="none" rendered="{!IF(SetName=esdInfo.rec.TransferApply__r.Name, false, true)}"> |
| | | <hr/> |
| | | <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</h2> |
| | | <br/> |
| | | <!-- 20230423 ljh lightning 升级 start --> |
| | | <!-- <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</h2> --> |
| | | <div style="padding: 5px;font-weight: bold;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</div> |
| | | <!-- <br/> --> |
| | | <!-- 20230423 ljh lightning 升级 end --> |
| | | <apex:variable var="SetName" value="{!esdInfo.rec.TransferApply__r.Name}" /> |
| | | <apex:variable var="applychange" value="{!1}" /> |
| | | <input type="hidden" value="{!esdInfo.rec.TransferApply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.TransferApply__c}"/> |
| | |
| | | |
| | | <apex:outputPanel layout="none" rendered="{!IF(indexloop == 1, true, false)}"> |
| | | <!-- 20230423 ljh lightning 升级 start --> |
| | | <!-- <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</h2> |
| | | <br/> --> |
| | | <!-- <h2 style="padding: 5px;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</h2> --> |
| | | <div style="padding: 5px;font-weight: bold;" class="detailtab">{!esdInfo.rec.TransferApply__r.Name}</div> |
| | | <!-- <br/> --> |
| | | <!-- 20230423 ljh lightning 升级 end --> |
| | | <input type="hidden" value="{!esdInfo.rec.TransferApply__r.Pre_inspection_ng_num__c}" data-ngnum="{!esdInfo.rec.TransferApply__c}"/> |
| | | <apex:outputPanel layout="none" rendered="{!esdInfo.inspectionFinished}"> |
| | | <apex:inputCheckbox value="{!esdInfo.isChecked}"/><input type="hidden" value="{!esdInfo.rec.TransferApplySummary__c}"/><input type="hidden" value="{!esdInfo.rec.TransferApply__c}"/> |
| | | </apex:outputPanel> |
| | | <h3 style="padding: 5px;" class="detailtab">{!esdInfo.fsName}</h3> |
| | | <!-- 20230423 ljh lightning 升级 start --> |
| | | <!-- <h3 style="padding: 5px;" class="detailtab">{!esdInfo.fsName}</h3> --> |
| | | <span style="padding: 5px;font-weight: bold;" class="detailtab">{!esdInfo.fsName}</span> |
| | | <!-- 20230423 ljh lightning 升级 end --> |
| | | </apex:outputPanel> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | |
| | | } |
| | | let scanner = new Instascan.Scanner({ video: document.getElementById('preview'), scanPeriod: 5 ,mirror: false}); |
| | | scanner.addListener('scan', function (content) { |
| | | filljsQR(content); |
| | | filljsQR(content); |
| | | }); |
| | | |
| | | function qrsacn(stype) { |
| | |
| | | } else { |
| | | j$(".modal").show(); |
| | | Instascan.Camera.getCameras().then(function (cameras) { |
| | | if (cameras.length > 0) { |
| | | if (cameras.length > 0) { |
| | | if (ver >= 13) { |
| | | scanner.start(cameras[1]); |
| | | } else { |
| | | scanner.start(cameras[0]); |
| | | } |
| | | } else { |
| | | } else { |
| | | console.error('No cameras found.'); |
| | | } |
| | | } |
| | | }).catch(function (e) { |
| | | console.error(e); |
| | | console.error(e); |
| | | }); |
| | | } |
| | | } |