|
|
@ -139,14 +139,6 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<!-- <el-col :span="12"> |
|
|
|
<el-form-item label="经营类型"> |
|
|
|
<el-checkbox-group v-model="formData.businessType"> |
|
|
|
<el-checkbox label="0">种植</el-checkbox> |
|
|
|
<el-checkbox label="1">养殖</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</el-form-item> |
|
|
|
</el-col> --> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="企业法人" prop="legalPerson"> |
|
|
|
<el-input placeholder="请输入" v-model="formData.legalPerson" :maxlength="4" show-word-limit/> |
|
|
@ -259,9 +251,9 @@ import {district} from '@/config/utils' |
|
|
|
if(await dispatch('data/getCompany')){ |
|
|
|
formData.value={ |
|
|
|
...getters['data/companyInfo'], |
|
|
|
pic: getters['data/companyInfo']?.pic?.split(',').filter(v=>v)||[], |
|
|
|
region: getters['data/companyInfo']?.region.replace(/\d+,\d+,(\d+)/,'$1'), |
|
|
|
businessType:getters['data/companyInfo']?.businessType?.split(',').filter(v=>v)||[], |
|
|
|
pic: getters['data/companyInfo']?.pic?.split(',').filter?.(v=>v)||[], |
|
|
|
region: getters['data/companyInfo']?.region?.replace?.(/\d+,\d+,(\d+)/,'$1'), |
|
|
|
businessType:getters['data/companyInfo']?.businessType?.split?.(',')?.filter?.(v=>v)||[], |
|
|
|
} |
|
|
|
}else{ |
|
|
|
msg.error('获取企业详情失败!') |
|
|
|