| | |
| | | text-align: left; |
| | | margin: 0; |
| | | /*20230623 ljh start*/ |
| | | /*background:#DCDCDC;*/ |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*20230623 ljh end*/ |
| | | /*height: 42px;*/ |
| | | padding-left: 0.75rem;/*20230628 ljh*/ |
| | |
| | | div.rtop, div.rbottom {display:block; background: transparent; font-size:1px;} |
| | | div.rtop div { |
| | | /*20230623 ljh start*/ |
| | | /*background:#DCDCDC;*/ |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*20230623 ljh end*/ |
| | | } |
| | | div.r1, div.r2, div.r3, div.r4 {display:block; overflow:hidden;} |
| | |
| | | </div> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 start --> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>)</span> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 end --> |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <ul style="padding: 1px 0.75rem; {!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <ul style="padding: 1px 0.75rem; {!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(Step_status='下架', true, false)}"> |
| | | <!-- <div style="position: relative; padding-left: 50px; background:{!IF(esdInfo.quickCheck, '#BBFF66', '')}"> --> |
| | | <li data-qr="{!esdInfo.rec.Fixture_QRCode_F__c}"> |
| | |
| | | <span><apex:outputField value="{!esdInfo.rec.Asset__r.WH_location__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <!-- 20230721 ljh 机身编码换位置 --> |
| | | <li> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 start --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 end --> |
| | | <li> |
| | | <span>上次回收后检测时间: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__r.After_Inspection_time__c}" style="margin:3px;width:75px;"/></span> |
| | |
| | | </div> --> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 start --> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>)</span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 end --> |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <!-- 20230721 ljh --> |
| | | <ul style="padding: 1px 0.75rem;{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <ul style="padding: 1px 0.75rem;{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <apex:outputPanel layout="none" rendered="{!IF(Step_status='发货前', true, false)}"> |
| | | <!-- <div style="position: relative; padding-left: 50px; background:{!IF(esdInfo.quickCheck, '#BBFF66', '')}"> --> |
| | | <li data-qr="{!esdInfo.rec.Fixture_QRCode_F__c}" style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <!-- <li data-qr="{!esdInfo.rec.Fixture_QRCode_F__c}" style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> --> |
| | | <li data-qr="{!esdInfo.rec.Fixture_QRCode_F__c}" style="{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <!-- 20210721 ljh 1719 start --> |
| | | <!-- <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Inspection_result__c.label}: </span> --> |
| | | <span>发货前-检测结果: </span> |
| | |
| | | <span><apex:outputField id="inspectionResult2" value="{!esdInfo.rec.Inspection_result__c}" style="margin:3px;width:75px;" /></span> |
| | | </apex:outputPanel> |
| | | </li> |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <!-- <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> --> |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Inspection_result_NG__c.label}: </span> |
| | | <apex:outputPanel layout="none" rendered="{!(esdInfo.editable)}"> |
| | | <span><apex:inputField id="inspectionResultNg" value="{!esdInfo.rec.Inspection_result_NG__c}" style="margin:3px;width:75px;"/></span> |
| | |
| | | </apex:outputPanel> |
| | | </li> |
| | | |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <!-- <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> --> |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Pre_NG_abord_reason__c.label}:</span> |
| | | <apex:outputPanel layout="none" rendered="{!(esdInfo.editable)}"> |
| | | <span> |
| | |
| | | </apex:outputPanel> |
| | | </li> |
| | | |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <!-- <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> --> |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Pre_Inspection_Comment__c.label}: </span> |
| | | <apex:outputPanel layout="none" rendered="{!(esdInfo.editable)}" > |
| | | <span> |
| | |
| | | </apex:outputPanel> |
| | | </li> |
| | | |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> |
| | | <!-- <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> --> |
| | | <li style="{!IF(esdInfo.quickCheck, 'background:#A3DE59;', '')}"> |
| | | <span>上次回收后检测时间: </span> |
| | | <span><apex:outputField rendered="{!IF(esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__c==null, false, true)}" value="{!esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__r.After_Inspection_time__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__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> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 start --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 end --> |
| | | <!-- </div> --> |
| | | </apex:outputPanel> |
| | | </ul> |
| | |
| | | /*width: 308px;*//*20230619 ljh*/ |
| | | text-align: left; |
| | | margin: 0; |
| | | background:#95aee5; |
| | | /* background:#95aee5; */ |
| | | background:#dcdcdc; |
| | | /*height: 42px;*/ |
| | | padding-left: 0.75rem;/*20230721 ljh */ |
| | | } |
| | |
| | | }*/ |
| | | /*20230620 ljh*/ |
| | | div.rtop, div.rbottom {display:block; background: transparent; font-size:1px;} |
| | | div.rtop div {background:#95aee5;} |
| | | div.rtop div {background:#DCDCDC;} |
| | | /* div.rtop div {background:#95aee5;} */ |
| | | div.rtopg div {background:#DCDCDC;} |
| | | div.r1, div.r2, div.r3, div.r4 {display:block; overflow:hidden;} |
| | | div.r1, div.r2, div.r3 {height:1px;} |
| | |
| | | </div> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 start --> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>)</span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 end --> |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <!-- 20230721 ljh --> |
| | |
| | | <li><span>上次回收后检测时间: </span> |
| | | <span><apex:outputField rendered="{!IF(esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__c==null, false, true)}" value="{!esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__r.After_Inspection_time__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <li> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 start --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 end --> |
| | | </ul> |
| | | </div> |
| | | <div class="rbottom"> |
| | |
| | | </h2> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!NOT(esdInfo.hasSended)}"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> </div> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>)</span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | |
| | | </div> |
| | | </h2> |
| | | </apex:outputPanel> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | |
| | | <li><span>上次回收后检测时间: </span> |
| | | <span><apex:outputField rendered="{!IF(esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__c==null, false, true)}" value="{!esdInfo.rec.Asset__r.Pre_Reserve_RAES_Detail__r.After_Inspection_time__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | <li> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 start --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 end --> |
| | | </ul> |
| | | </div> |
| | | <div class="rbottom"> |
| | |
| | | /*width: 308px;*//*20230620 ljh */ |
| | | text-align: left; |
| | | margin: 0; |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*height: 42px;*/ |
| | | padding-left: 0.75rem;/*20230721 ljh */ |
| | | } |
| | |
| | | /*20230620 ljh end*/ |
| | | div.rtop, div.rbottom {display:block; background: transparent; font-size:1px;} |
| | | div.rtopg div {background:#DCDCDC;} |
| | | div.rtop div {background:#95aee5;} |
| | | div.rtop div {background:#DCDCDC;} |
| | | /* div.rtop div {background:#95aee5;} */ |
| | | div.r1, div.r2, div.r3, div.r4 {display:block; overflow:hidden;} |
| | | div.r1, div.r2, div.r3 {height:1px;} |
| | | div.r2, div.r3, div.r4 {border-left:1px solid silver; border-right:1px solid silver;} |
| | |
| | | <apex:outputPanel layout="none" rendered="{!esdInfo.rec.Return_DeliverySlip__c == null && esdInfo.rec.Lost_item_giveup__c == false && esdInfo.rec.Check_lost_Item_F__c != '消耗'}"> |
| | | <input disabled="disabled" type="checkbox" data-resid="{!esdInfo.rec.Rental_Apply_Equipment_Set__c}" name="raesdCheck" value="{!esdInfo.rec.Id}" data-lost="{!esdInfo.rec.Check_lost_Item_Final__c == '欠品' || esdInfo.rec.Check_lost_Item__c == '欠品'}" style="float: right;"/> |
| | | </apex:outputPanel> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>)</span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <!-- 20230721 ljh --> |
| | |
| | | <span><apex:outputField value="{!esdInfo.rec.Rental_Apply_Equipment_Set__r.Received_ng_detail__c}" style="margin:3px;width:150px" /></span> |
| | | </li> |
| | | </apex:outputPanel> |
| | | <li> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.NoItemReturn__c.label}: </span> |
| | | <!-- 20230621 ljh start--> |
| | |
| | | <div class="menu"> |
| | | <apex:outputPanel layout="none" rendered="{!NOT(esdInfo.hasSended)}"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> |
| | | <!-- <apex:commandButton styleClass="commandbutton" onclick="deleteDetailJs(this)" style="float:right;margin-top: -2px;" value="删除" rerender="dummy"/><input type="hidden" value="{!esdInfo.rec.Id}"/> --></div> |
| | | <!-- <apex:commandButton styleClass="commandbutton" onclick="deleteDetailJs(this)" style="float:right;margin-top: -2px;" value="删除" rerender="dummy"/><input type="hidden" value="{!esdInfo.rec.Id}"/> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <span> |
| | | (<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>) |
| | | </span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | </div> |
| | | </h2> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!esdInfo.hasSended}"> |
| | | <h2><div class="m_titleg"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> <!-- <apex:commandButton styleClass="commandbutton" onclick="deleteDetailJs(this)" style="float:right;margin-top: -2px;" value="删除" rerender="dummy"/><input type="hidden" value="{!esdInfo.rec.Id}"/>已回收 --></div> |
| | | <h2><div class="m_titleg"> <apex:outputField value="{!esdInfo.rec.Fixture_Name_F__c}" /> <!-- <apex:commandButton styleClass="commandbutton" onclick="deleteDetailJs(this)" style="float:right;margin-top: -2px;" value="删除" rerender="dummy"/><input type="hidden" value="{!esdInfo.rec.Id}"/>已回收 --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <span> |
| | | (<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/>) |
| | | </span> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | </div> |
| | | </h2> |
| | | </apex:outputPanel> |
| | | <!-- 20230620 ljh 欠品 -------------- --> |
| | |
| | | </apex:outputPanel> |
| | | </li> |
| | | </apex:outputPanel> |
| | | <li> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span> |
| | | <apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/> |
| | | </span> |
| | | </li> |
| | | </li> --> |
| | | <!-- 2023-08-01 zyh 机身编码换位置 --> |
| | | </ul> |
| | | </div> |
| | | <!-- <div class="rbottom"> |
| | |
| | | }) |
| | | } |
| | | } |
| | | var standalone = window.navigator.standalone, |
| | | userAgent = window.navigator.userAgent.toLowerCase(), |
| | | safari = /safari/.test( userAgent ), |
| | | ios = /iphone|ipod|ipad/.test( userAgent ), |
| | | // ver = (navigator.userAgent).match(/OS (\d)?\d_\d(_\d)?/i)[0].split('_')[0].replace("OS ",""); |
| | | ver = ''; |
| | | if(ios) { |
| | | ver = (navigator.userAgent).match(/OS (\d)?\d_\d(_\d)?/i)[0].split('_')[0].replace("OS ",""); |
| | | } |
| | | function OpenRentalApplyFault(faultReportFlag, radetailId, radetailName, personId, personName, purpose2, name, hospitalName, serialNumber, fixtureNo, workPlace, deptCategory){ |
| | | if(faultReportFlag == '不存在故障报告单'){ |
| | | console.log(!standalone && !safari && ios); |
| | | if (!standalone && !safari && ios) { |
| | | if(faultReportFlag == '不存在故障报告单'){ |
| | | window.open("/a5C/e?Name=*" + "&CF00N10000009I5UX_lKid=" + radetailId + "&CF00N10000009I5UX=" + radetailName + "&CF00N10000009I5UV_lKid=" + personId + "&CF00N10000009I5UV=" + personName + "&00N10000009I5Uh=" + purpose2 + "&00N10000009I5UW=" + name + "&00N10000009I6jv=" + hospitalName + "&00N10000009I5Ua=" + serialNumber + "&00N10000009I5UP=" + fixtureNo + "&00N10000009I5Uf=" + workPlace + "&00N10000009I5UU=" + deptCategory); |
| | | //window.open("/a5F/e?Name=*" + "&CF00N9D000007hkLN_lKid=" + radetailId + "&CF00N9D000007hkLN=" + radetailName + "&CF00N9D000007jemP_lKid=" + personId + "&CF00N9D000007jemP=" + personName + "&00N9D000007jrE6=" + purpose2 + "&00N9D000007ijyA=" + name + "&00N9D000007yNXu=" + hospitalName + "&00N9D000007jrEL=" + serialNumber + "&00N9D000007jrEQ=" + fixtureNo + "&00N9D000007jrEV=" + workPlace + "&00N9D000007jrJW=" + deptCategory); |
| | | }else{ |
| | | // if(confirm('是否打开或创建新的检测分析报告?')){ |
| | | // if (faultReportFlag == '存在故障报告单'){ |
| | | // window.open("/a5C/e?Name=*" + "&CF00N9D000007hkLN_lKid=" + radetailId + "&CF00N9D000007hkLN=" + radetailName + "&CF00N9D000007jemP_lKid=" + personId + "&CF00N9D000007jemP=" + personName + "&00N9D000007jrE6=" + purpose2 + "&00N9D000007ijyA=" + name + + "&CF00N9D000007jrEG=" + hospitalName + "&00N9D000007jrEL=" + serialNumber + "&00N9D000007jrEQ=" + fixtureNo + "&00N9D000007jrEV=" + workPlace + "&00N9D000007jrJW=" + deptCategory); |
| | | // }else{ |
| | | // window.open("/" + faultReportFlag); |
| | | // } |
| | | // } |
| | | |
| | | if(confirm('已存在检测分析报告')){ |
| | | window.open("/" + faultReportFlag); |
| | | }else{ |
| | | if(confirm('已存在检测分析报告')){ |
| | | window.open("/" + faultReportFlag); |
| | | } |
| | | } |
| | | } |
| | | }else{ |
| | | if(faultReportFlag == '不存在故障报告单'){ |
| | | // window.open("/a5C/e?Name=*" + "&CF00N10000009I5UX_lKid=" + radetailId + "&CF00N10000009I5UX=" + radetailName + "&CF00N10000009I5UV_lKid=" + personId + "&CF00N10000009I5UV=" + personName + "&00N10000009I5Uh=" + purpose2 + "&00N10000009I5UW=" + name + "&00N10000009I6jv=" + hospitalName + "&00N10000009I5Ua=" + serialNumber + "&00N10000009I5UP=" + fixtureNo + "&00N10000009I5Uf=" + workPlace + "&00N10000009I5UU=" + deptCategory); |
| | | //window.open("/a5F/e?Name=*" + "&CF00N9D000007hkLN_lKid=" + radetailId + "&CF00N9D000007hkLN=" + radetailName + "&CF00N9D000007jemP_lKid=" + personId + "&CF00N9D000007jemP=" + personName + "&00N9D000007jrE6=" + purpose2 + "&00N9D000007ijyA=" + name + "&00N9D000007yNXu=" + hospitalName + "&00N9D000007jrEL=" + serialNumber + "&00N9D000007jrEQ=" + fixtureNo + "&00N9D000007jrEV=" + workPlace + "&00N9D000007jrJW=" + deptCategory); |
| | | var url = '/lightning/o/Rental_Apply_Fault__c/new?defaultFieldValues=Name=*,Rental_Apply_Equipment_Set_Detail__c='+radetailId+',Person_In_Charge_User__c='+personId |
| | | +',demo_purpose2__c='+purpose2 |
| | | +',RentalApplyNo__c='+name |
| | | +',HospitalText__c='+hospitalName |
| | | +',Repair_product_body_number__c='+serialNumber |
| | | +',Fixture_Model_No__c='+fixtureNo |
| | | +',WorkPlace__c='+workPlace |
| | | +',OCM_dept_category__c='+deptCategory; |
| | | // console.log(url); |
| | | window.open(url); |
| | | }else{ |
| | | // if(confirm('是否打开或创建新的检测分析报告?')){ |
| | | // if (faultReportFlag == '存在故障报告单'){ |
| | | // window.open("/a5C/e?Name=*" + "&CF00N9D000007hkLN_lKid=" + radetailId + "&CF00N9D000007hkLN=" + radetailName + "&CF00N9D000007jemP_lKid=" + personId + "&CF00N9D000007jemP=" + personName + "&00N9D000007jrE6=" + purpose2 + "&00N9D000007ijyA=" + name + + "&CF00N9D000007jrEG=" + hospitalName + "&00N9D000007jrEL=" + serialNumber + "&00N9D000007jrEQ=" + fixtureNo + "&00N9D000007jrEV=" + workPlace + "&00N9D000007jrJW=" + deptCategory); |
| | | // }else{ |
| | | // window.open("/" + faultReportFlag); |
| | | // } |
| | | // } |
| | | |
| | | if(confirm('已存在检测分析报告')){ |
| | | window.open("/" + faultReportFlag); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | function filljs1() { |
| | | j$("select[name$='inspectionResult']").val("OK"); |
| | |
| | | /*width: 308px;*/ |
| | | text-align: left; |
| | | margin: 0; |
| | | /*background:#DCDCDC;*/ |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*height: 42px;*/ |
| | | padding-left: 0.75rem;/*20230721 ljh */ |
| | | } |
| | |
| | | }*/ |
| | | |
| | | div.rtop, div.rbottom {display:block; background: transparent; font-size:1px;} |
| | | div.rtop div {/*background:#DCDCDC;*/background:#95aee5;} |
| | | div.rtop div {background:#DCDCDC;/*background:#95aee5;*/} |
| | | div.r1, div.r2, div.r3, div.r4 {display:block; overflow:hidden;} |
| | | div.r1, div.r2, div.r3 {height:1px;} |
| | | div.r2, div.r3, div.r4 {border-left:1px solid silver; border-right:1px solid silver;} |
| | |
| | | </div> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.AssetName__c}" /> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 --> |
| | | <span>(<apex:outputLink value="/{!esdInfo.rec.Asset__c}" target="_blank" id="assetLink" >{!esdInfo.rec.SerialNumber_F__c}</apex:outputLink>)</span> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 --> |
| | | |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <!-- 20230722 ljh --> |
| | |
| | | <!-- 20230722 ljh --> |
| | | <apex:outputField value="{!esdInfo.rec.Inspection_result_after__c}" style="margin:3px;width:75px;" /> |
| | | <!-- <output style="margin:3px;width:55px;text-align:left;margin-left:3px;margin-top:0px;float: left;">{!esdInfo.rec.Inspection_result_after__c}</output> --> |
| | | <!-- <apex:commandButton style="margin-top:0px;font-size: 9px !important;" onclick="OpenRentalApplyFault('{!esdInfo.faultReportFlag}', '{!esdInfo.rec.Id}', '{!esdInfo.rec.Name}','{!esdInfo.personInChargeId}','{!esdInfo.personInChargeName}','{!esdInfo.demoPurpose2}','{!esdInfo.raName}','{!esdInfo.hospitalName}','{!esdInfo.rec.SerialNumber_F__c}','{!esdInfo.rec.Fixture_Model_No__c}','{!esdInfo.workPlace}','{!esdInfo.deptCategory}')" value="故障报告" rerender="dummy" rendered="{!esdInfo.showFaultRepor}"/> --> |
| | | <apex:commandButton styleClass="commandbutton" style="margin-left: 20px;" onclick="OpenRentalApplyFault('{!esdInfo.faultReportFlag}', '{!esdInfo.rec.Id}', '{!esdInfo.rec.Name}','{!esdInfo.personInChargeId}','{!esdInfo.personInChargeName}','{!esdInfo.demoPurpose2}','{!esdInfo.raName}','{!esdInfo.hospitalName}','{!esdInfo.rec.SerialNumber_F__c}','{!esdInfo.rec.Fixture_Model_No__c}','{!esdInfo.workPlace}','{!esdInfo.deptCategory}')" value="故障报告" rerender="dummy" rendered="{!esdInfo.showFaultRepor}"/> |
| | | </span> |
| | | </li> |
| | | <li style="{!IF(esdInfo.rec.Inspection_result_after_NG__c='维修', '', 'display: none;')}"> |
| | |
| | | <!-- <output style="margin:3px;width:55px;text-align:left;margin-left:3px;margin-top:0px;float: left;">{!esdInfo.rec.Inspection_result_after__c}</output> --> |
| | | <output>{!esdInfo.rec.Inspection_result_after__c}</output> |
| | | </apex:outputPanel> |
| | | <!-- <apex:commandButton style="margin-top:0px;font-size: 9px !important;" onclick="OpenRentalApplyFault('{!esdInfo.faultReportFlag}', '{!esdInfo.rec.Id}', '{!esdInfo.rec.Name}','{!esdInfo.personInChargeId}','{!esdInfo.personInChargeName}','{!esdInfo.demoPurpose2}','{!esdInfo.raName}','{!esdInfo.hospitalName}','{!esdInfo.rec.SerialNumber_F__c}','{!esdInfo.rec.Fixture_Model_No__c}','{!esdInfo.workPlace}','{!esdInfo.deptCategory}')" value="故障报告" rerender="dummy" rendered="{!esdInfo.showFaultRepor}"/> --> |
| | | <apex:commandButton styleClass="commandbutton" style="margin-left: 20px;" onclick="OpenRentalApplyFault('{!esdInfo.faultReportFlag}', '{!esdInfo.rec.Id}', '{!esdInfo.rec.Name}','{!esdInfo.personInChargeId}','{!esdInfo.personInChargeName}','{!esdInfo.demoPurpose2}','{!esdInfo.raName}','{!esdInfo.hospitalName}','{!esdInfo.rec.SerialNumber_F__c}','{!esdInfo.rec.Fixture_Model_No__c}','{!esdInfo.workPlace}','{!esdInfo.deptCategory}')" value="故障报告" rerender="dummy" rendered="{!esdInfo.showFaultRepor}"/> |
| | | </li> |
| | | <li style="{!IF(esdInfo.rec.Inspection_result_after_NG__c='维修', 'display: none;', '')}"> |
| | | <!-- <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Inspection_result_after_NG_F__c.label}: </span> --> |
| | |
| | | <span><apex:outputField value="{!esdInfo.rec.Inspection_Comment__c}"/></span> |
| | | </apex:outputPanel> |
| | | </li> |
| | | <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <!-- <li> --> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 --> |
| | | <!-- <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> --> |
| | | <!-- <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;width:75px;"/></span> --> |
| | | <!-- 20230722 ljh --> |
| | | <!-- <span><apex:outputLink value="/{!esdInfo.rec.Asset__c}" target="_blank" id="assetLink" style="margin:3px;width:140px;float: left;text-align:left;margin-left:3px;margin-top:0px;">{!esdInfo.rec.SerialNumber_F__c}</apex:outputLink></span> --> |
| | | <span><apex:outputLink value="/{!esdInfo.rec.Asset__c}" target="_blank" id="assetLink" >{!esdInfo.rec.SerialNumber_F__c}</apex:outputLink></span> |
| | | </li> |
| | | <!-- <span><apex:outputLink value="/{!esdInfo.rec.Asset__c}" target="_blank" id="assetLink" >{!esdInfo.rec.SerialNumber_F__c}</apex:outputLink></span> --> |
| | | <!-- 2023-08-01 zyh 机身编号换地方 --> |
| | | <!-- </li> --> |
| | | <!-- </div> --> |
| | | |
| | | <script> |
| | |
| | | text-align: left; |
| | | margin: 0; |
| | | /*20230623 ljh start*/ |
| | | /*background:#DCDCDC;*/ |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*20230623 ljh end*/ |
| | | /*height: 42px;*/ |
| | | padding-left: 0.75rem;/*20230721 ljh */ |
| | |
| | | div.rtop, div.rbottom {display:block; background: transparent; font-size:1px;} |
| | | div.rtop div { |
| | | /*20230623 ljh start*/ |
| | | /*background:#DCDCDC;*/ |
| | | background:#95aee5; |
| | | background:#DCDCDC; |
| | | /* background:#95aee5; */ |
| | | /*20230623 ljh end*/ |
| | | } |
| | | div.r1, div.r2, div.r3, div.r4 {display:block; overflow:hidden;} |
| | |
| | | </div> |
| | | <div class="menu"> |
| | | <h2><div class="m_title"> <apex:outputField value="{!esdInfo.rec.AssetName__c}" /> <apex:outputPanel layout="none" rendered="{!esdInfo.rec.Fixture_Set_Detail__r.Is_OneToOne__c && !esdInfo.rec.Substitute_flag__c}">(一对一附属品)</apex:outputPanel> |
| | | <span>(<apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;"/>)</span> |
| | | |
| | | </div></h2> |
| | | <!-- TODO 回库はSet単位で、明細一つ一つのquickCheck要らないが、SetのquickCheck要る? --> |
| | | <!-- 20230722 ljh --> |
| | |
| | | <span><apex:outputField value="{!esdInfo.rec.Asset__r.WH_location__c}" style="margin:3px;"/></span> |
| | | </apex:outputPanel> |
| | | </li> |
| | | <li> |
| | | <!-- <li> |
| | | <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.SerialNumber_F__c.label}: </span> |
| | | <span><apex:outputField value="{!esdInfo.rec.SerialNumber_F__c}" style="margin:3px;"/></span> |
| | | </li> |
| | | </li> --> |
| | | <!-- </apex:outputPanel> --> |
| | | <!-- </div> --> |
| | | </ul> |
| | |
| | | <apex:page controller="NotReceivingNoteListFirstController" action="{!init}" showHeader="false" sidebar="false" id="allPage" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.MainFixtureSelectCss)}"/> |
| | | <!-- <apex:stylesheet value="{!URLFOR($Resource.MainFixtureSelectCss)}"/> --> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/> |
| | | <!-- <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/> --> |
| | | <apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <script type="text/javascript"> |
| | |
| | | searchOpp(); |
| | | } |
| | | </script> |
| | | <style type="text/css"> |
| | | table.list .col_Internal_asset_location__c{width:100px;} |
| | | table.list .col_Sales_order_number__c{width:100px;} |
| | | table.list .col_OrderCode__c{width:100px;} |
| | | table.list .col_ApprovalNumber__c{width:100px;} |
| | | table.list .col_Asset_loaner_category__c{width:100px;} |
| | | table.list .col_DateOfDelivery__c{width:100px;} |
| | | table.list .col_ReceivingNoteSummary_Cnt__c{width:100px;} |
| | | table.list .col_ContactPerson__c{width:100px;} |
| | | table.list .col_ReceivingNoteNo_New__c{width:100px;} |
| | | table.list .col_RN_Status__c{width:100px;} |
| | | table.list .col_NotReceivingNoteListFirst_Link__c{width:100px;} |
| | | body .bPageBlock .detailList .dataCol{ |
| | | width: 8%; |
| | | } |
| | | </style> |
| | | |
| | | <apex:form id="allForm"> |
| | | <apex:actionFunction name="searchOpp" action="{!searchOpp}" rerender="allForm,checEventFrame" oncomplete="unblockUI();"> |
| | | </apex:actionFunction> |
| | |
| | | </apex:form> |
| | | <apex:outputPanel id="checEventFrame"> |
| | | <script type="text/javascript"> |
| | | j$("table#tableData").disabled = true; |
| | | /*j$("table#tableData").disabled = true; |
| | | function windowResize() { |
| | | var heightsp = 0; |
| | | if( typeof bottomspace != 'undefined' ){ |
| | |
| | | j$('div#in_Div').css('height', (blockHeight + sbwidth) +'px'); |
| | | } |
| | | } |
| | | } |
| | | } */ |
| | | </script> |
| | | </apex:outputPanel> |
| | | </apex:page> |
| | |
| | | td.newed { |
| | | color: #f00 !important; |
| | | } |
| | | table.list td.col_chk {width:3%;} |
| | | table.list td.col_Chk {width:3%;} |
| | | table.list td.col_ReceivingNoteDetailNo__c {width:10%;} |
| | | table.list td.col_OT_CODE__c {width:10%;} |
| | | table.list td.col_Fixture_Model_No_F__c {width:15%;} |
| | | table.list td.col_Internal_Asset_number_key__c {width:10%;} |
| | | table.list td.col_SerialNumber_Origin__c {width:10%;} |
| | | table.list td.col_SerialNumber__c {width:15%;} |
| | | table.list td.col_SerialNumber__c input {width:90%;} |
| | | .buttonSave{ |
| | | display: none; |
| | | } |
| | | </style> |
| | | <script type="text/javascript"> |
| | | var heightAjustment = 120; |
| | |
| | | <apex:inputHidden value="{!done_flg}" id="done_flg"/> |
| | | <apex:outputPanel id="pageallPanel"> |
| | | <apex:pageBlock id="searchBlock"> |
| | | <table class="headTable" style="width:100%"> |
| | | <table class="headTable" style="width:100%;margin-bottom:10px;"> |
| | | <tr> |
| | | <td> |
| | | <span style="font-weight:bold;"> |
| | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <table class="searchTable" style="width:100%"> |
| | | <table class="searchTable" style="width:100%;margin-bottom:10px;"> |
| | | <tr> |
| | | <td> |
| | | <span> |
| | |
| | | </td> |
| | | <td> |
| | | <span style="margin-left: 50px;float: right;"> |
| | | <input class="buttonSave" type="button" style="width:0;height:0;" /> |
| | | <apex:commandButton style="" value="数据确认" action="{!defineSaveRecord}" onclick="blockme();" reRender="allForm" oncomplete="unblockUI();checkMessage();"/> |
| | | <apex:commandButton style="" value="保存" action="{!saveRecord}" onclick="blockme();" reRender="allForm" oncomplete="unblockUI();checkMessage();"/> |
| | | <apex:commandButton value="返回" onclick="closeCurrentPage();"/> |
| | |
| | | {!nowPage}/{!maxPage} |
| | | <apex:commandButton reRender="allForm" onclick="blockme();" disabled="{!canNext = false}" action="{!nextPage}" value="next" oncomplete="unblockUI();"/> |
| | | </div> |
| | | <div id="out_Div_L" style="width: 100%;"> |
| | | <div id="out_Div_L" style="width: 100%;overflow: auto;"> |
| | | <table class="list" style="border-bottom-width: 0px; font-size:11px; border-spacing:0;" border="" id="tableHeader_L"> |
| | | <tr class="headerRow" height="30px"> |
| | | <td class="col_chk" align="center"> |
| | |
| | | position:absolute; |
| | | right:10px; |
| | | } |
| | | .disableInput { |
| | | input.disableInput[type="text"] { |
| | | pointer-events: none; |
| | | background-color: #ccc; |
| | | background-color: #8c8c8c5b; |
| | | } |
| | | .dateFormat { |
| | | display: none; |
| | |
| | | /* width:500px; */ |
| | | /* lightning改造 zyh end */ |
| | | } |
| | | .titleCheckbox[type="checkbox"]{ |
| | | margin-bottom: 4px; |
| | | margin-right: 0; |
| | | margin-left: 10px; |
| | | } |
| | | </style> |
| | | |
| | | <div id="myModal" class="modal"> |
| | |
| | | </apex:outputPanel> |
| | | <label style="font-size: 14px;font-weight: bold;" > |
| | | <apex:outputPanel rendered="{!esdInfo.rnd.ReceivingNoteSummary__r.Package_Status__c=='OK'}"> |
| | | <apex:inputCheckbox id="checkedRN" value="{!esdInfo.isChecked}" html-data-rnId="{!esdInfo.rnd.ReceivingNoteSummary__c}" html-data-fsId="{!esdInfo.rnd.Fixture_Set_Detail__r.Fixture_Set__c}"/> |
| | | <apex:inputCheckbox id="checkedRN" styleClass="titleCheckbox" value="{!esdInfo.isChecked}" html-data-rnId="{!esdInfo.rnd.ReceivingNoteSummary__c}" html-data-fsId="{!esdInfo.rnd.Fixture_Set_Detail__r.Fixture_Set__c}"/> |
| | | </apex:outputPanel> |
| | | {!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c} |
| | | {!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c} |
| | | <!-- {!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c} --> |
| | | </label> |
| | | <apex:variable var="SetName" value="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" /> |
| | | <apex:variable var="indexloop" value="{!indexloop+1}"/> |
| | |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.instascan)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.EquipmentSetShippmentReceivedcss)}"/> |
| | | <!-- <apex:stylesheet value="{!URLFOR($Resource.EquipmentSetShippmentReceivedcss)}"/> --> |
| | | <apex:stylesheet value="{!URLFOR($Resource.jquery_confirm, 'jquery-confirm.min.css')}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery_confirm, 'jquery-confirm.min.js')}"/> |
| | | <script type="text/javascript"> |
| | |
| | | |
| | | </script> |
| | | <style type="text/css"> |
| | | .detail { |
| | | margin-left:5px; |
| | | width:310px; |
| | | } |
| | | |
| | | .menu { |
| | | padding:0px; |
| | | border-left:1px solid #D1D1D1; |
| | | border-right:1px solid #D1D1D1; |
| | | } |
| | | |
| | | .menu h2{ |
| | | margin:0; |
| | | padding:0; |
| | | font-size:14px; |
| | | } |
| | | |
| | | .menu h2 div { |
| | | width: 308px; |
| | | text-align: left; |
| | | margin: 0; |
| | | background:#DCDCDC; |
| | | } |
| | | |
| | | .menu ul{ |
| | | margin:0; |
| | | padding:1px; |
| | | list-style: none; |
| | | border-top:1px solid #ddd; |
| | | } |
| | | |
| | | .menu li { |
| | | padding:0; |
| | | font-size:14px; |
| | | line-height:1.0; |
| | | height:23px; |
| | | clear:both; |
| | | /*border-bottom: 1px dotted #999;*/ |
| | | } |
| | | |
| | | .menu li span { |
| | | width: 140px; |
| | | text-align: right; |
| | | float: left; |
| | | margin: 5px 0px 0px 0px; |
| | | } |
| | | |
| | | .menu li span span{ |
| | | text-align: left; |
| | | margin-left: 3px; |
| | | margin-top: 0px; |
| | | } |
| | | |
| | | .commandbutton { |
| | | font-size: 13px !important; |
| | | } |
| | | |
| | | .tabsize { |
| | | font-size: 14px !important; |
| | | } |
| | | |
| | | .detailtab { |
| | | font-size: 14px; |
| | | margin-top: 0; |
| | | } |
| | | |
| | | .detailhander { |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .deliveryslip { |
| | | font-size: 15px; |
| | | } |
| | | |
| | | .modal { |
| | | display:none; |
| | | position: fixed; /* Stay in place */ |
| | | z-index: 10; /* Sit on top */ |
| | | left: 0; |
| | | top: 0; |
| | | width: 100%; /* Full width */ |
| | | height: 100%; /* Full height */ |
| | | overflow: auto; /* Enable scroll if needed */ |
| | | background-color: rgb(0,0,0); /* Fallback color */ |
| | | background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ |
| | | } |
| | | |
| | | /* Modal Content/Box */ |
| | | .modal-content { |
| | | background-color: #fefefe; |
| | | margin-left: 6px; |
| | | margin-top: 100px; |
| | | padding: 20px; |
| | | border: 1px solid #888; |
| | | width: 265px; /* Could be more or less, depending on screen size */ |
| | | } |
| | | |
| | | .freezehander { |
| | | position: fixed; |
| | | top: 0px; |
| | | background-color: |
| | | white; |
| | | width: 320px; |
| | | z-index: 1; |
| | | } |
| | | |
| | | .menu div.m_title{ |
| | | border-top-left-radius:10px; |
| | | border-top-right-radius:10px; |
| | | text-align: left; |
| | | margin: 0; |
| | | /* lightning改造 zyh start */ |
| | | /* padding: 1%; */ |
| | | /* width: 98%; */ |
| | | /* background:#DCDCDC; */ |
| | | background:#95aee5; |
| | | padding-left: 0.75rem; |
| | | /* lightning改造 zyh end */ |
| | | padding: 1%; |
| | | width: 100%; |
| | | background:#DCDCDC; |
| | | position: relative; |
| | | } |
| | | .checkintitle{ |
| | |
| | | } |
| | | #Step_tab li { |
| | | position: relative; |
| | | /* lightning改造 zyh start */ |
| | | /* width: 20%; */ |
| | | width: 50%; |
| | | /* lightning改造 zyh end */ |
| | | width: 20%; |
| | | float: left; |
| | | margin: 0; |
| | | padding: 0; |
| | | text-align: center; |
| | | cursor: pointer; |
| | | /* lightning改造 zyh start */ |
| | | /* height: 25px; */ |
| | | height: 30px; |
| | | line-height: 30px; |
| | | /* lightning改造 zyh end */ |
| | | height: 25px; |
| | | } |
| | | #Step_tab li span { |
| | | margin: 0; |
| | |
| | | line-height: 1; |
| | | } |
| | | div.detail { |
| | | /* lightning改造 zyh start */ |
| | | /* margin-left: 5px; */ |
| | | /* width: 400px; */ |
| | | /* lightning改造 zyh start */ |
| | | margin-left: 5px; |
| | | width: 400px; |
| | | } |
| | | #Step_tab li.selected { |
| | | background: #3b5998; |
| | |
| | | } |
| | | div.menu{ |
| | | margin-bottom: 20px; |
| | | /* lightning改造 zyh start */ |
| | | /* width: 490px; */ |
| | | /* lightning改造 zyh end */ |
| | | width: 490px; |
| | | } |
| | | |
| | | hr { |
| | |
| | | .menu{ |
| | | border:1px solid #a1a1a1; |
| | | border-radius:10px; |
| | | /* lightning改造 zyh start */ |
| | | /* width: 400px; */ |
| | | /* lightning改造 zyh end */ |
| | | width: 400px; |
| | | } |
| | | .menu li .fieldname { |
| | | width: 30%; |
| | | /* text-align: right; */ |
| | | text-align: left; |
| | | /* float: left; */ |
| | | width: 35%; |
| | | text-align: right; |
| | | float: left; |
| | | } |
| | | .menu li .fieldvalue{ |
| | | width: 45%; |
| | | width: 45%; |
| | | text-align: left; |
| | | margin-left: 10px; |
| | | |
| | | } |
| | | .menu li { |
| | | vertical-align: middle; |
| | | margin: 5px 0; |
| | | margin: 15px 0; |
| | | } |
| | | .commandbutton{ |
| | | width: 100px !important; |
| | | margin-left: 20px !important; |
| | | } |
| | | div.freezehander{ |
| | | /* lightning改造 zyh start */ |
| | | /* width:500px; */ |
| | | /* lightning改造 zyh end */ |
| | | width:500px; |
| | | } |
| | | .checkBox1{ |
| | | margin-bottom: 4px; |
| | | } |
| | | </style> |
| | | |
| | |
| | | |
| | | <apex:outputPanel layout="none" rendered="{!IF(SetName=esdInfo.rnd.ReceivingNoteSummary__r.Id, false, true)}"> |
| | | <hr/> |
| | | <apex:inputCheckbox id="summaryCheck" html-data-sumId="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" value="{!esdInfo.isChecked}"/><h3 style="padding: 5px;" class="detailtab">{!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c}:{!esdInfo.rnd.ReceivingNoteSummary__r.Fixture_Set__r.Name}<br/> 到货日期: <apex:outputtext value="{0, date, yyyy/MM/dd}"><apex:param value="{!esdInfo.rnd.ReceivingNoteSummary__r.Received_Confirm_Date__c}" /></apex:outputtext> 汇总结果: {!esdInfo.rnd.ReceivingNoteSummary__r.Inspection_result_F__c}</h3> |
| | | <h3 style="padding: 5px;" class="detailtab"><apex:inputCheckbox id="summaryCheck" styleClass="checkBox1" html-data-sumId="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" value="{!esdInfo.isChecked}"/>{!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c}:{!esdInfo.rnd.ReceivingNoteSummary__r.Fixture_Set__r.Name}<br/> 到货日期: <apex:outputtext value="{0, date, yyyy/MM/dd}"><apex:param value="{!esdInfo.rnd.ReceivingNoteSummary__r.Received_Confirm_Date__c}" /></apex:outputtext> 汇总结果: {!esdInfo.rnd.ReceivingNoteSummary__r.Inspection_result_F__c}</h3> |
| | | <apex:variable var="SetName" value="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" /> |
| | | </apex:outputPanel> |
| | | |
| | | <apex:outputPanel layout="none" rendered="{!IF(indexloop == 1, true, false)}" > |
| | | <!-- <apex:inputCheckbox id="summaryCheckS" html-data-sumId="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" value="{!esdInfo.isChecked}"/><h3 style="padding: 5px;" class="detailtab">{!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c}:{!esdInfo.rnd.ReceivingNoteSummary__r.Fixture_Set__r.Name}<br/> 到货日期: <apex:outputtext value="{0, date, yyyy/MM/dd}"><apex:param value="{!esdInfo.rnd.ReceivingNoteSummary__r.Received_Confirm_Date__c}" /></apex:outputtext> 汇总结果: {!esdInfo.rnd.ReceivingNoteSummary__r.Inspection_result_F__c}</h3> --> |
| | | <apex:inputCheckbox id="summaryCheckS" html-data-sumId="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" value="{!esdInfo.isChecked}"/><span style="padding: 5px; font-weight: bold;" class="detailtab">{!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c}:{!esdInfo.rnd.ReceivingNoteSummary__r.Fixture_Set__r.Name}<br/> 到货日期: <apex:outputtext value="{0, date, yyyy/MM/dd}"><apex:param value="{!esdInfo.rnd.ReceivingNoteSummary__r.Received_Confirm_Date__c}" /></apex:outputtext> 汇总结果: {!esdInfo.rnd.ReceivingNoteSummary__r.Inspection_result_F__c}</span> |
| | | <h3 style="padding: 5px;" class="detailtab"><apex:inputCheckbox id="summaryCheckS" styleClass="checkBox1" html-data-sumId="{!esdInfo.rnd.ReceivingNoteSummary__r.Id}" value="{!esdInfo.isChecked}"/>{!esdInfo.rnd.ReceivingNoteSummary__r.ReceivingNoteSummaryNo__c}:{!esdInfo.rnd.ReceivingNoteSummary__r.Fixture_Set__r.Name}<br/> 到货日期: <apex:outputtext value="{0, date, yyyy/MM/dd}"><apex:param value="{!esdInfo.rnd.ReceivingNoteSummary__r.Received_Confirm_Date__c}" /></apex:outputtext> 汇总结果: {!esdInfo.rnd.ReceivingNoteSummary__r.Inspection_result_F__c}</h3> |
| | | </apex:outputPanel> |
| | | |
| | | <div class="menu"> |
| | |
| | | userAgent = window.navigator.userAgent.toLowerCase(), |
| | | safari = /safari/.test( userAgent ), |
| | | ios = /iphone|ipod|ipad/.test( userAgent ), |
| | | ver = (navigator.userAgent).match(/OS (\d)?\d_\d(_\d)?/i)[0].split('_')[0].replace("OS ",""); |
| | | ver = ''; |
| | | if (ios) { |
| | | ver = (navigator.userAgent).match(/OS (\d)?\d_\d(_\d)?/i)[0].split('_')[0].replace("OS ",""); |
| | | } |
| | | let scanner = new Instascan.Scanner({ video: document.getElementById('preview'), scanPeriod: 5 ,mirror: false}); |
| | | scanner.addListener('scan', function (content) { |
| | | filljsQR(content); |
| | |
| | | table.list .col_ReceivingNotePDF_LINK__c {width:100px;} |
| | | table.list .col_RN_Status__c {width: 100px;} |
| | | table.list .col_ContactPerson__c {width: 100px;} |
| | | |
| | | body .bPageBlock .detailList .labelCol label{line-height: 24px;} |
| | | body .bPageBlock .detailList .dataCol{ |
| | | width: 8%; |
| | | } |
| | | </style> |
| | | <apex:form id="allForm"> |
| | | <!-- <apex:actionFunction name="saveAndSearch" action="{!save}" rerender="allForm,checEventFrame" oncomplete="unblockUI();"> --> |
| | |
| | | <!-- 合同编码 --> |
| | | <td style="padding: 0;box-sizing: border-box;text-align:left;font-size:13px;width:13%;" colspan="1">合同编码:</td> |
| | | <td style="padding: 0;box-sizing: border-box;text-align:left;font-size:13px;width:20%;" colspan="1">{!receivingNoteHeadShow.Sales_order_number__c}</td> |
| | | <td rowspan="6" style="box-sizing: border-box;text-align:right" colspan="1"><img style="width: 90px; height: 90px;padding: 0px;margin-top: 0mm;" src="{!'/servlet/servlet.FileDownload?file=' + receivingNoteHeadShow.QRId__c}" /></td> |
| | | <td rowspan="6" style="box-sizing: border-box;text-align:right" colspan="1"><img style="width: 90px; height: 90px;padding: 0px;margin-top: 0mm;" src="{!'/sfc/servlet.shepherd/version/download/' + receivingNoteHeadShow.QRId__c}" /></td> |
| | | </tr> |
| | | <tr> |
| | | <!-- 订单编码 --> |
| | |
| | | td.newed { |
| | | color: #f00 !important; |
| | | } |
| | | .input90{ |
| | | width: 90%; |
| | | } |
| | | </style> |
| | | <script type="text/javascript"> |
| | | var heightAjustment = 120; |
| | |
| | | <apex:repeat value="{!inputFieldList}" var="info" id="inputField"> |
| | | <td class="dataCellBorder1 intf {!info.value} col_{!info.value} {!IF(var.rnd['Change_Point__c']=='删除','deleted',IF(var.rnd['Change_Point__c']!=NULL,'newed',''))}" align="center"> |
| | | <apex:outputPanel rendered="{!(contains(var.canChangeField, info.value) || var.canChangeField == '') && !contains(var.canNotChangeField, info.value) && pageB.fixMode && var.canChange && var.rnd['Change_Point__c']!='删除'}"> |
| | | <apex:inputField value="{!var.rnd[info.value]}" onchange="setChangeFlg('{!var.lineNo}')"/> |
| | | <apex:inputField value="{!var.rnd[info.value]}" onchange="setChangeFlg('{!var.lineNo}')" styleClass="input90"/> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel rendered="{!NOT((contains(var.canChangeField, info.value) || var.canChangeField == '') && !contains(var.canNotChangeField, info.value) && pageB.fixMode && var.canChange && var.rnd['Change_Point__c']!='删除')}"> |
| | | <apex:outputField value="{!var.rnd[info.value]}"/> |
| | |
| | | table.list .col_Fixture_Model_No_F__c {width:100px;} |
| | | table.list .col_Fixture_Model_Name_F__c {width:100px;} |
| | | table.list .col_Fixture_Arrival_Process__c {width:100px;} |
| | | table.list .col_Fixture_Arrival_Product__c {width:100px;} |
| | | table.list .col_Fixture_Arrival_Product__c {width:200px;} |
| | | table.list .col_Internal_Asset_number_key__c {width:100px;} |
| | | table.list .col_SerialNumber_Origin__c {width:100px;} |
| | | table.list .col_SerialNumber__c {width:100px;} |
| | |
| | | table.list .col_Packing_list_Fixture_F__c {width:100px;} |
| | | table.list .col_RND_Status__c {width:100px;} |
| | | table.list .col_Asset_loaner_category_F__c {width:100px;} |
| | | table.list .col_EquipmentSet_Managment_Code__c {width:200px;} |
| | | table.list .col_EquipmentSet_Managment_Code__c {width:100px;} |
| | | table.list .col_Salesdepartment__c {width:100px;} |
| | | table.list .col_SalesProvince__c {width:100px;} |
| | | table.list .col_Product_category__c {width:100px;} |
| | |
| | | result = sforce.connection.update([es]); |
| | | // 存在qr时,绑到清单上 |
| | | } else { |
| | | |
| | | var records = record.getArray("records"); |
| | | var version = new sforce.SObject("ContentVersion"); |
| | | version = sforce.connection.query("select Id,ContentDocumentId from ContentVersion where ContentDocumentId = \'" + records[0].id + "\'"); |
| | | version = version.getArray("records"); |
| | | |
| | | var es = new sforce.SObject("ReceivingNote__c"); |
| | | es.Id = "{!pageB.rn.Id}"; |
| | | es.QRId__c = records[0].Id; |
| | | es.QRId__c = versionResult[0].id; |
| | | result = sforce.connection.update([es]); |
| | | |
| | | |
| | | // var records = record.getArray("records"); |
| | | // var es = new sforce.SObject("ReceivingNote__c"); |
| | | // es.Id = "{!pageB.rn.Id}"; |
| | | // es.QRId__c = records[0].Id; |
| | | // result = sforce.connection.update([es]); |
| | | } |
| | | |
| | | } |
| | |
| | | </apex:outputPanel> |
| | | |
| | | <!-- <apex:inputField value="{!var.rnd[info.value]}" onchange="setChangeFlg('{!var.lineNo}')" rendered="{!info.value != 'Asset_loaner_category__c' || var.haveAsset }" style="{!IF('Fixture_Arrival_Product__c' == info.value, 'width:70%;', '')}"/> --> |
| | | <apex:inputField value="{!var.rnd[info.value]}" onchange="setChangeFlg('{!var.lineNo}')" rendered="{!(info.value != 'Asset_loaner_category__c' || var.haveAsset) && ((var.rnd['Asset_loaner_category_F__c'] =='固定资产' && info.value != 'unknow_serial_NO_product__c' && info.value != 'Manage_type__c') || var.rnd['Asset_loaner_category_F__c'] !='固定资产')}" style="{!IF('Fixture_Arrival_Product__c' == info.value, 'width:70%;', '')}"/> |
| | | <apex:inputField value="{!var.rnd[info.value]}" onchange="setChangeFlg('{!var.lineNo}')" rendered="{!(info.value != 'Asset_loaner_category__c' || var.haveAsset) && ((var.rnd['Asset_loaner_category_F__c'] =='固定资产' && info.value != 'unknow_serial_NO_product__c' && info.value != 'Manage_type__c') || var.rnd['Asset_loaner_category_F__c'] !='固定资产')}" style="{!IF('Fixture_Arrival_Product__c' == info.value || 'EquipmentSet_Managment_Code__c' == info.value, 'width:90%;', '')}"/> |
| | | <!-- 20210804 ljh add id --> |
| | | <!-- update by rentx 20210727 end 新品收货_集中备品_建立数据逻辑限制 --> |
| | | </apex:outputPanel> |