Elements-SY

modify

...@@ -115,6 +115,7 @@ export const inputBlurValidate = { ...@@ -115,6 +115,7 @@ export const inputBlurValidate = {
115 if (Array.isArray(this.$refs.minNumOfPieces)) { 115 if (Array.isArray(this.$refs.minNumOfPieces)) {
116 this.msgError("请输入有效件数"); 116 this.msgError("请输入有效件数");
117 } else { 117 } else {
118 + this.queryForm[pieces] = value;
118 this.$refs.minNumOfPieces.innerHTML = ""; 119 this.$refs.minNumOfPieces.innerHTML = "";
119 this.$refs.minNumOfPieces.innerHTML = "请输入有效件数"; 120 this.$refs.minNumOfPieces.innerHTML = "请输入有效件数";
120 } 121 }
...@@ -214,6 +215,7 @@ export const inputBlurValidate = { ...@@ -214,6 +215,7 @@ export const inputBlurValidate = {
214 this.validateForm = false; 215 this.validateForm = false;
215 this.msgError("请输入正整数,小数保留5位"); 216 this.msgError("请输入正整数,小数保留5位");
216 } else { 217 } else {
218 + this.queryForm[weight] = value;
217 this.validateForm = false; 219 this.validateForm = false;
218 this.$refs.minWeight.innerHTML = ""; 220 this.$refs.minWeight.innerHTML = "";
219 this.$refs.minWeight.innerHTML = "请输入正整数,小数保留5位"; 221 this.$refs.minWeight.innerHTML = "请输入正整数,小数保留5位";
...@@ -303,6 +305,7 @@ export const inputBlurValidate = { ...@@ -303,6 +305,7 @@ export const inputBlurValidate = {
303 } 305 }
304 } 306 }
305 } else { 307 } else {
308 + this[customVal] = value;
306 this.validateForm = false; 309 this.validateForm = false;
307 this.$refs[coin[customVal]].innerHTML = ""; 310 this.$refs[coin[customVal]].innerHTML = "";
308 this.$refs[coin[customVal]].innerHTML = "请输入正确申报价值"; 311 this.$refs[coin[customVal]].innerHTML = "请输入正确申报价值";
......
...@@ -506,7 +506,7 @@ export default { ...@@ -506,7 +506,7 @@ export default {
506 const { code, msg } = res; 506 const { code, msg } = res;
507 if (code == 200) { 507 if (code == 200) {
508 this.msgSuccess(msg || "创建成功!"); 508 this.msgSuccess(msg || "创建成功!");
509 - this.closeTagMenu(this.$route) 509 + this.closeTagMenu(this.$route);
510 } else { 510 } else {
511 this.msgError(msg || "创建失败!"); 511 this.msgError(msg || "创建失败!");
512 } 512 }
...@@ -580,7 +580,7 @@ export default { ...@@ -580,7 +580,7 @@ export default {
580 const { code, msg } = res; 580 const { code, msg } = res;
581 if (code == 200) { 581 if (code == 200) {
582 this.msgSuccess(msg || "修改成功!"); 582 this.msgSuccess(msg || "修改成功!");
583 - this.closeTagMenu(this.$route) 583 + this.closeTagMenu(this.$route);
584 } else { 584 } else {
585 this.msgError(msg || "修改失败!"); 585 this.msgError(msg || "修改失败!");
586 } 586 }
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
735 this.queryForm.minCustomVal = this.minSUDCustomVal; 735 this.queryForm.minCustomVal = this.minSUDCustomVal;
736 this.queryForm.maxCustomVal = this.maxSUDCustomVal; 736 this.queryForm.maxCustomVal = this.maxSUDCustomVal;
737 } else { 737 } else {
738 - this.queryForm.currencyCd = "CNY"; 738 + this.queryForm.currencyCd = null;
739 } 739 }
740 let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号 740 let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号
741 let fltNoRoute = this.tableData.some( 741 let fltNoRoute = this.tableData.some(
......