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
a31b61be
Commit
a31b61be
authored
May 18, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建报价单后清理备选路线
parent
125b277c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
edit.vue
src/views/ecw/offer/edit.vue
+4
-1
No files found.
src/views/ecw/offer/edit.vue
View file @
a31b61be
...
@@ -985,6 +985,8 @@ export default {
...
@@ -985,6 +985,8 @@ export default {
if
(
this
.
form
.
channelId
){
if
(
this
.
form
.
channelId
){
params
.
channelId
=
this
.
form
.
channelId
params
.
channelId
=
this
.
form
.
channelId
}
}
// 如果没有任何条件,不请求接口
if
(
!
params
.
startCityId
&&
!
params
.
destCityId
&&
!
params
.
transportType
&&
!
params
.
channelId
)
return
false
getOpenedRouterList
(
params
).
then
(
res
=>
this
.
routerList
=
res
.
data
)
getOpenedRouterList
(
params
).
then
(
res
=>
this
.
routerList
=
res
.
data
)
},
},
// 计算体积
// 计算体积
...
@@ -1040,8 +1042,9 @@ export default {
...
@@ -1040,8 +1042,9 @@ export default {
createOffer
(
data
).
then
(
response
=>
{
createOffer
(
data
).
then
(
response
=>
{
// 重置表单内容
// 重置表单内容
this
.
$set
(
this
,
'
form
'
,
{...
createDefaultForm
()})
this
.
$set
(
this
,
'
form
'
,
{...
createDefaultForm
()})
this
.
routerList
=
[]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
console
.
log
(
'
清理表单校验
'
)
console
.
log
(
'
清理表单校验
和路线
'
)
this
.
$refs
.
form
.
clearValidate
()
this
.
$refs
.
form
.
clearValidate
()
})
})
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
));
...
...
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