From 6187ac258613e78cf56513c6674bfce82b218501 Mon Sep 17 00:00:00 2001
From: 张宇恒 <bxyun0@163.com>
Date: 星期三, 26 七月 2023 17:07:45 +0800
Subject: [PATCH] 备品页面7_26

---
 force-app/main/default/pages/ReceivingNoteStockInRequest.page |  115 +++++++++++++++++++++++++++++++++++++--------------------
 1 files changed, 75 insertions(+), 40 deletions(-)

diff --git a/force-app/main/default/pages/ReceivingNoteStockInRequest.page b/force-app/main/default/pages/ReceivingNoteStockInRequest.page
index 7732e24..29f2dd2 100644
--- a/force-app/main/default/pages/ReceivingNoteStockInRequest.page
+++ b/force-app/main/default/pages/ReceivingNoteStockInRequest.page
@@ -1,10 +1,11 @@
-<apex:page controller="ReceivingNoteStockInRequestController" showHeader="false" action="{!init}" id="allPage">
+<apex:page controller="ReceivingNoteStockInRequestController" showHeader="false" action="{!init}" id="allPage" lightningStylesheets="true">
     <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
     <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
     <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
     <apex:stylesheet value="{!URLFOR($Resource.ReceivingNotePageCss)}"/>
     <apex:includeScript value="{!URLFOR($Resource.ReceivingNotePageJS)}"/>
     <apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}"/>
