|
@@ -349,29 +349,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then(response => {
|
|
.then(response => {
|
|
this.deptBudgetList = response
|
|
this.deptBudgetList = response
|
|
-
|
|
|
|
- // for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
|
|
- // var num = this.deptBudgetList.tranCarInfoList[
|
|
|
|
- // i
|
|
|
|
- // ].positionWeight.split(',')
|
|
|
|
- // for (var j = 0; j < num.length; j++) {
|
|
|
|
- // var num2 = num[j].split('/')
|
|
|
|
- // this.freightspace.push({
|
|
|
|
- // impurity: num2[i],
|
|
|
|
- // positionWeight: num2[num2.length - 1]
|
|
|
|
- // })
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
if(response.tranCarInfoList.length>0) {
|
|
if(response.tranCarInfoList.length>0) {
|
|
- // if(response.tranCarInfoList[i].positionWeight) {
|
|
|
|
- // this.list = response.tranCarInfoList[0].positionWeight.splice(',')
|
|
|
|
- // for(var i = 0;i<this.list.length;i++) {
|
|
|
|
- // var num = this.list[i]
|
|
|
|
- // this.freightspace.push({
|
|
|
|
- // trandriver:num,
|
|
|
|
- // })
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
var num = this.deptBudgetList.tranCarInfoList[i].positionWeight.split(',')
|
|
var num = this.deptBudgetList.tranCarInfoList[i].positionWeight.split(',')
|
|
for (var j = 0; j < num.length; j++) {
|
|
for (var j = 0; j < num.length; j++) {
|
|
@@ -395,6 +373,7 @@ export default {
|
|
boxNumber:'',
|
|
boxNumber:'',
|
|
positionWeight:'',
|
|
positionWeight:'',
|
|
impurity:'',
|
|
impurity:'',
|
|
|
|
+ tranType:'3'
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -539,7 +518,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
this.deptBudgetList.totalStorage = this.totalStorage
|
|
this.deptBudgetList.totalStorage = this.totalStorage
|
|
- this.tranCarInfoList.driver = this.deptBudgetList.tranCarInfoList[0].trandriver
|
|
|
|
|
|
+ this.tranCarInfoList.driver = this.deptBudgetList.tranCarInfoList[0].driver
|
|
this.tranCarInfoList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
|
|
this.tranCarInfoList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
|
|
this.tranCarInfoList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
|
|
this.tranCarInfoList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
|
|
this.tranCarInfoList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
|
|
this.tranCarInfoList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
|
|
@@ -616,7 +595,7 @@ export default {
|
|
}
|
|
}
|
|
.center {
|
|
.center {
|
|
width: 90%;
|
|
width: 90%;
|
|
- margin: 0 auto;
|
|
|
|
|
|
+ // margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
|
|
//表格文字
|
|
//表格文字
|
|
@@ -988,7 +967,7 @@ export default {
|
|
}
|
|
}
|
|
.center {
|
|
.center {
|
|
width: 86%;
|
|
width: 86%;
|
|
- margin: 0 auto;
|
|
|
|
|
|
+ // margin: 0 auto;
|
|
// margin: 0 -29%;
|
|
// margin: 0 -29%;
|
|
}
|
|
}
|
|
.el-form-item {
|
|
.el-form-item {
|