|
@@ -35,10 +35,10 @@ var temps = `
|
|
|
</div>
|
|
|
<div class="long-control" style="position: relative;">
|
|
|
<el-form-item label="公司名称 :" prop="companyName">
|
|
|
- <el-input
|
|
|
- v-model.trim="form.companyName"
|
|
|
+ <el-input
|
|
|
+ v-model.trim="form.companyName"
|
|
|
data-long-input
|
|
|
- class=" company-name"
|
|
|
+ class=" company-name"
|
|
|
@focus="companyFocus"
|
|
|
@input="searchCompany"
|
|
|
placeholder="请输入公司名称">
|
|
@@ -279,7 +279,7 @@ var vmbid = new Vue({
|
|
|
if (!dom.contains((e.target))) {
|
|
|
that.showSearchResult = false
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
beforeDestroy() {
|
|
@@ -406,11 +406,14 @@ var vmbid = new Vue({
|
|
|
var _this = this
|
|
|
$.ajax({
|
|
|
type:'POST',
|
|
|
- url:'/salesLeads/echoInfo?t=' + Date.now(),
|
|
|
+ url:'/salesLeads/retainedCapital?t=' + Date.now(),
|
|
|
success:function (res) {
|
|
|
+ if (res && res.info) {
|
|
|
+ res.data = res.info
|
|
|
+ }
|
|
|
if (res.data) {
|
|
|
_this.form.name = res.data.name ? res.data.name : ''
|
|
|
- _this.form.phone = res.data.phone ? res.data.phone : ''
|
|
|
+ _this.form.phone = res.data.phone ? res.data.phone : ''
|
|
|
_this.form.companyName = res.data.company ? res.data.company : ''
|
|
|
_this.form.branch = res.data.branch || ''
|
|
|
if (res.data.position) {
|