Explorar o código

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

gjy %!s(int64=3) %!d(string=hai) anos
pai
achega
5fb69ce91d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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){