FUYU
2023-05-19 559771a80cf779dc13a84ecd2f178e6ca5a8353a
force-app/main/default/pages/LostReportEdit.page
@@ -2,8 +2,8 @@
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<apex:includeScript value="/soap/ajax/46.0/connection.js"/>
<apex:includeScript value="/soap/ajax/46.0/apex.js"/>
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
   <style>
        .dateFormat  {
            display: none;
@@ -269,7 +269,11 @@
                <div style="margin-top: 1%" class="startInventory">
                    <apex:commandButton styleClass="hiddenPrint" value="返回" rerender="allForm" onclick="returnjs();return false;"/>
                    <!-- <apex:commandButton value="填写遗失报告书" rerender="allForm" onclick="inventory_lost_report();return false;" /> -->
                    <apex:commandButton styleClass="hiddenPrint" value="保存" id="saveData" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false }" style="float: right;" rerender="allForm" oncomplete="unblockUI();" onclick="blockme()" action="{!saveLR}" />
                    <!-- 20211215 ljh SFDC-C933NJ update start -->
                    <!-- <apex:commandButton styleClass="hiddenPrint" value="保存" id="saveData" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false }" style="float: right;" rerender="allForm" oncomplete="unblockUI();" onclick="blockme()" action="{!saveLR}" /> -->
                    <apex:commandButton styleClass="hiddenPrint" value="保存" id="saveData" rendered="{! (pBean.islock == false && pBean.hasApprovedFlag == false)|| pBean.bzCanEdit == true}" style="float: right;" rerender="allForm" oncomplete="unblockUI();" onclick="blockme()" action="{!saveLR}" />
                    <apex:outputText rendered="{!pBean.bzCanEdit == true}" style="float: right;height: 30px;line-height: 30px;color: red;" value="【是否罚则对象】必须填写保存后才能审批"/>
                    <!-- 20211215 ljh SFDC-C933NJ update end -->
                    <apex:commandButton styleClass="hiddenPrint" value="保存并提交审批" id="saveData1" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false}" style="float: right;" rerender="allForm, process" oncomplete="unblockUI();" onclick="saveLRjs('1'); return false;" />
                    <!-- <apex:commandButton value="保存" id="saveData" style="margin-left: 25%;" rerender="allForm" oncomplete="unblockUI();" action="{!saveData}" onclick="unvalid()" /> -->
                    <!-- <apex:commandButton value="相关人员确认" rendered="{!IF(ihObj.InventoryCheck_PIC__c!=$User.Id, false, true)}" rerender="allForm" onclick="relevant_confirm();return false;" /> -->
@@ -435,17 +439,25 @@
                    </tr>
                </table>
                <table class="inventoryReportTable" border="2" style="width: 100%;">
                    <!-- 20211213 ljh SFDC-C933NJ update -->
                    <!-- <col style="width: 20%;" />
                    <col style="width: 20%;" />
                    <col style="width: 20%;" />
                    <col style="width: 20%;" />
                    <col style="width: 20%;" />
                    <col style="width: 20%;" />
                    <col style="width: 20%;" /> -->
                    <tr>
                        <td >产品型号</td>
                        <!-- <td >产品型号</td>
                        <td >机身号</td>
                        <td >固定资产编号(Key)</td>
                        <td >资本化日期</td>
                        <td >残值(元)</td>
                        <td >残值(元)</td> -->
                        <td style="width: {!IF(pBean.isShowPunish == true,'18%;','20%;')}">产品型号</td>
                        <td style="width: {!IF(pBean.isShowPunish == true,'15%;','20%;')}">机身号</td>
                        <td style="width: {!IF(pBean.isShowPunish == true,'17%;','20%;')}">固定资产编号(Key)</td>
                        <td style="width: {!IF(pBean.isShowPunish == true,'16%;','20%;')}">资本化日期</td>
                        <td style="width: {!IF(pBean.isShowPunish == true,'18%;','20%;')}">残值(元)</td>
                        <td style="width: 16%;display: {!IF(pBean.isShowPunish == true,'','none;')}" >是否罚则对象</td>
                    <!-- 20211213 ljh SFDC-C933NJ end -->
                    </tr>
                    <apex:repeat value="{!pBean.rowList}" var="row">
                        <tr>
@@ -466,6 +478,12 @@
                                <apex:inputField required="{!DESC_RW['Asset_Value__c'] == 'wm'}" rendered="{!DESC_RW['Asset_Value__c'] == 'w' || DESC_RW['Asset_Value__c'] == 'wm'}" value="{!row.lrd.Asset_Value__c}"/>
                                <apex:outputText rendered="{!DESC_RW['Asset_Value__c'] == 'r'}" value="{!row.lrd.Asset_Value__c}"/>
                            </td>
                            <!-- 20211213 ljh SFDC-C933NJ add start-->
                            <td style="display: {!IF(pBean.isShowPunish == true,'','none;')}">
                                <apex:inputField required="{!DESC_RW['IsPunishObj__c'] == 'wm'}" rendered="{!DESC_RW['IsPunishObj__c'] == 'w' || DESC_RW['IsPunishObj__c'] == 'wm'}" value="{!row.lrd.IsPunishObj__c}"/>
                                <apex:outputText rendered="{!DESC_RW['IsPunishObj__c'] == 'r'}" value="{!row.lrd.IsPunishObj__c}"/>
                            </td>
                            <!-- 20211213 ljh SFDC-C933NJ add end-->
                        </tr>
                    </apex:repeat>
                </table>
@@ -652,9 +670,10 @@
                                </apex:outputText>
                            </td>
                    </tr>
                <!-- 副CL4 高级总监 -->
                <!-- 副CL4 高级总监-->
                    <tr>
                            <td class="topb2 leftb2 rightb2">副CL4 高级总监:</td>
                            <!-- 20220414 ljh 副CL4 高级总监->CL4 高级总监  -->
                            <td class="topb2 leftb2 rightb2">CL4 高级总监:</td>
                        </tr>
                        <tr>
                            <td class="leftb2 rightb2">
@@ -686,7 +705,7 @@
                                </apex:outputText>
                            </td>
                    </tr>
                <!-- CL3 副总裁 -->
                <!-- CL3 副总裁-->
                    <tr>
                            <td class="topb2 leftb2 rightb2">CL3 副总裁:</td>
                        </tr>
@@ -824,7 +843,8 @@
                        </td>
                    </tr>
                    <tr>
                        <td class="topb leftb2 rightb2">副CL4 高级总监: </td>
                    <!-- 20220414 ljh 副CL4 高级总监->CL4 高级总监  -->
                        <td class="topb leftb2 rightb2">CL4 高级总监: </td>
                    </tr>
                    <tr>
                        <td class="leftb2 rightb2">