|
@@ -92,8 +92,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
-
|
|
|
<el-row gutter="15">
|
|
|
<el-col :span="16">
|
|
|
<el-form-item label="英文地址" prop="enAddr">
|
|
@@ -110,13 +108,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
-
|
|
|
-
|
|
|
</el-form>
|
|
|
</el-card>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<el-card class="box-card">
|
|
|
<el-form :model="formData" size="medium" label-width="100px" ref="customerDetailsForm" :rules="rules">
|
|
|
<el-row gutter="15">
|
|
@@ -156,6 +149,9 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="客户来源" prop="corpSource">
|
|
|
+ <template slot-scope="{}" slot="label">
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="addDic('客户来源')">客户来源</span>
|
|
|
+ </template>
|
|
|
<el-select v-model="formData.corpSource" size="small" placeholder="请选择客户来源" clearable
|
|
|
:style="{ width: '100%' }">
|
|
|
<el-option v-for="(item, index) in corpSourceDict" :key="index" :label="item.dictValue"
|
|
@@ -1165,7 +1161,7 @@ export default {
|
|
|
// 字典
|
|
|
creditLevelDict: [],
|
|
|
enterpriseTypeDict: [],
|
|
|
- corpSourceDict:[],
|
|
|
+ corpSourceDict: [],
|
|
|
// 对话框
|
|
|
// 客户联系人对话框
|
|
|
dialogTitle: '窗口',
|
|
@@ -1382,11 +1378,14 @@ export default {
|
|
|
getWorkDicts('corp_Source').then((res) => {
|
|
|
this.corpSourceDict = res.data.data
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
|
|
|
},
|
|
|
mounted() { },
|
|
|
methods: {
|
|
|
+ addDic(){
|
|
|
+
|
|
|
+ },
|
|
|
// ps规则监听输入事件
|
|
|
psRateValid(inputContent) {
|
|
|
let reg = /^(0.\d+|0|1)$/;
|