Elements-SY

提示语添加

......@@ -954,6 +954,7 @@ export default {
})
.catch(() => { });
},
/** 提交按钮 */
submitForm: function () {
this.$refs["form"].validate((valid) => {
......@@ -1051,6 +1052,11 @@ export default {
// 航班状态
if (this.flightState(this.ids, "已删除")) return
let handle = status == "flightStatus80" ? "关闭" : "开启";
let state = this.ids.some(item => item.statusName == `已${handle}`);
if(state){
this.msgError(`勾选的航班,航班状态为已${handle},不可操作该按钮`);
return
}
let data = {
updateIds: [],
};
......
......@@ -698,7 +698,6 @@ export default {
// 表单提交
submitForm(formName) {
this.$refs[formName].validate((valid) => {
console.log(this.queryForm, valid);
if (valid) {
// 爆仓是否继续配舱
const newtTableData = JSON.parse(JSON.stringify(this.tableData));
......