cz 1 rok pred
rodič
commit
8a2bd586a5

+ 9 - 3
src/views/salesMange/shipmentMange/packing/index.vue

@@ -932,14 +932,18 @@
                   v-if="indexTwo === 0"
                   :rowspan="item.packDetailProductLists.length"
                 >
-                  {{ item.netWeight * item.packQuantity }}
+                  {{
+                    parseFloat(item.netWeight * item.packQuantity).toFixed(4)
+                  }}
                 </td>
                 <td
                   style="text-align: center; width: 10%"
                   v-if="indexTwo === 0"
                   :rowspan="item.packDetailProductLists.length"
                 >
-                  {{ item.roughWeight * item.packQuantity }}
+                  {{
+                    parseFloat(item.roughWeight * item.packQuantity).toFixed(4)
+                  }}
                 </td>
                 <td
                   style="text-align: center; width: 10%"
@@ -947,7 +951,9 @@
                   :rowspan="item.packDetailProductLists.length"
                 >
                   {{
-                    (item.bomVolume / 1000000).toFixed(4) * item.packQuantity
+                    parseFloat(
+                      (item.bomVolume / 1000000) * item.packQuantity
+                    ).toFixed(4)
                   }}
                 </td>
               </tr>