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
19e13b70
Commit
19e13b70
authored
Nov 15, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:【报价单】报价单复制,弹出了选择联系人
parent
e343f799
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
edit.vue
src/views/ecw/offer/edit.vue
+11
-4
No files found.
src/views/ecw/offer/edit.vue
View file @
19e13b70
...
@@ -1199,14 +1199,21 @@ export default {
...
@@ -1199,14 +1199,21 @@ export default {
getCustomerContactsSelect
({
getCustomerContactsSelect
({
ids
:
[
res
.
data
.
consigneeId
,
res
.
data
.
consignorId
].
join
(
"
,
"
)
ids
:
[
res
.
data
.
consigneeId
,
res
.
data
.
consignorId
].
join
(
"
,
"
)
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
this
.
contactChooseType
=
"
consignee
"
this
.
onContactAssignValueBackToDisplay
(
data
.
list
.
find
((
item
)
=>
item
.
customerContactsId
==
res
.
data
.
consigneeId
),
"
consignee
"
)
this
.
onContactChoose
(
data
.
list
.
find
((
item
)
=>
item
.
customerContactsId
==
res
.
data
.
consigneeId
))
this
.
onContactAssignValueBackToDisplay
(
data
.
list
.
find
((
item
)
=>
item
.
customerContactsId
==
res
.
data
.
consignorId
),
"
consignor
"
)
this
.
contactChooseType
=
"
consignor
"
this
.
onContactChoose
(
data
.
list
.
find
((
item
)
=>
item
.
customerContactsId
==
res
.
data
.
consignorId
))
})
})
})
})
}
}
},
},
onContactAssignValueBackToDisplay
(
contact
,
contactChooseType
)
{
if
(
!
contact
)
return
this
.
$set
(
this
.
form
,
contactChooseType
+
"
Company
"
,
contact
.
company
)
this
.
$set
(
this
.
form
,
contactChooseType
+
"
Id
"
,
contact
.
customerContactsId
)
this
.
$set
(
this
.
form
,
contactChooseType
+
"
CountryCode
"
,
contact
.
areaCode
)
this
.
$set
(
this
.
form
,
contactChooseType
+
"
Email
"
,
contact
.
email
)
this
.
$set
(
this
.
form
,
contactChooseType
+
"
Name
"
,
contact
.
contactsName
)
this
.
$set
(
this
.
form
,
contactChooseType
+
"
Phone
"
,
contact
.
phoneNew
)
},
onContactChoose
(
contact
)
{
onContactChoose
(
contact
)
{
if
(
!
contact
)
return
if
(
!
contact
)
return
...
...
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