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
d7daea72
Commit
d7daea72
authored
Nov 13, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单编辑与详情bug修复
parent
e39dc95b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
edit.vue
src/views/ecw/offer/edit.vue
+11
-7
No files found.
src/views/ecw/offer/edit.vue
View file @
d7daea72
...
...
@@ -115,7 +115,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的国')"
prop=
"destCountryId"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国')"
class=
"w-200"
>
<el-select
v-model=
"form.destCountryId"
:placeholder=
"$t('请选择目的国')"
class=
"w-200"
>
<el-option
v-for=
"item in AddressProvince"
:key=
"item.guojia"
:label=
"item.guojiaName"
:value=
"item.guojia"
/>
</el-select>
</el-form-item>
...
...
@@ -742,6 +742,8 @@ export default {
startTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
有效期开始时间不能为空
"
)
}],
endTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
有效期结束时间不能为空
"
)
}],
transportId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择运输方式
"
)
}],
// departureId: [{required: true, message: this.$t('请选择始发城市')}],
destCountryId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择目的国家
'
)}],
channelId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
选择出货渠道
"
)
}],
stopTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
不能为空
"
)
}],
relation
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择所属人
"
)
}],
...
...
@@ -1074,9 +1076,9 @@ export default {
selectedRouter
(
val
)
{
if
(
!
val
)
return
;[
"
1
"
,
"
4
"
].
forEach
((
service
)
=>
{
if
(
this
.
routeOtherServices
.
indexOf
(
service
)
<
0
&&
this
.
form
.
t
ype
.
indexOf
(
service
)
>
-
1
)
{
this
.
form
.
t
ype
.
splice
(
this
.
form
.
t
ype
.
findIndex
((
item
)
=>
item
==
service
),
if
(
this
.
routeOtherServices
.
indexOf
(
service
)
<
0
&&
this
.
form
.
serviceT
ype
.
indexOf
(
service
)
>
-
1
)
{
this
.
form
.
serviceT
ype
.
splice
(
this
.
form
.
serviceT
ype
.
findIndex
((
item
)
=>
item
==
service
),
1
)
}
...
...
@@ -1102,7 +1104,7 @@ export default {
getRegionList
(
4
,
4
).
then
((
res
)
=>
(
this
.
AddressCity
=
res
.
data
))
competitorListAll
().
then
((
res
)
=>
(
this
.
competitorList
=
res
.
data
))
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
copyId
)
{
this
.
getOffer
()
}
else
{
// alert(this.$route.query.customer.defaultContactPhone)
...
...
@@ -1146,7 +1148,7 @@ export default {
if
(
this
.
$route
.
query
!==
1
)
{
getOffer
(
this
.
$route
.
query
.
id
||
this
.
$route
.
query
.
copyId
).
then
((
res
)
=>
{
let
formData
=
res
.
data
formData
.
type
=
formData
.
type
?
formData
.
t
ype
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
formData
.
serviceType
=
formData
.
serviceType
?
formData
.
serviceT
ype
.
split
(
"
,
"
).
filter
((
item
)
=>
item
!=
""
)
:
[]
formData
.
prodCreateReqVOList
=
[]
if
(
formData
.
transportVO
&&
formData
.
transportVO
.
packageType
)
{
formData
.
transportVO
.
packageTypeArr
=
formData
.
transportVO
.
packageType
.
split
(
"
,
"
).
filter
((
item
)
=>
item
&&
item
!=
""
)
...
...
@@ -1179,10 +1181,12 @@ export default {
}
if
(
this
.
$route
.
query
.
copyId
)
{
formData
.
offerId
=
""
formData
.
offerId
=
null
formData
.
startTime
=
""
formData
.
endTime
=
""
formData
.
stopTime
=
""
// 复制报价单状态重置为草稿
formData
.
status
=
2
}
formData
.
channelId
=
formData
.
channelId
||
null
...
...
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