|
@@ -541,8 +541,17 @@ export default {
|
|
|
// this.detailsPlanNum.fabriccostIncludestax = (Number(this.detailsPlanNum.fabriccostIncludestax)-allYu).toFixed(2) // 表头面料成本(¥)
|
|
// this.detailsPlanNum.fabriccostIncludestax = (Number(this.detailsPlanNum.fabriccostIncludestax)-allYu).toFixed(2) // 表头面料成本(¥)
|
|
|
// this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100))/this.detailsPlanNum.exchangeRate).toFixed(2)//表头面料成本($)
|
|
// this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100))/this.detailsPlanNum.exchangeRate).toFixed(2)//表头面料成本($)
|
|
|
// this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestaxUsd)).toFixed(2)//表头面料成本($)
|
|
// this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestaxUsd)).toFixed(2)//表头面料成本($)
|
|
|
|
|
+ var fabriccostIncludestaxUsd1=this.detailsPlanNum.fabriccostIncludestaxUsd
|
|
|
|
|
+ var fabriccostNotincludestax1=this.detailsPlanNum.fabriccostNotincludestax
|
|
|
this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100)) /this.detailsPlanNum.exchangeRate).toFixed(2)//表头面料成本($)
|
|
this.detailsPlanNum.fabriccostIncludestaxUsd = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100)) /this.detailsPlanNum.exchangeRate).toFixed(2)//表头面料成本($)
|
|
|
this.detailsPlanNum.fabriccostNotincludestax = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100) )).toFixed(2)//表头-面料不含税成本(¥)
|
|
this.detailsPlanNum.fabriccostNotincludestax = (Number(this.detailsPlanNum.fabriccostIncludestax)/(1+(Number(this.detailsPlanNum.taxrate)/100) )).toFixed(2)//表头-面料不含税成本(¥)
|
|
|
|
|
+ console.log('ustype '+this.detailsPlanNum.usType)
|
|
|
|
|
+ console.log('fabriccostIncludestaxUsd '+fabriccostIncludestaxUsd1)
|
|
|
|
|
+ console.log('fabriccostNotincludestax '+fabriccostNotincludestax1)
|
|
|
|
|
+ if(this.detailsPlanNum.usType=="1"){
|
|
|
|
|
+ this.detailsPlanNum.fabriccostIncludestaxUsd = fabriccostIncludestaxUsd1//表头面料成本($)
|
|
|
|
|
+ this.detailsPlanNum.fabriccostNotincludestax = fabriccostNotincludestax1//表头面料成本($)
|
|
|
|
|
+ }
|
|
|
this.$refs.unitTabs.ingData = oneData.syCostAllocationIngredientList //辅料sheet数据源
|
|
this.$refs.unitTabs.ingData = oneData.syCostAllocationIngredientList //辅料sheet数据源
|
|
|
this.$refs.unitTabs.shipData = oneData.syCostAllocationShipdetail //发运明细sheet数据源
|
|
this.$refs.unitTabs.shipData = oneData.syCostAllocationShipdetail //发运明细sheet数据源
|
|
|
this.detailsPlanNum.outdata = oneData.syCostAllocationShipdetail.length!==0?oneData.syCostAllocationShipdetail[0].outdata:'' //表头-出运日期
|
|
this.detailsPlanNum.outdata = oneData.syCostAllocationShipdetail.length!==0?oneData.syCostAllocationShipdetail[0].outdata:'' //表头-出运日期
|