Browse Source

成本分配-表头辅料不含税成本取值问题

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

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

@@ -627,7 +627,6 @@ export default {
             })
             this.$refs.unitTabs.sumInfo.ingAmount =(v/2).toFixed(2)//辅料金额合计
             this.$refs.unitTabs.sumInfo.ingExcludAmount = ((v/2).toFixed(2)/(1+(Number(this.detailsPlanNum.taxrate)/100))).toFixed(2)//辅料不含税金额合计
-            this.detailsPlanNum.excipiencostNotincludestax =  this.$refs.unitTabs.sumInfo.ingExcludAmount
             //合计中出运明细相关金额
             var s =0,
             v = 0,
@@ -810,6 +809,7 @@ export default {
           ingredientsTransferQuantity:'',
           ingredientsRemainingQuantity:''
         }  
+        this.detailsPlanNum.excipiencostNotincludestax =  allObj.priceExcludingtax
         if(this.$refs.unitTabs.ingData.length!==0 ){
           if(this.$refs.unitTabs.ingData[this.$refs.unitTabs.ingData.length-1].goodsName=='合计'){this.$refs.unitTabs.ingData.pop()}
             this.$refs.unitTabs.ingData.push(allObj)
@@ -992,7 +992,7 @@ export default {
     },
     number(data1,data2){
       this.detailsPlanNum.fabriccostNotincludestax =  data1
-      this.detailsPlanNum.excipiencostNotincludestax =  data2
+      // this.detailsPlanNum.excipiencostNotincludestax =  data2
     },
 
     // father 方法