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
01df1141
Commit
01df1141
authored
May 09, 2019
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
467352db
1eee2e56
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
85 additions
and
26 deletions
+85
-26
tripIndex.css
src/assets/css/tripIndex.css
+1
-0
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+41
-14
ExaminationStatistics.vue
src/components/administrative/ExaminationStatistics.vue
+1
-1
twoday.vue
src/components/commonPage/twoday.vue
+2
-2
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+0
-1
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+40
-8
No files found.
src/assets/css/tripIndex.css
View file @
01df1141
...
...
@@ -192,6 +192,7 @@
overflow
:
hidden
;
}
.trip-block
.block-item
.item
.up
img
{
width
:
490px
;
/* width: 100%; */
/* zk新增 */
position
:
relative
;
...
...
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
01df1141
...
...
@@ -102,7 +102,7 @@
}
.Team_Incontent
{
margin-left
:
35px
;
margin-left
:
35px
;
}
.Team_firstTitle
span
{
...
...
@@ -263,8 +263,10 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
收入
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddIncomeDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
团费收入:
...
...
@@ -575,7 +577,9 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
成本
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
邀请函:
...
...
@@ -1057,7 +1061,10 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
非成本
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
领队佣金:
...
...
@@ -1261,7 +1268,7 @@
</table>
</div>
</div>
<div
class=
"Team_BtnList"
>
<div
class=
"Team_BtnList"
v-if=
"IsHaveAuth"
>
<input
type=
"button"
@
click=
"zhaunBox"
value=
"单据转团"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
v-if=
"!CloseIncomeBtn"
@
click=
"UpdateBrakeAccountStatus"
:value=
"(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'"
...
...
@@ -1299,6 +1306,7 @@
TCNUM
:
''
,
FrIds
:
''
,
},
IsHaveAuth
:
false
,
//权限判断按钮是否显示
zhuanLoading
:
false
,
moneyAll
:
{
Moneyall
:
0
,
...
...
@@ -1713,12 +1721,31 @@
},
err
=>
{}
)
},
//权限验证
checkHasAuth
()
{
this
.
apipost
(
'travel_get_CheckBalancePaymentAuth'
,
{
TCID
:
this
.
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsHaveAuth
=
true
;
}
else
{
this
.
IsHaveAuth
=
false
;
}
},
err
=>
{}
)
}
},
mounted
()
{
this
.
TCID
=
this
.
$route
.
query
.
id
;
this
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
this
.
CloseIncomeBtn
=
this
.
$route
.
query
.
CloseIncomeBtn
this
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
;
this
.
CloseIncomeBtn
=
this
.
$route
.
query
.
CloseIncomeBtn
;
this
.
checkHasAuth
();
this
.
getList
();
this
.
getAllCont
();
this
.
getHangingAccountByTCIDList
();
...
...
src/components/administrative/ExaminationStatistics.vue
View file @
01df1141
...
...
@@ -116,7 +116,7 @@ export default {
if
(
filters
.
emName
&&
filters
.
emName
!=
''
){
data
=
data
.
filter
(
item
=>
item
.
emName
.
indexOf
(
filters
.
emName
)
!=-
1
);
}
if
(
filters
.
periods
&&
filters
.
periods
!=
''
){
if
(
filters
.
periods
&&
filters
.
periods
!=
''
&&
filters
.
periods
!=
'__all__'
){
this
.
msg
.
Periods
=
filters
.
periods
this
.
getList
();
}
else
{
...
...
src/components/commonPage/twoday.vue
View file @
01df1141
...
...
@@ -22,8 +22,8 @@
<div
class=
"twoday_item"
v-for=
"item in day.details"
:key=
"item.dayNum"
>
<div
class=
"item"
>
<div
class=
"up"
>
<img
v-if=
"item.img!=''&& item.scenicJson"
:style=
"
{'top':item.scenicJson.y+'px'}" :src='compressImg(item.img, "filt", 663,
325
)'/>
<img
v-else
:src=
'compressImg(item.img, "filt", 663,
325
)'
/>
<img
v-if=
"item.img!=''&& item.scenicJson"
:style=
"
{'top':item.scenicJson.y+'px'}" :src='compressImg(item.img, "filt", 663,
""
)'/>
<img
v-else
:src=
'compressImg(item.img, "filt", 663,
""
)'
/>
</div>
<div
class=
"down"
style=
'padding:22px 0;'
>
<h4
v-if=
'item.title!=""'
v-html=
"item.title"
@
click
.
stop=
"goUrl(item.url)"
style=
"cursor: pointer"
></h4>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
01df1141
...
...
@@ -602,7 +602,6 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
console
.
log
(
"tempData"
,
tempData
);
if
(
tempData
.
Feature
!=
null
)
{
this
.
FeatureData
.
ID
=
tempData
.
Feature
.
ID
;
this
.
FeatureData
.
ConfigId
=
tempData
.
Feature
.
ConfigId
;
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
01df1141
...
...
@@ -802,6 +802,7 @@
<th>
酒店
</th>
<th>
占房时间
</th>
<th>
更换酒店
</th>
<th>
操作
</th>
</tr>
<tr
v-if=
"priceData.PriceHotelList"
v-for=
"item in priceData.PriceHotelList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
</td>
...
...
@@ -811,11 +812,12 @@
{{index+1}}.{{subItem.HotelName}}
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
<a
style=
"color:green"
>
{{subItem.Status==1?"【OK】":"【暂定】"}}
</a>
【
<span
style=
"color:green"
>
本团使用
库存
:{{subItem.UseCount}}
【
<span
style=
"color:green"
>
本团使用:{{subItem.UseCount}}
{{subItem.CostPrice!=0?"价格:"+subItem.CostPrice:""}}
</span>
】
</span>
【
<span
style=
"color:#E95252;"
>
剩余库存
:{{subItem.RemainingInventory}}
【
<span
style=
"color:#E95252;"
>
剩余
:{{subItem.RemainingInventory}}
</span>
】
<el-checkbox
v-if=
"item.SubList.length>1"
v-model=
"item.CheckList[index].CheckStatus"
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
...
...
@@ -837,11 +839,20 @@
<el-option
:key=
"0"
label=
"请选择"
:value=
"0"
></el-option>
<el-option
v-for=
"subItem in item.HotelList"
:key=
"subItem.ID"
:label=
"subItem.Name"
:value=
"subItem.ID"
>
<span
style=
"float: left"
>
{{subItem.Name}}
</span>
<span
style=
"float: right; color:red; font-size: 13px"
>
剩余
库存
:{{subItem.Inventory}} /
<span
style=
"float: right; color:red; font-size: 13px"
>
剩余:{{subItem.Inventory}} /
价格:{{subItem.CostPrice}}
</span>
</el-option>
</el-select>
</td>
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
<span
v-if=
"subItem.UseCount>0 && item.SubList.length==1"
>
<span
style=
"color:red;white-space:nowrap;cursor:pointer;"
@
click=
"DeleteStock(item)"
>
删除
</span>
</span>
</div>
</div>
</td>
</tr>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -1613,8 +1624,29 @@
},
err
=>
{}
);
},
//删除占用的酒店库存信息
DeleteStock
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"是否此酒店库存信息?"
,
function
()
{
let
delMsg
=
{
hotelId
:
item
.
SubList
[
0
].
HotelId
,
TCID
:
item
.
TCID
,
useTime
:
item
.
SubList
[
0
].
JourneyDate
};
that
.
apipost
(
"hoteluse_post_DeleteHotelUse"
,
delMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
"操作成功!"
);
item
.
SubList
[
0
].
UseCount
=
0
;
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
});
},
},
mounted
()
{
var
dateObj
=
this
.
$calendarUtils
.
getCurrentDate
();
this
.
currentYear
=
dateObj
.
CurrentYear
;
...
...
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