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
74307130
Commit
74307130
authored
Jun 12, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
52926555
70ebe851
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
66 deletions
+85
-66
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+2
-1
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+2
-1
BusInfo.vue
src/components/busManagement/BusInfo.vue
+81
-64
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
74307130
...
@@ -290,7 +290,8 @@
...
@@ -290,7 +290,8 @@
<td
v-if=
"OrderSource==9&&GetDetail.SourceID>0"
@
click=
"jumpPage('SettlementOrder',GetDetail.SourceID,2)"
>
<span
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
<td
v-if=
"OrderSource==9&&GetDetail.SourceID>0"
@
click=
"jumpPage('SettlementOrder',GetDetail.SourceID,2)"
>
<span
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail.SourceID,3)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span>
</td>
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail.SourceID,3)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span>
</td>
<td
v-else-if=
"OrderSource==4&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,4)"
>
<span
class=
"_jump_page _font_bold"
>
机票收支
</span>
</td>
<td
v-else-if=
"OrderSource==4&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,4)"
>
<span
class=
"_jump_page _font_bold"
>
机票收支
</span>
</td>
<td
v-if=
"GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56"
@
click=
"jumpPlanPage('leaderReimbursement',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
用款计划
</span>
</td>
<td
v-if=
"GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56|| GetDetail.IsShowPlanUrl === 1"
@
click=
"jumpPlanPage('leaderReimbursement',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
用款计划
</span>
</td>
<td
v-if=
"GetDetail.IsShowPlanUrl === 1"
@
click=
"jumpPlanPage('leaderPay2',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
领队报账
</span>
</td>
</tr>
</tr>
</table>
</table>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-else-if=
"OrderSource==10"
>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-else-if=
"OrderSource==10"
>
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
74307130
...
@@ -377,7 +377,8 @@
...
@@ -377,7 +377,8 @@
<td
v-if=
"OrderSource==9&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,2)"
>
<span
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
<td
v-if=
"OrderSource==9&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,2)"
>
<span
class=
"_jump_page _font_bold"
>
国内票务
</span>
</td>
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,3)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span>
</td>
<td
v-else-if=
"OrderSource==10&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,3)"
>
<span
class=
"_jump_page _font_bold"
>
签证收支
</span>
</td>
<td
v-else-if=
"OrderSource==4&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,4)"
>
<span
class=
"_jump_page _font_bold"
>
机票收支
</span>
</td>
<td
v-else-if=
"OrderSource==4&&GetDetail.SourceID>0"
@
click=
"jumpPage('FinancialOrder',GetDetail,4)"
>
<span
class=
"_jump_page _font_bold"
>
机票收支
</span>
</td>
<td
v-if=
"GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56"
@
click=
"jumpPlanPage('leaderReimbursement',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
用款计划
</span>
</td>
<td
v-if=
"GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56|| GetDetail.IsShowPlanUrl === 1"
@
click=
"jumpPlanPage('leaderReimbursement',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
用款计划
</span>
</td>
<td
v-if=
"GetDetail.IsShowPlanUrl === 1"
@
click=
"jumpPlanPage('leaderPay2',o.TCID)"
>
<span
class=
"_jump_page _font_bold"
>
领队报账
</span>
</td>
</tr>
</tr>
</table>
</table>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-else-if=
"OrderSource==10"
>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;margin-top:15px;"
width=
"100%"
v-else-if=
"OrderSource==10"
>
...
...
src/components/busManagement/BusInfo.vue
View file @
74307130
...
@@ -208,14 +208,15 @@
...
@@ -208,14 +208,15 @@
<div
style=
"width: 100%; overflow-x: auto;margin-top:20px;"
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;margin-top:20px;"
class=
"ownScrollbarStyle"
>
<el-form
:rules=
"rules"
>
<el-form
:rules=
"rules"
>
<el-table
:data=
"PlanTableData"
style=
"width:100%"
border
v-loading=
'loading'
>
<el-table
:data=
"PlanTableData"
style=
"width:100%"
border
v-loading=
'loading'
>
<el-table-column
fixed
label=
"日期"
prop=
"UseTimeStr"
min-width=
"1
2
0"
></el-table-column>
<el-table-column
fixed
label=
"日期"
prop=
"UseTimeStr"
min-width=
"1
1
0"
></el-table-column>
<el-table-column
fixed
label=
"酒店名称"
prop=
"HotelName"
min-width=
"200"
></el-table-column>
<el-table-column
fixed
label=
"酒店名称"
prop=
"HotelName"
min-width=
"200"
></el-table-column>
<el-table-column
fixed
label=
"用车计划"
min-width=
"
350
"
>
<el-table-column
fixed
label=
"用车计划"
min-width=
"
185
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<!--
{{
scope
.
$index
+
1
}}
-->
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<em>
<em>
<!--接机送机-->
<!--接机送机-->
<el-select
class=
"w1
5
0"
placeholder=
"请选择"
v-model=
"subItem.AirportPickUp"
:disabled=
"forbidInput"
<el-select
class=
"w1
2
0"
placeholder=
"请选择"
v-model=
"subItem.AirportPickUp"
:disabled=
"forbidInput"
@
change=
"getBusPrice(subItem)"
>
@
change=
"getBusPrice(subItem)"
>
<el-option
:key=
"0"
:value=
"0"
label=
"请选择"
></el-option>
<el-option
:key=
"0"
:value=
"0"
label=
"请选择"
></el-option>
<el-option
v-for=
"childitem in BusAirportPickUpList"
:key=
"childitem.Id"
:label=
"childitem.Name"
<el-option
v-for=
"childitem in BusAirportPickUpList"
:key=
"childitem.Id"
:label=
"childitem.Name"
...
@@ -223,14 +224,12 @@
...
@@ -223,14 +224,12 @@
</el-option>
</el-option>
</el-select>
</el-select>
</em>
</em>
<span
style=
"
width:30px;display:inline-block;
"
>
<span
style=
"
display:inline-block;margin-left:5px;"
v-if=
"subIndex>0
"
>
<a
v-if=
"subIndex>0"
@
click=
"DeleteSubItem(scope.row,subIndex),getBusPrice(subItem)"
<a
@
click=
"DeleteSubItem(scope.row,subIndex),getBusPrice(subItem)"
style=
"color:blue;cursor:pointer"
>
删除
</a>
style=
"color:blue;cursor:pointer"
>
删除
</a>
</span>
</span>
<span
style=
"display:inline-block;width:30px;margin-left:5px;"
>
<span
style=
"display:inline-block;margin-left:5px;"
v-if=
"subIndex==0"
>
<span
class=
"busAddbtn"
@
click=
"AddSubItem(scope.row)"
v-if=
"subIndex==0"
>
<a
@
click=
"AddSubItem(scope.row)"
style=
"color:blue;cursor:pointer"
>
添加
</a>
<i
class=
"iconfont icon-img_haha"
></i>
</span>
</span>
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -264,7 +263,6 @@
...
@@ -264,7 +263,6 @@
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"车辆类型"
min-width=
"150"
>
<el-table-column
label=
"车辆类型"
min-width=
"150"
>
...
@@ -290,7 +288,7 @@
...
@@ -290,7 +288,7 @@
<el-option
label=
'预付'
:value=
'3'
></el-option>
<el-option
label=
'预付'
:value=
'3'
></el-option>
<el-option
label=
'合团公司支付'
:value=
'6'
></el-option>
<el-option
label=
'合团公司支付'
:value=
'6'
></el-option>
<el-option
label=
'自由活动-无用车'
:value=
'7'
></el-option>
<el-option
label=
'自由活动-无用车'
:value=
'7'
></el-option>
<el-option
label=
"酒店接送
~免車資
"
:value=
'8'
></el-option>
<el-option
label=
"酒店接送"
:value=
'8'
></el-option>
</el-select>
</el-select>
</div>
</div>
</
template
>
</
template
>
...
@@ -305,17 +303,23 @@
...
@@ -305,17 +303,23 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"定团号"
min-width=
"230"
>
<el-table-column
label=
"定团号"
min-width=
"230"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<div
:class=
"
{'BusTyleFirst':scope.$index==0}">
<template
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
>
<el-input
class=
'w170'
type=
"text"
v-model=
"scope.row.BookGroup"
></el-input>
<template
v-if=
"scope.$index==0&&subIndex==0"
>
<div
class=
"BusTyleFirst"
>
<el-input
class=
'w170'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</div>
</
template
>
<
template
v-else
>
<div
class=
"comBTM"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同上"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同上"
placement=
"top"
>
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
v-if=
"scope.$index!=0
"
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;
"
@
click=
"getBeforeInfo(scope.$index),getBusPrice(scope.row
)"
></i>
@
click=
"getBeforeInfo(scope.$index,subIndex),getBusPrice(subItem
)"
></i>
</el-tooltip>
</el-tooltip>
</div>
-->
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
class=
'w170'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
<el-input
class=
'w170'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</div>
</div>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"司机住宿"
min-width=
"180"
>
<el-table-column
label=
"司机住宿"
min-width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -343,7 +347,7 @@
...
@@ -343,7 +347,7 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.HighSpeedPrice"
@
keyup
.
native=
"checkPrice(subItem,'HighSpeedPrice')"
<el-input
v-model=
"subItem.HighSpeedPrice"
@
keyup
.
native=
"checkPrice(subItem,'HighSpeedPrice')"
placeholder=
"请输入费用"
></el-input>
placeholder=
"请输入费用"
:disabled=
"isShowBtn==1?true:false"
></el-input>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -352,7 +356,7 @@
...
@@ -352,7 +356,7 @@
<div>
<div>
<div
v-for=
"(subItem,index) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"(subItem,index) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
class=
'sel'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
<el-select
class=
'sel'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"PayTypeChange(subItem)"
>
@
change=
"PayTypeChange(subItem)"
:disabled=
"isShowBtn==1?true:false"
>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'请选择'
:value=
'0'
></el-option>
<el-option
label=
'现付'
:value=
'1'
></el-option>
<el-option
label=
'现付'
:value=
'1'
></el-option>
<el-option
label=
'公司结算'
:value=
'2'
></el-option>
<el-option
label=
'公司结算'
:value=
'2'
></el-option>
...
@@ -368,7 +372,8 @@
...
@@ -368,7 +372,8 @@
<el-table-column
label=
"使用人数"
min-width=
"100"
>
<el-table-column
label=
"使用人数"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.UseNum"
@
keyup
.
native=
"checkPrice(subItem,'UseNum')"
></el-input>
<el-input
v-model=
"subItem.UseNum"
@
keyup
.
native=
"checkPrice(subItem,'UseNum')"
:disabled=
"isShowBtn==1?true:false"
></el-input>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -376,7 +381,7 @@
...
@@ -376,7 +381,7 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.CostPrice"
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
<el-input
v-model=
"subItem.CostPrice"
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
placeholder=
"请输入成本价"
></el-input>
placeholder=
"请输入成本价"
:disabled=
"isShowBtn==1?true:false"
></el-input>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -402,7 +407,7 @@
...
@@ -402,7 +407,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"upBtnList"
v-if=
"isShowBtn==0"
>
<div
class=
"upBtnList"
>
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(0)"
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(0)"
:disabled=
"disButton"
value=
"保存草稿"
/>
:disabled=
"disButton"
value=
"保存草稿"
/>
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(1)"
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(1)"
...
@@ -536,7 +541,7 @@
...
@@ -536,7 +541,7 @@
GuideName
:
''
,
GuideName
:
''
,
loading
:
false
,
loading
:
false
,
isSubmit
:
true
,
isSubmit
:
true
,
isShowBtn
:
0
isShowBtn
:
1
,
//1禁用高速费,成本费,高速付款方式文本框
};
};
},
},
methods
:
{
methods
:
{
...
@@ -552,9 +557,13 @@
...
@@ -552,9 +557,13 @@
getBusPrice
(
obj
)
{
getBusPrice
(
obj
)
{
let
tempCostFee
=
0
;
let
tempCostFee
=
0
;
var
tempHighSpeedFee
=
0
;
var
tempHighSpeedFee
=
0
;
if
(
obj
.
BusType
)
{
if
(
obj
.
AirportPickUp
==
3
||
obj
.
AirportPickUp
==
4
)
{
console
.
log
(
"obj"
,
obj
);
obj
.
PayType
=
8
;
//obj.PayType = 2;
}
else
if
(
obj
.
AirportPickUp
==
13
)
{
obj
.
PayType
=
7
;
}
else
{
obj
.
PayType
=
0
;
}
//高速付款方式默认现付
//高速付款方式默认现付
obj
.
HighSpeedPayType
=
1
;
obj
.
HighSpeedPayType
=
1
;
let
busTypeObj
=
this
.
BusTypeList
.
find
(
item
=>
item
.
Id
===
obj
.
BusType
);
let
busTypeObj
=
this
.
BusTypeList
.
find
(
item
=>
item
.
Id
===
obj
.
BusType
);
...
@@ -584,9 +593,6 @@
...
@@ -584,9 +593,6 @@
obj
.
CostPrice
=
tempCostFee
;
obj
.
CostPrice
=
tempCostFee
;
}
}
}
}
}
else
{
obj
.
PayType
=
null
;
}
},
},
AddSubItem
(
item
)
{
AddSubItem
(
item
)
{
let
msg
=
Object
.
assign
({},
item
.
BusPlanOrderList
[
0
]);
let
msg
=
Object
.
assign
({},
item
.
BusPlanOrderList
[
0
]);
...
@@ -657,7 +663,6 @@
...
@@ -657,7 +663,6 @@
if
(
subItem
.
BookGroup
==
''
||
subItem
.
BookGroup
==
null
)
{
if
(
subItem
.
BookGroup
==
''
||
subItem
.
BookGroup
==
null
)
{
subItem
.
BookGroup
=
this
.
$route
.
query
.
NewCombinationNum
;
subItem
.
BookGroup
=
this
.
$route
.
query
.
NewCombinationNum
;
}
}
})
})
});
});
this
.
PostData
=
response
.
data
.
data
.
busExtend
;
this
.
PostData
=
response
.
data
.
data
.
busExtend
;
...
@@ -764,9 +769,21 @@
...
@@ -764,9 +769,21 @@
this
.
PostData
.
CostPrice
=
CoastPrice
;
this
.
PostData
.
CostPrice
=
CoastPrice
;
},
},
//获取同上信息
//获取同上信息
getBeforeInfo
(
index
)
{
getBeforeInfo
(
index
,
subIndex
)
{
let
oldPlanData
=
this
.
PlanTableData
[
index
-
1
];
let
oldPlanData
=
{};
let
newPlanData
=
this
.
PlanTableData
[
index
];
//判断是否为当天最后一条数据
if
(
this
.
PlanTableData
[
index
].
BusPlanOrderList
.
length
>
1
)
{
if
(
subIndex
==
0
)
{
oldPlanData
=
this
.
PlanTableData
[
index
-
1
].
BusPlanOrderList
[
this
.
PlanTableData
[
index
-
1
].
BusPlanOrderList
.
length
-
1
];
}
else
{
oldPlanData
=
this
.
PlanTableData
[
index
].
BusPlanOrderList
[
subIndex
-
1
];
}
}
else
{
oldPlanData
=
this
.
PlanTableData
[
index
-
1
].
BusPlanOrderList
[
this
.
PlanTableData
[
index
-
1
].
BusPlanOrderList
.
length
-
1
];
}
let
newPlanData
=
this
.
PlanTableData
[
index
].
BusPlanOrderList
[
subIndex
];
newPlanData
.
DriverName
=
oldPlanData
.
DriverName
;
newPlanData
.
DriverName
=
oldPlanData
.
DriverName
;
newPlanData
.
DriverTel
=
oldPlanData
.
DriverTel
;
newPlanData
.
DriverTel
=
oldPlanData
.
DriverTel
;
newPlanData
.
BusNum
=
oldPlanData
.
BusNum
;
newPlanData
.
BusNum
=
oldPlanData
.
BusNum
;
...
...
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