Browse Source

成本分配汇总-删除debugger

jbb 2 years ago
parent
commit
0e8520ddce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/reportForms/cost-allocation-table.vue

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

@@ -383,7 +383,7 @@ export default {
               s+=Number(item.transferCost)
               s+=Number(item.transferCost)
             })
             })
             //  this.$refs.unitTabs.sumInfo.fabricAmount = s.toFixed(3) //合计中的面料总额
             //  this.$refs.unitTabs.sumInfo.fabricAmount = s.toFixed(3) //合计中的面料总额
-             this.$refs.unitTabs.sumInfo.fabricAmount = (this.detailsPlanNum.fabriccostIncludestax).toFixed(3) //合计中的面料总额
+             this.$refs.unitTabs.sumInfo.fabricAmount = (this.detailsPlanNum.fabriccostIncludestax!==''&&this.detailsPlanNum.fabriccostIncludestax)?(this.detailsPlanNum.fabriccostIncludestax).toFixed(3):'' //合计中的面料总额
              this.$refs.unitTabs.sumInfo.fabricExcludTax = (s/1.13).toFixed(3)//合计中的不含税面料总额
              this.$refs.unitTabs.sumInfo.fabricExcludTax = (s/1.13).toFixed(3)//合计中的不含税面料总额
             // this.detailsPlanNum.fabriccostIncludestax = s.toFixed(3) //表头中面料含税总额
             // this.detailsPlanNum.fabriccostIncludestax = s.toFixed(3) //表头中面料含税总额
             // this.detailsPlanNum.fabriccostNotincludestax = (s/1.13).toFixed(3) //表头中面料不含税总额
             // this.detailsPlanNum.fabriccostNotincludestax = (s/1.13).toFixed(3) //表头中面料不含税总额