|
@@ -18,7 +18,7 @@
|
|
|
<el-option v-for="(item, index) in field102Options" :key="index" :label="item.label" :value="item.value"
|
|
|
:disabled="item.disabled"></el-option>
|
|
|
</el-select> -->
|
|
|
- <avue-input-tree :check-strictly="true" @change="corpTypeChange" multiple v-model="formData.corpType"
|
|
|
+ <avue-input-tree :check-strictly="true" @change="corpTypeChange" multiple v-model="formData.corpTypeList"
|
|
|
placeholder="请选择内容" :props="{ label: 'cnName', value: 'id' }" :dic="customTypeData"
|
|
|
:style="{ width: '100%' }"></avue-input-tree>
|
|
|
</el-form-item>
|
|
@@ -756,6 +756,7 @@ export default {
|
|
|
if (this.detailData.id) {
|
|
|
getBcorpsDetail(this.detailData.id).then(res => {
|
|
|
this.formData = res.data.data
|
|
|
+ this.formData.corpTypeList = res.data.data.corpType.split(',')
|
|
|
})
|
|
|
}
|
|
|
// 查询国家下拉
|
|
@@ -787,6 +788,8 @@ export default {
|
|
|
methods: {
|
|
|
corpTypeChange(ids) {
|
|
|
// console.log(ids);
|
|
|
+ this.formData.corpType = ids.join(",")
|
|
|
+ // console.log(this.formData.corpType);
|
|
|
},
|
|
|
salesChange(id) {
|
|
|
if (id == null) {
|