add 会员详情修改
This commit is contained in:
@@ -255,11 +255,11 @@ export default {
|
||||
formData.realname = formData.companyName
|
||||
let encrypt = new JSEncrypt()
|
||||
encrypt.setPublicKey(that.encryptedString)
|
||||
formData.standardPhone = encrypt.encrypt(values.standardPhone)
|
||||
formData.standardPhone = values.standardPhone && encrypt.encrypt(values.standardPhone) || ''
|
||||
formData.standardMobile = encrypt.encrypt(values.standardMobile)
|
||||
formData.standardEmail = encrypt.encrypt(values.standardEmail)
|
||||
formData.mobile = encrypt.encrypt(values.mobile)
|
||||
formData.phone = encrypt.encrypt(values.phone)
|
||||
formData.phone = values.phone && encrypt.encrypt(values.phone) || ''
|
||||
formData.email = encrypt.encrypt(values.email)
|
||||
formData.rsapublickey = that.encryptedString
|
||||
console.log('表单提交数据', JSON.stringify(formData))
|
||||
|
||||
@@ -36,6 +36,16 @@
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- </a-row>-->
|
||||
<a-row :span="24" class="label-width-row">
|
||||
<a-col :span="16">
|
||||
<a-form-item label="法人代表" :labelCol="labelCol1" :wrapperCol="wrapperCol1">
|
||||
<a-input
|
||||
:maxLength="50"
|
||||
v-decorator="['legalRepresent',validatorRules.legalRepresent]"
|
||||
placeholder="请输入法人代表"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :span="24" class="label-width-row">
|
||||
<a-col :span="16">
|
||||
<a-form-item label="隶属部门/集团" :labelCol="labelCol1" :wrapperCol="wrapperCol1">
|
||||
@@ -360,6 +370,7 @@ export default {
|
||||
sm: { span: 14 }
|
||||
},
|
||||
validatorRules: {
|
||||
legalRepresent: { rules: [{ required: true, message: '请输入法人代表' }], validateTrigger: 'blur' },
|
||||
memberStatus: {
|
||||
rules: [{ required: true, message: '请选择会员状态' }]
|
||||
},
|
||||
@@ -603,7 +614,7 @@ export default {
|
||||
initData(memberInfo) {
|
||||
this.model = { ...memberInfo }
|
||||
this.$nextTick(() => {
|
||||
this.form.setFieldsValue(pick(this.model, 'invoiceInfo', 'taxNo', 'userName', 'registerTime', 'companyName', 'companyNature', 'companyDepartment', 'companyBusinessDesc', 'standardDepartment', 'standardLeadingMan', 'standardPhone', 'standardMobile', 'standardEmail', 'standardPost', 'standardSoleDutyCount', 'standardConcurrentCount', 'liaisonMan', 'email', 'phone', 'mobile', 'address', 'postcode', 'memberStatus', 'userId', 'validDate', 'memberType', 'createTime', 'businessLicenseFileId', 'recommendWordId', 'memberNature', 'industrialOrganization', 'applicationWordId', 'realname', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount'))
|
||||
this.form.setFieldsValue(pick(this.model, 'legalRepresent','invoiceInfo', 'taxNo', 'userName', 'registerTime', 'companyName', 'companyNature', 'companyDepartment', 'companyBusinessDesc', 'standardDepartment', 'standardLeadingMan', 'standardPhone', 'standardMobile', 'standardEmail', 'standardPost', 'standardSoleDutyCount', 'standardConcurrentCount', 'liaisonMan', 'email', 'phone', 'mobile', 'address', 'postcode', 'memberStatus', 'userId', 'validDate', 'memberType', 'createTime', 'businessLicenseFileId', 'recommendWordId', 'memberNature', 'industrialOrganization', 'applicationWordId', 'realname', 'invoiceAddress', 'invoicePhone', 'depositBank', 'bankAccount'))
|
||||
})
|
||||
this.getApplyPdfFilesByIds()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user