Browse Source

成本分配列表/成本分配表-标记B计算修改

jingbb 2 months ago
parent
commit
02f29b7c36

+ 1 - 1
src/views/cost-allocation-total/costDetailDrawer.vue

@@ -656,7 +656,7 @@ export default {
       this.detailsPlanNum.shortvalue=( this.detailsPlanNum.shortvalue==''|| !this.detailsPlanNum.shortvalue)?'': (this.detailsPlanNum.shortvalue).toFixed(2)//短出货值
       this.color1 = Number(this.detailsPlanNum.rmbExportamount)-Number(this.detailsPlanNum.fabriccostNotincludestax)-Number(this.detailsPlanNum.excipiencostNotincludestax)-Number(this.detailsPlanNum.rmbProcesscost)-Number(this.detailsPlanNum.rmbExpense)
       if(this.detailsPlanNum.usdTotalexportprice==0.00){
-        this.color2 = 0
+        this.color2 = -1
       }else{
         this.color2 = this.color1/Number(this.detailsPlanNum.usdTotalexportprice)
       }

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

@@ -734,7 +734,7 @@ export default {
       this.detailsPlanNum.shortvalue=( this.detailsPlanNum.shortvalue==''|| !this.detailsPlanNum.shortvalue)?'': (this.detailsPlanNum.shortvalue).toFixed(2)//短出货值
       this.color1 = Number(this.detailsPlanNum.rmbExportamount)-Number(this.detailsPlanNum.fabriccostNotincludestax)-Number(this.detailsPlanNum.excipiencostNotincludestax)-Number(this.detailsPlanNum.rmbProcesscost)-Number(this.detailsPlanNum.rmbExpense)
       if(this.detailsPlanNum.usdTotalexportprice==0.00){
-        this.color2 = 0
+        this.color2 = -1
       }else{
         this.color2 = this.color1/Number(this.detailsPlanNum.usdTotalexportprice)
       }