ccj 11 months ago
parent
commit
bd660b9717
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/houseSelfCollect/settlement.vue

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

@@ -837,11 +837,11 @@
             if(this.paymentList.qualityInspectionManagement.waterContent >= 30){
             if(this.paymentList.qualityInspectionManagement.waterContent >= 30){
               this.paymentList.buckleWeightRatio = 1.3
               this.paymentList.buckleWeightRatio = 1.3
             }
             }
-            else if(this.paymentList.qualityInspectionManagement.waterContent <= 15){
+            else if(this.paymentList.qualityInspectionManagement.waterContent <= 14.5){
               this.paymentList.buckleWeightRatio = 1.15
               this.paymentList.buckleWeightRatio = 1.15
             }
             }
             else{
             else{
-              this.paymentList.buckleWeightRatio = 1.3 - (30 - this.paymentList.qualityInspectionManagement.waterContent)*0.01
+              this.paymentList.buckleWeightRatio = 1.15 + (this.paymentList.qualityInspectionManagement.waterContent-14.5)*0.01
             }
             }
             this.paymentList.tidalGrainPrice = this.paymentList.tidalGrainPrice.rewriteToFixed(4)
             this.paymentList.tidalGrainPrice = this.paymentList.tidalGrainPrice.rewriteToFixed(4)
             debugger
             debugger
@@ -868,7 +868,7 @@
                   paramtmp = 1
                   paramtmp = 1
                 }
                 }
                 this.paymentList.pureWeight = this.paymentList.weighingManagement.netWeight * paramtmp
                 this.paymentList.pureWeight = this.paymentList.weighingManagement.netWeight * paramtmp
-                this.paymentList.pureWeight = Math.round(this.paymentList.pureWeight)
+                this.paymentList.pureWeight = Math.round()
               }
               }
             }
             }
             if (!this.paymentList.dryGrainPrice) {
             if (!this.paymentList.dryGrainPrice) {