Jelajahi Sumber

成本分配表-短出货值-两位小数

jbb 2 tahun lalu
induk
melakukan
42dd880eee
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/reportForms/cost-allocation-table.vue

+ 1 - 1
src/views/reportForms/cost-allocation-table.vue

@@ -434,7 +434,7 @@ export default {
        val.map(item=>{
          average += item.exportUnitPrice
        })
-       this.detailsPlanNum.shortvalue = this.detailsPlanNum.shortseveral*average
+       this.detailsPlanNum.shortvalue = Number(this.detailsPlanNum.shortseveral*average).toFixed(2)
 
        var shipQuantityAll =0,
         exportUnitPriceALll = 0,