|
@@ -144,20 +144,20 @@
|
|
|
</ws-info-table>
|
|
|
</div>
|
|
|
<div
|
|
|
- style="width: 530px"
|
|
|
+ style=" width: 536px;"
|
|
|
class="xia"
|
|
|
v-for="(items, index) in freightspace"
|
|
|
v-show="item.shipType=='散船'"
|
|
|
:key="index"
|
|
|
>
|
|
|
<ws-info-table>
|
|
|
- <ws-form-item :label="'仓位号-'+ (index +1 )" span="1" prop="impurity" class="bot">
|
|
|
+ <ws-form-item :label="'仓位号-'+ (index +1 )" span="1" prop="impurity" class="bot" >
|
|
|
<el-input v-model="items.impurity"></el-input>
|
|
|
</ws-form-item>
|
|
|
- <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot">
|
|
|
+ <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot" >
|
|
|
<el-input v-model="items.positionWeight"></el-input>
|
|
|
- </ws-form-item>
|
|
|
- <span
|
|
|
+ </ws-form-item>
|
|
|
+ <span
|
|
|
width="22"
|
|
|
height="22"
|
|
|
class="del"
|
|
@@ -290,6 +290,7 @@ export default {
|
|
|
},
|
|
|
activated() {
|
|
|
this.loaddata()
|
|
|
+ this.getList()
|
|
|
|
|
|
},
|
|
|
computed: {
|
|
@@ -348,17 +349,44 @@ export default {
|
|
|
.toPromise()
|
|
|
.then(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]
|
|
|
- })
|
|
|
+ // 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[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,
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.deptBudgetList.tranCarInfoList = [
|
|
|
+ {
|
|
|
+ driver:'',
|
|
|
+ driverPhone:'',
|
|
|
+ sendDateStart:'',
|
|
|
+ receiveDateEnd: '',
|
|
|
+ shipNo:'',
|
|
|
+ shipName:'',
|
|
|
+ shipType:'',
|
|
|
+ boxNumber:'',
|
|
|
+ positionWeight:'',
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -583,6 +611,7 @@ export default {
|
|
|
position: relative;
|
|
|
padding: 10px;
|
|
|
font-weight: 600;
|
|
|
+ margin-left: 27px;
|
|
|
}
|
|
|
|
|
|
.position .zaizhong {
|
|
@@ -591,6 +620,7 @@ export default {
|
|
|
|
|
|
.bot {
|
|
|
width: 30%;
|
|
|
+
|
|
|
}
|
|
|
//去边框
|
|
|
/deep/.el-form-item {
|
|
@@ -716,6 +746,7 @@ export default {
|
|
|
margin-top: 10px;
|
|
|
background: #f6f7fc;
|
|
|
border-radius: 4px;
|
|
|
+ margin-left: 24px;
|
|
|
}
|
|
|
.basicInformation .ws-info-table {
|
|
|
border: none;
|
|
@@ -732,6 +763,9 @@ export default {
|
|
|
background: #F6F7FC;
|
|
|
border-radius: 4px;
|
|
|
border: 1px solid #D8DCE6;
|
|
|
+ width: 99%;
|
|
|
+ margin: 0 2%;
|
|
|
+ // margin-left: -76px;
|
|
|
}
|
|
|
.bg-left {
|
|
|
padding-left: 30px;
|
|
@@ -747,7 +781,8 @@ export default {
|
|
|
.basicInformation .ws-info-table {
|
|
|
border: none;
|
|
|
width: 141%;
|
|
|
- margin-left: -16px;
|
|
|
+ margin: 0 auto;
|
|
|
+ // margin-left: -89px;
|
|
|
}
|
|
|
.ys{
|
|
|
// margin-left: 300px;
|
|
@@ -813,7 +848,7 @@ export default {
|
|
|
height: 10px;
|
|
|
line-height: 0px;
|
|
|
margin-top: 10px;
|
|
|
- margin-left: 24px;
|
|
|
+ margin-left: 17px;
|
|
|
}
|
|
|
|
|
|
.amap-page-container {
|
|
@@ -933,6 +968,7 @@ export default {
|
|
|
.center {
|
|
|
width: 86%;
|
|
|
margin: 0 auto;
|
|
|
+ // margin: 0 -29%;
|
|
|
}
|
|
|
.el-form-item {
|
|
|
width: 50%;
|
|
@@ -1032,6 +1068,7 @@ export default {
|
|
|
/deep/.ws-info-table .el-form-item {
|
|
|
border: none;
|
|
|
height: 50px;
|
|
|
+ // margin: 0 auto;
|
|
|
}
|
|
|
/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
background: #f5f7fa;
|
|
@@ -1060,21 +1097,6 @@ export default {
|
|
|
/deep/.flex .ws-info-table .el-form-item .el-form-item__content {
|
|
|
border: 0px;
|
|
|
}
|
|
|
-
|
|
|
-// /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
|
|
|
-// width: 30%;
|
|
|
-// border: 0px solid #d8dce6;
|
|
|
-// background: #f5f7fa;
|
|
|
-// }
|
|
|
-// /deep/.liaison {
|
|
|
-// display: contents;
|
|
|
-// background: #f5f7fa;
|
|
|
-// border-radius: 4px;
|
|
|
-// border: 0px solid #d8dce6;
|
|
|
-// }
|
|
|
-// /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
|
|
|
-// border: none;
|
|
|
-// }
|
|
|
.add {
|
|
|
width: 100px;
|
|
|
height: 34px;
|
|
@@ -1083,6 +1105,8 @@ export default {
|
|
|
color: #5473e8;
|
|
|
font-size: 14px;
|
|
|
border: none;
|
|
|
+ margin-left: 17px;
|
|
|
+ // margin-left: -79px;
|
|
|
}
|
|
|
.add img {
|
|
|
display: inline-block;
|
|
@@ -1127,5 +1151,6 @@ export default {
|
|
|
font-weight: 400;
|
|
|
color: #8890B1;
|
|
|
line-height: 16px;
|
|
|
+ margin-left: 22px;
|
|
|
}
|
|
|
</style>
|