Bläddra i källkod

Merge branch 'master' of http://git.zthymaoyi.com:3000/gdc/yiliangyiyun-pc

gjy 3 år sedan
förälder
incheckning
5fb69ce91d
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/houseSelfCollect/settlement.vue

+ 2 - 2
src/views/houseSelfCollect/settlement.vue

@@ -504,14 +504,14 @@ export default {
             this.paymentList.base = this.paymentList.base.toFixed(3)
             if(this.paymentList.type=='潮粮'){
               this.paymentList.pureWeight=this.paymentList.base*this.paymentList.weighingManagement.netWeight
-              this.paymentList.pureWeight =  this.paymentList.pureWeight.toFixed(2)
+              this.paymentList.pureWeight =  Math.round(this.paymentList.pureWeight)
             }
             
           }
           else{
             if(this.paymentList.type=='潮粮'){
               this.paymentList.pureWeight=this.paymentList.weighingManagement.netWeight * (100 - this.paymentList.param)/100
-              this.paymentList.pureWeight =  this.paymentList.pureWeight.toFixed(2)
+              this.paymentList.pureWeight =   Math.round(this.paymentList.pureWeight)
             }
           }
           if(!this.paymentList.dryGrainPrice){