Преглед изворни кода

成本分配表-面料成本

jingbb пре 1 година
родитељ
комит
1a6f263268
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/reportForms/cost-allocation-table.vue

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

@@ -622,10 +622,10 @@ export default {
                   }
                 })
                 if(item.transferCost&&item.transferCost!==''){
-                    all+=item.transferCost
+                    all+=Number(item.transferCost)
                   }
                   if(item.remainingQuantitycost&&item.remainingQuantitycost!==''){
-                    allYu+=item.remainingQuantitycost
+                    allYu+=Number(item.remainingQuantitycost)
                   }
               })
               this.detailsPlanNum.fabriccostIncludestax = (all+Number(this.fabricCost)-allYu).toFixed(2) // 表头面料成本(¥)