Explorar el Código

保留小数点后6位

LAPTOP-16IUEB3P\Lenovo hace 2 años
padre
commit
568bb62cc2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/saleOrder/components/create-order.vue

+ 1 - 1
src/views/saleOrder/components/create-order.vue

@@ -375,7 +375,7 @@
           this.$set(
             pos[index],
             'productWeight',
-            row.contractNum * row.productUnitWeight
+			parseFloat( row.contractNum * row.productUnitWeight ).toFixed(6)
           );
         }
       }