Browse Source

处理页面字段类型

LiFei 6 years ago
parent
commit
ccce76bcf4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/company/modules/CompanyAuthenticationModal.vue

+ 3 - 1
src/views/company/modules/CompanyAuthenticationModal.vue

@@ -92,9 +92,11 @@
         this.model = Object.assign({}, record);
         this.visible = true;
         this.$nextTick(() => {
-          this.form.setFieldsValue(pick(this.model,'userId','licenseFront','otherLicense','enterpriseName','isHumanResource','authenticationStatus','delFlag'))
+
+          this.form.setFieldsValue(pick(this.model,'userId','licenseFront','otherLicense','enterpriseName','authenticationStatus','delFlag'))
 		  //时间格式化
           this.form.setFieldsValue({expiryDate:this.model.expiryDate?moment(this.model.expiryDate):null})
+          this.form.setFieldsValue({isHumanResource:String(this.model.isHumanResource)})
         });
 
       },