【update】会议报名编辑页面数据的回显
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<a-form-item label="参会企业" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<add-meeting-company @change="changeCompany" v-decorator="['companyId',validatorRules.companyId]"
|
||||
placeholder="请选择参会企业"
|
||||
full-company-info
|
||||
:disabled="model.checkResult === 1"
|
||||
:maxLength='50'>
|
||||
</add-meeting-company>
|
||||
@@ -43,25 +44,6 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<!-- <a-col :xxl="8" :xl="12" :sm="24">-->
|
||||
<!-- <a-form-item label="职务" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
|
||||
<!-- <a-input placeholder="请输入职务"-->
|
||||
<!-- :maxLength='50'-->
|
||||
<!-- disabled-->
|
||||
<!-- v-decorator="[ 'post']"></a-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
|
||||
<!-- <a-col :xxl="8" :xl="12" :sm="24">-->
|
||||
<!-- <a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
|
||||
<!-- <a-input placeholder="请输入邮箱"-->
|
||||
<!-- :maxLength='50'-->
|
||||
<!-- disabled-->
|
||||
<!-- v-decorator="[ 'email',-->
|
||||
<!-- validatorRules.email]"></a-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
|
||||
<a-col :xxl="8" :xl="12" :sm="24">
|
||||
<a-form-item label="身份" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-radio-group v-decorator="['identity',validatorRules.identify]" @change="changeIdentify">
|
||||
@@ -324,10 +306,19 @@ export default {
|
||||
// 参会单位回显
|
||||
this.model.companyId = {
|
||||
id:this.model.companyId,
|
||||
companyName:this.model.companyName
|
||||
companyName:this.model.companyName,
|
||||
}
|
||||
// 参会人回显
|
||||
this.selectedCompany = this.model.companyId
|
||||
// this.selectedCompany = this.model.companyId
|
||||
this.selectedCompany = Object.assign({}, this.model.companyId, {
|
||||
// 写入发票的信息,因为需要回显
|
||||
dutyCode:this.model.dutyCode, // 信用代码
|
||||
companyAddress:this.model.companyAddress, // 公司地址
|
||||
companyPhone:this.model.companyPhone, // 公司电话
|
||||
openingBank:this.model.openingBank, // 开户行
|
||||
bankAccount:this.model.bankAccount, // 银行账号
|
||||
linkBankNumber:this.model.linkBankNumber // 联行号
|
||||
})
|
||||
this.selectPerson = {
|
||||
id:this.model.companyContactTemporaryId,
|
||||
name:this.model.companyContactName
|
||||
@@ -465,8 +456,9 @@ export default {
|
||||
/*
|
||||
* 选择参会企业
|
||||
* */
|
||||
changeCompany(value) {
|
||||
this.selectedCompany = value
|
||||
changeCompany(value, otherParams) {
|
||||
// this.selectedCompany = value
|
||||
this.selectedCompany = otherParams
|
||||
// 去掉未审核 去判断的企业是否是标协会企业
|
||||
let companyName = this.selectedCompany.companyName.replaceAll('(未审核)','')
|
||||
|
||||
@@ -495,10 +487,13 @@ export default {
|
||||
this.form.resetFields(['companyContactId','phone'])
|
||||
if(this.$refs.formother ){
|
||||
this.$refs.formother.clearFormItem()
|
||||
// 设置发票的相关信息
|
||||
this.$refs.formother.setInvoiceFormItem()
|
||||
}
|
||||
// 判断当前企业是否是内部企业
|
||||
console.log('-----this.selectedCompany-----', this.selectedCompany)
|
||||
this.judgeInternalEnterprise(this.selectedCompany.id)
|
||||
|
||||
},
|
||||
/*
|
||||
* 选择联系人获取信息
|
||||
|
||||
Reference in New Issue
Block a user