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
6b96ddb8
Commit
6b96ddb8
authored
Nov 16, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制、编辑报价单bug修复
parent
95d75c17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
edit.vue
src/views/ecw/offer/edit.vue
+7
-6
No files found.
src/views/ecw/offer/edit.vue
View file @
6b96ddb8
...
...
@@ -1087,12 +1087,12 @@ export default {
}
},
activated
()
{
//
if (this.$route.query.id && this.form.offerId !== this.$route.query.id) {
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
&&
this
.
form
.
offerId
!==
this
.
$route
.
query
.
id
)
{
//
if (this.$route.query.id) {
this
.
getOffer
()
}
//
if (this.$route.query.copyId && this.form.copyId !== this.$route.query.copyId) {
if
(
this
.
$route
.
query
.
copyId
)
{
if
(
this
.
$route
.
query
.
copyId
&&
this
.
form
.
copyId
!==
this
.
$route
.
query
.
copyId
)
{
//
if (this.$route.query.copyId) {
this
.
getOffer
()
}
},
...
...
@@ -1107,7 +1107,7 @@ export default {
getRegionList
(
4
,
4
).
then
((
res
)
=>
(
this
.
AddressCity
=
res
.
data
))
competitorListAll
().
then
((
res
)
=>
(
this
.
competitorList
=
res
.
data
))
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
copyId
)
{
if
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
)
{
this
.
getOffer
()
}
else
{
// alert(this.$route.query.customer.defaultContactPhone)
...
...
@@ -1128,7 +1128,7 @@ export default {
}
}
}
else
{
this
.
form
.
relation
=
1
//
this.form.relation = 1
}
},
methods
:
{
...
...
@@ -1198,6 +1198,7 @@ export default {
formData
.
channelId
=
formData
.
channelId
||
null
this
.
$set
(
this
,
"
form
"
,
formData
)
console
.
log
(
"
报价单归属
"
,
this
.
form
.
relation
==
1
?
"
发货人
"
:
"
收货人
"
)
// 接口只返回了发货人和收货人ID,还需要调用接口获取详细信息回显
getCustomerContactsSelect
({
ids
:
[
res
.
data
.
consigneeId
,
res
.
data
.
consignorId
].
join
(
"
,
"
)
...
...
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