Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
5e4254cb
Commit
5e4254cb
authored
Nov 19, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核
parent
92d71afe
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3241 additions
and
3 deletions
+3241
-3
App.vue
src/App.vue
+1
-1
NewBillModule.vue
src/pages/financial/components/NewBillModule.vue
+440
-0
BasicDocuments.vue
src/pages/financial/financalDocument/BasicDocuments.vue
+2777
-0
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+1
-1
addFinancialDocuments.vue
...ages/financial/financalDocument/addFinancialDocuments.vue
+12
-1
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+5
-0
routes.js
src/router/routes.js
+5
-0
No files found.
src/App.vue
View file @
5e4254cb
...
...
@@ -12,7 +12,7 @@ export default {
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
xkbuljsn3gc
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
yp91bsm9op
.css')
;
html
,
body
,
...
...
src/pages/financial/components/NewBillModule.vue
0 → 100644
View file @
5e4254cb
<
style
>
.newBillModule
.Co_oderleft
{
float
:
left
;
}
.newBillModule
.Co_oderRight
{
float
:
right
;
}
.newBillModule
.Ca_diaobo
{
width
:
100%
;
height
:
35px
;
font-size
:
12px
;
line-height
:
35px
;
padding
:
0
20px
;
}
.newBillModule
.Ca_Span
{
display
:
block
;
padding-left
:
10px
;
font-size
:
14px
;
margin-bottom
:
20px
;
color
:
#333333
;
border-left
:
3px
solid
#E95252
;
}
.newBillModule
.Ca_leftOrder
{
width
:
890px
;
height
:
auto
;
padding-top
:
5px
;
background-color
:
#fff
;
}
.newBillModule
.Ca_title
{
width
:
190px
;
margin
:
auto
;
font-size
:
16px
;
margin-top
:
20px
;
color
:
#333333
;
text-align
:
center
;
}
.newBillModule
.Ca_t2
{
width
:
100%
;
font-size
:
14px
;
text-align
:
center
;
margin-bottom
:
-8px
;
}
.collection_Table
,
.pay_Table
{
width
:
96%
;
margin
:
auto
;
padding
:
0
20px
;
font-size
:
14px
;
}
.collection_Table
th
{
font-size
:
12px
;
color
:
#BE525D
;
}
.collection_Table
td
,
.collection_Table
th
{
border
:
1px
solid
#BE525D
;
text-align
:
center
;
height
:
44px
;
padding
:
0
5px
;
}
.pay_Table
th
{
font-size
:
12px
;
color
:
#1273BC
;
}
.pay_Table
td
,
.pay_Table
th
{
border
:
1px
solid
#1273BC
;
text-align
:
center
;
height
:
44px
;
padding
:
0
5px
;
}
.newBillModule
.Ca_comLinediv
{
width
:
96%
;
min-height
:
80px
;
margin
:
auto
;
font-size
:
12px
;
border-bottom
:
1px
dashed
#BFBFBF
;
}
.newBillModule
.Ca_comBlueColor
{
color
:
#1273BC
;
}
.newBillModule
textarea
{
border
:
none
;
border-bottom
:
1px
solid
#666666
;
}
.newBillModule
.Ca_payBtn
{
color
:
#1273BC
;
border-color
:
#1273BC
;
}
.newBillModule
.Ca_cashier
{
width
:
25%
;
float
:
left
;
}
.newBillModule
.Ca_popDiv
{
width
:
100%
;
height
:
52px
;
line-height
:
52px
;
padding
:
0
20px
;
font-size
:
12px
;
display
:
flex
;
justify-content
:
space-between
;
}
.Ca_popDiv
p
{
display
:
inline-block
;
}
.Ca_popDiv
p
:last-child
{
float
:
right
;
margin-right
:
0
;
}
.newBillModule
.Cafujian
{
width
:
100%
;
min-height
:
50px
;
margin-top
:
20px
;
}
.Cafujian
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
}
.Cafujian
>
div
.icon-guanbi1
{
display
:
inline-block
;
margin-left
:
15px
;
color
:
#fff
;
position
:
absolute
;
right
:
-6px
;
top
:
-9px
;
background-color
:
#f56c6c
;
border-radius
:
50%
;
height
:
20px
;
width
:
20px
;
text-align
:
center
;
line-height
:
20px
;
}
.Cafujian
>
div
.icon-guanbi1
:hover
{
color
:
#c94052
;
font-size
:
12px
;
}
.Cafujian
>
div
img
{
width
:
100%
;
height
:
100%
;
}
.newBillModule
.Ca_rightFile
{
float
:
left
;
width
:
300px
;
/* height:500px; */
border
:
1px
solid
red
;
}
.newBillModule
.Ca_description
{
width
:
600px
;
min-height
:
30px
;
display
:
inline-block
;
margin-top
:
30px
;
font-size
:
14px
;
}
.newBillModule
.Ca_remarkSpan
{
display
:
inline-block
;
height
:
30px
;
vertical-align
:
top
;
margin-top
:
30px
;
}
.Cafujian
.icon-excel
{
text-align
:
center
;
font-size
:
38px
;
color
:
green
;
line-height
:
75px
;
}
.newBillModule
.Ca_AccountInfo
{
width
:
100%
;
padding
:
0
20px
;
text-align
:
left
;
}
.newBillModule
.collection_Order
{
width
:
100%
;
height
:
36px
;
font-size
:
12px
;
line-height
:
35px
;
padding
:
0
20px
;
border-bottom
:
1px
dashed
#BFBFBF
;
}
</
style
>
<
template
>
<div
class=
"newBillModule"
>
<div
class=
"clearfix"
>
<div
class=
"Co_oderleft"
>
<div
class=
"Ca_leftOrder"
>
<div
class=
"Ca_title"
>
{{
dataList
.
CompanyName
}}
</div>
<div
class=
"Ca_t2"
>
{{
dataList
.
FinanceName
}}
</div>
<div
class=
"Ca_line"
></div>
<div
class=
"clearfix collection_Order"
>
<div
class=
"Co_oderleft"
>
<span>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
FrID
}}
</span>
</div>
<div
class=
"Co_oderRight"
>
<span>
{{
$t
(
'fnc.zhibiao'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
dataList
.
CreateDate
}}
</span>
</div>
</div>
<div
v-for=
"item in dataList.SBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comColor"
>
{{
$t
(
'fnc.dbriqi'
)
}}
:
</span><span
class=
"Ca_comSize"
>
{{
item
.
AllotDate
}}
</span>
</div>
</div>
<table
class=
"collection_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{
$t
(
'fnc.skfangshi'
)
}}
</th>
<th
width=
"300"
>
{{
$t
(
'fnc.acc'
)
}}
</th>
<th
width=
"110"
>
{{
$t
(
'fnc.jine'
)
}}
</th>
<th
width=
"90"
>
{{
$t
(
'hotel.hotel_Currency'
)
}}
</th>
<th
width=
"85"
>
{{
$t
(
'hotel.hotel_CurrentRate'
)
}}
</th>
<th>
汇兑损益
</th>
<th>
{{
$t
(
'fnc.bwbjine'
)
}}
</th>
</tr>
<tr>
<td>
{{
item
.
TypeName
}}
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
{{
item
.
Alias
}}
-
{{
item
.
AccountType
}}
-
{{
item
.
BankNo
}}
</div>
</td>
<td>
{{
item
.
OriginalMoney
}}
</td>
<td>
{{
item
.
CurrencyName
}}
</td>
<td>
{{
item
.
Rate
}}
</td>
<td>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
</td>
<td>
{{
item
.
Money
}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
>
<span
class=
"Ca_remarkSpan"
>
{{
$t
(
'hotel.hotel_remark'
)
}}
:
</span>
<div
class=
"Ca_description"
>
{{
item
.
Description
}}
</div>
<input
type=
"button"
class=
"hollowFixedBtn Co_oderRight"
style=
"margin-top:25px;"
@
click=
"showFileList(item)"
:value=
"item.comText"
/>
<div
class=
"Cafujian clearfix"
v-if=
"item.isShow"
>
<template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"file.Content"
@
click=
"showImg(file.Content)"
>
</div>
</div>
<div
v-if=
"file.Type==1"
>
<div
class=
"iconfont "
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
<div
v-if=
"file.Type==2"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
</
template
>
</div>
</div>
</div>
<div
v-for=
"item in dataList.FBankList"
>
<div
class=
"clearfix Ca_diaobo"
>
<div
class=
"Co_oderRight"
style=
"margin:10px 0;"
>
<span
class=
"Ca_comBlueColor"
>
{{$t('fnc.dbriqi')}}:
</span><span
class=
"Ca_comSize"
>
{{item.AllotDate}}
</span>
</div>
</div>
<table
class=
"pay_Table"
style=
"border-collapse: collapse;"
>
<tr>
<th
width=
"100"
>
{{$t('fnc.fkfangshi')}}
</th>
<th
width=
"300"
>
{{$t('fnc.acc')}}
</th>
<th
width=
"110"
>
{{$t('fnc.jine')}}
</th>
<th
width=
"90"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
width=
"85"
>
{{$t('hotel.hotel_CurrentRate')}}
</th>
<th>
汇兑损益
</th>
<th>
{{$t('fnc.bwbjine')}}
</th>
</tr>
<tr>
<td>
{{item.TypeName}}
</td>
<td>
<div
class=
"Ca_AccountInfo"
>
{{item.Alias}}-{{item.AccountType}}-{{item.BankNo}}
</div>
</td>
<td>
{{item.OriginalMoney}}
</td>
<td>
{{item.CurrencyName}}
</td>
<td>
{{item.Rate}}
</td>
<td>
<span
v-if=
"item.IsExChange==0"
>
否
</span>
<span
v-if=
"item.IsExChange==1"
>
是
</span>
</td>
<td>
{{item.Money}}
</td>
</tr>
</table>
<div
class=
"clearfix Ca_comLinediv"
style=
"width:100%;padding:0 20px;"
>
<span
class=
"Ca_remarkSpan"
>
{{$t('hotel.hotel_remark')}}:
</span>
<div
class=
"Ca_description"
>
{{item.Description}}
</div>
<input
type=
"button"
class=
"hollowFixedBtn Co_oderRight Ca_payBtn"
style=
"margin-top:25px;"
@
click=
"showFuFileList(item)"
:value=
"item.comText"
/>
<div
class=
"Cafujian clearfix"
v-if=
"item.isShow"
>
<
template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
>
<div
style=
"width:100%;height:100%;overflow: hidden;"
>
<img
:src=
"file.Content"
@
click=
"showImg(file.Content)"
>
</div>
</div>
<div
v-if=
"file.Type==1"
>
<div
class=
"iconfont _wenjian_P"
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFileT(file)"
>
</div>
</div>
<div
v-if=
"file.Type==2"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file)"
>
</div>
</div>
</
template
>
</div>
</div>
</div>
<div
class=
"Ca_popDiv"
v-if=
"dataList.AuditSteps!=''"
>
<
template
v-for=
"(item,index) in dataList.AuditSteps"
>
<p>
{{
item
.
AuditDescription
}}
:
<template
v-if=
"item.Status===2"
>
<span
class=
"_r_name"
v-if=
"s.AuditStatus==2"
v-for=
"(s,si) in item.AuditRecordList"
>
{{
s
.
AuditName
}}
</span>
</
template
>
</p>
</template>
</div>
</div>
</div>
</div>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src.subCode"
>
</viewer>
</div>
</template>
<
script
>
export
default
{
props
:[
"ID"
],
//接收参数 ID width color
data
(){
return
{
msg
:{
ID
:
0
},
dataList
:[],
images
:[],
imageOptions
:{
navbar
:
false
,
title
:
false
},
}
},
methods
:{
inited
(
viewer
){
this
.
$viewer
=
viewer
},
getList
(
ID
){
this
.
msg
.
ID
=
ID
;
this
.
apipost
(
'Financial_get_GetFundTransfer'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
this
.
dataList
.
SBankList
.
forEach
(
x
=>
{
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
x
.
isShow
=
false
;
});
this
.
dataList
.
FBankList
.
forEach
(
x
=>
{
x
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
x
.
isShow
=
false
;
});
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
//点击显示附件
showFileList
(
item
){
if
(
item
.
comText
==
this
.
$t
(
'fnc.ycfujian'
)){
item
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
}
else
{
item
.
comText
=
this
.
$t
(
'fnc.ycfujian'
)
}
if
(
item
.
isShow
){
item
.
isShow
=
false
;
}
else
{
item
.
isShow
=
true
;
}
this
.
$forceUpdate
();
},
showFuFileList
(
item
){
if
(
item
.
comText
==
this
.
$t
(
'fnc.ycfujian'
)){
item
.
comText
=
this
.
$t
(
'fnc.xsfujian'
);
}
else
{
item
.
comText
=
this
.
$t
(
'fnc.ycfujian'
)
}
if
(
item
.
isShow
){
item
.
isShow
=
false
;
}
else
{
item
.
isShow
=
true
;
}
this
.
$forceUpdate
();
},
//显示大图
showImg
(
obj
){
let
isExsit
=
false
this
.
images
.
forEach
(
x
=>
{
if
(
x
==
obj
)
isExsit
=
true
})
if
(
!
isExsit
)
{
this
.
images
.
push
(
obj
)
}
else
{
this
.
$viewer
.
view
(
this
.
images
.
indexOf
(
obj
))
}
this
.
$viewer
.
show
()
},
//预览文件
showUpLoadFileT
(
i
){
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
){
this
.
previewPDF
(
i
.
Content
)
}
else
{
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Content
)
}
},
},
mounted
(){
this
.
getList
(
this
.
ID
);
},
watch
:
{
// 监听参数变化
GetDetail
:
{
handler
:
function
(
val
,
oldVal
)
{
},
deep
:
true
},
ID
:{
handler
:
function
(
val
,
oldVal
)
{
this
.
ID
=
val
this
.
getList
(
this
.
ID
)
},
deep
:
true
}
}
}
</
script
>
src/pages/financial/financalDocument/BasicDocuments.vue
0 → 100644
View file @
5e4254cb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/pages/financial/financalDocument/FinancialDocuments.vue
View file @
5e4254cb
...
...
@@ -966,7 +966,7 @@
</
template
>
</td>
<td
valign=
"middle"
>
<img
class=
"_head_img"
:src=
"item.EmPhoto"
alt=
""
>
<!-- <img class="_head_img" :src="item.EmPhoto" alt="">--
>
<span>
{{item.EmName}}
</span>
</td>
<td
class=
"_btn_group"
>
...
...
src/pages/financial/financalDocument/addFinancialDocuments.vue
View file @
5e4254cb
...
...
@@ -1577,8 +1577,14 @@
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
$route
.
query
.
companyID
)
{
this
.
msg
.
RB_Branch_Id
=
parseInt
(
this
.
$route
.
query
.
companyID
);
if
(
this
.
$route
.
query
.
companyID
!==
'undefined'
){
this
.
msg
.
RB_Branch_Id
=
parseInt
(
this
.
$route
.
query
.
companyID
);
}
else
{
this
.
msg
.
RB_Branch_Id
=
this
.
getLocalStorage
().
School_Id
;
}
}
this
.
admin_get_DepartmentGetList
(
this
.
msg
.
RB_Branch_Id
);
this
.
msg
.
PayDate
=
this
.
msg
.
PayDate
;
this
.
msg
.
detailList
=
[];
...
...
@@ -1697,6 +1703,11 @@
if
(
Bid
==
0
)
{
this
.
chosenPeople
=
[];
}
this
.
CompanyList
.
forEach
(
x
=>
{
//给msg传校区的名字
if
(
x
.
SId
==
Bid
){
this
.
msg
.
RB_BranchName
=
x
.
SName
;
}
})
// this.msg.RB_Depart_Id = '';
// this.departmentMsg.RB_Branch_Id = Bid ? Bid : -1;
this
.
departmentMsg
.
RB_Branch_Id
=
-
1
;
...
...
src/pages/financial/financalDocument/addReceivablesDocuments.vue
View file @
5e4254cb
...
...
@@ -1707,6 +1707,11 @@
// this.departmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id
this
.
departmentMsg
.
RB_Branch_Id
=
-
1
;
this
.
msg
.
RB_Depart_Id
=
''
;
this
.
companyList
.
forEach
(
x
=>
{
//给msg传校区的名字
if
(
x
.
SId
==
Bid
){
this
.
msg
.
RB_BranchName
=
x
.
SName
;
}
})
getDeptList
(
this
.
departmentMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
departmentList
=
res
.
Data
;
...
...
src/router/routes.js
View file @
5e4254cb
...
...
@@ -286,6 +286,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/financial/financalDocument/FinancialDocumentsDetail.vue"
)
},
{
path
:
"/financial/financalDocument/BasicDocuments"
,
//财务 财务单据 审核标准单据
component
:
()
=>
import
(
"pages/financial/financalDocument/BasicDocuments.vue"
)
},
{
path
:
"/test"
,
//API测试
...
...
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