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
9d6f514c
Commit
9d6f514c
authored
Nov 13, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建报价单bug修复
parent
723e7d92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
edit.vue
src/views/ecw/offer/edit.vue
+3
-3
No files found.
src/views/ecw/offer/edit.vue
View file @
9d6f514c
...
@@ -1086,7 +1086,7 @@ export default {
...
@@ -1086,7 +1086,7 @@ export default {
}
}
},
},
activated
()
{
activated
()
{
if
(
this
.
form
.
offerId
!=
this
.
$route
.
query
.
id
)
{
if
(
this
.
form
.
offerId
&&
this
.
form
.
offerId
!=
this
.
$route
.
query
.
id
)
{
this
.
getOffer
()
this
.
getOffer
()
}
}
if
(
this
.
$route
.
query
.
copyId
&&
this
.
form
.
copyId
!=
this
.
$route
.
query
.
copyId
)
{
if
(
this
.
$route
.
query
.
copyId
&&
this
.
form
.
copyId
!=
this
.
$route
.
query
.
copyId
)
{
...
@@ -1111,7 +1111,7 @@ export default {
...
@@ -1111,7 +1111,7 @@ export default {
this
.
addProduct
()
this
.
addProduct
()
}
}
if
(
this
.
$route
.
query
.
type
==
1
)
{
if
(
this
.
$route
.
query
.
type
&&
this
.
$route
.
query
.
type
=
==
1
)
{
let
res
=
await
getCustomerContactsListByCustomer
({
customerId
:
parseInt
(
this
.
$route
.
query
.
customerId
||
0
)
})
let
res
=
await
getCustomerContactsListByCustomer
({
customerId
:
parseInt
(
this
.
$route
.
query
.
customerId
||
0
)
})
this
.
customer
=
res
.
data
.
find
((
item
)
=>
item
.
isDefault
)
this
.
customer
=
res
.
data
.
find
((
item
)
=>
item
.
isDefault
)
...
@@ -1145,7 +1145,7 @@ export default {
...
@@ -1145,7 +1145,7 @@ export default {
},
},
getOffer
()
{
getOffer
()
{
//加了是否从全部客户列表中报价按钮进来的判断
//加了是否从全部客户列表中报价按钮进来的判断
if
(
this
.
$route
.
query
!==
1
)
{
if
(
this
.
$route
.
query
.
type
!==
1
)
{
getOffer
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
).
then
((
res
)
=>
{
getOffer
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
).
then
((
res
)
=>
{
let
formData
=
res
.
data
let
formData
=
res
.
data
formData
.
serviceType
=
formData
.
serviceType
?
formData
.
serviceType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
formData
.
serviceType
=
formData
.
serviceType
?
formData
.
serviceType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
...
...
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