高章伟
2022-03-18 4bfe21c4b5ddc089ae5a95f4b10f6cff148b690d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<apex:page controller="AssetMaintainDetailController" title="维护明细画面" action="{!init}" showHeader="false" sidebar="false" id="allPage">
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/>
    <apex:form id="allForm">
        <apex:actionFunction name="searchOpp" action="{!searchOpp}" rerender="allForm" oncomplete="windowResize();unblockUI();"/>
        <apex:pageBlock id="searchBlock" title="维护明细画面">
            <apex:pageBlockSection columns="2">
                <apex:outputField value="{!parentObj.Name}"/>
                <apex:outputField value="{!parentObj.MaintainType__c}"/>
                <apex:outputField value="{!parentObj.Submit_Time__c}" rendered="{!parentObj.MaintainType__c=='实物报废'}"/>
                <apex:outputField value="{!parentObj.Date__c}" rendered="{!parentObj.MaintainType__c!='实物报废'}"/>
                <apex:outputField value="{!parentObj.Status__c}"/>
                <apex:outputField value="{!parentObj.Submit_Person__c}" rendered="{!parentObj.MaintainType__c=='实物报废'}"/>
            </apex:pageBlockSection>
            <apex:pageMessages />
            <table>
                <tr>
                    <td>关键字</td>
                    <td>
                        <apex:inputText value="{!keyword}"/>
                        <apex:commandButton value="检索" onclick="blockme();searchOpp(); return false;"/>
                    </td>
                    <td>备品配套明细型号</td>
                    <td><apex:inputText value="{!model}"/></td>
                    <td>固定资产编号</td>
                    <td><apex:inputField value="{!ass.Internal_Asset_number__c}"/></td>
                    <td>机身编码</td>
                    <td><apex:inputField value="{!ass.SerialNumber}"/></td>
                    <td>货架号</td>
                    <td><apex:inputField value="{!ass.WH_location__c}"/></td>
                </tr>
                <tr>
                    <td>备品存放地</td>
                    <td><apex:inputField value="{!ass.Internal_asset_location__c}"/></td>
                    <td>主体/附属品</td>
                    <td>
                        <apex:selectList value="{!mainOrAccessory}" size="1">
                            <apex:selectOptions value="{!mainOrAccessoryOptions}"/>
                        </apex:selectList>
                    </td>
                    <td>是否固定资产</td>
                    <td>
                        <apex:selectList value="{!isInternalAsset}" size="1">
                            <apex:selectOptions value="{!isInternalAssetOptions}"/>
                        </apex:selectList>
                    </td>
                    <td>产品分类(GI/SP)</td>
                    <td><apex:inputField value="{!ass.Product_category__c}"/></td>
                    <td>备品分类</td>
                    <td><apex:inputField value="{!ass.Equipment_Type__c}"/></td>
                    <td>管理种类</td>
                    <td><apex:inputField value="{!ass.Manage_type__c}"/></td>
                </tr>
            </table>
        </apex:pageBlock>
        <c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="false" isRadio="false"/>
   </apex:form>
</apex:page>