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
95f8b355
Commit
95f8b355
authored
Jul 18, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增机票模块页面
parent
95199242
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
154 additions
and
2 deletions
+154
-2
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+3
-0
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+3
-0
DjieMergeBillModule.vue
...inancialModule/FinancialSubmodule/DjieMergeBillModule.vue
+1
-1
JiPiaoBillModule.vue
...s/FinancialModule/FinancialSubmodule/JiPiaoBillModule.vue
+145
-0
index.js
src/plug/index.js
+2
-1
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
95f8b355
...
...
@@ -438,6 +438,7 @@
<p
class=
"_splic"
>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
<div
class=
"_tit _tit2 w890px"
>
<myGuanBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"(GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel"
/>
<myJiPiaoBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel"
/>
</div>
<
template
v-if=
"sonTCIDList"
>
<div
class=
"w890px"
>
...
...
@@ -1314,6 +1315,7 @@ import TicketingModule from "../commonPage/TicketingModule.vue";
import
ChongDiPage
from
"../commonPage/ChongDiPage.vue"
;
import
{
truncate
}
from
'fs'
;
import
myGuanBill
from
"./FinancialSubmodule/GuanBillModule.vue"
;
import
myJiPiaoBill
from
"./FinancialSubmodule/JiPiaoBillModule.vue"
;
// import MsgBus from '../../assets/utils/msgBus.js';
export
default
{
data
(){
...
...
@@ -1476,6 +1478,7 @@ export default {
'my-HB-Bill'
:
myhrBill
,
'ChongDiPage'
:
ChongDiPage
,
'myGuanBill'
:
myGuanBill
,
'myJiPiaoBill'
:
myJiPiaoBill
},
methods
:{
// 单选计算
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
95f8b355
...
...
@@ -524,6 +524,7 @@
<p
class=
"_splic"
>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
<div
class=
"_tit _tit2 w890px"
>
<myGuanBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"(GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel"
/>
<myJiPiaoBill
:ID=
"FrID"
:FrID=
'FrID'
:TemplateId=
'GetDetail.TemplateId'
v-if=
"GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel"
/>
</div>
<
template
v-if=
"sonTCIDList"
>
<div
class=
"w890px"
>
...
...
@@ -820,6 +821,7 @@ import TicketingModule from "../commonPage/TicketingModule.vue";
import
ChongDiPage
from
"../commonPage/ChongDiPage.vue"
;
import
myDJieBill
from
"./FinancialSubmodule/DjieMergeBillModule.vue"
;
import
myGuanBill
from
"./FinancialSubmodule/GuanBillModule.vue"
;
import
myJiPiaoBill
from
"./FinancialSubmodule/JiPiaoBillModule.vue"
;
export
default
{
data
(){
return
{
...
...
@@ -904,6 +906,7 @@ export default {
'myDJieBill'
:
myDJieBill
,
'ChongDiPage'
:
ChongDiPage
,
'myGuanBill'
:
myGuanBill
,
'myJiPiaoBill'
:
myJiPiaoBill
},
created
(){
this
.
ID
=
this
.
$route
.
query
.
id
;
...
...
src/components/FinancialModule/FinancialSubmodule/DjieMergeBillModule.vue
View file @
95f8b355
...
...
@@ -376,7 +376,7 @@
this
.
EndDate
=
yaer
+
'-'
+
month
+
'-'
+
dateS
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
Financial_post_GetDetail
(
THIS
.
ID
);
this
.
Financial_post_GetDetail
(
this
.
ID
);
},
watch
:
{
// 监听参数变化
GetDetail
:
{
handler
:
function
(
val
,
oldVal
)
{
...
...
src/components/FinancialModule/FinancialSubmodule/JiPiaoBillModule.vue
0 → 100644
View file @
95f8b355
<
style
>
@import
url('../../../assets/css/domestic/TicketingModule.css')
;
.sanjiao-box
{
position
:
relative
;
}
._sanjiao_
{
position
:
absolute
;
top
:
0px
;
left
:
0px
;
width
:
0px
;
height
:
0px
;
border-top
:
20px
solid
#e73828
;
border-bottom
:
20px
solid
transparent
;
border-left
:
20px
solid
#e73828
;
border-right
:
20px
solid
transparent
;
}
.sanjiao-box
._sanjiao_
:after
{
content
:
'关'
;
position
:
absolute
;
top
:
-15px
;
left
:
-14px
;
white-space
:
nowrap
;
color
:
#FFFFFF
;
font-size
:
12px
;
}
.sanjiao-box
.Receipt_table
td
{
padding
:
0
10px
;
}
.hover_text
span
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
</
style
>
<
template
>
<div
class=
"m_TicketingModule"
>
<div
class=
"_tit"
>
<span
class=
"_text"
>
{{
tit
}}
</span>
<div>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false"
>
收起
<i
class=
"iconfont icon-gengduo _rotate"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true"
>
展开
<i
class=
"iconfont icon-gengduo"
></i>
</span>
</div>
</div>
<div
v-show=
"tableShow"
class=
"sanjiao-box _padding_20_15"
>
<div
class=
"_sanjiao_"
></div>
<table
border=
"1"
class=
"_border_color_b Receipt_table"
bordercolor=
"#c94052"
style=
"border-collapse:collapse;width: 100%;"
v-loading=
'loading'
>
<tr>
<th
rowspan=
"2"
>
{{
$t
(
'system.query_company'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.danhao'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.fyshuoming'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th
colspan=
"3"
>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
</th>
<th
rowspan=
"2"
>
{{
$t
(
'fnc.zhidanren'
)
}}
</th>
</tr>
<tr>
<th
width=
"88"
>
{{
$t
(
'fnc.yuanbi'
)
}}
</th>
<th
width=
"50"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
</th>
<th
width=
"68"
>
{{
$t
(
'fnc.bweibi'
)
}}
</th>
</tr>
<template
v-if=
"details&&details.length"
>
<tr
v-for=
"(item) in details"
class=
"_color_b"
>
<td
height=
"34px"
>
{{
item
.
BName
}}
</td>
<td
height=
"34px"
@
click=
"goDetail(item.FinanceId)"
class=
"hover_text"
><span>
{{
item
.
FinanceId
}}
</span></td>
<td
height=
"34px"
>
{{
item
.
CostTypeName
}}
</td>
<td
height=
"34px"
>
{{
item
.
CurrencyName
}}
</td>
<td
height=
"34px"
>
{{
item
.
OriginalMoney
}}
</td>
<td
height=
"34px"
>
{{
item
.
Rate
}}
</td>
<td
height=
"34px"
>
{{
item
.
Money
}}
</td>
<td
height=
"34px"
style=
"max-width: 120px;"
>
{{
item
.
Remark
}}
</td>
<td
height=
"34px"
>
{{
item
.
EmName
}}
</td>
</tr>
</
template
>
<tr
v-if=
"details&&details.length<2"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"details&&details.length<3"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
<tr
v-if=
"details&&details.length<4"
>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
<td
height=
"34px"
></td>
</tr>
</table>
</div>
</div>
</div>
</template>
<
script
>
export
default
{
props
:[
"FrID"
,
"TemplateId"
],
data
(){
return
{
tableShow
:
true
,
tit
:
''
,
details
:
[],
loading
:
true
,
}
},
watch
:{
},
created
(){
this
.
tit
=
'相关机票单据'
this
.
getDetails
()
},
mounted
(){
},
methods
:{
goDetail
(
id
){
this
.
$router
.
push
({
name
:
'FinancialDocumentsDetail'
,
query
:{
"id"
:
id
,
blank
:
'y'
,
tab
:
'单据详情'
}
})
},
getDetails
(){
this
.
loading
=
true
this
.
apipost
(
'Financial_post_GetTicketFinanceRelevance'
,
{
FrId
:
this
.
FrID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
let
data
=
res
.
data
.
data
;
this
.
details
=
data
;
}
},
null
)
}
}
}
</
script
>
src/plug/index.js
View file @
95f8b355
...
...
@@ -118,8 +118,9 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
locationName
=
window
.
location
.
hostname
;
//
domainUrl = "http://192.168.2.214:8082";
domainUrl
=
"http://192.168.2.214:8082"
;
domainUrl
=
"http://192.168.2.65:8025"
;
domainUrl
=
"http://192.168.2.16:8083"
;
if
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
)
{
domainUrl
=
"http://reborn.oytour.com"
;
}
else
if
(
locationName
.
indexOf
(
'viitto'
)
!==
-
1
)
{
...
...
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