Browse Source

修改入驻虚拟申请

master
rose 4 years ago
parent
commit
28ff9993aa
  1. 8
      src/components/EntityApply/EntityApplyEdit.vue

8
src/components/EntityApply/EntityApplyEdit.vue

@ -18,7 +18,7 @@
<!-- 时间选择器时间点 -->
<!-- <div>{{ platform.buildTime}}</div> -->
<a-date-picker :default-value="$moment(+platform.buildTime*1000).format('YYYY-MM-DD HH:mm:ss')" @change="changeBirthday" />
<a-date-picker :default-value="$moment(+platform.buildTime).format('YYYY-MM-DD HH:mm:ss')" @change="changeBirthday" />
</a-form-item>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="法人代码" required>
<a-input placeholder="请输入法人代码..." v-model.trim="platform.legalPerson" />
@ -261,7 +261,7 @@ export default {
this.$message.error('请输入职务');
} else if (this.platform.isTel === false) {
this.$message.error('请输入联系电话');
} else if(this.platform.sex === undefined){
} else if(this.platform.gender === undefined){
this.$message.error('请输入申请人性别');
} else if (this.platform.idCard === '') {
this.$message.error('请输入身份证号');
@ -289,7 +289,7 @@ export default {
email: this.platform.email,
fileList: this.filesUpload,
friendCompany: this.platform.friendCompany,
gender: this.platform.sex,
gender: this.platform.gender,
idCard: this.platform.idCard,
juniorCollege: this.platform.juniorCollege,
legalPerson: this.platform.legalPerson,
@ -310,7 +310,7 @@ export default {
staffCount: this.platform.staffCount,
},
};
console.log(params);
console.log("updatePlace",params);
const res = await updatePlace(params);
// console.log(res);
const { code, msg, data } = res.data;

Loading…
Cancel
Save