|
@@ -582,6 +582,7 @@
|
|
|
that.value = false
|
|
|
}
|
|
|
that.gridList = data
|
|
|
+
|
|
|
if(that.gridList.type=='干粮'){
|
|
|
if (this.gridList.goodsName &&
|
|
|
this.gridList.bulkDensity &&
|
|
@@ -798,6 +799,8 @@
|
|
|
|
|
|
},
|
|
|
deductionchange(){
|
|
|
+ console.log(this.gridList.type,this.tidalGrainPrice,
|
|
|
+ Number(this.tidalGrainPrice+(this.gridList.waterPriceIncrease/1000)-(this.gridList.waterPriceDeduction/1000)+(this.gridList.qualityPriceIncrease/1000)-(this.gridList.qualityPriceDeduction/1000)).toFixed(3))
|
|
|
if(this.gridList.type=='干粮'){
|
|
|
if(this.dryGrainPrice!=''){
|
|
|
console.log(Number(this.dryGrainPrice+(this.gridList.waterPriceIncrease/1000)-(this.gridList.waterPriceDeduction/1000)+(this.gridList.qualityPriceIncrease/1000)-(this.gridList.qualityPriceDeduction/1000)),Number(this.dryGrainPrice+(this.gridList.waterPriceIncrease/1000)-(this.gridList.waterPriceDeduction/1000)+(this.gridList.qualityPriceIncrease/1000)-(this.gridList.qualityPriceDeduction/1000)).toFixed(2))
|
|
@@ -1033,7 +1036,9 @@
|
|
|
}
|
|
|
} else {
|
|
|
that.gridList.tidalGrainPrice = res.data.data
|
|
|
+
|
|
|
}
|
|
|
+ that.tidalGrainPrice = that.gridList.tidalGrainPrice
|
|
|
})
|
|
|
}
|
|
|
|