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
07147bc8
Commit
07147bc8
authored
Feb 21, 2019
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账户明细合并都可以选择银行,国内票务调整
parent
724cf79b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
228 additions
and
208 deletions
+228
-208
OrderDetails.vue
src/components/DomesticModule/OrderDetails.vue
+2
-2
OrderToday.vue
src/components/DomesticModule/OrderToday.vue
+45
-25
CashAccDetail.vue
src/components/FinancialModule/accDetail/CashAccDetail.vue
+73
-73
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+1
-1
PlatformAccDetail.vue
...omponents/FinancialModule/accDetail/PlatformAccDetail.vue
+1
-1
PoolAccDetail.vue
src/components/FinancialModule/accDetail/PoolAccDetail.vue
+106
-106
No files found.
src/components/DomesticModule/OrderDetails.vue
View file @
07147bc8
...
...
@@ -58,7 +58,7 @@
</div>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
订单
号
</th>
<th>
编
号
</th>
<th>
人数
</th>
<th>
应收金额
</th>
<th>
成本
</th>
...
...
@@ -72,7 +72,7 @@
<!--
<th>
操作
</th>
-->
</tr>
<tr
v-for=
"(item,index) in DataList.list"
:key=
"index"
>
<td>
{{
item
.
Order
ID
}}
</td>
<td>
{{
item
.
ID
}}
</td>
<td
class=
"_hover"
>
<el-popover
placement=
"bottom"
...
...
src/components/DomesticModule/OrderToday.vue
View file @
07147bc8
...
...
@@ -5,7 +5,7 @@
<div
class=
'flexOne page_OrderToday'
>
<div
class=
'query-box'
>
<ul>
<li>
<
!--
<
li>
<span>
<em>
期数
</em>
<el-date-picker
...
...
@@ -16,7 +16,19 @@
placeholder=
"选择日期"
>
</el-date-picker>
</span>
</li>
</li>
-->
<li>
<span>
<em>
制单日期
</em>
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd()"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</span>
</li>
<li>
<span>
<em>
航空公司
</em>
...
...
@@ -68,21 +80,21 @@
</div>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
期数
</th>
<th>
编号
</th>
<th>
人数
</th>
<th>
金额
</th>
<th>
成本
</th>
<th>
利润
</th>
<th>
客户名称
</th>
<th>
行程时间
</th>
<th>
航空公司
</th>
<th>
航班
</th>
<th>
航段
</th>
<th>
航空公司
— 航班 — 航段
</th>
<th></th>
<th></th>
<th>
操作人
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"(item,index) in DataList.list"
>
<td>
{{
item
.
Term
}}
</td>
<td>
{{
item
.
ID
}}
</td>
<td
class=
"_hover"
>
<el-popover
placement=
"bottom"
...
...
@@ -222,7 +234,7 @@
</el-row>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"110px"
>
<el-row>
<el-col
:span=
"6"
:gutter=
"35"
>
<
!--
<
el-col
:span=
"6"
:gutter=
"35"
>
<el-form-item
label=
"期数"
prop=
"TermDate"
>
<el-date-picker
v-model=
"addMsg.TermDate"
...
...
@@ -233,7 +245,7 @@
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"6"
:gutter=
"35"
>
<el-form-item
label=
"出票日期"
prop=
"OutTicketDate"
>
<el-date-picker
...
...
@@ -386,10 +398,12 @@ export default {
FlightNo
:
''
,
ClientName
:
''
,
ParentId
:
0
,
Term
:
new
Date
().
Format
(
"yyyy-MM-dd"
),
Term
:
''
,
sDate
:
''
,
eDate
:
''
},
addMsg
:{
TermDate
:
new
Date
().
Format
(
"yyyy-MM-dd"
)
,
TermDate
:
''
,
ID
:
0
,
OutTicketDate
:
new
Date
().
Format
(
"yyyy-MM-dd"
),
TravelTime
:
''
,
...
...
@@ -449,6 +463,7 @@ export default {
airlineList
:[],
AirportNameList
:[],
},
transactionDate
:[],
airlineList
:[],
AirportNameList
:[],
DataList
:[],
...
...
@@ -470,7 +485,7 @@ export default {
dialogFormVisible
:
false
,
formLabelWidth
:
'120px'
,
goPath
:
''
,
TermDate
:
new
Date
().
toLocaleDateString
().
replace
(
'/'
,
'-'
).
replace
(
'/'
,
'-'
)
,
TermDate
:
''
,
rules
:
{
//表单必填验证
ClientName
:
[
{
required
:
true
,
message
:
'请填写客户名称'
,
trigger
:
'blur'
}
...
...
@@ -489,14 +504,9 @@ export default {
],
OutTicketDate
:
[
{
required
:
true
,
message
:
'请输选出票日期'
,
trigger
:
'change'
}
],
TermDate
:
[
{
required
:
true
,
message
:
'请输选择期数'
,
trigger
:
'change'
}
]
}
}
},
created
(){
},
mounted
(){
this
.
getList
();
this
.
getAirlineList
();
...
...
@@ -515,6 +525,15 @@ export default {
if
(
pi
)
return
this
.
addMsg
.
FlightList
.
splice
(
i
,
1
);
}
},
timeAdd
(){
// 日期格式
if
(
!
this
.
transactionDate
){
this
.
msg
.
sDate
=
''
;
this
.
msg
.
eDate
=
''
;
return
}
this
.
msg
.
sDate
=
this
.
transactionDate
[
0
];
this
.
msg
.
eDate
=
this
.
transactionDate
[
1
];
},
compare
(
property
){
return
function
(
a
,
b
){
...
...
@@ -542,7 +561,10 @@ export default {
}
},
jiesuan
(){
this
.
apipost
(
'Domestic_Ticket_post_CheckBiLL'
,{
TermDate
:
this
.
TermDate
},
r
=>
{
if
(
!
this
.
TermDate
){
return
this
.
$message
.
error
(
'请选择结算日期'
);
}
this
.
apipost
(
'Domestic_Ticket_post_CheckBiLL'
,{
TermDate
:
this
.
TermDate
,
sDate
:
this
.
msg
.
sDate
,
eDate
:
this
.
msg
.
eDate
},
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
this
.
$router
.
push
({
name
:
this
.
goPath
,
query
:{
'Term'
:
this
.
TermDate
,
'blank'
:
'y'
}});
this
.
getList
();
...
...
@@ -663,7 +685,7 @@ export default {
},
initAddMsg
(){
// 取消修改、新增
this
.
addMsg
=
{
TermDate
:
new
Date
().
toLocaleDateString
().
replace
(
'/'
,
'-'
).
replace
(
'/'
,
'-'
)
,
TermDate
:
''
,
ID
:
this
.
addMsg
.
ID
,
OutTicketDate
:
new
Date
().
toLocaleDateString
().
replace
(
'/'
,
'-'
).
replace
(
'/'
,
'-'
),
TravelTime
:
''
,
...
...
@@ -704,7 +726,7 @@ export default {
}
],
Num
:
0
,
Term
:
new
Date
().
Format
(
"yyyy-MM-dd"
)
,
Term
:
''
,
FlightList
:[
{
ID
:
0
,
...
...
@@ -731,9 +753,6 @@ export default {
if
(
this
.
msg
.
AirlineId
==
''
){
this
.
msg
.
AirlineId
=
0
;
}
if
(
this
.
msg
.
Term
){
this
.
msg
.
Term
=
this
.
msg
.
Term
.
replace
(
/-/g
,
''
);
}
this
.
loading
=
true
this
.
apipost
(
'Domestic_Ticket_post_GetPageList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
...
...
@@ -745,6 +764,7 @@ export default {
this
.
noData
=
true
;
}
this
.
DataList
=
data
;
console
.
log
(
this
.
DataList
,
'dataList'
);
this
.
loading
=
false
;
if
(
!
t
){
this
.
msg
.
OrderID
=
''
;
...
...
@@ -776,7 +796,7 @@ export default {
},
initAddMsg
(){
//初始化添加、修改数据
let
newMsg
=
{
TermDate
:
new
Date
().
Format
(
"yyyy-MM-dd"
)
,
TermDate
:
''
,
OrderID
:
0
,
OutTicketDate
:
new
Date
().
Format
(
"yyyy-MM-dd"
),
TravelTime
:
''
,
...
...
@@ -816,7 +836,7 @@ export default {
profit
:
''
}
],
Term
:
new
Date
().
Format
(
"yyyy-MM-dd"
)
,
Term
:
''
,
FlightList
:[
{
ID
:
0
,
...
...
src/components/FinancialModule/accDetail/CashAccDetail.vue
View file @
07147bc8
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
07147bc8
...
...
@@ -158,7 +158,7 @@
<el-dialog
custom-class=
'w750 height="34px"'
title=
"合并单据"
:visible
.
sync=
"addChuNa"
center
:before-close=
"initAddChuNa"
v-loading=
"allLoading"
>
<p
class=
"_addChuNa_tit"
><span>
{{
count
}}
</span>
条合并为1条,外币总金额
<span>
{{
moneyFormat
(
allWPrice
)
}}
</span>
,本位币总金额
<span>
{{
moneyFormat
(
allBPrice
)
}}
</span>
</p>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;text-align: center; width: 100%;"
>
<template
v-if=
"BillType===2"
>
<template>
<tr
>
<th
height=
"34px"
>
账户分类
</th>
<th
height=
"34px"
>
付款方式
</th>
...
...
src/components/FinancialModule/accDetail/PlatformAccDetail.vue
View file @
07147bc8
...
...
@@ -156,7 +156,7 @@
<el-dialog
custom-class=
'w750'
title=
"合并单据"
:visible
.
sync=
"addChuNa"
center
:before-close=
"initAddChuNa"
v-loading=
"allLoading"
>
<p
class=
"_addChuNa_tit"
><span>
{{
count
}}
</span>
条合并为1条,外币总金额
<span>
{{
moneyFormat
(
allWPrice
)
}}
</span>
,本位币总金额
<span>
{{
moneyFormat
(
allBPrice
)
}}
</span>
</p>
<table
border=
"1"
bordercolor=
"#D2D2D2"
style=
"border-collapse:collapse;text-align: center;"
>
<template
v-if=
"BillType == 1"
>
<template>
<tr
>
<th
height=
"34px"
>
账户分类
</th>
<th
height=
"34px"
>
付款方式
</th>
...
...
src/components/FinancialModule/accDetail/PoolAccDetail.vue
View file @
07147bc8
This diff is collapsed.
Click to expand it.
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