style:登记薄补录提交增加判断
Showing
6 changed files
with
43 additions
and
15 deletions
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | :show-message="false" | 4 | :show-message="false" |
5 | * @LastEditTime: 2023-08-22 16:27:25 | 5 | * @LastEditTime: 2023-11-03 14:46:48 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -477,7 +477,6 @@ | ... | @@ -477,7 +477,6 @@ |
477 | this.ruleForm.qlxx.ssywh = val.ywh; | 477 | this.ruleForm.qlxx.ssywh = val.ywh; |
478 | this.ssQlxxchangediolog(val); | 478 | this.ssQlxxchangediolog(val); |
479 | }, | 479 | }, |
480 | // 弹框事件 | ||
481 | /** | 480 | /** |
482 | * @description: 弹框事件 | 481 | * @description: 弹框事件 |
483 | * @param {*} val | 482 | * @param {*} val |
... | @@ -585,7 +584,6 @@ | ... | @@ -585,7 +584,6 @@ |
585 | */ | 584 | */ |
586 | onSubmit () { | 585 | onSubmit () { |
587 | this.$refs.ruleForm.validate((valid) => { | 586 | this.$refs.ruleForm.validate((valid) => { |
588 | console.log("valid", valid); | ||
589 | if (valid) { | 587 | if (valid) { |
590 | save(this.ruleForm).then((res) => { | 588 | save(this.ruleForm).then((res) => { |
591 | if (res.code === 200) { | 589 | if (res.code === 200) { |
... | @@ -605,6 +603,11 @@ | ... | @@ -605,6 +603,11 @@ |
605 | } | 603 | } |
606 | }); | 604 | }); |
607 | } else { | 605 | } else { |
606 | this.$message({ | ||
607 | showClose: true, | ||
608 | message: "请完善表单信息", | ||
609 | type: "error" | ||
610 | }) | ||
608 | return false; | 611 | return false; |
609 | } | 612 | } |
610 | }); | 613 | }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 13:34:22 | 4 | * @LastEditTime: 2023-11-03 14:47:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -709,6 +709,11 @@ | ... | @@ -709,6 +709,11 @@ |
709 | } | 709 | } |
710 | }); | 710 | }); |
711 | } else { | 711 | } else { |
712 | this.$message({ | ||
713 | showClose: true, | ||
714 | message: "请完善表单信息", | ||
715 | type: "error" | ||
716 | }) | ||
712 | return false; | 717 | return false; |
713 | } | 718 | } |
714 | }); | 719 | }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-08 10:05:16 | 4 | * @LastEditTime: 2023-11-03 14:47:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -592,9 +592,14 @@ | ... | @@ -592,9 +592,14 @@ |
592 | } | 592 | } |
593 | }); | 593 | }); |
594 | } else { | 594 | } else { |
595 | this.$message({ | ||
596 | showClose: true, | ||
597 | message: "请完善表单信息", | ||
598 | type: "error" | ||
599 | }) | ||
595 | return false; | 600 | return false; |
596 | } | 601 | } |
597 | }); | 602 | }) |
598 | } | 603 | } |
599 | } | 604 | } |
600 | } | 605 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-26 13:27:29 | 4 | * @LastEditTime: 2023-11-03 14:48:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -692,12 +692,17 @@ | ... | @@ -692,12 +692,17 @@ |
692 | } | 692 | } |
693 | }); | 693 | }); |
694 | } else { | 694 | } else { |
695 | this.$message({ | ||
696 | showClose: true, | ||
697 | message: "请完善表单信息", | ||
698 | type: "error" | ||
699 | }) | ||
695 | return false; | 700 | return false; |
696 | } | 701 | } |
697 | }); | 702 | }) |
698 | }, | 703 | } |
699 | }, | 704 | } |
700 | }; | 705 | } |
701 | </script> | 706 | </script> |
702 | <style scoped lang="scss"> | 707 | <style scoped lang="scss"> |
703 | @import "~@/styles/public.scss"; | 708 | @import "~@/styles/public.scss"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-08 09:46:31 | 4 | * @LastEditTime: 2023-11-03 14:48:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -693,11 +693,16 @@ | ... | @@ -693,11 +693,16 @@ |
693 | } | 693 | } |
694 | }); | 694 | }); |
695 | } else { | 695 | } else { |
696 | this.$message({ | ||
697 | showClose: true, | ||
698 | message: "请完善表单信息", | ||
699 | type: "error" | ||
700 | }) | ||
696 | return false; | 701 | return false; |
697 | } | 702 | } |
698 | }); | 703 | }) |
699 | }, | 704 | } |
700 | }, | 705 | } |
701 | }; | 706 | }; |
702 | </script> | 707 | </script> |
703 | <style scoped lang="scss"> | 708 | <style scoped lang="scss"> | ... | ... |
-
Please register or sign in to post a comment