瀏覽代碼

成本分配表-短出货值,取消计算

jbb 2 年之前
父節點
當前提交
1c631c54ef
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/views/reportForms/cost-allocation-table.vue

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

@@ -630,15 +630,15 @@ export default {
       this.color2 = this.color2>0?this.color2:-this.color2
     },
 
-    //计算短出货值
+    //计算出运明细合计行
     calculation(val){
-      var  average = 0
-       val.map(item=>{
-        if(item.outdata !=='合计'){
-          average += (Number(item.exportUnitPrice)*Number(item.shipQuantity)*Number(item.exchangeRate))
-        }
-       })
-       this.detailsPlanNum.shortvalue = average.toFixed(2)
+      // var  average = 0
+      //  val.map(item=>{
+      //   if(item.outdata !=='合计'){
+      //     average += (Number(item.exportUnitPrice)*Number(item.shipQuantity)*Number(item.exchangeRate))
+      //   }
+      //  })
+      //  this.detailsPlanNum.shortvalue = average.toFixed(2)
        var shipQuantityAll =0,
         // exportUnitPriceALll = 0,
         exportPriceAll =0,