浏览代码

补充pid

Qukaidi 4 年之前
父节点
当前提交
f810825817
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/views/fleet/sendcar/AddOrUpdate.vue

+ 1 - 2
src/views/fleet/sendcar/AddOrUpdate.vue

@@ -1554,8 +1554,7 @@ export default {
     },
       // 添加行
     addRow2(tableData, event) {
-      var obj = {};
-      tableData.push({cntrId:this.schedulingList[0].cntrId});
+      tableData.push({cntrId:this.schedulingList[0].cntrId,pId:this.schedulingList[0].id});
       this.showSure(this.schedulingList);
     },
     //删除行