|
@@ -561,7 +561,7 @@
|
|
|
type="primary"
|
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
|
- @click="addRow(vehicleList)"
|
|
|
+ @click="addRow2(vehicleList)"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -572,11 +572,7 @@
|
|
|
<el-select
|
|
|
v-model="scope.row.cntrId"
|
|
|
placeholder="请选择箱型"
|
|
|
- :disabled="
|
|
|
- scope.row.billStatus == 6 ||
|
|
|
- scope.row.billStatus == 3 ||
|
|
|
- scope.row.billStatus == 3
|
|
|
- "
|
|
|
+ disabled
|
|
|
@change="checkPid(scope.row)"
|
|
|
>
|
|
|
<el-option
|
|
@@ -1556,6 +1552,12 @@ export default {
|
|
|
tableData.push(obj);
|
|
|
this.showSure(this.schedulingList);
|
|
|
},
|
|
|
+ // 添加行
|
|
|
+ addRow2(tableData, event) {
|
|
|
+ var obj = {};
|
|
|
+ tableData.push({cntrId:this.schedulingList[0].cntrId});
|
|
|
+ this.showSure(this.schedulingList);
|
|
|
+ },
|
|
|
//删除行
|
|
|
deleteRow(index, rows) {
|
|
|
rows.splice(index, 1);
|