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
f98759e7
Commit
f98759e7
authored
Mar 04, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
f290bb08
4c609355
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
99 additions
and
67 deletions
+99
-67
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+91
-61
oneDayTrip.vue
src/components/TravelManager/TravelList/oneDayTrip.vue
+1
-0
TravelManager5.vue
...newTravelmanager/oldTravelGroupControl/TravelManager5.vue
+6
-5
trifficTrip.vue
...ts/newTravelmanager/oldTravelGroupControl/trifficTrip.vue
+1
-1
No files found.
src/components/Hotel/SupplierHandFee.vue
View file @
f98759e7
<
style
>
.SupplierTable
td
{
padding
:
0
5px
;
text-align
:
center
!important
;
}
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne SupplierHandeFee"
>
<div
class=
"flexOne SupplierHandeFee"
>
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul
class=
"user_time_picker"
>
<ul
class=
"user_time_picker"
>
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'hotel.hotel_StartDate'
)
}}
</em>
<em>
月份
</em>
<el-date-picker
type=
"date"
v-model=
"msg.StartDate"
:picker-options=
"pickerBeginDateBefore"
<el-date-picker
v-model=
"msg.QMonthStr"
type=
"month"
value-format=
"yyyy-MM"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
:placeholder=
"$t('ground.xuanzenian')"
>
</span>
</el-date-picker>
</li>
<li>
<span>
<em>
{{
$t
(
'hotel.hotel_EndDate'
)
}}
</em>
<el-date-picker
type=
"date"
v-model=
"msg.EndDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</span>
</li>
</li>
<li>
<li>
...
@@ -28,20 +28,24 @@
...
@@ -28,20 +28,24 @@
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getSearch()"
>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getSearch()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadFile()"
>
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable
SupplierTable
"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
"1
5
0"
>
做账主体
</th>
<th
width=
"1
3
0"
>
做账主体
</th>
<th
width=
"1
7
0"
>
团号
</th>
<th
width=
"1
8
0"
>
团号
</th>
<th
width=
"150"
>
手配定团号
</th>
<th
width=
"150"
>
手配定团号
</th>
<th
width=
"120"
>
订单人数
</th>
<th
width=
"80"
>
订单人数
</th>
<th
width=
"120"
>
单价(日元)
</th>
<th
width=
"100"
>
单价(日元)
</th>
<th>
泊数/日期
</th>
<th
width=
"300"
>
泊数/日期
</th>
<th
width=
"170"
>
小计
</th>
<th
width=
"120"
>
小计(日元)
</th>
<th
width=
"100"
>
汇率
</th>
<th
width=
"100"
>
小计(人民币)
</th>
<th
width=
"150"
>
单号
</th>
<th
width=
"80"
>
生成单据
</th>
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
...
@@ -51,12 +55,26 @@
...
@@ -51,12 +55,26 @@
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td>
{{
subItem
.
GuestNum
}}
</td>
<td>
{{
subItem
.
GuestNum
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
<td
style=
"text-align:left!important;"
>
<span
style=
"color:red;"
>
{{
subItem
.
DayCount
}}
泊
</span>
<span
style=
"color:red;"
>
{{
subItem
.
DayCount
}}
泊
</span>
<br
/>
<br
/>
{{
subItem
.
UseTime
}}
{{
subItem
.
UseTime
}}
</td>
</td>
<td>
{{
subItem
.
SubtotalMoney
}}
</td>
<td>
{{
subItem
.
SubtotalMoney
}}
</td>
<td>
<template
v-if=
"subItem.Frids!=''"
>
{{
subItem
.
Rate
}}
</
template
>
</td>
<td>
<
template
v-if=
"subItem.Frids!=''"
>
{{
subItem
.
RMBMoney
}}
</
template
>
</td>
<td>
{{subItem.Frids}}
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"生成单据"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
@
click=
"CreateSupplierBill(item)"
></el-button>
</el-tooltip>
</td>
</tr>
</tr>
</template>
</template>
</tbody>
</tbody>
...
@@ -76,9 +94,8 @@
...
@@ -76,9 +94,8 @@
return
{
return
{
//请求
//请求
msg
:
{
msg
:
{
StartDate
:
"2020-01-01"
,
QMonthStr
:
""
,
EndDate
:
"2020-01-31"
,
Supplier
:
0
,
Supplier
:
30
,
PageIndex
:
1
,
PageIndex
:
1
,
PageSize
:
15
,
PageSize
:
15
,
},
},
...
@@ -86,57 +103,70 @@
...
@@ -86,57 +103,70 @@
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
dataList
:
[],
dataList
:
[],
//供应商
//供应商
SupplierList
:
[],
SupplierList
:
[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
EndDate
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
msg
.
EndDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
}
}
},
},
mounted
()
{
mounted
()
{
this
.
initSupplier
();
this
.
initSupplier
();
this
.
getList
();
//
this.getList();
},
},
filters
:
{},
filters
:
{},
methods
:
{
methods
:
{
//点击查询
//生成手配费单据
getSearch
()
{
CreateSupplierBill
(
item
)
{
var
isA
,
isB
,
isC
var
that
=
this
;
this
.
Confirm
(
"是否要生成财务单据?"
,
function
()
{
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_get_CreateDmcSupplierHotelBillService"
,
{
TCID
:
item
.
TCIDS
,
Supplier
:
that
.
msg
.
Supplier
,
QMonthStr
:
that
.
msg
.
QMonthStr
,
},
res
=>
{
that
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'生成单据成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
},
//报价单下载
DownLoadFile
()
{
if
(
this
.
msg
.
QMonthStr
==
''
||
this
.
msg
.
QMonthStr
==
null
)
{
this
.
Error
(
'请选择月份'
);
return
;
}
if
(
this
.
msg
.
Supplier
==
0
)
{
if
(
this
.
msg
.
Supplier
==
0
)
{
this
.
Error
(
'请选择供应商'
);
this
.
Error
(
'请选择供应商'
);
isA
=
false
return
;
}
else
{
isA
=
true
;
}
if
(
this
.
msg
.
StartDate
==
''
||
this
.
msg
.
StartDate
==
null
)
{
this
.
Error
(
'请选择开始日期'
);
isB
=
false
}
else
{
isB
=
true
;
}
}
if
(
this
.
msg
.
EndDate
==
''
||
this
.
msg
.
EndDate
==
null
)
{
var
SupplierName
=
''
this
.
Error
(
'请选择结束日期'
);
this
.
SupplierList
.
forEach
(
x
=>
{
isC
=
false
if
(
this
.
msg
.
Supplier
==
x
.
ID
){
}
else
{
SupplierName
=
x
.
Name
isC
=
true
;
}
})
var
fileName
=
SupplierName
+
this
.
msg
.
QMonthStr
+
".xls"
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"dmc_get_DowmLoadDmcSupplierHote"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//点击查询
getSearch
()
{
if
(
this
.
msg
.
QMonthStr
==
''
||
this
.
msg
.
QMonthStr
==
null
)
{
this
.
Error
(
'请选择月份'
);
return
;
}
}
if
(
isA
&&
isB
&&
isC
)
{
if
(
this
.
msg
.
Supplier
==
0
)
{
this
.
getList
();
this
.
Error
(
'请选择供应商'
);
return
;
}
}
this
.
getList
();
},
},
//获取数据
//获取数据
getList
()
{
getList
()
{
...
@@ -146,7 +176,6 @@
...
@@ -146,7 +176,6 @@
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
.
data
.
data
.
pageData
,
'resss'
);
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
this
.
total
=
res
.
data
.
data
.
count
}
else
{
}
else
{
...
@@ -163,7 +192,8 @@
...
@@ -163,7 +192,8 @@
// 获取供应商
// 获取供应商
initSupplier
()
{
initSupplier
()
{
this
.
apipost
(
"supplier_post_GetAllList"
,
{
this
.
apipost
(
"supplier_post_GetAllList"
,
{
Type
:
1
Type
:
1
,
Country
:
651
,
//日本供应商
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
SupplierList
=
res
.
data
.
data
;
this
.
SupplierList
=
res
.
data
.
data
;
...
...
src/components/TravelManager/TravelList/oneDayTrip.vue
View file @
f98759e7
...
@@ -901,6 +901,7 @@
...
@@ -901,6 +901,7 @@
this
.
queryMsg
.
TCID
=
""
;
this
.
queryMsg
.
TCID
=
""
;
}
}
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
"res.data.data.pageData"
,
res
.
data
.
data
.
pageData
);
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
...
...
src/components/newTravelmanager/oldTravelGroupControl/TravelManager5.vue
View file @
f98759e7
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
<TravelNotice
ref=
"TravelNotice"
id=
"fourAnchor"
@
headCallBack=
"getNotice"
:subArray=
"NoticeParameters"
<TravelNotice
ref=
"TravelNotice"
id=
"fourAnchor"
@
headCallBack=
"getNotice"
:subArray=
"NoticeParameters"
:NoticeData=
"NoticeData"
v-bind:PostConfig=
"PostConfig"
v-bind:AllCityList=
"AllCityList"
:NoticeData=
"NoticeData"
v-bind:PostConfig=
"PostConfig"
v-bind:AllCityList=
"AllCityList"
v-bind:CountryID=
"PostConfig.CountryID"
></TravelNotice>
v-bind:CountryID=
"PostConfig.CountryID"
></TravelNotice>
<TravelPrice3
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
<TravelPrice2
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip
"
v-if=
"TeamType==2"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid
"
:
priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:TeamType=
"TeamType"
></TravelPrice2
>
:
TeamType=
"TeamType"
></TravelPrice3
>
<div
class=
"btnFixedDiv"
>
<div
class=
"btnFixedDiv"
>
<div
class=
"toTop"
@
click=
"backTop"
>
<div
class=
"toTop"
@
click=
"backTop"
>
<i
class=
"iconfont icon-huidaodingbu"
></i>
<i
class=
"iconfont icon-huidaodingbu"
></i>
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
import
TravelDaysTripDirect
from
'../oldTravelGroupControl/TravelDaysTrip_Direct'
import
TravelDaysTripDirect
from
'../oldTravelGroupControl/TravelDaysTrip_Direct'
import
TravelFeature
from
'../TravelGroupControl/TravelFeature'
import
TravelFeature
from
'../TravelGroupControl/TravelFeature'
import
TravelNotice
from
'../TravelGroupControl/TravelNotice'
import
TravelNotice
from
'../TravelGroupControl/TravelNotice'
import
TravelPrice
2
from
'../TravelGroupControl/TravelPrice2
'
import
TravelPrice
3
from
'../TravelGroupControl/TravelPrice3
'
import
TravelMap
from
'../oldTravelGroupControl/TravelMap'
import
TravelMap
from
'../oldTravelGroupControl/TravelMap'
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
TravelDaysTripDirect
:
TravelDaysTripDirect
,
TravelDaysTripDirect
:
TravelDaysTripDirect
,
TravelFeature
:
TravelFeature
,
TravelFeature
:
TravelFeature
,
TravelNotice
:
TravelNotice
,
TravelNotice
:
TravelNotice
,
TravelPrice
2
:
TravelPrice2
,
TravelPrice
3
:
TravelPrice3
,
TravelMap
:
TravelMap
TravelMap
:
TravelMap
},
},
methods
:
{
methods
:
{
...
@@ -383,6 +383,7 @@
...
@@ -383,6 +383,7 @@
}
}
basicData
.
TeamType
=
this
.
TeamType
basicData
.
TeamType
=
this
.
TeamType
basicData
.
IsUpdateHotel
=
this
.
PostConfig
.
IsUpdateHotel
basicData
.
IsUpdateHotel
=
this
.
PostConfig
.
IsUpdateHotel
console
.
log
(
"basicData"
,
basicData
);
this
.
apipost
(
this
.
apipost
(
'travel_post_SetTravelConfigInfo'
,
'travel_post_SetTravelConfigInfo'
,
basicData
,
basicData
,
...
...
src/components/newTravelmanager/oldTravelGroupControl/trifficTrip.vue
View file @
f98759e7
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<div
class=
"TDplanList TDRightPlan"
v-if=
'subItemObj.childItem.IsUseBus===CheckedVaule'
>
<div
class=
"TDplanList TDRightPlan"
v-if=
'subItemObj.childItem.IsUseBus===CheckedVaule'
>
<div
class=
"useCarPlan"
><label>
{{
$t
(
'sm.yongchejihua'
)
}}
</label>
<div
class=
"useCarPlan"
><label>
{{
$t
(
'sm.yongchejihua'
)
}}
</label>
<span
v-if=
"index==0"
:class=
"
{'ListCked':subItemObj.childItem.AirportPickUp==1}"
<span
v-if=
"index==0"
:class=
"
{'ListCked':subItemObj.childItem.AirportPickUp==1}"
@click="changeAirportType(1)">
{{
AirPickUp
}}
</span>
@click="changeAirportType(1)">
接早
</span>
<span
v-if=
"index==DayList.length-1"
:class=
"
{'ListCked':subItemObj.childItem.AirportPickUp==2}"
<span
v-if=
"index==DayList.length-1"
:class=
"
{'ListCked':subItemObj.childItem.AirportPickUp==2}"
@click="changeAirportType(2)">
{{
AirSend
}}
</span>
@click="changeAirportType(2)">
{{
AirSend
}}
</span>
</div>
</div>
...
...
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