+    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
     <apex:form id="allForm">
         <style>
             table.headTable td   {
@@ -152,7 +153,7 @@
                             </td>
                         </tr>
                     </table>
-                    <table class="searchTable">
+                    <table class="searchTable" style="margin-bottom: 5px; margin-top: 5px;">
                         <tr>
                             <td>
                                 鏀惰揣鐘舵��:
@@ -189,57 +190,53 @@
 
                     <table class="searchTable" style="width:100%">
                         <tr>
-                            <td>
+                            <td style="padding-top:5px;">
                                 <!-- 鎵�鍦ㄥ湴鍖�(鏈儴) -->
                                 {!$ObjectType.Asset.fields.Salesdepartment__c.label}
-                                <apex:inputField id="appSalesdepartment" value="{!pageB.assetInput.Salesdepartment__c}"/>
+                                <!-- lightning鏀归��   zyh   start -->
+                                <br />
+                                <!-- <apex:inputField id="appSalesdepartment" value="{!pageB.assetInput.Salesdepartment__c}"/> -->
+                                <apex:inputField style="width:180px;" id="appSalesdepartment" value="{!pageB.assetInput.Salesdepartment__c}"/>
+                                <!-- lightning鏀归��   zyh   end -->
                             </td>
-                            <td>
+                            <td style="padding-top:5px;">
                                 <!-- 鎵�鍦ㄥ湴鍖�(鐪�) -->
                                 {!$ObjectType.Asset.fields.SalesProvince__c.label}
-                                <apex:inputField id="appSalesProvince" value="{!pageB.assetInput.SalesProvince__c}"/>
+                                <!-- lightning鏀归��   zyh   start -->
+                                <br />
+                                <!-- <apex:inputField id="appSalesProvince" value="{!pageB.assetInput.SalesProvince__c}"/> -->
+                                <apex:inputField style="width:180px;" id="appSalesProvince" value="{!pageB.assetInput.SalesProvince__c}"/>
+                                <!-- lightning鏀归��   zyh   end -->
                             </td>
-                            <td>
+                            <td style="padding-top:5px;">
                                 <span>
                                     <!-- 浜у搧鍒嗙被(GI/SP) -->
                                     {!$ObjectType.Asset.fields.Product_category__c.label}:
-                                    <apex:inputField id="appProduct_category" value="{!pageB.assetInput.Product_category__c}"/>
+                                    <!-- lightning鏀归��   zyh   start -->
+                                    <br />
+                                    <!-- <apex:inputField id="appProduct_category" value="{!pageB.assetInput.Product_category__c}"/> -->
+                                    <apex:inputField style="width:180px;" id="appProduct_category" value="{!pageB.assetInput.Product_category__c}"/>
+                                    <!-- lightning鏀归��   zyh   end -->
                                 </span>
                             </td>
-                            <td>
+                            <td style="padding-top:5px;">
                                 <span>
                                     <!-- 澶囧搧鍒嗙被 -->
                                     {!$ObjectType.Asset.fields.Equipment_Type__c.label}:
-                                    <apex:inputField id="appEquipment_Type" value="{!pageB.assetInput.Equipment_Type__c}"/>
+                                    <!-- lightning鏀归��   zyh   start -->
+                                    <br />
+                                    <!-- <apex:inputField id="appEquipment_Type" value="{!pageB.assetInput.Equipment_Type__c}"/> -->
+                                    <apex:inputField style="width:180px;" id="appEquipment_Type" value="{!pageB.assetInput.Equipment_Type__c}"/>
+                                    <!-- lightning鏀归��   zyh   end -->
                                 </span>
                             </td>
-                            <td>
-                                <span>
-                                    <!-- 绠$悊绉嶇被 -->
-                                    {!$ObjectType.Asset.fields.Manage_type__c.label}:
-                                    <apex:inputField id="appManage_type" value="{!pageB.assetInput.Manage_type__c}"/>
-                                </span>
-                            </td>
-                            <td>
-                                <span>
-                                    <!-- 鏃犳満韬彿鐮佽澶� -->
-                                    {!$ObjectType.Asset.fields.unknow_serial_NO_product__c.label}:
-                                    <apex:inputField id="appunknow_serial_NO_product" value="{!pageB.assetInput.unknow_serial_NO_product__c}"/>
-                                </span>
-                            </td>
-                            <td>
-                                <span>
-                                    <!-- 澶囧搧鐢ㄩ�旈檮灞炲搧 -->
-                                    {!$ObjectType.Asset.fields.Loaner_accsessary__c.label}:
-                                    <apex:inputField id="appLoaner_accsessary" value="{!pageB.assetInput.Loaner_accsessary__c}"/>
-                                </span>
-                            </td>
-                            <td>
+                            
+                            <td rowspan="2">
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="缂栬緫" onclick="blockme();" action="{!changeFixModel}" reRender="allForm" oncomplete="unblockUI();windowResize();"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="缂栬緫" onclick="blockme();" action="{!changeFixModel}" reRender="allForm" oncomplete="unblockUI();windowResize();"/>
                                 </span>
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="閫傜敤" onclick="applyJs();return false;"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="閫傜敤" onclick="applyJs();return false;"/>
                                     <script type="text/javascript">
                                     // 閫傜敤鎸夐挳
                                     function applyJs() {
@@ -488,19 +485,57 @@
                                     <apex:commandButton value="閫夋嫨閰嶅" action="{!selectRNS}"/>
                                 </span> -->
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="淇濆瓨" action="{!saveRecord}"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="淇濆瓨" action="{!saveRecord}"/>
                                 </span>
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="椹冲洖" action="{!reject}"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="椹冲洖" action="{!reject}"/>
+                                </span>
+                                <!-- lightning鏀归��   zyh   start -->
+                                <br />
+                                <!-- lightning鏀归��   zyh   end -->
+                                <span style="margin-left: 10px;">
+                                    <apex:commandButton style="margin-top: 10px;" value="鍏ュ簱鎸囩ず" action="{!inStockRequest}"/>
                                 </span>
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="鍏ュ簱鎸囩ず" action="{!inStockRequest}"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="鎵撳嵃鏀惰揣娓呭崟" onclick="window.open('/apex/ReceivingNotePDF?rnid={!parId}');return false;"/>
                                 </span>
                                 <span style="margin-left: 10px;">
-                                    <apex:commandButton value="鎵撳嵃鏀惰揣娓呭崟" onclick="window.open('/apex/ReceivingNotePDF?rnid={!parId}');return false;"/>
+                                    <apex:commandButton style="margin-top: 10px;" value="杩斿洖" onclick="window.close();"/>
                                 </span>
-                                <span style="margin-left: 10px;">
-                                    <apex:commandButton value="杩斿洖" onclick="window.close();"/>
+                            </td>
+                        </tr>
+                        <tr>
+                            <td style="padding-top:5px;">
+                                <span>
+                                    <!-- 绠$悊绉嶇被 -->
+                                    {!$ObjectType.Asset.fields.Manage_type__c.label}:
+                                    <!-- lightning鏀归��   zyh   start -->
+                                    <br />
+                                    <!-- <apex:inputField id="appManage_type" value="{!pageB.assetInput.Manage_type__c}"/> -->
+                                    <apex:inputField style="width:180px;" id="appManage_type" value="{!pageB.assetInput.Manage_type__c}"/>
+                                    <!-- lightning鏀归��   zyh   end -->
+                                </span>
+                            </td>
+                            <td style="padding-top:5px;">
+                                <span>
+                                    <!-- 鏃犳満韬彿鐮佽澶� -->
+                                    {!$ObjectType.Asset.fields.unknow_serial_NO_product__c.label}:
+                                    <!-- lightning鏀归��   zyh   start -->
+                                    <br />
+                                    <!-- <apex:inputField id="appunknow_serial_NO_product" value="{!pageB.assetInput.unknow_serial_NO_product__c}"/> -->
+                                    <apex:inputField style="width:180px;" id="appunknow_serial_NO_product" value="{!pageB.assetInput.unknow_serial_NO_product__c}"/>
+                                    <!-- lightning鏀归��   zyh   end -->
+                                </span>
+                            </td>
+                            <td style="padding-top:5px;">
+                                <span>
+                                    <!-- 澶囧搧鐢ㄩ�旈檮灞炲搧 -->
+                                    {!$ObjectType.Asset.fields.Loaner_accsessary__c.label}:
+                                    <!-- lightning鏀归��   zyh   start -->
+                                    <br />
+                                    <!-- <apex:inputField id="appLoaner_accsessary" value="{!pageB.assetInput.Loaner_accsessary__c}"/> -->
+                                    <apex:inputField style="width:180px;" id="appLoaner_accsessary" value="{!pageB.assetInput.Loaner_accsessary__c}"/>
+                                    <!-- lightning鏀归��   zyh   end -->
                                 </span>
                             </td>
                         </tr>

--
Gitblit v1.9.1