a3265af6 by renchao@pashanhoo.com

style:登记薄补录提交增加判断

1 parent 75f5377e
......@@ -2,7 +2,7 @@
* @Description:
* @Autor: renchao
:show-message="false"
* @LastEditTime: 2023-08-22 16:27:25
* @LastEditTime: 2023-11-03 14:46:48
-->
<template>
<!-- 受理信息 -->
......@@ -477,7 +477,6 @@
this.ruleForm.qlxx.ssywh = val.ywh;
this.ssQlxxchangediolog(val);
},
// 弹框事件
/**
* @description: 弹框事件
* @param {*} val
......@@ -585,7 +584,6 @@
*/
onSubmit () {
this.$refs.ruleForm.validate((valid) => {
console.log("valid", valid);
if (valid) {
save(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -605,6 +603,11 @@
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
......
......@@ -316,6 +316,11 @@ export default {
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-26 13:34:22
* @LastEditTime: 2023-11-03 14:47:38
-->
<template>
<!-- 受理信息 -->
......@@ -709,6 +709,11 @@
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-08 10:05:16
* @LastEditTime: 2023-11-03 14:47:55
-->
<template>
<!-- 受理信息 -->
......@@ -592,9 +592,14 @@
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
})
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-26 13:27:29
* @LastEditTime: 2023-11-03 14:48:15
-->
<template>
<!-- 受理信息 -->
......@@ -692,12 +692,17 @@
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
},
},
};
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-10-08 09:46:31
* @LastEditTime: 2023-11-03 14:48:37
-->
<template>
<!-- 受理信息 -->
......@@ -693,11 +693,16 @@
}
});
} else {
this.$message({
showClose: true,
message: "请完善表单信息",
type: "error"
})
return false;
}
});
},
},
})
}
}
};
</script>
<style scoped lang="scss">
......