|
@@ -54,7 +54,7 @@
|
|
|
<el-form-item label="社会信用码" prop="creditCode">
|
|
|
<el-input disabled placeholder="请输入社会信用码" v-model="firstFormData.creditCode"/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="商家地址" prop="address">
|
|
|
+ <el-form-item label="商家地址" prop="address" v-if="firstFormData.areaType=='国内'">
|
|
|
<el-cascader
|
|
|
v-model="firstFormData.address"
|
|
|
:props="locationProps"
|
|
@@ -64,6 +64,16 @@
|
|
|
placeholder="请选择客户地址"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="所属国家" prop="nation" v-else>
|
|
|
+ <el-select v-model="firstFormData.nation" placeholder="请选择所属国家" filterable style="width: 360px;">
|
|
|
+ <el-option :label="item.cnName" :value="item.cnName" v-for="item in countryData" :key="item.code" >
|
|
|
+ <div style="display: flex;justify-content: space-between;">
|
|
|
+ <span>{{ item.cnName }}</span>
|
|
|
+ <span style="color: #8492a6; font-size: 13px">{{ item.code }}</span>
|
|
|
+ </div>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
</div>
|
|
|
<div class="form-line">
|
|
|
<el-form-item label="决策人" prop="decisionMaker">
|
|
@@ -174,9 +184,11 @@ import { customInterence,roadshowInterence,businessCustomInterence } from '@/api
|
|
|
import autocomplete from "@/components/autocomplete.vue";
|
|
|
import Steps from "./components/Steps.vue";
|
|
|
import {locationOptions} from "@/views/custom_manage/customList/location"
|
|
|
+import country from "@/utils/countryData"
|
|
|
export default {
|
|
|
components: {autocomplete,Steps},
|
|
|
data() {
|
|
|
+ this.countryData = country
|
|
|
return {
|
|
|
/* 城市地址数据 */
|
|
|
locationOptions,
|
|
@@ -221,6 +233,7 @@ export default {
|
|
|
name:[{ required: true, message: '请输入商家名称', trigger: 'blur' },],
|
|
|
creditCode:[{ required: true, message: '请输入社会信用码', trigger: 'blur' },],
|
|
|
address:[{ required: true, message: '请选择商家地址', trigger: 'change' },],
|
|
|
+ nation:[{ required: true, message: '请选择所属国家', trigger: 'change' },],
|
|
|
decisionMaker:[{required: true, message: '请输入决策人', trigger: 'blur' },],
|
|
|
teamSize:[{required: true, message: '请选择研究团队规模', trigger: 'change' },],
|
|
|
industry:[{required: true, message: '请选择所属行业', trigger: 'change' },],
|
|
@@ -236,6 +249,7 @@ export default {
|
|
|
name:'',
|
|
|
creditCode:'',
|
|
|
address:'',
|
|
|
+ nation:'',
|
|
|
decisionMaker:'',
|
|
|
teamSize:'',
|
|
|
fundsize:'',
|
|
@@ -255,11 +269,11 @@ export default {
|
|
|
console.log('watch?',newVal)
|
|
|
if(newVal==='海外'){
|
|
|
this.firstFormData.creditCode = 'HZ' + new Date().getTime()
|
|
|
- this.firstFormData.address = ['海外','其他市']
|
|
|
- this.selectRegion(['海外','其他市'])
|
|
|
+ // this.firstFormData.address = ['海外','其他市']
|
|
|
+ // this.selectRegion(['海外','其他市'])
|
|
|
}else{
|
|
|
this.firstFormData.creditCode = ''
|
|
|
- this.firstFormData.address = []
|
|
|
+ // this.firstFormData.address = []
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -278,6 +292,7 @@ export default {
|
|
|
RegionType:params.areaType,
|
|
|
Province:params.province,
|
|
|
City:params.city,
|
|
|
+ Nation:params.nation,
|
|
|
SellerId:Number(cascaderNodes[0]?cascaderNodes[0].value:0),
|
|
|
SellerName:cascaderNodes[0]?cascaderNodes[0].label:'',
|
|
|
Leader:params.decisionMaker,
|
|
@@ -302,7 +317,6 @@ export default {
|
|
|
if(res.Ret!==200) return
|
|
|
this.step++
|
|
|
})
|
|
|
-
|
|
|
}
|
|
|
})
|
|
|
},
|