feige
2024-04-17 39c0ad120acd120b62cb69dc92b6fe63e8edf902
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