|
@@ -18,8 +18,8 @@
|
|
|
<el-form-item label="统一社会信用代码" prop="socialCreditCode">
|
|
|
<el-input v-model="ruleForm.socialCreditCode" placeholder="请输入统一社会信用代码" disabled />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="资方" prop="socialCreditCode">
|
|
|
- <el-input v-model="ruleForm.socialCreditCode" placeholder="请输入资方名称" disabled />
|
|
|
+ <el-form-item label="资方" prop="capitalName">
|
|
|
+ <el-input v-model="ruleForm.capitalName" placeholder="请输入资方名称" disabled />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -42,7 +42,8 @@ export default {
|
|
|
ruleForm: {
|
|
|
typeName: '',
|
|
|
enterpriseName: '',
|
|
|
- socialCreditCode: ''
|
|
|
+ socialCreditCode: '',
|
|
|
+ capitalName: ''
|
|
|
},
|
|
|
rules: {
|
|
|
typeName: [{ required: true, message: '请选择企业类别', trigger: 'blur' }],
|
|
@@ -55,11 +56,12 @@ export default {
|
|
|
baseInfo: {
|
|
|
handler(newV) {
|
|
|
if (newV && Object.keys(newV)) {
|
|
|
- const { companyType, companyName, code } = JSON.parse(JSON.stringify(newV))
|
|
|
+ const { companyType, companyName, code, capitalName } = JSON.parse(JSON.stringify(newV))
|
|
|
this.ruleForm = {
|
|
|
typeName: companyType,
|
|
|
enterpriseName: companyName,
|
|
|
- socialCreditCode: code
|
|
|
+ socialCreditCode: code,
|
|
|
+ capitalName
|
|
|
}
|
|
|
}
|
|
|
},
|