Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
7a868863
Commit
7a868863
authored
Nov 25, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
25e90198
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+20
-4
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
7a868863
...
...
@@ -1427,9 +1427,9 @@
<el-dropdown-item
@
click
.
native=
"removeTeamInfo(item.TCID)"
>
{{ $t("system.table_delete") }}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState == 2 || item.TCState == 0 || item.TCState == 1"
@
click
.
native=
"setUpPlat(item)"
>
{{ $t("Operation.Op_shangjia") }}
@
click
.
native=
"setUpPlat(item
,3
)"
>
{{ $t("Operation.Op_shangjia") }}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState == 3"
@
click
.
native=
"setUpPlat(item)"
>
<el-dropdown-item
v-if=
"item.TCState == 3"
@
click
.
native=
"setUpPlat(item
,0
)"
>
{{ $t("objFill.xiugaisjpt") }}
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState == 3"
@
click
.
native=
"Setshelves(item.TCID)"
>
...
...
@@ -2834,10 +2834,11 @@
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
;
},
//点击上架
setUpPlat
(
item
)
{
setUpPlat
(
item
,
type
)
{
this
.
queryCommonData
.
outerVisible
=
false
;
this
.
queryCommonData
.
setPlatDialog
=
true
;
this
.
queryCommonData
.
singleTCID
=
item
.
TCID
;
this
.
queryCommonData
.
comState
=
type
;
if
(
item
.
TCState
==
2
)
{
this
.
queryCommonData
.
ckedplat
=
[];
this
.
queryCommonData
.
checkDialogAll
=
false
;
...
...
@@ -2867,6 +2868,7 @@
});
});
},
//单团设置下架
Setshelves
(
TCID
)
{
let
msg
=
{
...
...
@@ -2896,7 +2898,8 @@
this
.
Error
(
this
.
$t
(
"Operation.Op_choicePlat"
));
return
;
}
this
.
apipost
(
"travel_post_SetPriceSalePlat"
,
msg
,
(
res
)
=>
{
if
(
this
.
queryCommonData
.
comState
==
3
){
this
.
apipost
(
"travel_post_SetTCState"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getControlList
();
...
...
@@ -2905,6 +2908,19 @@
this
.
queryCommonData
.
ckedplat
=
[];
}
});
}
else
{
this
.
apipost
(
"travel_post_SetPriceSalePlat"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getControlList
();
this
.
queryCommonData
.
setPlatDialog
=
false
;
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
ckedplat
=
[];
}
});
}
this
.
queryCommonData
.
comState
==
0
;
},
goUrl
(
path
,
id
,
name
)
{
...
...
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