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
acb2339c
Commit
acb2339c
authored
Oct 24, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增修改出团日期
parent
39d02632
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
33 deletions
+66
-33
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+66
-33
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
acb2339c
...
@@ -183,7 +183,8 @@
...
@@ -183,7 +183,8 @@
<em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<!--
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
<!--
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
-->
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
-->
<DateLimit
:clearable=
"false"
:StartGroupDate=
"queryMsg.StartGroupDate"
:EndGroupDate=
"queryMsg.EndGroupDate"
@
change=
"(date)=> queryMsg.StartGroupDate = date"
></DateLimit>
<DateLimit
:clearable=
"false"
:StartGroupDate=
"queryMsg.StartGroupDate"
:EndGroupDate=
"queryMsg.EndGroupDate"
@
change=
"(date)=> queryMsg.StartGroupDate = date"
></DateLimit>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</span>
...
@@ -440,7 +441,8 @@
...
@@ -440,7 +441,8 @@
<div
title=
"地接团"
class=
"travel_warningDi"
></div>
<div
title=
"地接团"
class=
"travel_warningDi"
></div>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<div
v-if=
"item.IsWarning===1"
:title=
"$t('objFill.jingjituan')"
class=
"travel_warning"
style=
"display:none;"
></div>
<div
v-if=
"item.IsWarning===1"
:title=
"$t('objFill.jingjituan')"
class=
"travel_warning"
style=
"display:none;"
></div>
</
template
>
</
template
>
<div>
<div>
<div
class=
"TC_teamType"
>
<div
class=
"TC_teamType"
>
...
@@ -450,7 +452,8 @@
...
@@ -450,7 +452,8 @@
<span
v-if=
"item.IsUnion==1&&item.UnionTypeStr==2"
title=
"联"
>
{{$t('Operation.Op_lian')}}
</span>
<span
v-if=
"item.IsUnion==1&&item.UnionTypeStr==2"
title=
"联"
>
{{$t('Operation.Op_lian')}}
</span>
<span
v-if=
"item.Status==2"
<span
v-if=
"item.Status==2"
:title=
"'结团时间'+item.OutGroupAuditDate"
>
{{$t('Operation.Op_jietuan')}}
</span>
:title=
"'结团时间'+item.OutGroupAuditDate"
>
{{$t('Operation.Op_jietuan')}}
</span>
<span
v-if=
"item.Status==5"
title=
"结团审核中"
style=
"background: rgb(0 128 255);"
>
{{$t('fnc.a_shezhong')}}
</span>
<span
v-if=
"item.Status==5"
title=
"结团审核中"
style=
"background: rgb(0 128 255);"
>
{{$t('fnc.a_shezhong')}}
</span>
<span
v-if=
"item.Status==1"
title=
"销售"
>
{{$t('visaT.sale')}}
</span>
<span
v-if=
"item.Status==1"
title=
"销售"
>
{{$t('visaT.sale')}}
</span>
<span
v-if=
"item.GroupRecommendType==1"
title=
"精品"
>
精
</span>
<span
v-if=
"item.GroupRecommendType==1"
title=
"精品"
>
精
</span>
<label
<label
...
@@ -626,7 +629,8 @@
...
@@ -626,7 +629,8 @@
<span>
{{$t('scen.sc_cp')}}
</span>
<span>
{{$t('scen.sc_cp')}}
</span>
{{item.OutBranchName}}
{{item.OutBranchName}}
<span
class=
"TC_neibu"
style=
"float: inherit;margin-left: 5px;color: #ffffff;"
<span
class=
"TC_neibu"
style=
"float: inherit;margin-left: 5px;color: #ffffff;"
v-if=
"item.StandardCurrencyName"
:class=
"{'TCneibu':item.StandardCurrencyName=='人民币','TCb2b':item.StandardCurrencyName=='日元',
v-if=
"item.StandardCurrencyName"
:class=
"{'TCneibu':item.StandardCurrencyName=='人民币','TCb2b':item.StandardCurrencyName=='日元',
'TCb2c':item.StandardCurrencyName=='新台币','AppPlat':item.StandardCurrencyName=='',
'TCb2c':item.StandardCurrencyName=='新台币','AppPlat':item.StandardCurrencyName=='',
'otherPlat':item.StandardCurrencyName=='',}"
>
{{item.StandardCurrencyName}}{{$t('objFill.jiesuan')}}
</span>
'otherPlat':item.StandardCurrencyName=='',}"
>
{{item.StandardCurrencyName}}{{$t('objFill.jiesuan')}}
</span>
</p>
</p>
...
@@ -1230,8 +1234,11 @@
...
@@ -1230,8 +1234,11 @@
<el-dropdown-item
@
click
.
native=
'ckOPInfo(item)'
>
签证OP设置
<el-dropdown-item
@
click
.
native=
'ckOPInfo(item)'
>
签证OP设置
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'CopyTripAndFeature(item)'
>
复制行程
<el-dropdown-item
@
click
.
native=
'CopyTripAndFeature(item
,1
)'
>
复制行程
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'CopyTripAndFeature(item,2)'
>
修改出团日期
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</div>
</div>
...
@@ -1267,7 +1274,8 @@
...
@@ -1267,7 +1274,8 @@
<a
v-if=
"item.HotelDiningBus.HotelChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,1)"
<a
v-if=
"item.HotelDiningBus.HotelChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,1)"
style=
"color:blue;cursor:pointer"
>
{{$t('Operation.Op_HotelChange')}}
</a>
style=
"color:blue;cursor:pointer"
>
{{$t('Operation.Op_HotelChange')}}
</a>
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
{{$t('sm.cantingbiangeng')}}
</a>
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
{{$t('sm.cantingbiangeng')}}
</a>
<a
<a
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}
</a>
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
{{$t('Operation.Op_carType')}}:{{item.HotelDiningBus.ResultBusTypeStr}}
</a>
</div>
</div>
...
@@ -1408,25 +1416,35 @@
...
@@ -1408,25 +1416,35 @@
</div>
</div>
<!--复制行程信息-->
<!--复制行程信息-->
<div
class=
"combottomDiv OPremarkDiv"
style=
"height:150px;"
v-show=
"CopyTripAndFeatureMsg.
VisaShow
"
>
<div
class=
"combottomDiv OPremarkDiv"
style=
"height:150px;"
v-show=
"CopyTripAndFeatureMsg.
isShowTripFeature
"
>
<div
class=
"combottomTitle"
>
复制行程
</div>
<div
class=
"combottomTitle"
>
{{CopyTripAndFeatureMsg.updateType==1?"复制行程":"修改出团日期"}}
</div>
<el-form
label-width=
"100px"
>
<el-form
label-width=
"100px"
>
<el-col
:span=
"4"
>
<
template
v-if=
"CopyTripAndFeatureMsg.updateType==1"
>
<el-form-item
label=
"团号"
prop=
"Remark"
>
<el-col
:span=
"4"
>
<el-input
v-model=
"CopyTripAndFeatureMsg.CopyTCNUM"
placeholder=
"KIXMF06240921C"
></el-input>
<el-form-item
label=
"团号"
prop=
"Remark"
>
</el-form-item>
<el-input
v-model=
"CopyTripAndFeatureMsg.CopyTCNUM"
placeholder=
"KIXMF06240921C"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"8"
>
</el-col>
<el-form-item
label=
""
prop=
"Remark"
>
<el-col
:span=
"8"
>
<el-checkbox-group
v-model=
"CopyTripAndFeatureMsg.CopyTrip"
>
<el-form-item
label=
""
prop=
"Remark"
>
<el-checkbox
label=
"1"
value=
"1"
>
线路行程
</el-checkbox>
<el-checkbox-group
v-model=
"CopyTripAndFeatureMsg.CopyTrip"
>
<el-checkbox
label=
"2"
value=
"2"
>
行程特色
</el-checkbox>
<el-checkbox
label=
"1"
value=
"1"
>
线路行程
</el-checkbox>
</el-checkbox-group>
<el-checkbox
label=
"2"
value=
"2"
>
行程特色
</el-checkbox>
</el-form-item>
</el-checkbox-group>
</el-col>
</el-form-item>
</el-col>
</
template
>
<
template
v-if=
"CopyTripAndFeatureMsg.updateType==2"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"出团日期"
prop=
"Remark"
>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"CopyTripAndFeatureMsg.StartDate"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</el-form-item>
</el-col>
</
template
>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"CopyTripAndFeatureMsg.
VisaShow
= false"
>
<el-button
size=
"small"
@
click=
"CopyTripAndFeatureMsg.
isShowTripFeature
= false"
>
{{$t('pub.cancelBtn')}}
{{$t('pub.cancelBtn')}}
</el-button>
</el-button>
<el-button
type=
"primary"
size=
"small"
:loading=
"saveLoading"
@
click=
"SetCopyTripAndFeature"
>
<el-button
type=
"primary"
size=
"small"
:loading=
"saveLoading"
@
click=
"SetCopyTripAndFeature"
>
...
@@ -1648,8 +1666,10 @@
...
@@ -1648,8 +1666,10 @@
VisaAssistId
:
""
,
VisaAssistId
:
""
,
},
},
CopyTripAndFeatureMsg
:
{
CopyTripAndFeatureMsg
:
{
VisaShow
:
false
,
updateType
:
1
,
//1-复制行程,2-修改出团日期,3-修改行程版面
isShowTripFeature
:
false
,
TCID
:
0
,
TCID
:
0
,
StartDate
:
""
,
//出发日期
CopyTCNUM
:
""
,
CopyTCNUM
:
""
,
CopyTrip
:
[],
CopyTrip
:
[],
copyType
:
""
,
copyType
:
""
,
...
@@ -1712,17 +1732,17 @@
...
@@ -1712,17 +1732,17 @@
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
EndGroupDate
==
null
)
{
if
(
this
.
queryMsg
.
StartGroupDate
)
{
if
(
this
.
queryMsg
.
StartGroupDate
)
{
let
endTime
=
this
.
TourDateRestrictions
()
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
return
false
;
}
else
return
false
;
}
else
{
}
else
{
if
(
this
.
queryMsg
.
StartGroupDate
)
{
if
(
this
.
queryMsg
.
StartGroupDate
)
{
let
endTime
=
this
.
TourDateRestrictions
()
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
{
}
else
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
);
return
endTime
.
getTime
()
<
time
.
getTime
();
return
endTime
.
getTime
()
<
time
.
getTime
();
}
}
}
}
}
}
...
@@ -2748,13 +2768,15 @@
...
@@ -2748,13 +2768,15 @@
);
);
},
},
//弹窗选择复制的团期信息
//弹窗选择复制的团期信息
CopyTripAndFeature
(
item
)
{
CopyTripAndFeature
(
item
,
type
)
{
this
.
CopyTripAndFeatureMsg
.
VisaShow
=
true
;
this
.
CopyTripAndFeatureMsg
.
updateType
=
type
;
this
.
CopyTripAndFeatureMsg
.
isShowTripFeature
=
true
;
this
.
CopyTripAndFeatureMsg
.
CopyTrip
=
[];
this
.
CopyTripAndFeatureMsg
.
CopyTrip
=
[];
this
.
CopyTripAndFeatureMsg
.
copyType
=
''
;
this
.
CopyTripAndFeatureMsg
.
copyType
=
''
;
this
.
CopyTripAndFeatureMsg
.
TCID
=
item
.
TCID
;
this
.
CopyTripAndFeatureMsg
.
TCID
=
item
.
TCID
;
this
.
CopyTripAndFeatureMsg
.
CurrentTCNUM
=
item
.
TCNUM
;
this
.
CopyTripAndFeatureMsg
.
CurrentTCNUM
=
item
.
TCNUM
;
this
.
CopyTripAndFeatureMsg
.
CopyTCNUM
=
""
;
this
.
CopyTripAndFeatureMsg
.
CopyTCNUM
=
""
;
this
.
CopyTripAndFeatureMsg
.
StartDate
=
item
.
StartDateStr
;
this
.
getVisaEmployeeList
();
this
.
getVisaEmployeeList
();
},
},
//保存复制的行程信息
//保存复制的行程信息
...
@@ -2773,22 +2795,33 @@
...
@@ -2773,22 +2795,33 @@
}
}
});
});
}
}
var
cmdStr
=
"travel_post_CopyTripAndFeature"
var
tipMsg
=
'是否将【'
+
this
.
CopyTripAndFeatureMsg
.
CopyTCNUM
+
'】的'
+
sMsg
+
',复制到【'
+
this
.
CopyTripAndFeatureMsg
var
tipMsg
=
'是否将【'
+
this
.
CopyTripAndFeatureMsg
.
CopyTCNUM
+
'】的'
+
sMsg
+
',复制到【'
+
this
.
CopyTripAndFeatureMsg
.
CurrentTCNUM
+
'】团?'
;
.
CurrentTCNUM
+
'】团?'
;
if
(
this
.
CopyTripAndFeatureMsg
.
updateType
==
2
)
{
cmdStr
=
"travel_post_SetTCStartDate"
;
tipMsg
=
"是否修改【"
+
this
.
CopyTripAndFeatureMsg
.
CurrentTCNUM
+
"】的出团日期为"
+
this
.
CopyTripAndFeatureMsg
.
StartDate
;
}
that
.
Confirm
(
tipMsg
,
function
()
{
that
.
Confirm
(
tipMsg
,
function
()
{
that
.
saveLoading
=
true
;
that
.
saveLoading
=
true
;
that
.
apipost
(
that
.
apipost
(
"travel_post_CopyTripAndFeature"
,
cmdStr
,
that
.
CopyTripAndFeatureMsg
,
that
.
CopyTripAndFeatureMsg
,
res
=>
{
res
=>
{
that
.
saveLoading
=
false
;
that
.
saveLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
"复制行程成功"
);
if
(
that
.
CopyTripAndFeatureMsg
.
updateType
==
1
)
{
that
.
CopyTripAndFeatureMsg
.
VisaShow
=
false
;
that
.
Success
(
"复制行程成功"
);
}
else
{
that
.
Success
(
res
.
data
.
message
);
}
that
.
CopyTripAndFeatureMsg
.
isShowTripFeature
=
false
;
that
.
CopyTripAndFeatureMsg
.
CopyTrip
=
[];
that
.
CopyTripAndFeatureMsg
.
CopyTrip
=
[];
that
.
CopyTripAndFeatureMsg
.
copyType
=
''
;
that
.
CopyTripAndFeatureMsg
.
copyType
=
''
;
that
.
CopyTripAndFeatureMsg
.
TCID
=
0
;
that
.
CopyTripAndFeatureMsg
.
TCID
=
0
;
that
.
CopyTripAndFeatureMsg
.
CopyTCNUM
=
""
;
that
.
CopyTripAndFeatureMsg
.
CopyTCNUM
=
""
;
that
.
CopyTripAndFeatureMsg
.
StartDate
=
""
;
that
.
getControlList
();
that
.
getControlList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
Error
(
res
.
data
.
message
);
...
...
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