|
@@ -155,17 +155,17 @@
|
|
<el-table :data="weights" height="90" border style="width: 100%">
|
|
<el-table :data="weights" height="90" border style="width: 100%">
|
|
<el-table-column prop="weightOut" label="累计出库量(吨)">
|
|
<el-table-column prop="weightOut" label="累计出库量(吨)">
|
|
<!-- <template scope="scope"> -->
|
|
<!-- <template scope="scope"> -->
|
|
- {{this.weightOut}}
|
|
|
|
|
|
+ <!-- {{this.weightOut}} -->
|
|
<!-- </template > -->
|
|
<!-- </template > -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="weightIn" label="累计入库量(吨)">
|
|
<el-table-column prop="weightIn" label="累计入库量(吨)">
|
|
<!-- <template scope="scope"> -->
|
|
<!-- <template scope="scope"> -->
|
|
- {{this.weightIn}}
|
|
|
|
|
|
+ <!-- {{this.weightIn}} -->
|
|
<!-- </template> -->
|
|
<!-- </template> -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="transportLoss" label="累计运输损耗(吨)">
|
|
<el-table-column prop="transportLoss" label="累计运输损耗(吨)">
|
|
<!-- <template scope="scope"> -->
|
|
<!-- <template scope="scope"> -->
|
|
- {{this.transportLoss}}
|
|
|
|
|
|
+ <!-- {{this.transportLoss}} -->
|
|
<!-- </template> -->
|
|
<!-- </template> -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -311,17 +311,18 @@ export default {
|
|
if (this.moveLookData[i].inOutType == '移库出库') {
|
|
if (this.moveLookData[i].inOutType == '移库出库') {
|
|
this.shipment = this.moveLookData[i]
|
|
this.shipment = this.moveLookData[i]
|
|
this.weightOut = this.moveLookData[i].weight
|
|
this.weightOut = this.moveLookData[i].weight
|
|
- // this.weights.push({weightOut:this.moveLookData[i].weight})
|
|
|
|
|
|
+ this.weights.push({weightOut:this.moveLookData[i].weight})
|
|
// this.weights.splice(1,1,{weightOut:this.moveLookData[i].weight})
|
|
// this.weights.splice(1,1,{weightOut:this.moveLookData[i].weight})
|
|
|
|
|
|
} else {
|
|
} else {
|
|
// if (this.moveLookData[i].inOutType == '移库入库')
|
|
// if (this.moveLookData[i].inOutType == '移库入库')
|
|
this.enter = this.shipment = this.moveLookData[i]
|
|
this.enter = this.shipment = this.moveLookData[i]
|
|
this.weightIn = this.moveLookData[i].weight
|
|
this.weightIn = this.moveLookData[i].weight
|
|
- //this.weights.push({weightIn:this.moveLookData[i].weight})
|
|
|
|
|
|
+ this.weights.push({weightIn:this.moveLookData[i].weight})
|
|
this.businessDescribe = this.moveLookData[i].businessDescribe
|
|
this.businessDescribe = this.moveLookData[i].businessDescribe
|
|
}
|
|
}
|
|
- this.transportLoss = this.weightOut - this.weightIn
|
|
|
|
|
|
+ this.weights[0].transportLoss = this.weights[0].weightOut - this.weights[0].weightIn
|
|
|
|
+ // this.transportLoss = this.weightOut - this.weightIn
|
|
this.goodsName = this.moveLookData[0].goodsName
|
|
this.goodsName = this.moveLookData[0].goodsName
|
|
this.grade = this.moveLookData[0].grade
|
|
this.grade = this.moveLookData[0].grade
|
|
this.bulkDensity = this.moveLookData[0].bulkDensity
|
|
this.bulkDensity = this.moveLookData[0].bulkDensity
|