Browse Source

优化合同、采购的查看、打印

ouyj 1 month ago
parent
commit
84b5da3317

+ 2 - 2
src/main/webapp/yw/contract/contractFlowCustom/viewContract.jsp

@@ -302,7 +302,7 @@
         </tr>
     </table>
 
-	<div id="secondDiv">
+	<div id="secondDiv" <c:if test="${empty contractPaymentList}">style="display:none;"</c:if>>
         <table id="headTable" class="l-table-edit line" style="width:99%">
             <tr>
                 <td colspan="2" style="text-align:center; font-size:16px;font-weight:bold;">
@@ -361,7 +361,7 @@
         </table>
     </div>
     
-    <div id="firstDiv">
+    <div id="firstDiv" <c:if test="${empty contractMaterialList}">style="display:none;"</c:if>>
         <table id="headTable" class="l-table-edit line" style="width:99%">
             <tr>
                 <td colspan="2" style="text-align:center; font-size:16px;font-weight:bold;">

+ 1 - 1
src/main/webapp/yw/contract/purchaseNoContract/viewContractPurchase.jsp

@@ -277,7 +277,7 @@
 
     </table>
     
-    <div id="firstDiv">
+    <div id="firstDiv" <c:if test="${empty contractPurchaseDetailList}">style="display:none;"</c:if>>
         <table id="headTable" class="l-table-edit line" style="width:99%">
             <tr>
                 <td colspan="2" style="text-align:center; font-size:16px;font-weight:bold;">