19626
2023-10-09 25f056535350a0b80bad50d2cc45311998e5d1cd
force-app/main/default/pages/AssetMaintain.page
@@ -489,10 +489,13 @@
                            <td class="labelStyle">货架号</td>
                            <td class="inputTextStyle"><apex:inputText value="{!searchB.wh_location}" id="shelfNumId" /></td>
                            <td class="blankStyle"></td>
                            <td class="labelStyle">消耗品有效期至</td>
                            <td class="labelStyle">机身号</td>
                            <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></td>
                            <!-- 20230928 ljh 和机身号换位置 -->
                            <!-- <td class="labelStyle">消耗品有效期至</td>
                            <td class="inputTextStyle">
                                <apex:inputText id="consumable_Guaranteen_endStr" value="{!searchB.consumable_Guaranteen_endStr}" size="12" onfocus="DatePicker.pickDate(true, '{!$Component.consumable_Guaranteen_endStr}', false)" />
                            </td>
                            </td> -->
                        </tr>
                        <tr>
                            <td class="labelStyle">备品管理编码</td>  <!-- シリアル番号 -->
@@ -507,8 +510,12 @@
                                <apex:inputText value="{!searchB.internal_Asset_number}" id="fixedAssetNumId2" rendered="{!!internalAssetNumberEditableFlag}" />
                            </td>
                            <td class="blankStyle"></td>
                            <td class="labelStyle">机身号</td>
                            <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></td>
                            <!-- <td class="labelStyle">机身号</td>
                            <td class="inputTextStyle"><apex:inputText value="{!searchB.serialNumber}" id="serialNoId" /></td> -->
                            <td class="labelStyle">消耗品有效期至</td>
                            <td class="inputTextStyle">
                                <apex:inputText id="consumable_Guaranteen_endStr" value="{!searchB.consumable_Guaranteen_endStr}" size="12" onfocus="DatePicker.pickDate(true, '{!$Component.consumable_Guaranteen_endStr}', false)" />
                            </td>
                            <td class="blankStyle"></td>
                            <td class="labelStyle">分公司号</td>
                            <td class="inputTextStyle">
@@ -626,9 +633,9 @@
                <apex:outputField styleClass="textStyle" value="{!amHeader.Status__c}"/>
                <apex:outputField styleClass="textStyle" value="{!amHeader.Submit_Person__c}" rendered="{! amHeader.MaintainType__c=='实物报废'|| ISBLANK(amHeader.MaintainType__c) }"/>
            </apex:pageBlockSection>
            <apex:pageBlockSection columns="1" rendered="{! amHeader.MaintainType__c=='实物报废'|| ISBLANK(amHeader.MaintainType__c) }">
                <apex:pageBlockSection columns="2" rendered="{! editmode}">
                    <apex:pageBlockSectionItem >
            <apex:pageBlockSection id="SalesSectionOut1" columns="1" rendered="{! amHeader.MaintainType__c=='实物报废'|| ISBLANK(amHeader.MaintainType__c) }">
                <apex:pageBlockSection id="SalesSectionIn1" columns="2" rendered="{! editmode}">
                    <apex:pageBlockSectionItem id="SalesSectionItem1">
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_User1__c.Label}"/>
                        <apex:inputField id="SalesName1" value="{!amHeader.CC_User1__c}"/>
                    </apex:pageBlockSectionItem>
@@ -636,7 +643,7 @@
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_Email1__c.Label}"/>
                        <apex:inputField value="{!amHeader.CC_Email1__c}"/>
                    </apex:pageBlockSectionItem>
                    <apex:pageBlockSectionItem >
                    <apex:pageBlockSectionItem id="SalesSectionItem2">
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_User2__c.Label}"/>
                        <apex:inputField id="SalesName2" value="{!amHeader.CC_User2__c}"/>
                    </apex:pageBlockSectionItem>
@@ -644,7 +651,7 @@
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_Email2__c.Label}"/>
                        <apex:inputField value="{!amHeader.CC_Email2__c}"/>
                    </apex:pageBlockSectionItem>
                    <apex:pageBlockSectionItem >
                    <apex:pageBlockSectionItem id="SalesSectionItem3">
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_User3__c.Label}"/>
                        <apex:inputField id="SalesName3" value="{!amHeader.CC_User3__c}"/>
                    </apex:pageBlockSectionItem>
@@ -652,12 +659,12 @@
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_Email3__c.Label}"/>
                        <apex:inputField value="{!amHeader.CC_Email3__c}"/>
                    </apex:pageBlockSectionItem>
                    <apex:pageBlockSectionItem >
                    <apex:pageBlockSectionItem id="SalesSectionItem4">
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_User4__c.Label}"/>
                        <apex:inputField id="SalesName4" value="{!amHeader.CC_User4__c}"/>
                    </apex:pageBlockSectionItem>
                    <apex:pageBlockSectionItem />
                    <apex:pageBlockSectionItem >
                    <apex:pageBlockSectionItem id="SalesSectionItem5">
                        <apex:outputLabel value="{!$ObjectType.AssetMaintainHeader__c.fields.CC_User5__c.Label}"/>
                        <apex:inputField id="SalesName5" value="{!amHeader.CC_User5__c}"/>
                    </apex:pageBlockSectionItem>
@@ -707,7 +714,7 @@
                       //原apex:inputField的id值,需要在页面上获取 
                       inputFieldId : 'allPage:allForm:pageBlockButton1:j_id105:j_id106:j_id107:SalesName1',
                       inputFieldId : 'allPage:allForm:pageBlockButton1:SalesSectionOut1:SalesSectionIn1:SalesSectionItem1:SalesName1',
                       //查找字段所在对象 
@@ -731,7 +738,7 @@
                       //原apex:inputField的id值,需要在页面上获取 
                       inputFieldId : 'allPage:allForm:pageBlockButton1:j_id105:j_id106:j_id112:SalesName2',
                       inputFieldId : 'allPage:allForm:pageBlockButton1:SalesSectionOut1:SalesSectionIn1:SalesSectionItem2:SalesName2',
                       //查找字段所在对象 
@@ -753,7 +760,7 @@
                   //原apex:inputField的id值,需要在页面上获取 
                   inputFieldId : 'allPage:allForm:pageBlockButton1:j_id105:j_id106:j_id117:SalesName3',
                   inputFieldId : 'allPage:allForm:pageBlockButton1:SalesSectionOut1:SalesSectionIn1:SalesSectionItem3:SalesName3',
                   //查找字段所在对象 
@@ -775,7 +782,7 @@
                   //原apex:inputField的id值,需要在页面上获取 
                   inputFieldId : 'allPage:allForm:pageBlockButton1:j_id105:j_id106:j_id122:SalesName4',
                   inputFieldId : 'allPage:allForm:pageBlockButton1:SalesSectionOut1:SalesSectionIn1:SalesSectionItem4:SalesName4',
                   //查找字段所在对象 
@@ -797,7 +804,7 @@
                   //原apex:inputField的id值,需要在页面上获取 
                   inputFieldId : 'allPage:allForm:pageBlockButton1:j_id105:j_id106:j_id125:SalesName5',
                   inputFieldId : 'allPage:allForm:pageBlockButton1:SalesSectionOut1:SalesSectionIn1:SalesSectionItem5:SalesName5',
                   //查找字段所在对象