From c0b7131a4213e7b1485c63fcad88d8d2d146c96c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期六, 20 四月 2024 11:01:30 +0800 Subject: [PATCH] 修改了4/20这周除了备忘录以外的错误 --- ruoyi-ui/src/views/marry/index.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/marry/index.vue b/ruoyi-ui/src/views/marry/index.vue index 727b98b..d70c533 100644 --- a/ruoyi-ui/src/views/marry/index.vue +++ b/ruoyi-ui/src/views/marry/index.vue @@ -26,7 +26,7 @@ </el-row> <el-row :span="16"> <el-form-item label="鍑虹敓鏃ユ湡" prop="birthday" label-width="75px"> - + <el-date-picker v-model="marryList.birthday" type="date" placeholder="璇烽�夋嫨鏃ユ湡" @@ -607,6 +607,8 @@ // open:true, // 鏄惁鏄剧ず寮瑰嚭灞傦紙鏁版嵁鏉冮檺锛� bear:undefined, + handsj:undefined, + onebear:undefined, mrs:undefined, smrs:undefined, openDataScope: false, @@ -780,7 +782,8 @@ this.oldSpouseList = this.marryList.oldSpouseList; console.log(111) console.log("淇℃伅") - console.log(this.marryList.marryStatus); + console.log(this.marryList); + //alert(this.marryList.bearStatus) if(this.marryList.marryStatus===3){ this.showOldSpouse = true; } else{ @@ -954,12 +957,14 @@ //淇敼鍚庣殑淇濆瓨 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)) + + 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