|
@@ -1137,6 +1137,7 @@ export default {
|
|
getbyname({ warehouseId: this.currectdata[0].baseId, goodsName: this.currectdata[0].goodsName }).toPromise()
|
|
getbyname({ warehouseId: this.currectdata[0].baseId, goodsName: this.currectdata[0].goodsName }).toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
if (response) {
|
|
if (response) {
|
|
|
|
+ let weight2 = 0
|
|
for (let i = 0; i < this.currectdata.length; i++) {
|
|
for (let i = 0; i < this.currectdata.length; i++) {
|
|
var weightedMoisture = (this.currectdata[i].weightedMoisture - 14)
|
|
var weightedMoisture = (this.currectdata[i].weightedMoisture - 14)
|
|
var deductWeight = 100 - (weightedMoisture * response.deductWeight)
|
|
var deductWeight = 100 - (weightedMoisture * response.deductWeight)
|