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
db321944
Commit
db321944
authored
Nov 19, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
79d574f4
c1762307
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
3332 additions
and
77 deletions
+3332
-77
App.vue
src/App.vue
+1
-1
TeamRevenueReport.vue
src/pages/financial/TeamRevenueReport.vue
+5
-5
addFinancialProcess.vue
src/pages/financial/addFinancialProcess.vue
+48
-48
NewBillModule.vue
src/pages/financial/components/NewBillModule.vue
+440
-0
czBillModule.vue
src/pages/financial/components/czBillModule.vue
+5
-5
BasicDocuments.vue
src/pages/financial/financalDocument/BasicDocuments.vue
+2777
-0
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+5
-5
FinancialDocumentsDetail.vue
...s/financial/financalDocument/FinancialDocumentsDetail.vue
+10
-10
addFinancialDocuments.vue
...ages/financial/financalDocument/addFinancialDocuments.vue
+20
-2
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+16
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/App.vue
View file @
db321944
...
...
@@ -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/TeamRevenueReport.vue
View file @
db321944
...
...
@@ -1893,11 +1893,11 @@
GetSupperOrderEditAuth
()
{
// F_GeneralManager_Special 财务总经理副总经理权限
var
actionCode
=
this
.
$AuthCode
.
F_GeneralManager_Special
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_GeneralManager
=
true
;
}
});
//
this.CheckUserAuth(actionCode, res => {
//
if (res.data.resultCode == 1 && res.data.data == 1) {
//
this.F_GeneralManager = true;
//
}
//
});
},
rowClick
(
rowIndex
,
rowData
,
column
){
let
path
=
'RegistrationList'
;
...
...
src/pages/financial/addFinancialProcess.vue
View file @
db321944
...
...
@@ -465,15 +465,15 @@
</el-input>
</p>
<el-tree
class=
'ApprovalProcessBg'
:data=
"roleList"
ref=
"treeRole"
show-checkbox
:filter-node-method=
"filterNode1"
:props=
"defaultProps1"
@
check-change=
"checkedRole"
:filter-node-method=
"filterNode1"
:props=
"defaultProps1"
:check-on-click-node=
"true"
:check-strictly=
"true"
@
check-change=
"checkedRole"
:default-checked-keys=
"defaultCheckedArr"
node-key=
"PostId"
>
</el-tree>
</div>
<div
class=
"fl"
>
<p
style=
"margin: 0 0 20px 0;"
>
{{
$t
(
'fnc.yixuangangwei'
)
}}
:
</p>
<div
class=
"Approval_yxList"
>
<li
v-for=
"
item
in showRole"
>
{{
item
.
DepartmentName
}}
<i
@
click=
"deleteRole()"
class=
"el-icon-circle-close showMemberIcon"
></i>
<li
v-for=
"
(item,index)
in showRole"
>
{{
item
.
DepartmentName
}}
<i
@
click=
"deleteRole(
index
)"
class=
"el-icon-circle-close showMemberIcon"
></i>
</li>
</div>
</div>
...
...
@@ -528,6 +528,9 @@
import
{
getSchoolPage
}
from
'../../api/school/index'
import
{
getPostPage
,
}
from
'../../api/system/post'
import
Treeselect
from
'@riophae/vue-treeselect'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
...
...
@@ -710,6 +713,15 @@
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
},
//岗位msg
jobMsg
:{
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
PostName
:
""
,
//岗位名称
PostId
:
0
,
//岗位编号
Status
:
"-1"
,
}
}
},
...
...
@@ -1029,8 +1041,6 @@
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzspiren'
))
return
}
console
.
log
(
this
.
myAuditList
,
'myAuditList'
);
console
.
log
(
this
.
myAuditUserList
,
'myAuditUserList'
);
if
(
this
.
myAuditUserList
.
length
!=
0
)
{
this
.
addMsg
.
Workflow_Condition
.
AuditUserList
=
this
.
myAuditUserList
...
...
@@ -1046,9 +1056,8 @@
this
.
$message
.
error
(
this
.
$t
(
'tips.qxzliucehng'
))
return
}
//
this.loading = true;
this
.
loading
=
true
;
this
.
addMsg
.
Workflow_Condition
.
AuditList
;
console
.
log
(
this
.
addMsg
,
'this.addMsg'
);
this
.
apipost
(
'FinancialFlowTemplate_post_Set'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
;
...
...
@@ -1166,40 +1175,37 @@
},
checkedRole
(
data
,
checked
)
{
// 岗位选择+
if
(
data
.
DepartmentId
==
0
)
return
if
(
checked
)
{
this
.
roleSetCheckedKeys
.
push
(
data
.
PostId
)
if
(
checked
){
this
.
$refs
.
treeRole
.
setCheckedKeys
([
data
.
PostId
]);
this
.
showRole
=
[];
this
.
showRole
.
push
({
DepartmentName
:
data
.
PostName
,
Id
:
data
.
PostId
})
console
.
log
(
this
.
showRole
,
'showRolessssss'
);
}
else
{
if
(
this
.
roleSetCheckedKeys
.
length
==
1
)
{
this
.
roleSetCheckedKeys
.
push
(
data
.
PostId
)
}
else
{
this
.
roleSetCheckedKeys
=
this
.
roleSetCheckedKeys
.
slice
(
this
.
roleSetCheckedKeys
.
length
-
1
)
}
let
res
=
this
.
$refs
.
treeRole
.
getCheckedNodes
(
true
,
true
);
this
.
showRole
=
[];
res
.
forEach
((
x
,
index
)
=>
{
var
obj
=
{
DepartmentName
:
x
.
PostName
,
Id
:
x
.
PostId
}
this
.
showRole
.
push
(
obj
)
})
},
deleteRole
()
{
// 删除已选岗位
this
.
showRole
=
[]
this
.
roleSetCheckedKeys
.
splice
(
this
.
roleSetCheckedKeys
.
findIndex
(
item
=>
item
),
1
)
this
.
$refs
.
treeRole
.
setCheckedKeys
(
this
.
roleSetCheckedKeys
);
deleteRole
(
index
)
{
// 删除已选岗位
this
.
showRole
.
splice
(
index
,
1
);
var
arr
=
[];
this
.
showRole
.
forEach
(
x
=>
{
arr
.
push
(
x
.
Id
);
})
if
(
this
.
$refs
.
treeRole
){
this
.
$refs
.
treeRole
.
setCheckedKeys
(
arr
);
}
},
getRole
()
{
// 选择岗位
this
.
apipost
(
'admin_get_PostGetList'
,
{
RB_Group_Id
:
this
.
getPostMsg
.
RB_Group_Id
},
res
=>
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
x
.
Disabled
=
false
;
getPostPage
(
this
.
jobMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
roleList
=
res
.
Data
.
PageData
;
}
}).
catch
(()
=>
{
})
this
.
roleList
=
data
;
},
err
=>
{})
},
saveUpdateNode
()
{
let
AuditList
=
{};
...
...
@@ -1394,28 +1400,26 @@
this
.
directors
=
obj
.
RoleOrInitiator
}
if
(
obj
.
AuditType
==
2
)
{
console
.
log
(
obj
,
'objjj'
);
this
.
showMember
=
[];
// this.showMember = [];
this
.
memberSetCheckedKeys
=
[];
this
.
AuditWay
=
obj
.
AuditWay
;
var
arr
=
[];
obj
.
AuditUserList
.
forEach
((
item
,
index
)
=>
{
this
.
showMember
.
push
({
EmployeeName
:
item
.
EmName
,
Id
:
item
.
Id
Id
:
item
.
Employee
Id
})
arr
.
push
(
item
.
Id
);
arr
.
push
(
item
.
Employee
Id
);
if
(
this
.
$refs
.
tree
){
this
.
$refs
.
tree
.
setCheckedKeys
(
arr
);
}
})
console
.
log
(
this
.
showMember
,
'this.showMember'
);
}
if
(
obj
.
AuditType
==
3
)
{
this
.
AuditWay
=
obj
.
AuditWay
;
this
.
showRole
=
[];
this
.
showRole
.
push
({
DepartmentName
:
obj
.
Aduit
Name
,
DepartmentName
:
obj
.
RoleOrInitiator
Name
,
Id
:
obj
.
RoleOrInitiator
})
this
.
defaultCheckedArr
.
push
(
obj
.
RoleOrInitiator
)
...
...
@@ -1439,7 +1443,6 @@
handleNodeChange
(
data
,
checked
)
{
data
.
IsCheck
=
checked
;
let
res
=
this
.
$refs
.
tree
.
getCheckedNodes
(
true
,
true
);
console
.
log
(
res
,
'选中'
);
this
.
showMember
=
[];
res
.
forEach
(
x
=>
{
var
obj
=
{
...
...
@@ -1460,7 +1463,6 @@
}
},
getMember
()
{
// 获取指定成员列表
console
.
log
(
this
.
showMember
,
'this.showMember'
);
this
.
outerVisible
=
true
;
this
.
dialogTitle
=
this
.
$t
(
'fnc.xzrenyuan'
);
queryEmployee
({}).
then
(
res
=>
{
...
...
@@ -1536,7 +1538,6 @@
return
}
this
.
myAuditList
.
push
(
AuditList
);
console
.
log
(
this
.
myAuditList
,
'this.myAuditList'
);
}
if
(
type
==
3
)
{
AuditList
.
AuditType
=
type
;
...
...
@@ -1552,7 +1553,7 @@
return
}
else
{
AuditList
.
RoleOrInitiator
=
this
.
showRole
[
0
].
Id
;
AuditList
.
Name
=
this
.
showRole
[
0
].
DepartmentName
;
AuditList
.
RoleOrInitiator
Name
=
this
.
showRole
[
0
].
DepartmentName
;
AuditList
.
AuditDescription
=
this
.
AuditDescription
;
}
this
.
myAuditList
.
push
(
AuditList
);
...
...
@@ -1706,7 +1707,6 @@
this
.
GetNodeValue
=
0
;
},
goUrl
(
path
)
{
console
.
log
(
path
,
'path'
);
this
.
$router
.
push
({
path
:
'/financial/'
+
path
,
query
:
{
...
...
src/pages/financial/components/NewBillModule.vue
0 → 100644
View file @
db321944
<
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/components/czBillModule.vue
View file @
db321944
...
...
@@ -250,11 +250,11 @@
this
.
IsAdvanceFinance
=
data
.
IsAdvanceFinance
;
this
.
ECommerceGoodsModel
=
data
.
ECommerceGoodsModel
;
this
.
details
=
data
;
if
(
this
.
OtherType
==
7
){
this
.
getDetails
()
}
else
{
this
.
getczTableList
();
}
//
if(this.OtherType==7){
//
this.getDetails()
//
}else{
//
this.getczTableList();
//
}
}
},
err
=>
{})
...
...
src/pages/financial/financalDocument/BasicDocuments.vue
0 → 100644
View file @
db321944
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 @
db321944
...
...
@@ -594,13 +594,13 @@
<button
class=
"normalBtn"
v-if=
"checkboxShow"
@
click=
"Financial_post_SetBatch"
>
{{
$t
(
'fnc.piltijiao'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
{{
$t
(
'visa.v_daochu'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goUrlWeituo('WorkEntrustmentMy')"
>
{{
$t
(
'fnc.gzweituo'
)
}}
</button>
<
button
v-if=
"active==3 && !hbState && hbShow"
class=
"hollowFixedBtn"
@
click=
"HebingSP"
>
合并审批
</button
>
<
button
v-if=
"active==3 && hbState"
class=
"hollowFixedBtn"
@
click=
"hbState=false,getPageList"
>
关闭合并审批
</button
>
<
!--
<button
v-if=
"active==3 && !hbState && hbShow"
class=
"hollowFixedBtn"
@
click=
"HebingSP"
>
合并审批
</button>
--
>
<
!--
<button
v-if=
"active==3 && hbState"
class=
"hollowFixedBtn"
@
click=
"hbState=false,getPageList"
>
关闭合并审批
</button>
--
>
<button
v-loading=
"hbBtn"
v-if=
"active==3 && hbState"
class=
"hollowFixedBtn"
@
click=
"HebingSPLast"
>
审批
</button>
<!--
<button
v-if=
"HandShow"
class=
"hollowFixedBtn"
@
click=
"Handwithfee"
>
手配费收入
</button>
-->
<!--
<button
class=
"hollowFixedBtn"
@
click=
"ZhiDanChongDi"
>
预付款冲抵
</button>
-->
<button
class=
"hollowFixedBtn"
@
click=
"BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if=
"msg.Conditon === 3 "
>
{{
BOSSBtn
?
'关闭一键审批'
:
'一键审批'
}}
</button>
<
!--
<
button
class=
"hollowFixedBtn"
@
click=
"BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if=
"msg.Conditon === 3 "
>
{{
BOSSBtn
?
'关闭一键审批'
:
'一键审批'
}}
</button>
-->
<button
class=
"hollowFixedBtn"
v-if=
"msg.Conditon === 3 && BOSSBtn"
@
click=
"BOSSBtnClick(1)"
>
{{
$t
(
'ios.shenpi'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"BOSSBtn2 = !BOSSBtn2, checkList = [], getPageList(1), BOSSBtn = false"
...
...
@@ -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/FinancialDocumentsDetail.vue
View file @
db321944
...
...
@@ -988,17 +988,17 @@
methods
:{
GetAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
TeamShouZhi
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
TeamShouZhi
=
true
;
}
});
//
this.CheckUserAuth(actionCode, res => {
//
if (res.data.resultCode == 1 && res.data.data == 1) {
//
this.TeamShouZhi = true;
//
}
//
});
var
actionCodeNew
=
this
.
$AuthCode
.
F_Disbursement_Schedule
;
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Disbursement_Schedule
=
true
;
}
});
//
this.CheckUserAuth(actionCodeNew, res => {
//
if (res.data.resultCode == 1 && res.data.data == 1) {
//
this.F_Disbursement_Schedule = true;
//
}
//
});
},
goHand
(
type
,
GetDetail
){
...
...
src/pages/financial/financalDocument/addFinancialDocuments.vue
View file @
db321944
...
...
@@ -677,7 +677,7 @@
<p>
{{$t('fnc.fjshuoming')}}
</p>
<div>
<p>
{{$t('fnc.fygsbumen')}}:
<span>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
class=
"w135 _border_b_1"
>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
class=
"w135 _border_b_1"
@
change=
"admin_get_Depart_IdGetList(msg.RB_Depart_Id)"
>
<el-option
v-for=
'item in departmentList'
:label=
'item.DeptName'
:value=
'item.DeptId'
:key=
'item.DeptId'
>
</el-option>
...
...
@@ -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
)
{
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
=
[];
...
...
@@ -1693,10 +1699,22 @@
}
},
err
=>
{})
},
admin_get_Depart_IdGetList
(
Bid
){
this
.
departmentList
.
forEach
(
x
=>
{
//给msg传部门名称
if
(
x
.
DeptId
==
Bid
){
this
.
msg
.
RB_DepartName
=
x
.
DeptName
;
}
})
},
admin_get_DepartmentGetList
(
Bid
,
T
)
{
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 @
db321944
...
...
@@ -579,7 +579,7 @@
<p>
{{$t('fnc.fjshuoming')}}
</p>
<div>
<p>
{{$t('fnc.fygsbumen')}}:
<span>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
class=
"w135 _border_b_1"
>
<el-select
filterable
v-model=
'msg.RB_Depart_Id'
class=
"w135 _border_b_1"
@
change=
"admin_get_Depart_IdGetList(msg.RB_Depart_Id)"
>
<el-option
v-for=
'item in departmentList'
:label=
'item.DeptName'
:value=
'item.DeptId'
:key=
'item.DeptId'
>
</el-option>
...
...
@@ -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
;
...
...
@@ -1714,12 +1719,22 @@
}
else
{
this
.
msg
.
RB_Depart_Id
=
this
.
msg
.
RB_Depart_Id
?
this
.
msg
.
RB_Depart_Id
:
this
.
getLocalStorage
().
DeptId
;
this
.
msg
.
RB_DepartName
=
this
.
msg
.
RB_DepartName
?
this
.
msg
.
RB_DepartName
:
this
.
getLocalStorage
().
RB_DepartName
;
}
}
}).
catch
(()
=>
{
})
},
admin_get_Depart_IdGetList
(
Bid
){
this
.
departmentList
.
forEach
(
x
=>
{
//给msg传部门名称
if
(
x
.
DeptId
==
Bid
){
this
.
msg
.
RB_DepartName
=
x
.
DeptName
;
}
})
},
getCompany
()
{
// 获取公司
getSchoolPage
(
this
.
schoolMsg
).
then
(
res
=>
{
let
data
=
res
.
Data
.
PageData
;
...
...
src/router/routes.js
View file @
db321944
...
...
@@ -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