ccj 1 éve
szülő
commit
bd660b9717
1 módosított fájl, 3 hozzáadás és 3 törlés
  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){
               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
             }
             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)
             debugger
@@ -868,7 +868,7 @@
                   paramtmp = 1
                 }
                 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) {