Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
e828d321
Commit
e828d321
authored
Nov 06, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进列表进行新增跟进时联系人id未传值的bug修复
parent
b015ae00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
customerFollow.vue
src/views/ecw/customer/components/customerFollow.vue
+4
-1
No files found.
src/views/ecw/customer/components/customerFollow.vue
View file @
e828d321
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<el-col
:span=
"12"
v-else
>
<el-col
:span=
"12"
v-else
>
<el-form-item
:label=
"$t('联系人')"
required
>
<el-form-item
:label=
"$t('联系人')"
required
>
<div
class=
"contact"
>
<div
class=
"contact"
>
<el-input
:value=
"form.contactName
"
placeholder=
""
disabled
/>
<el-input
v-model=
"form.contactName"
:value=
"form.customerContactsId
"
placeholder=
""
disabled
/>
<img
src=
"@/assets/svg/contacts.svg"
class=
"phonebook"
@
click=
"ChooseContactDialog = true"
/>
<img
src=
"@/assets/svg/contacts.svg"
class=
"phonebook"
@
click=
"ChooseContactDialog = true"
/>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -268,12 +268,14 @@ export default {
...
@@ -268,12 +268,14 @@ export default {
console
.
log
(
item
)
console
.
log
(
item
)
if
(
item
)
{
if
(
item
)
{
this
.
form
.
contactId
=
item
.
customerContactsId
this
.
form
.
contactName
=
item
.
contactsName
this
.
form
.
contactName
=
item
.
contactsName
this
.
form
.
customerId
=
item
.
customerId
this
.
form
.
customerId
=
item
.
customerId
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
if
(
item
.
customerService
)
this
.
form
.
followUserId
=
item
.
customerService
if
(
item
.
customerService
)
this
.
form
.
followUserId
=
item
.
customerService
if
(
item
.
customerNumber
)
this
.
form
.
customerNumber
=
item
.
customerNumber
if
(
item
.
customerNumber
)
this
.
form
.
customerNumber
=
item
.
customerNumber
}
else
{
}
else
{
this
.
form
.
contactId
=
null
this
.
form
.
contactName
=
null
this
.
form
.
contactName
=
null
this
.
form
.
contactPhone
=
null
this
.
form
.
contactPhone
=
null
}
}
...
@@ -283,6 +285,7 @@ export default {
...
@@ -283,6 +285,7 @@ export default {
if
(
val
)
{
if
(
val
)
{
for
(
const
item
of
this
.
customerContactsList
)
{
for
(
const
item
of
this
.
customerContactsList
)
{
if
(
item
.
id
==
val
)
{
if
(
item
.
id
==
val
)
{
this
.
form
.
contactId
=
item
.
id
this
.
form
.
contactName
=
item
.
name
this
.
form
.
contactName
=
item
.
name
this
.
form
.
customerId
=
item
.
customerId
this
.
form
.
customerId
=
item
.
customerId
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment