Elements-SY

modify

...@@ -48,7 +48,7 @@ export const formConfig = [ ...@@ -48,7 +48,7 @@ export const formConfig = [
48 // 航线规则表单 48 // 航线规则表单
49 export const routeRuleForm = { 49 export const routeRuleForm = {
50 config: true, 50 config: true,
51 - purposeOfFlightNo: "LP001", 51 + purposeOfFlightNo: "",
52 flightRoute: "", // 飞行航线 52 flightRoute: "", // 飞行航线
53 routeSpecifyDateSeq: "", // 航线优先级 53 routeSpecifyDateSeq: "", // 航线优先级
54 declarationCategory: "", 54 declarationCategory: "",
......
...@@ -270,6 +270,7 @@ export default { ...@@ -270,6 +270,7 @@ export default {
270 // 新增规则 270 // 新增规则
271 addRlue(index) { 271 addRlue(index) {
272 // 如果当前航班号的航线下没有数据给 272 // 如果当前航班号的航线下没有数据给
273 + routeRuleForm.purposeOfFlightNo = this.$route.query.purposeOfFlightNo;
273 this.setattrVal(routeRuleForm); 274 this.setattrVal(routeRuleForm);
274 const mergeObj = { 275 const mergeObj = {
275 ...this.routesInfo[index], 276 ...this.routesInfo[index],
...@@ -333,15 +334,6 @@ export default { ...@@ -333,15 +334,6 @@ export default {
333 "handlingCode", 334 "handlingCode",
334 "subCategory", 335 "subCategory",
335 ]; 336 ];
336 - delete parmas.etesRule;
337 - delete parmas.cargoType;
338 - delete parmas.config;
339 - delete parmas.fltNo;
340 -
341 - delete parmas.route;
342 - // delete parmas.cargoType;
343 - // delete parmas.config;
344 - // delete parmas.fltNo;
345 let validate = keys.some((key) => parmas[key]); 337 let validate = keys.some((key) => parmas[key]);
346 if (validate) { 338 if (validate) {
347 this.loading = true; 339 this.loading = true;
......