Quellcode durchsuchen

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

jbb vor 2 Jahren
Ursprung
Commit
42dd880eee
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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,