Ver Fonte

fix(warehouseManagement): 修正打印入库单中供应商名称和签字区域的显示问题

liujt há 8 meses atrás
pai
commit
e6364cd2f2

+ 4 - 8
src/views/warehouseManagement/stockManagement/components/printStockEnter.vue

@@ -22,7 +22,7 @@
       <div style="margin-bottom: 20px; width: 100%;">
         <div style="width: 100%; display: flex;">
           <div style="width: 40%;">
-            <strong>供应商名称:</strong>{{ rowList.extraInfo?.supplierName || '' }}
+            <strong>供应商名称:</strong>{{ rowList.extInfo?.supplierName || '' }}
           </div>
           <div style="width: 30%;">
             <strong>日期:</strong>{{ rowList.storageTime || '' }}
@@ -83,20 +83,16 @@
       <!-- 签字区域 -->
       <div style="margin-top: 20px; display: flex; width: 100%;">
         <div style="width: 25%;">
-          <strong>主管:</strong>
-          <div style="height: 30px;"></div>
+          <strong>主管:</strong>{{ rowList.verifyName || '' }}
         </div>
         <div style="width: 25%;">
           <strong>仓库:</strong>{{ row?.warehouseName || '' }}
-          <div style="height: 30px;"></div>
         </div>
         <div style="width: 25%;">
-          <strong>记账:</strong>
-          <div style="height: 30px;"></div>
+          <strong>记账:</strong>{{ rowList.extInfo?.createUserName || '' }}
         </div>
         <div style="width: 25%;">
-          <strong>经手人:</strong>
-          <div style="height: 30px;"></div>
+          <strong>经手人:</strong>{{ rowList?.fromUser || '' }}
         </div>
       </div>
     </div>