From 0947adf188a83eecf0a6a545cea25c97f7ce17f0 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期一, 04 三月 2024 16:55:30 +0800
Subject: [PATCH] 修改了备忘录等内容

---
 ruoyi-ui/src/views/marry/index.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue
index 727b98b..228acc9 100644
--- a/ruoyi-ui/src/views/marry/index.vue
+++ b/ruoyi-ui/src/views/marry/index.vue
@@ -781,6 +781,7 @@
             console.log(111)
             console.log("淇℃伅")
             console.log(this.marryList.marryStatus);
+			//alert(this.marryList.bearStatus)
             if(this.marryList.marryStatus===3){
               this.showOldSpouse = true;
             } else{
@@ -954,12 +955,16 @@
     //淇敼鍚庣殑淇濆瓨
 
     submitForm() {
-      if(parseInt(this.mrs))
+      if(this.mrs!=undefined)
         this.marryList.marryStatus = parseInt(this.mrs)
-      if(parseInt(this.smrs))
+      if(this.smrs!=undefined)
         this.marryList.spouseMarryStatus = parseInt(this.smrs)
-      if(parseInt(this.bear))
+	  // console.log(this.bear)
+	  // alert(this.bear)
+	  // if( parseInt(this.bear))
+      if(this.bear!=undefined)
         this.marryList.bearStatus = parseInt(this.bear)
+
       this.marryList.oneBorn = parseInt(this.onebear)
       this.marryList.handbookStatus =parseInt(this.handsj)
       this.marryList.sex = this.sinds

--
Gitblit v1.9.1