|
@@ -557,7 +557,7 @@ export default {
|
|
|
})
|
|
|
// this.$refs.unitTabs.sumInfo.fabricAmount = s.toFixed(3) //合计中的面料总额
|
|
|
this.$refs.unitTabs.sumInfo.fabricAmount = (this.detailsPlanNum.fabriccostIncludestax!==''&&this.detailsPlanNum.fabriccostIncludestax)?(Number(this.detailsPlanNum.fabriccostIncludestax)).toFixed(2):'' //合计中的面料总额
|
|
|
- this.$refs.unitTabs.sumInfo.fabricExcludTax =(Number(this.$refs.unitTabs.sumInfo.fabricAmount)/(1+Number(this.detailsPlanNum.taxrate))).toFixed(2)//合计中的不含税面料总额
|
|
|
+ this.$refs.unitTabs.sumInfo.fabricExcludTax =(Number(this.$refs.unitTabs.sumInfo.fabricAmount)/(1+(Number(this.detailsPlanNum.taxrate)/100))).toFixed(2)//合计中的不含税面料总额
|
|
|
// this.detailsPlanNum.fabriccostIncludestax = s.toFixed(3) //表头中面料含税总额
|
|
|
// this.detailsPlanNum.fabriccostNotincludestax = (s/1.13).toFixed(3) //表头中面料不含税总额
|
|
|
//合计中辅料相关金额
|
|
@@ -568,7 +568,7 @@ export default {
|
|
|
v+=Number(item.rmbAmount)
|
|
|
})
|
|
|
this.$refs.unitTabs.sumInfo.ingAmount =(v/2).toFixed(2)//辅料金额合计
|
|
|
- this.$refs.unitTabs.sumInfo.ingExcludAmount = ((v/2).toFixed(2)/(1+Number(this.detailsPlanNum.taxrate))).toFixed(2)//辅料不含税金额合计
|
|
|
+ this.$refs.unitTabs.sumInfo.ingExcludAmount = ((v/2).toFixed(2)/(1+(Number(this.detailsPlanNum.taxrate)/100))).toFixed(2)//辅料不含税金额合计
|
|
|
//合计中出运明细相关金额
|
|
|
var s =0,
|
|
|
v = 0,
|