|
@@ -266,13 +266,14 @@
|
|
|
value-format="yyyy-MM-dd"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <!-- 本阶段重量 -->
|
|
|
<el-form-item
|
|
|
label="本阶段运输重量(吨)"
|
|
|
span="1"
|
|
|
prop="bulkDensity"
|
|
|
>
|
|
|
<el-input
|
|
|
- v-model="item.weight"
|
|
|
+ v-model="deptBudgetList.weight"
|
|
|
placeholder="请输入本阶段运输重量"
|
|
|
size="small"
|
|
|
></el-input>
|
|
@@ -411,7 +412,7 @@ export default {
|
|
|
tranTypeKey: '1',
|
|
|
deliveryDateStart: '',
|
|
|
deliveryDateEnd: '',
|
|
|
- weight: '13',
|
|
|
+ weight: '',
|
|
|
selectedOptions: [],
|
|
|
selectedOptions1: [],
|
|
|
sendPrivate: '',
|
|
@@ -460,6 +461,13 @@ export default {
|
|
|
this.showType = this.isShow
|
|
|
},
|
|
|
computed: {
|
|
|
+ weight:function(){
|
|
|
+ var maxStorage = 0
|
|
|
+ for(var i =0 ; i<this.deptBudgetList.tranProcessInfoList.length;i++){
|
|
|
+ maxStorage += Number(this.deptBudgetList.tranProcessInfoList[i].weight)
|
|
|
+ }
|
|
|
+ return maxStorage
|
|
|
+ },
|
|
|
warehouse: function () {
|
|
|
if (
|
|
|
this.deptBudgetList.taskType == '销售出库' ||
|
|
@@ -553,7 +561,7 @@ export default {
|
|
|
tranTypeKey: '1',
|
|
|
deliveryDateStart: '',
|
|
|
deliveryDateEnd: '',
|
|
|
- weight: '13',
|
|
|
+ weight: '',
|
|
|
selectedOptions: [],
|
|
|
selectedOptions1: [],
|
|
|
sendPrivate: '',
|
|
@@ -665,7 +673,7 @@ export default {
|
|
|
tranType: '汽运',
|
|
|
deliveryDateStart: '',
|
|
|
deliveryDateEnd: '',
|
|
|
- weight: '13',
|
|
|
+ weight: '',
|
|
|
selectedOptions: [],
|
|
|
selectedOptions1: [],
|
|
|
sendPrivate: '',
|
|
@@ -845,5 +853,8 @@ export default {
|
|
|
.el-cascader {
|
|
|
width: 100%;
|
|
|
}
|
|
|
-
|
|
|
+.container {
|
|
|
+ overflow: scroll;
|
|
|
+ height: 93vh;
|
|
|
+}
|
|
|
</style>
|