|
@@ -323,6 +323,9 @@
|
|
|
alt=""
|
|
|
>×</span>
|
|
|
</div>
|
|
|
+ <div style="text-align: right; color: #8890b1; font-size: 16px; margin-right: -40%" v-show="deptBudgetList.tranCarInfoList[0].shipType == '散船'">
|
|
|
+ 共{{ total }}/{{ deptBudgetList.weight }}
|
|
|
+ </div>
|
|
|
<el-button
|
|
|
class="add bg-bottom"
|
|
|
type="primary"
|
|
@@ -459,6 +462,17 @@ export default {
|
|
|
}
|
|
|
return maxStorage
|
|
|
},
|
|
|
+ total: function () {
|
|
|
+ if (this.deptBudgetList.tranCarInfoList.length > 0) {
|
|
|
+ var maxStorage = 0
|
|
|
+ for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
|
+ maxStorage += Number(
|
|
|
+ this.deptBudgetList.tranCarInfoList[i].positionWeight
|
|
|
+ )
|
|
|
+ }
|
|
|
+ return maxStorage
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
getList() {
|