|
@@ -23,7 +23,7 @@
|
|
|
label="客户分类:"
|
|
label="客户分类:"
|
|
|
prop="categoryId"
|
|
prop="categoryId"
|
|
|
>
|
|
>
|
|
|
- {{form.categoryId}}
|
|
|
|
|
|
|
+ {{form.categoryName}}
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -273,6 +273,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
import {contactDetail} from '@/api/saleManage/contact';
|
|
import {contactDetail} from '@/api/saleManage/contact';
|
|
|
import {getFile} from '@/api/system/file';
|
|
import {getFile} from '@/api/system/file';
|
|
|
|
|
+import {getInfoById as getCategoryInfo} from '@/api/classifyManage/index';
|
|
|
import fileUpload from '@/components/upload/fileUpload';
|
|
import fileUpload from '@/components/upload/fileUpload';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import deptSelect from '@/components/CommomSelect/dept-select.vue';
|
|
import deptSelect from '@/components/CommomSelect/dept-select.vue';
|
|
@@ -299,6 +300,7 @@ export default {
|
|
|
businessLicenseFile: {},
|
|
businessLicenseFile: {},
|
|
|
businessScope: '',
|
|
businessScope: '',
|
|
|
categoryId: '',
|
|
categoryId: '',
|
|
|
|
|
+ categoryName: '',
|
|
|
companyCategoryId: '',
|
|
companyCategoryId: '',
|
|
|
companyCategoryName: '',
|
|
companyCategoryName: '',
|
|
|
hasParentGroup: 0,
|
|
hasParentGroup: 0,
|
|
@@ -471,6 +473,10 @@ export default {
|
|
|
if(this.tableLinkData && this.tableLinkData.length > 0){
|
|
if(this.tableLinkData && this.tableLinkData.length > 0){
|
|
|
this.tableLinkData.forEach(e => e.status = e.status+"");
|
|
this.tableLinkData.forEach(e => e.status = e.status+"");
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ await getCategoryInfo(this.form.categoryId).then((res) => {
|
|
|
|
|
+ this.$set(this.form,'categoryName', res.data.name)
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
downloadFile(file){
|
|
downloadFile(file){
|