| | |
| | | </script> |
| | | <style type="text/css"> |
| | | .menu div.m_title{ |
| | | width: 308px; |
| | | /* width: 308px; *//* 20230718 ljh */ |
| | | text-align: left; |
| | | margin: 0; |
| | | background:#DCDCDC; |
| | | border-radius:8px 8px 0 0; |
| | | padding-left: 0.75rem;/*20230628 ljh*/ |
| | | } |
| | | .menu { |
| | | border-radius:8px; |
| | |
| | | position: relative; |
| | | /* 20230423 ljh lightning升级start */ |
| | | /* width: 20%; */ |
| | | width: 30%; |
| | | width: 50%; |
| | | /* 20230423 ljh lightning升级end */ |
| | | float: left; |
| | | margin: 0; |
| | | padding: 0; |
| | | text-align: center; |
| | | cursor: pointer; |
| | | /*20230616 ljh*/ |
| | | height:30px; |
| | | line-height: 30px; |
| | | /*20230616 ljh*/ |
| | | } |
| | | #Step_tab li span { |
| | | margin: 0; |
| | |
| | | } |
| | | |
| | | div#main { |
| | | width: 320px; |
| | | /* width: 320px; */ |
| | | } |
| | | |
| | | hr { |
| | |
| | | color: #fff; |
| | | background-color: #fff; |
| | | height: 1px; |
| | | width: 90%; |
| | | /*20230620 ljh*/ |
| | | /*width: 90%;*/ |
| | | width: 98%; |
| | | /*20230620 ljh*/ |
| | | } |
| | | .close { |
| | | color: #aaaaaa; |
| | |
| | | list-style: none; |
| | | border-top: 1px solid #ddd; |
| | | } |
| | | /*20230625 ljh */ |
| | | .errorMsg{ |
| | | width: 140px; |
| | | } |
| | | /*20230625 ljh */ |
| | | </style> |
| | | <div id="myModal" class="modal"> |
| | | |
| | |
| | | <apex:outputPanel id="message"> |
| | | <apex:pageMessages /> |
| | | </apex:outputPanel> |
| | | <div style="text-align: right;margin-top: 10px;"> |
| | | <!-- <div style="text-align: right;margin-top: 10px;"> |
| | | <apex:commandButton styleClass="commandbutton" onclick="savejs();" value="保存" rerender="dummy" rendered="{!IF(open_type='web', true, false)}" disabled="{!saveBtnDisabled}"/> |
| | | </div> |
| | | <apex:outputText id="saveBtnDisabled" value="{!saveBtnDisabled}" style="display: none;"/> |
| | |
| | | <col width="170" /> |
| | | </colgroup> |
| | | <tr> |
| | | <!-- 状态切换btn --> |
| | | 状态切换btn |
| | | <th colspan="2" style="font-size:20px;text-align: center;width:380px;"> |
| | | <ul id="Step_tab"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(SR_status='Shippment', true, false)}"> |
| | |
| | | <div style="text-align: right"> |
| | | <apex:commandButton styleClass="commandbutton" onclick="qrsacn()" value="扫一扫" rerender="dummy" rendered="{!IF(Step_status='下架', true, false)}"/> |
| | | <apex:commandButton styleClass="commandbutton" onclick="filljs1(this);" value="全部OK" rerender="dummy" rendered="{!IF(Step_status='下架', true, false)}"/> |
| | | </div> |
| | | </div> --> |
| | | <apex:pageBlock > |
| | | <table style="border-collapse: collapse; font-size:13px;"> |
| | | <colgroup> |
| | | <col width="20%" /> |
| | | <col width="80%" /> |
| | | </colgroup> |
| | | <tr> |
| | | <!-- 状态切换btn --> |
| | | <th style="font-size:20px;text-align: center;width:280px;height: 50px;"> |
| | | <ul id="Step_tab" style="margin:0;"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(SR_status='Shippment', true, false)}"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(Step_status='下架', true, false)}"> |
| | | <li class="selected" ><span class="tabsize">下架</span></li> |
| | | <li onclick="javascript:Shippment2();"><span class="tabsize">出库检测</span></li> |
| | | </apex:outputPanel> |
| | | </apex:outputPanel> |
| | | </ul> |
| | | </th> |
| | | <th width="900px;" style="padding-left:50px;" class="myBtn" > |
| | | <apex:commandButton styleClass="commandbutton" onclick="qrsacn()" value="扫一扫" rerender="dummy" rendered="{!IF(Step_status='下架', true, false)}"/> |
| | | <apex:commandButton styleClass="commandbutton" onclick="filljs1(this);" value="全部OK" rerender="dummy" rendered="{!IF(Step_status='下架', true, false)}"/> |
| | | <!-- 20230616 ljh start--> |
| | | <apex:commandButton styleClass="commandbutton" onclick="savejs();" value="保存" rerender="dummy" rendered="{!IF(open_type='web', true, false)}" disabled="{!saveBtnDisabled}"/> |
| | | <!-- 20230616 ljh end--> |
| | | </th> |
| | | </tr> |
| | | </table> |
| | | </apex:pageBlock> |
| | | </div> |
| | | <apex:outputPanel id="detail"> |
| | | |
| | | <div id="detailDiv" class="detail"> |
| | | <apex:variable var="indexloop" value="{!0}" /> |
| | | <apex:variable var="SetName" value="" /> |
| | |
| | | <apex:variable var="indexloop" value="{!indexloop+1}"/> |
| | | <apex:variable var="SetName" value="{!IF(SetName='', esdInfo.rec.TransferApplySummary__c, SetName)}" /> |
| | | <apex:outputPanel layout="none" rendered="{!IF(SetName=esdInfo.rec.TransferApplySummary__c && indexloop != 1, true, false)}"> |
| | | <br/> |
| | | <!-- <br/> --> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!IF(SetName=esdInfo.rec.TransferApplySummary__c, false, true)}"> |
| | | <hr/> |
| | | <h3 style="padding: 5px;" class="detailtab">{!esdInfo.fsName}</h3> |
| | | <!-- 20230718 ljh --> |
| | | <h3 style="padding: 5px 0.75rem;" class="detailtab">{!esdInfo.fsName}</h3> |
| | | <apex:variable var="SetName" value="{!esdInfo.rec.TransferApplySummary__c}" /> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!IF(indexloop == 1, true, false)}"> |
| | | <h3 style="padding: 5px;" class="detailtab">{!esdInfo.fsName}</h3> |
| | | <!-- 20230718 ljh --> |
| | | <h3 style="padding: 5px 0.75rem;" class="detailtab">{!esdInfo.fsName}</h3> |
| | | </apex:outputPanel> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | </div></h2> |
| | | <ul style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <ul style="padding: 1px 0.75rem;{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(Step_status='下架', true, false)}"> |
| | | <li data-qr="{!esdInfo.rec.Fixture_QRCode_F__c}"> |
| | | <span>{!$ObjectType.TransferApplyDetail__c.fields.StockDown__c.label}: </span> |
| | |
| | | <span>{!$ObjectType.Asset.fields.WH_location__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.Asset__r.WH_location__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <!-- 20230718 ljh 换到下架确认下面--> |
| | | <li> |
| | | <span>{!$ObjectType.TransferApplyDetail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <li> |
| | | <span>上次回收后检测时间: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.Asset__r.Pre_Reserve_TAES_Detail__r.After_Inspection_time__c}" style="margin:3px;width:75px;"/></span> |
| | |
| | | <span>{!$ObjectType.TransferApplyDetail__c.fields.Pre_After_Inspection_elapsed_days__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.Pre_After_Inspection_elapsed_days__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <!-- |
| | | 换到下架确认下面 |
| | | <li> |
| | | <span>{!$ObjectType.TransferApplyDetail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | </apex:outputPanel> |
| | | </ul> |
| | | </div> |