Browse Source

成本分配表-表头-面料成本($)

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

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

@@ -599,13 +599,12 @@ export default {
                 all+=Number(item.transferCost)
               }
             })
+            this.detailsPlanNum.fabriccostIncludestaxUsd = Number(this.detailsPlanNum.fabriccostIncludestax)/this.detailsPlanNum.exchangeRate//表头面料成本($)
             // //表头面料成本(¥),面料成本($),合计信息-面料金额合计
             // if(!this.detailsPlanNum.fabriccostIncludestax|| this.detailsPlanNum.fabriccostIncludestax=='0'|| this.detailsPlanNum.fabriccostIncludestax==''){
             //   this.detailsPlanNum.fabriccostIncludestax = all
             // }
-            // this.detailsPlanNum.fabriccostIncludestax = all+Number(this.detailsPlanNum.fabriccostIncludestax)
             // this.detailsPlanNum.fabriccostIncludestaxUsd = Number(this.detailsPlanNum.fabriccostIncludestax)/this.detailsPlanNum.exchangeRate
-            // this.detailsPlanNum.fabriccostIncludestax=( this.detailsPlanNum.fabriccostIncludestax==''|| !this.detailsPlanNum.fabriccostIncludestax||this.detailsPlanNum.fabriccostIncludestax=='0')?all.toFixed(2):Number( this.detailsPlanNum.fabriccostIncludestax).toFixed(2)//面料含税成本
             this.$refs.unitTabs.ingData = oneData.syCostAllocationIngredientList
             this.$refs.unitTabs.shipData = oneData.syCostAllocationShipdetail
             this.detailsPlanNum.outdata = oneData.syCostAllocationShipdetail.length!==0?oneData.syCostAllocationShipdetail[0].outdata:''