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
2cd9fb74
Commit
2cd9fb74
authored
Aug 15, 2024
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
3a8be010
e1336427
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
328 additions
and
178 deletions
+328
-178
EasyReport.vue
src/components/FinancialModule/ReportForm/EasyReport.vue
+5
-5
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+3
-0
PlatformAccDetail.vue
...omponents/FinancialModule/accDetail/PlatformAccDetail.vue
+99
-34
leaderArrangement.vue
src/components/LeaderManagement/leaderArrangement.vue
+3
-1
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+28
-50
restaurantList.vue
src/components/Restaurant/restaurantList.vue
+3
-3
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+40
-8
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+18
-17
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+46
-7
oneDayTrip.vue
src/components/TravelManager/TravelList/oneDayTrip.vue
+43
-3
commonDinnerInfo.vue
src/components/commonPage/commonDinnerInfo.vue
+37
-42
commonHotelInfo.vue
src/components/commonPage/commonHotelInfo.vue
+0
-3
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+2
-2
TravelPrice3.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice3.vue
+1
-3
No files found.
src/components/FinancialModule/ReportForm/EasyReport.vue
View file @
2cd9fb74
...
...
@@ -1068,7 +1068,7 @@ export default {
endDate
=
that
.
year
+
"-"
+
column
.
end
}
if
(
rowIndex
<
20
){
if
(
rowIndex
<
20
||
rowData
.
ZhaiYao
==
"团内承担燃油费"
){
// if(BranchId == 1245){
// that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,OutBranchId:BranchId,StandardCurrencyId,blank:'y',tab:"营收报表"} })
// }
...
...
@@ -1077,15 +1077,15 @@ export default {
}
// 跳转到应收团款查询
else
if
(
rowData
.
ZhaiYao
==
"营业总收入"
){
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
DataType
:
-
1
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
// that.goUrl("RecPayQueryTeam",startDate,endDate,BranchId,"应收团款查询")
}
else
if
(
rowData
.
ZhaiYao
==
"营业总成本"
){
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
DataType
:
-
1
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
// that.goUrl("RecPayQueryTeamV2",startDate,endDate,BranchId,"应付团款查询")
}
else
{
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
OutBranchId
:
BranchId
,
StandardCurrencyId
,
DataType
:
-
1
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
}
}
else
{
if
(
rowData
.
ZhaiYao
==
"员工提成"
){
...
...
@@ -1184,7 +1184,7 @@ export default {
that
.
GoUrlFan
(
'JumpReport'
,
month
,
rowData
.
Year
,
rowData
.
BranchId
,
rowData
.
CostIds
,
StandardCurrencyId
)
//}
}
else
if
(
rowData
.
ZhaiYao
==
'车辆折旧'
){
else
if
(
rowData
.
ZhaiYao
==
'车辆折旧'
||
rowData
.
ZhaiYao
==
'营业税金及附加'
||
rowData
.
ZhaiYao
==
'净利润(亏损)'
||
rowData
.
ZhaiYao
==
'营业利润(亏损)'
||
rowData
.
ZhaiYao
==
'管销费用'
){
//不跳转
}
else
{
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
2cd9fb74
...
...
@@ -2482,6 +2482,9 @@ export default {
this
.
productionDate
[
1
]
=
this
.
msg
.
endDate
;
}
if
(
this
.
$route
.
query
.
DataType
){
this
.
msg
.
DataType
=
this
.
$route
.
query
.
DataType
;
}
if
(
this
.
msg
.
LineId
>
0
){
this
.
msg
.
DataType
=
"1"
;
}
...
...
src/components/FinancialModule/accDetail/PlatformAccDetail.vue
View file @
2cd9fb74
...
...
@@ -108,7 +108,7 @@
</el-col>
-->
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.a_djztai')"
>
<el-select
filterable
v-model=
'msg.Status'
>
<el-select
filterable
v-model=
'msg.Status'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'-1'
></el-option>
<el-option
:label=
'$t("fnc.a_shezhong")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("visa.v_tongguo")'
:value=
'2'
></el-option>
...
...
@@ -198,6 +198,8 @@
</el-form>
<ul>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"标记申请结款"
@
click=
"ApplySettlement"
:loading=
"loadingApply"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('fnc.a_hbdanju')"
@
click=
"addChuNaFun"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('visa.v_daochu')"
@
click=
"Export"
/>
...
...
@@ -238,7 +240,8 @@
</tr>
<tr
v-for=
" ( item , index ) in DataList "
>
<td>
<input
v-if=
"item.CallBackReFrId
<
=
0
&&
item
.
CostTypeName
!='资金调拨'"
type=
"checkbox"
:disabled=
"item.disabled"
v-model=
"item.check"
@
change=
"addCheckbox(item,index)"
>
<input
v-if=
"item.CallBackReFrId
<
=
0
&&
item
.
CostTypeName
!='资金调拨'"
type=
"checkbox"
:disabled=
"item.disabled"
v-model=
"item.check"
@
change=
"addCheckbox(item,index)"
>
</td>
<td>
{{
item
.
BName
}}
</td>
<td>
{{
item
.
OrderID
}}
</td>
...
...
@@ -249,7 +252,7 @@
</td>
<td>
<span
v-if=
"item.CallBackReFrId>0"
class=
"cursorpointer"
:class=
" item.Type === 1 ? 'CAcc_bg_green' : 'CAcc_bg_red'"
@
click=
"goUrlNew(item,1)"
>
{{
item
.
CallBackReFrId
}}
</span>
<span
v-if=
"item.DutyNo"
>
标
{{
item
.
DutyNo
}}
</span>
<span
v-if=
"item.DutyNo"
>
标
{{
item
.
Term
}}
</span>
</td>
<td><span>
{{
item
.
CreateDate
}}
</span></td>
<td>
...
...
@@ -505,6 +508,7 @@ import moment from 'moment'
export
default
{
data
(){
return
{
loadingApply
:
false
,
AccountLoading
:
false
,
ClientAccountMsg
:{
ID
:
0
,
...
...
@@ -597,7 +601,8 @@ export default {
//是否全选
isCheckAll
:
false
,
}
},
created
(){
},
created
(){
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
$route
.
query
.
DayReport
&&
this
.
$route
.
query
.
DayReport
==
'1'
){
this
.
msg
.
IsFromDayReport
=
1
;
...
...
@@ -635,7 +640,39 @@ export default {
this
.
getList
();
}
},
methods
:{
},
methods
:{
ApplySettlement
(){
if
(
!
this
.
checkList
||
this
.
checkList
.
length
==
0
){
return
this
.
$message
.
error
(
'请选择单据'
)
}
let
ids
=
this
.
checkList
.
map
(
x
=>
{
return
x
.
FinanceId
})
let
msg
=
{
FrIDs
:
ids
.
join
(
','
)
}
this
.
$confirm
(
`是否确认标记
${
msg
.
FrIDs
}
`
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
'warning'
}).
then
(()
=>
{
this
.
loadingApply
=
true
this
.
apipost
(
'Financial_post_SetPlatfromApplyforRecord'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
$message
.
success
(
'标记成功'
)
this
.
getList
()
this
.
loadingApply
=
false
}
else
{
this
.
loadingApply
=
false
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
err
=>
{
this
.
loadingApply
=
false
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消标记'
});
});
},
Export
(){
let
msg
=
this
.
msg
;
msg
.
EmployeeId
=
this
.
userInfo
.
EmployeeId
;
...
...
@@ -774,6 +811,12 @@ export default {
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
if
(
data
.
length
){
let
arrlist
=
function
(
list
){
list
.
forEach
(
x
=>
{
x
.
check
=
false
})
}
arrlist
(
data
)
this
.
StartMoney
=
data
[
0
].
StartMoney
?
data
[
0
].
StartMoney
:
0
;
let
Money
=
data
[
0
].
StartMoney
?
data
[
0
].
StartMoney
:
0
,
InMoney
=
0
,
...
...
@@ -1074,7 +1117,25 @@ export default {
}
});
if
(
obj
.
check
){
this
.
checkList
[
index
]
=
{
if
(
obj
.
check
&&
obj
.
DutyNo
){
this
.
DataList
.
forEach
(
x
=>
{
if
(
obj
.
DutyNo
==
x
.
DutyNo
){
let
newObj
=
{
FinanceId
:
x
.
FinanceId
,
Type
:
x
.
Type
,
ClientID
:
x
.
ClientID
,
ClientType
:
x
.
ClientType
,
OriginalMoney
:
x
.
OriginalMoney
,
Money
:
x
.
Money
,
}
x
.
check
=
true
let
exists
=
this
.
checkList
.
findIndex
(
z
=>
z
.
FinanceId
==
x
.
FinanceId
)
if
(
exists
==-
1
)
this
.
checkList
.
push
(
newObj
)
x
.
disabled
=
false
}
})
}
else
{
let
newObj
=
{
FinanceId
:
obj
.
FinanceId
,
Type
:
obj
.
Type
,
ClientID
:
obj
.
ClientID
,
...
...
@@ -1082,28 +1143,32 @@ export default {
OriginalMoney
:
obj
.
OriginalMoney
,
Money
:
obj
.
Money
,
}
this
.
checkList
.
push
(
newObj
)
}
this
.
BillType
=
obj
.
Type
;
}
else
{
this
.
checkList
[
index
]
=
{
FinanceId
:
null
,
Type
:
null
,
ClientID
:
null
,
ClientType
:
null
,
OriginalMoney
:
0
,
Money
:
0
,
}
}
let
count
=
false
;
this
.
checkList
.
forEach
(
x
=>
{
if
(
x
.
FinanceId
){
return
count
=
true
;
}
});
if
(
!
count
){
this
.
DataList
.
forEach
((
x
,
i
)
=>
{
x
.
disabled
=
false
})
this
.
checkList
=
this
.
checkList
.
filter
(
z
=>
z
.
FinanceId
!=
obj
.
FinanceId
)
// this.checkList[index] = {
// FinanceId:null,
// Type:null,
// ClientID:null,
// ClientType:null,
// OriginalMoney:0,
// Money:0,
// }
}
// let count = false;
// this.checkList.forEach(x=>{
// if(x.FinanceId){
// return count = true;
// }
// });
// if(!count){
// this.DataList.forEach((x,i)=>{
// x.disabled=false
// })
// }
},
addChuNaFun
(){
// 添加出纳按钮点击事件
let
count
=
0
;
...
...
src/components/LeaderManagement/leaderArrangement.vue
View file @
2cd9fb74
...
...
@@ -738,7 +738,8 @@
this
.
Success
(
this
.
$t
(
"ground.shezhichenggong"
));
this
.
isShow
=
false
;
}
else
{
that
.
Confirm
(
that
.
$t
(
'ground.sheizhichongtu'
),
function
()
{
var
tipMessage
=
res
.
data
.
message
;
that
.
Confirm
(
tipMessage
,
function
()
{
that
.
addMsg
.
IsSure
=
1
;
that
.
apipost
(
"LeaderSchedule_post_Set"
,
...
...
@@ -749,6 +750,7 @@
that
.
getNoTaskLeader
();
that
.
Success
(
that
.
$t
(
"ground.shezhichenggong"
));
that
.
isShow
=
false
;
that
.
addMsg
.
IsSure
=
0
;
}
},
err
=>
{}
...
...
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
2cd9fb74
...
...
@@ -234,10 +234,7 @@
确认时间:
</td>
<td
style=
"text-align:left;"
>
<el-date-picker
class=
'w135'
v-model=
"subItem.SureTime"
type=
"date"
placeholder=
"选择确认时间"
>
<el-date-picker
class=
'w135'
v-model=
"subItem.SureTime"
type=
"date"
placeholder=
"选择确认时间"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</td>
</tr>
...
...
@@ -246,7 +243,8 @@
预约时间:
</td>
<td
style=
"text-align:left;"
>
<el-input
class=
'w135'
v-model=
'subItem.BookTime'
type=
"text"
></el-input>
<el-input
class=
'w135'
v-model=
'subItem.BookTime'
@
keyup
.
native=
"checkTime(subItem,'BookTime')"
type=
"text"
></el-input>
</td>
</tr>
</
template
>
...
...
@@ -273,7 +271,7 @@
<tr>
<td
width=
"80"
style=
"text-align:right;"
>
{{$t('pub.pubRemark')}}:
</td>
<td>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.Remarks'
disabled
></el-input>
<el-input
type=
'textarea'
rows=
"2"
class=
'w120'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<tr>
...
...
@@ -412,12 +410,11 @@
if
(
x
.
ReserveNo
==
''
||
x
.
ReserveNo
==
null
)
{
x
.
ReserveNo
=
this
.
$route
.
query
.
NewCombinationNum
;;
}
if
(
x
.
SureTime
)
{
if
(
x
.
SureTime
==
'0001-01-01T00:00:00'
){
x
.
SureTime
=
''
}
else
{
x
.
SureTime
=
x
.
SureTime
.
replace
(
"T"
,
" "
);
if
(
x
.
SureTime
)
{
if
(
x
.
SureTime
==
'0001-01-01T00:00:00'
)
{
x
.
SureTime
=
''
}
else
{
x
.
SureTime
=
x
.
SureTime
.
replace
(
"T"
,
" "
);
}
}
...
...
@@ -478,32 +475,13 @@
},
saveList
()
{
this
.
IsDisabled
=
true
;
// if (type == 0) {
// this.list.forEach(item => {
// item.DiningSummaryList.forEach(insideItem => {
// insideItem.OrderState = 0;
// })
// })
// }
// if (type == 1) {
// this.list.forEach(item => {
// item.DiningSummaryList.forEach(insideItem => {
// insideItem.OrderState = 1;
// })
// })
// }
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
// if(insideItem.SureTime=''||insideItem.SureTime.length==0)
// {
// insideItem.SureTime='0001-01-01T00:00:00'
// }
if
(
insideItem
.
DiningPriceList
)
{
insideItem
.
DiningPriceList
.
forEach
(
subItem
=>
{
if
(
!
subItem
.
Discount
)
{
subItem
.
Discount
=
0
;
}
if
(
!
subItem
.
DiscountPrice
)
{
subItem
.
DiscountPrice
=
0
;
}
...
...
src/components/Restaurant/restaurantList.vue
View file @
2cd9fb74
...
...
@@ -349,9 +349,9 @@
</div>
<div
class=
"line"
></div>
<div
class=
"dayNum"
>
<span
class=
"dayNumber"
>
{{
item
.
DieLine
}}
</span>
{{
$t
(
'hotel.hotel_
day
'
)
}}
<div>
{{
$t
(
'restaurant.res_advanceDays'
)
}}
</div>
<span
class=
"dayNumber"
>
{{
item
.
MinDinnerPrice
>
0
?
item
.
MinDinnerPrice
:
"/"
}}
</span>
{{
$t
(
'hotel.hotel_
people
'
)
}}
<div>
最低餐标
</div>
</div>
</div>
<div
style=
"padding:0 0 15px 15px;margin-top: -5px;"
>
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
2cd9fb74
...
...
@@ -4317,6 +4317,7 @@
TipMessage
:
""
,
CTTCNUM
:
""
,
CTTCID
:
0
,
IsSure
:
0
,
},
// 订单转团
transferData
:
{
...
...
@@ -6353,24 +6354,55 @@
setTheLeader
()
{
if
(
this
.
isSubmit
)
{
this
.
isSubmit
=
false
;
var
that
=
this
;
this
.
apipost
(
"LeaderSchedule_post_SetPriceLeader"
,
this
.
setMsg
,
(
res
)
=>
{
th
is
.
isSubmit
=
true
;
th
at
.
isSubmit
=
true
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
getConfig
();
this
.
showSetLeader
=
false
;
this
.
leaderListArr
=
[];
this
.
ScheduleArray
=
[];
this
.
setMsg
.
TipMessage
=
""
;
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
that
.
getConfig
();
that
.
showSetLeader
=
false
;
that
.
leaderListArr
=
[];
that
.
ScheduleArray
=
[];
that
.
setMsg
.
TipMessage
=
""
;
that
.
setMsg
.
IsSure
=
0
;
}
else
if
(
res
.
data
.
resultCode
==
2
)
{
var
tipMsg
=
res
.
data
.
message
that
.
Confirm
(
tipMsg
,
function
()
{
that
.
setMsg
.
IsSure
=
1
;
that
.
apipost
(
"LeaderSchedule_post_SetPriceLeader"
,
that
.
setMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
that
.
getConfig
();
that
.
showSetLeader
=
false
;
that
.
leaderListArr
=
[];
that
.
ScheduleArray
=
[];
that
.
setMsg
.
TipMessage
=
""
;
that
.
setMsg
.
IsSure
=
0
;
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
setMsg
.
TipMessage
=
res
.
data
.
message
;
that
.
setMsg
.
CTTCNUM
=
res
.
data
.
data
.
TCNUM
;
that
.
setMsg
.
CTTCID
=
res
.
data
.
data
.
TCID
;
that
.
setMsg
.
IsSure
=
0
;
}
},
null
);
});
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
setMsg
.
TipMessage
=
res
.
data
.
message
;
this
.
setMsg
.
CTTCNUM
=
res
.
data
.
data
.
TCNUM
;
this
.
setMsg
.
CTTCID
=
res
.
data
.
data
.
TCID
;
that
.
setMsg
.
IsSure
=
0
;
}
},
(
err
)
=>
{}
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
2cd9fb74
...
...
@@ -456,7 +456,8 @@
style=
"display:inline-block;margin:5px 0 0 5px;font-size:12px;"
>
{{item.PriceTeamTypeName}}
</label>
</div>
<div
class=
"TCL-OutBranchName"
title=
"销售公司"
>
{{item.UnionBranchName}}
<span
v-if=
"item.BZStatus"
:style=
"{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}"
>
{{(item.BZStatus==1?'未报账':item.BZStatus==2?'已报账':'报账中')}}
</span>
{{item.UnionBranchName}}
<span
v-if=
"item.BZStatus"
:style=
"{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}"
>
{{(item.BZStatus==1?'未报账':item.BZStatus==2?'已报账':'报账中')}}
</span>
</div>
<div
class=
"TCL-TOPTCNUM"
>
({{item.TCID}}) {{item.TCNUM}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
...
...
@@ -660,22 +661,21 @@
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
<div
slot=
"reference"
>
<span
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
{{$t('salesModule.HotelOrder')}}
</span>
<span
style=
"color: #e95252"
>
op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}{{$t('op.Fenfang')}}
</span>
<a
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
{{$t('salesModule.HotelOrder')}}
</a>
<a
style=
"color: #e95252"
>
op{{item.OpSureHouse==2 ? '已确认' : '未确认'}}{{$t('op.Fenfang')}}
</a>
</div>
</el-popover>
</p>
<p
class=
"travelnowrap"
v-if=
"(item.LineID==14 || item.LineID==90|| item.LineID==168 ||item.LineID==118) && item.DiningList && item.DiningList.length>0 "
>
<p
class=
"travelnowrap"
v-if=
"(item.LineID==14 || item.LineID==90|| item.LineID==168 ||item.LineID==118) && item.DiningList && item.DiningList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonDinnerInfo
:DiningObj=
"item.DiningList"
:showHotelObj=
"showHotelObj
"
:
TCID=
"item.TCID"
:
DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
></commonDinnerInfo>
<commonDinnerInfo
:DiningObj=
"item.DiningList"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID
"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
></commonDinnerInfo>
<div
slot=
"reference"
>
<span
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
餐厅预定情况
</span
>
<a
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
餐厅预订情况
</a
>
</div>
</el-popover>
</p>
<p
v-if=
"(item.LineID==14 ||item.LineID==118) && item.BusOrderList && item.BusOrderList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
...
...
@@ -1219,7 +1219,8 @@
</div>
<div
class=
"TC_remarkContent"
v-if=
"item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast||item.OutGroupAuditRemark"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status ==5)&&item.OutGroupAuditRemark"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status ==5)&&item.OutGroupAuditRemark"
>
<div
class=
"TCL_remarkTitle"
>
驳回缘由:
</div>
<div
class=
"TCL_Content"
>
{{item.OutGroupAuditRemark}} {{item.OutGroupAuditDate}}
</div>
</div>
...
...
@@ -1593,7 +1594,7 @@
ShowSupplier
:
false
,
//是否显示供应商
showCaozuoTime
:
true
,
//操作时间
caiwu
:
true
,
//显示财务单据
colspanLength
:
5
//跨行
colspanLength
:
6
//跨行
},
//更新可售机票数量
updateAirticketObj
:
{
...
...
@@ -2096,10 +2097,10 @@
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
;
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
getDiningDetailsList
()
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
this
.
getDiningDetailsList
()
}
},
err
=>
{}
...
...
@@ -2155,7 +2156,7 @@
}
)
},
getTravelAccountStatus
(){
getTravelAccountStatus
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
2cd9fb74
...
...
@@ -381,7 +381,8 @@
</label>
</div>
<div
class=
"TCL-OutBranchName"
:title=
"$t('visa.v_salecompany')"
>
{{
item
.
UnionBranchName
}}
<span
v-if=
"item.BZStatus"
:style=
"
{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}">
{{
(
item
.
BZStatus
==
1
?
'未报账'
:
item
.
BZStatus
==
2
?
'已报账'
:
'报账中'
)
}}
</span>
{{
item
.
UnionBranchName
}}
<span
v-if=
"item.BZStatus"
:style=
"
{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}">
{{
(
item
.
BZStatus
==
1
?
'未报账'
:
item
.
BZStatus
==
2
?
'已报账'
:
'报账中'
)
}}
</span>
</div>
<div
class=
"TCL-TOPTCNUM"
>
(
{{
item
.
TCID
}}
)
{{
item
.
TCNUM
}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
...
...
@@ -507,7 +508,16 @@
</el-popover>
</p>
<p
v-if=
"(item.LineID==14 || item.LineID==118 ) && item.BusOrderList && item.BusOrderList.length>0 "
>
v-if=
"(item.LineID==14 || item.LineID==90|| item.LineID==168 ||item.LineID==118) && item.DiningList && item.DiningList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonDinnerInfo
:DiningObj=
"item.DiningList"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
></commonDinnerInfo>
<div
slot=
"reference"
>
<a
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
餐厅预订情况
</a>
</div>
</el-popover>
</p>
<p
v-if=
"(item.LineID==14 || item.LineID==118 ) && item.BusOrderList && item.BusOrderList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonBusInfo
:busData=
"item.BusOrderList"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
>
...
...
@@ -915,7 +925,8 @@
</div>
<div
class=
"TC_remarkContent"
v-if=
"item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast||item.OutGroupAuditRemark||item.PriceTagList"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status ==5)&&item.OutGroupAuditRemark"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status ==5)&&item.OutGroupAuditRemark"
>
<div
class=
"TCL_remarkTitle"
>
驳回缘由:
</div>
<div
class=
"TCL_Content"
>
{{item.OutGroupAuditRemark}} {{item.OutGroupAuditDate}}
</div>
</div>
...
...
@@ -1037,12 +1048,14 @@
import
commonBusInfo
from
"../../commonPage/commonBusInfo.vue"
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
EditLeaveGroup
from
'./components/EditLeaveGroup.vue'
;
import
commonDinnerInfo
from
"../../commonPage/commonDinnerInfo.vue"
;
export
default
{
components
:
{
commonBusInfo
,
priceDialog
,
commonHotelInfo
,
EditLeaveGroup
EditLeaveGroup
,
commonDinnerInfo
},
data
()
{
return
{
...
...
@@ -1539,14 +1552,40 @@
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
;
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
getDiningDetailsList
();
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
this
.
getDetailsOfRoyalty
()
;
this
.
getTravelAccountStatus
()
;
}
},
err
=>
{}
);
},
getDiningDetailsList
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"dmcstatistics_get_GetDiningStatisticsList"
,
{
tcids
:
msg
.
join
(
','
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
DiningStatisticsList
=
[]
DiningStatisticsList
=
res
.
data
.
data
this
.
queryCommonData
.
dataList
.
forEach
(
x
=>
{
DiningStatisticsList
.
forEach
(
y
=>
{
if
(
x
.
TCID
==
y
.
TCID
)
{
x
.
DiningList
=
y
.
OrderList
}
})
})
this
.
$forceUpdate
()
}
}
)
},
getDetailsOfRoyalty
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
...
...
@@ -1572,7 +1611,7 @@
}
)
},
getTravelAccountStatus
(){
getTravelAccountStatus
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
...
...
src/components/TravelManager/TravelList/oneDayTrip.vue
View file @
2cd9fb74
...
...
@@ -473,6 +473,17 @@
</div>
</el-popover>
</p>
<p
class=
"travelnowrap"
v-if=
"(item.LineID==14 || item.LineID==90|| item.LineID==168 ||item.LineID==118) && item.DiningList && item.DiningList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonDinnerInfo
:DiningObj=
"item.DiningList"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUM"
></commonDinnerInfo>
<div
slot=
"reference"
>
<a
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
餐厅预订情况
</a>
</div>
</el-popover>
</p>
<p
v-if=
"(item.LineID==14 || item.LineID==118 ) && item.BusOrderList && item.BusOrderList.length>0 "
>
<el-popover
width=
"980"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<commonBusInfo
:busData=
"item.BusOrderList"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
...
...
@@ -796,7 +807,8 @@
</div>
<div
class=
"TC_remarkContent"
v-if=
"item.OPRemark||item.OPInnerRemark||item.DmcRemarkLast||item.OutGroupAuditRemark"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status == 5)&&item.OutGroupAuditRemark"
>
<div
class=
"clearfix TCL-redType"
v-if=
"(item.OutGroupAuditState==3 || item.Status == 5)&&item.OutGroupAuditRemark"
>
<div
class=
"TCL_remarkTitle"
>
驳回缘由:
</div>
<div
class=
"TCL_Content"
>
{{item.OutGroupAuditRemark}} {{item.OutGroupAuditDate}}
</div>
</div>
...
...
@@ -928,12 +940,14 @@
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
commonBusInfo
from
"../../commonPage/commonBusInfo.vue"
;
import
EditLeaveGroup
from
'./components/EditLeaveGroup.vue'
;
import
commonDinnerInfo
from
"../../commonPage/commonDinnerInfo.vue"
;
export
default
{
components
:
{
commonBusInfo
,
priceDialog
,
commonHotelInfo
,
EditLeaveGroup
EditLeaveGroup
,
commonDinnerInfo
},
data
()
{
return
{
...
...
@@ -1447,6 +1461,7 @@
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
getDiningDetailsList
()
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
}
...
...
@@ -1454,6 +1469,31 @@
err
=>
{}
)
},
getDiningDetailsList
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"dmcstatistics_get_GetDiningStatisticsList"
,
{
tcids
:
msg
.
join
(
','
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
DiningStatisticsList
=
[]
DiningStatisticsList
=
res
.
data
.
data
this
.
queryCommonData
.
dataList
.
forEach
(
x
=>
{
DiningStatisticsList
.
forEach
(
y
=>
{
if
(
x
.
TCID
==
y
.
TCID
)
{
x
.
DiningList
=
y
.
OrderList
}
})
})
this
.
$forceUpdate
()
}
}
)
},
getDetailsOfRoyalty
()
{
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
...
...
src/components/commonPage/commonDinnerInfo.vue
View file @
2cd9fb74
...
...
@@ -54,13 +54,13 @@
</el-tooltip>
</th>
<th
width=
"100"
v-if=
"showHotelObj.showZhan"
>
预约时间
</th>
<th
width=
"100"
v-if=
"showHotelObj.showZhan"
>
操作人
</th>
<th
width=
"100"
v-if=
"showHotelObj.showZhan"
>
确认时间
</th>
<!--
<th
width=
"80"
v-if=
"showHotelObj.caiwu"
>
{{
$t
(
'pub.yes'
)
}}{{
$t
(
'pub.no'
)
}}
<br
/>
{{
$t
(
'fnc.fukuan'
)
}}
</th>
<th
width=
"180"
v-if=
"showHotelObj.caiwu"
>
{{
$t
(
'salesModule.DJNUM'
)
}}{{
$t
(
'hotel.hotel_corrlelatition'
)
}}
</th>
-->
</tr>
<template
v-if=
" DiningObj&& DiningObj.length>0"
>
<template
v-if=
" DiningObj&& DiningObj.length>0"
>
<tr
v-for=
"(hotelSubItem,hotelSubIndex) in DiningObj"
>
<td
>
<td>
{{
hotelSubItem
.
UseTime
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
...
...
@@ -75,14 +75,14 @@
{{hotelSubItem.DinnerName!=hotelSubItem.NewDinnerName?""+hotelSubItem.NewDinnerName:""}}
</td>
<td>
<span
>
<span>
<
template
v-if=
"hotelSubItem.DiningChangeState==1"
>
<a
style=
"color:green"
>
待审核
</a>
</
template
>
</span>
</td>
<td>
<span
>
<span>
<
template
v-if=
"hotelSubItem.OrderState==1"
>
<a
style=
"color:green"
>
确定
</a>
</
template
>
...
...
@@ -95,37 +95,33 @@
</span>
</td>
<td
v-if=
"showHotelObj.showPrice&&hotelSubItem.PriceList&&hotelSubItem.PriceList.length>0"
>
<div
v-for=
"(priceSubItem,priceSubIndex) in hotelSubItem.PriceList
"
>
<div
v-for=
"(priceSubItem,priceSubIndex) in hotelSubItem.PriceList"
:key=
"`din`+priceSubIndex
"
>
<
template
v-if=
"priceSubItem.DiningNum>0"
>
{{
priceSubItem
.
GuestType
==
1
?
"大人:"
:(
priceSubItem
.
GuestType
==
2
?
"中人:"
:(
priceSubItem
.
GuestType
==
3
?
"小人:"
:
""
))
}}
<template
v-if=
"priceSubItem.DiningDiscount>0"
>
(
{{
priceSubItem
.
DiningNum
}}
-
{{
priceSubItem
.
DiningDiscount
}}
) ×
{{
priceSubItem
.
UnitPrice
>
0
?(
priceSubItem
.
UnitPrice
):
""
}}
</
template
>
<
template
v-else
>
{{
priceSubItem
.
DiningNum
}}
×
{{
priceSubItem
.
UnitPrice
>
0
?(
priceSubItem
.
UnitPrice
):
""
}}
</
template
>
<template
v-if=
"priceSubItem.DiningDiscount>0"
>
(
{{
priceSubItem
.
DiningNum
}}
-
{{
priceSubItem
.
DiningDiscount
}}
)
×
{{
priceSubItem
.
UnitPrice
>
0
?(
priceSubItem
.
UnitPrice
):
""
}}
</
template
>
<
template
v-else
>
{{
priceSubItem
.
DiningNum
}}
×
{{
priceSubItem
.
UnitPrice
>
0
?(
priceSubItem
.
UnitPrice
):
""
}}
</
template
>
</template>
<br
/>
</div>
</td>
<td>
<
template
v-if=
"hotelSubItem.TotalMoney>0"
>
{{
hotelSubItem
.
TotalMoney
}}
(
{{
hotelSubItem
.
CurrencyName
}}
)
</
template
>
<
template
v-if=
"hotelSubItem.TotalMoney>0"
>
{{
hotelSubItem
.
TotalMoney
}}
(
{{
hotelSubItem
.
CurrencyName
}}
)
</
template
>
</td>
<td
>
{{hotelSubItem.DiningTypeName}}
<
/br>
{{hotelSubItem.BookTime}}
<td>
{{hotelSubItem.DiningTypeName}}
<
br
/>
{{hotelSubItem.BookTime}}
</td>
<td
>
<td>
{{hotelSubItem.CreateByName}}
</td>
<td>
{{hotelSubItem.SureTime}}
</td>
</tr>
</template>
</table>
...
...
@@ -134,7 +130,6 @@
</template>
<
script
>
export
default
{
props
:
[
"DiningObj"
,
"showHotelObj"
,
"TCID"
,
"DMCNum"
,
"TCNUM"
],
data
()
{
...
...
src/components/commonPage/commonHotelInfo.vue
View file @
2cd9fb74
...
...
@@ -56,7 +56,6 @@
<th
width=
"100"
v-if=
"showHotelObj.ShowSupplier"
>
{{
$t
(
'hotel.hotel_Supplier'
)
}}
</th>
<th
width=
"80"
v-if=
"showHotelObj.caiwu"
>
{{
$t
(
'pub.yes'
)
}}{{
$t
(
'pub.no'
)
}}
<br
/>
{{
$t
(
'fnc.fukuan'
)
}}
</th>
<th
width=
"180"
v-if=
"showHotelObj.caiwu"
>
{{
$t
(
'salesModule.DJNUM'
)
}}{{
$t
(
'hotel.hotel_corrlelatition'
)
}}
</th>
<th
width=
"70"
v-if=
"showHotelObj.showPrice"
>
{{
$t
(
'fnc.rizhi'
)
}}
</th>
...
...
@@ -133,7 +132,6 @@
{{hotelSubItem.IsPay==1?$t('pub.yes'):$t('pub.no')}}
</td>
<td
v-if=
"showHotelObj.caiwu"
>
<div>
<div
v-if=
"hotelSubItem.FrList&&hotelSubItem.FrList.length > 0"
v-for=
"(item2, index2) in hotelSubItem.FrList"
:key=
"index2"
>
<span
style=
"cursor:pointer;text-decoration:underline;"
@
click=
"goUrl('财务单据','FinancialDocumentsDetail',item2.FrID,'')"
>
...
...
@@ -143,7 +141,6 @@
<span
v-else
style=
"cursor: default"
>
{{ $t("system.content_noData") }}
</span>
</div>
</td>
<td
v-if=
"showHotelObj.showPrice"
>
<el-popover
width=
"200"
trigger=
"click"
popper-class=
"Bus_HotelPop"
>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
2cd9fb74
...
...
@@ -101,7 +101,7 @@
<!--当地游-->
<TravelPrice3
v-show=
"PostConfig.TeamType==2"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:CurrentUserInfo=
"CurrentUserInfo"
:
TeamType=
"PostConfig.TeamType
"
></TravelPrice3>
:
IsDirect=
"PostConfig.IsDirect
"
></TravelPrice3>
<!--地接团-->
<TravelPrice4
v-show=
"PostConfig.TeamType==3"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice"
...
...
@@ -974,7 +974,7 @@
this
.
PostConfig
.
ImgCover
=
tempData
.
ImgCover
;
this
.
PostConfig
.
LtName
=
tempData
.
LtName
;
this
.
PostConfig
.
CreateBy
=
tempData
.
CreateBy
;
if
(
tempData
.
ImgCover
!=
""
&&
tempData
.
ImgCoverList
.
length
>
0
)
{
if
(
tempData
.
ImgCover
!=
""
&&
tempData
.
ImgCoverList
.
length
>
0
)
{
this
.
PostConfig
.
fileList
=
tempData
.
ImgCoverList
;
}
else
{
this
.
initFileList
();
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice3.vue
View file @
2cd9fb74
...
...
@@ -1179,7 +1179,7 @@
BusPriceId
:
0
,
//公司车辆编号
EmergencyContact
:
""
,
//紧急联系人
IsNeedAirportShuttle
:
0
,
//是否需要接送服务
GuideNum
:
0
,
//导游人数
GuideNum
:
0
,
//导游人数
};
}
this
.
returnPriceList
.
push
(
objItem
);
...
...
@@ -1256,7 +1256,6 @@
VisaPrice
:
0
,
YSeat
:
0
,
OPRemark
:
""
,
}
this
.
returnPriceList
.
push
(
obj
);
})
...
...
@@ -1280,7 +1279,6 @@
});
this
.
returnPriceList
=
array
;
},
initCalendar
:
function
(
cur
)
{
var
newDays
=
this
.
$calendarUtils
.
createCalendar
(
cur
);
this
.
currentDay
=
newDays
.
CurrentDay
;
...
...
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