Elements-SY

modify

......@@ -115,6 +115,7 @@ export const inputBlurValidate = {
if (Array.isArray(this.$refs.minNumOfPieces)) {
this.msgError("请输入有效件数");
} else {
this.queryForm[pieces] = value;
this.$refs.minNumOfPieces.innerHTML = "";
this.$refs.minNumOfPieces.innerHTML = "请输入有效件数";
}
......@@ -214,6 +215,7 @@ export const inputBlurValidate = {
this.validateForm = false;
this.msgError("请输入正整数,小数保留5位");
} else {
this.queryForm[weight] = value;
this.validateForm = false;
this.$refs.minWeight.innerHTML = "";
this.$refs.minWeight.innerHTML = "请输入正整数,小数保留5位";
......@@ -303,6 +305,7 @@ export const inputBlurValidate = {
}
}
} else {
this[customVal] = value;
this.validateForm = false;
this.$refs[coin[customVal]].innerHTML = "";
this.$refs[coin[customVal]].innerHTML = "请输入正确申报价值";
......
......@@ -506,7 +506,7 @@ export default {
const { code, msg } = res;
if (code == 200) {
this.msgSuccess(msg || "创建成功!");
this.closeTagMenu(this.$route)
this.closeTagMenu(this.$route);
} else {
this.msgError(msg || "创建失败!");
}
......@@ -580,7 +580,7 @@ export default {
const { code, msg } = res;
if (code == 200) {
this.msgSuccess(msg || "修改成功!");
this.closeTagMenu(this.$route)
this.closeTagMenu(this.$route);
} else {
this.msgError(msg || "修改失败!");
}
......@@ -735,7 +735,7 @@ export default {
this.queryForm.minCustomVal = this.minSUDCustomVal;
this.queryForm.maxCustomVal = this.maxSUDCustomVal;
} else {
this.queryForm.currencyCd = "CNY";
this.queryForm.currencyCd = null;
}
let fltNo = this.tableData.some((item) => item.flightNo == ""); // 通过遍历判断航班顺位列表有没有填写的航班号
let fltNoRoute = this.tableData.some(
......