Browse Source

成本分配表-表头数据修改

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

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

@@ -743,7 +743,7 @@ export default {
           // procesUnitPriceusd:procesUnitPriceusdAll.toFixed(3),
           processCost:processCostAll.toFixed(3)
         }
-        this.detailsPlanNum.salesordersLocaltotal = rmbAmountAll.toFixed(2)
+        // this.detailsPlanNum.salesordersLocaltotal = rmbAmountAll.toFixed(2)
         //发运明细-合计行
         if(this.$refs.unitTabs.shipData.length!==0 ){
           if(this.$refs.unitTabs.shipData[this.$refs.unitTabs.shipData.length-1].outdata=='合计'){
@@ -789,6 +789,11 @@ export default {
           if(this.$refs.unitTabs.ingData[this.$refs.unitTabs.ingData.length-1].goodsName=='合计'){this.$refs.unitTabs.ingData.pop()}
             this.$refs.unitTabs.ingData.push(allObj)
           }
+          if(rmbAmountAll == usdAmountAll){
+            this.detailsPlanNum.excipiencostIncludestaxUsd = 0
+          }else{
+            this.detailsPlanNum.excipiencostIncludestaxUsd = usdAmountAll.toFixed(2)
+          }
     },
     //事故单合计行
     addAccident(val){