Elements-SY

modify

...@@ -771,10 +771,10 @@ export default { ...@@ -771,10 +771,10 @@ export default {
771 if (item.hasOwnProperty("routeList")) { 771 if (item.hasOwnProperty("routeList")) {
772 delete item.routeList; 772 delete item.routeList;
773 } 773 }
774 - // // 作为是否为新增 774 + // 作为是否为新增
775 - // if (item.hasOwnProperty("statusMark")) { 775 + if (item.hasOwnProperty("statusMark")) {
776 - // delete item.id; 776 + delete item.id;
777 - // } 777 + }
778 // 编辑 778 // 编辑
779 if (item.hasOwnProperty("edit")) { 779 if (item.hasOwnProperty("edit")) {
780 delete item.edit; 780 delete item.edit;
...@@ -789,6 +789,9 @@ export default { ...@@ -789,6 +789,9 @@ export default {
789 delete item.statusMark; 789 delete item.statusMark;
790 } 790 }
791 }); 791 });
792 + if(this.$route.query.name == "add"){
793 + delete this.queryForm.id;
794 + }
792 // 校验ET86配舱航班顺位维度 795 // 校验ET86配舱航班顺位维度
793 let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号 796 let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号
794 let fltNoRoute = this.tableData.some( 797 let fltNoRoute = this.tableData.some(
......