|
@@ -281,7 +281,9 @@
|
|
v-if="inputVisible"
|
|
v-if="inputVisible"
|
|
v-model="label"
|
|
v-model="label"
|
|
ref="saveTagInput"
|
|
ref="saveTagInput"
|
|
- size="small"
|
|
|
|
|
|
+ maxlength="6"
|
|
|
|
+ placeholder="请输入标签内容,不超过6个字符"
|
|
|
|
+ size="medium"
|
|
@keyup.enter.native="handleInputConfirm"
|
|
@keyup.enter.native="handleInputConfirm"
|
|
@blur="handleInputConfirm"
|
|
@blur="handleInputConfirm"
|
|
>
|
|
>
|
|
@@ -304,15 +306,13 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<h3 style="margin-left: 30px">联系方式</h3>
|
|
<h3 style="margin-left: 30px">联系方式</h3>
|
|
|
|
|
|
- <div :key="index" v-for="(item, index) in freightspace">
|
|
|
|
- <div v-for="(item, index) in companyList1.settledCompanyContacts" :key="index">
|
|
|
|
|
|
+ <div :key="index" v-for="(item, index) in companyList1.settledCompanyContacts">
|
|
<el-form-item label="联系人" :label-width="formLabelWidth" prop="contacts">
|
|
<el-form-item label="联系人" :label-width="formLabelWidth" prop="contacts">
|
|
<el-input v-model="item.contacts" placeholder="请输入联系人姓名"></el-input>
|
|
<el-input v-model="item.contacts" placeholder="请输入联系人姓名"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="电话" :label-width="formLabelWidth" prop="createPhone">
|
|
<el-form-item label="电话" :label-width="formLabelWidth" prop="createPhone">
|
|
<el-input v-model="item.contactsPhone" placeholder="请输入联系人电话"></el-input>
|
|
<el-input v-model="item.contactsPhone" placeholder="请输入联系人电话"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </div>
|
|
|
|
<img
|
|
<img
|
|
width="22"
|
|
width="22"
|
|
height="22"
|
|
height="22"
|
|
@@ -330,7 +330,6 @@
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<el-form-item label="邮箱" :label-width="formLabelWidth" prop="email">
|
|
<el-form-item label="邮箱" :label-width="formLabelWidth" prop="email">
|
|
<el-input v-model="companyList1.email" placeholder="请输入电子邮箱"></el-input>
|
|
<el-input v-model="companyList1.email" placeholder="请输入电子邮箱"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -471,11 +470,11 @@ export default {
|
|
},
|
|
},
|
|
//联系人
|
|
//联系人
|
|
add() {
|
|
add() {
|
|
- this.freightspace.push({})
|
|
|
|
|
|
+ this.companyList1.settledCompanyContacts.push({})
|
|
},
|
|
},
|
|
del(index) {
|
|
del(index) {
|
|
- if (this.freightspace.length > 1) {
|
|
|
|
- this.freightspace.splice(index, 1)
|
|
|
|
|
|
+ if (this.companyList1.settledCompanyContacts.length > 1) {
|
|
|
|
+ this.companyList1.settledCompanyContacts.splice(index, 1)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//列表
|
|
//列表
|
|
@@ -534,6 +533,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.companyList1 = response
|
|
this.companyList1 = response
|
|
|
|
+ console.log(this.companyList1,211)
|
|
this.id=response.id
|
|
this.id=response.id
|
|
if(response.mainBusinessType!=null){
|
|
if(response.mainBusinessType!=null){
|
|
this.companyList1.mainBusinessType=response.mainBusinessType.split(',')
|
|
this.companyList1.mainBusinessType=response.mainBusinessType.split(',')
|
|
@@ -544,9 +544,9 @@ export default {
|
|
else{
|
|
else{
|
|
this.companyList1.label=[]
|
|
this.companyList1.label=[]
|
|
}
|
|
}
|
|
- // if(response.sitePhotoAddress!=null){
|
|
|
|
- // this.companyList1.sitePhotoAddress=response.sitePhotoAddress.split(',')
|
|
|
|
- // }
|
|
|
|
|
|
+ if(response.sitePhotoAddress!=null){
|
|
|
|
+ this.companyList1.sitePhotoAddress=response.sitePhotoAddress.split(',')
|
|
|
|
+ }
|
|
this.dialogFormVisible2 = true
|
|
this.dialogFormVisible2 = true
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -673,6 +673,7 @@ export default {
|
|
this.companyList1.id = id
|
|
this.companyList1.id = id
|
|
this.companyList1.mainBusinessType=this.companyList1.mainBusinessType.toString()
|
|
this.companyList1.mainBusinessType=this.companyList1.mainBusinessType.toString()
|
|
this.companyList1.label=this.companyList1.label.toString()
|
|
this.companyList1.label=this.companyList1.label.toString()
|
|
|
|
+ this.companyList1.sitePhotoAddress=this.companyList1.sitePhotoAddress.toString()
|
|
this.$confirm(`确定提交企业信息?`, {
|
|
this.$confirm(`确定提交企业信息?`, {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -972,7 +973,7 @@ export default {
|
|
padding-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
.input-new-tag {
|
|
.input-new-tag {
|
|
- width: 90px;
|
|
|
|
|
|
+ width: 240px;
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
vertical-align: bottom;
|
|
vertical-align: bottom;
|
|
}
|
|
}
|