|
@@ -1213,6 +1213,7 @@
|
|
|
this.totalMoney = (Number(this.totalMoney) + Number(this.totalReserves[j].totalMoney)).toFixed(3)
|
|
|
}
|
|
|
}
|
|
|
+ // debugger
|
|
|
if(response.warehouseNumViewList.length != 0){
|
|
|
var result = []
|
|
|
for(let i = 0; i < response.warehouseNumViewList.length ; i++){
|
|
@@ -1230,6 +1231,7 @@
|
|
|
}
|
|
|
else{
|
|
|
this.$message.error('当前仓库无潮粮库存,无需折算!')
|
|
|
+ this.value = '0'
|
|
|
return
|
|
|
}
|
|
|
})
|
|
@@ -1268,7 +1270,8 @@
|
|
|
}else{
|
|
|
this.totalReserves = response.warehouseViewList[0].warehouseNumViewList
|
|
|
}
|
|
|
- this.totalMoney = Number(this.totalReserves[0].stockNum * this.totalReserves[0].cost).toFixed(3)
|
|
|
+ // this.totalMoney = Number(this.totalReserves[0].stockNum * this.totalReserves[0].cost).toFixed(3)
|
|
|
+ this.value = '0'
|
|
|
this.initCharts()
|
|
|
this.warehouseList = response.warehouseViewList
|
|
|
if(this.warehouseList.length>0){
|