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
6b179f03
Commit
6b179f03
authored
Mar 11, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c1b82cd7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
15 deletions
+65
-15
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+28
-10
RevenueFileMan.vue
src/components/FinancialModule/ReportForm/RevenueFileMan.vue
+13
-3
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+12
-1
invoicesManagerDetail.vue
src/components/FinancialModule/invoicesManagerDetail.vue
+12
-1
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
6b179f03
...
...
@@ -1495,6 +1495,7 @@ export default {
CostTypeState
:
false
,
LeadState
:
false
,
huijiShow
:
false
,
CapitalPool
:
false
,
}
},
components
:{
...
...
@@ -2520,24 +2521,40 @@ export default {
}
},
err
=>
{})
},
GetSupperOrderEditAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
F_PayMoney_CapitalPool
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
CapitalPool
=
true
;
}
});
},
AccountType_post_GetList
(){
//获取账户类型下拉
this
.
apipost
(
'AccountType_post_GetList'
,
this
.
queryAccMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
if
(
this
.
RB_Post_Id
!=
5
&&
this
.
userId
!=
1648
){
if
(
this
.
userId
==
1918
||
this
.
userId
==
2113
||
this
.
userId
==
2424
){
this
.
AccList
=
res
.
data
.
data
;
}
else
{
data
.
forEach
(
item
=>
{
if
(
item
.
Name
!=
"公社资金池"
&&
item
.
Name
!=
"水口资金池"
&&
item
.
Name
!=
"橡胶资金池"
&&
item
.
Name
!=
"老挝购物店资金池"
){
if
(
this
.
CapitalPool
||
this
.
userId
==
1918
||
this
.
userId
==
2113
||
this
.
userId
==
2424
){
this
.
AccList
=
res
.
data
.
data
;
}
else
{
data
.
forEach
(
item
=>
{
if
(
item
.
Name
!=
"公社资金池"
&&
item
.
Name
!=
"水口资金池"
&&
item
.
Name
!=
"橡胶资金池"
&&
item
.
Name
!=
"老挝购物店资金池"
){
this
.
AccList
.
push
(
item
);
}
})
}
}
else
{
this
.
AccList
=
res
.
data
.
data
;
}
// this.AccList = res.data.data;
// if(this.RB_Post_Id!=5&&this.userId!=1648){
// if(this.userId==1918 || this.userId==2113 || this.userId==2424){
// this.AccList = res.data.data;
// }else{
// data.forEach(item=>{
// if(item.Name!="公社资金池" && item.Name!="水口资金池" && item.Name!="橡胶资金池" && item.Name!="老挝购物店资金池"){
// this.AccList.push(item);
// }
// })
// }
// }else{
// this.AccList = res.data.data;
// }
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
@@ -2684,6 +2701,7 @@ export default {
if
(
this
.
$route
.
query
.
Conditon
){
this
.
returnCode
=
this
.
$route
.
query
.
Conditon
;
}
this
.
GetSupperOrderEditAuth
();
},
watch
:
{
'choiceMsg.Status'
:
function
(
val
)
{
...
...
src/components/FinancialModule/ReportForm/RevenueFileMan.vue
View file @
6b179f03
...
...
@@ -8,7 +8,7 @@
<el-input
class=
"w200"
v-model=
"msg.Title"
></el-input>
</span>
</li>
<li
v-if=
"EmployeeId==1 || EmployeeId==5"
>
<li
v-if=
"EmployeeId==1 || EmployeeId==5
|| F_GeneralManager
"
>
<span>
<em>
员工
</em>
</span>
...
...
@@ -47,13 +47,13 @@
@
click=
"getList()"
>
<!-- -->
<input
v-if=
"EmployeeId==1 || EmployeeId==5"
<input
v-if=
"EmployeeId==1 || EmployeeId==5
|| F_GeneralManager
"
type=
"button"
class=
"hollowFixedBtn"
value=
"新增"
@
click=
"addRule"
>
<input
v-if=
"EmployeeId==1 || EmployeeId==5"
<input
v-if=
"EmployeeId==1 || EmployeeId==5
|| F_GeneralManager
"
type=
"button"
class=
"hollowFixedBtn"
value=
"制单"
...
...
@@ -212,6 +212,7 @@ export default {
name
:
'Feedback'
,
data
(){
return
{
F_GeneralManager
:
false
,
total
:
0
,
msg
:{
EmployeeId
:
''
,
...
...
@@ -289,6 +290,15 @@ export default {
},
methods
:{
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
;
}
});
},
goUrl
(){
this
.
$router
.
push
({
name
:
'addFinancialDocuments'
,
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
6b179f03
...
...
@@ -576,7 +576,7 @@ tr._item_list td:last-child {
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"userId==1
||userId==5
"
>
<el-col
:span=
"4"
v-if=
"userId==1
|| userId==5 || F_GeneralManager
"
>
<el-button
@
click=
"msg.Is_Open=0,SetTravelClose()"
type=
"danger"
size=
"small"
round
:loading=
"btnloading"
>
开启团队收支
</el-button>
<el-button
@
click=
"msg.Is_Open=1,SetTravelClose()"
type=
"danger"
size=
"small"
round
:loading=
"btnloading"
>
关闭团队收支
</el-button>
</el-col>
...
...
@@ -1746,6 +1746,7 @@ export default {
BranchStatus
:
true
,
shujuType
:
false
,
PlaceList
:[],
F_GeneralManager
:
false
,
};
},
created
()
{
...
...
@@ -1835,8 +1836,18 @@ export default {
this
.
getLineList
();
this
.
getStartList1
();
this
.
getPageList
();
this
.
GetSupperOrderEditAuth
();
},
methods
:
{
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
;
}
});
},
rowClick
(
rowIndex
,
rowData
,
column
){
let
path
=
'RegistrationList'
;
if
(
this
.
msg
.
DataType
==
1
||
this
.
msg
.
DataType
==
'1'
){
...
...
src/components/FinancialModule/invoicesManagerDetail.vue
View file @
6b179f03
...
...
@@ -361,7 +361,7 @@
<button
class=
"normalBtn"
@
click=
"dialogFormVisible2 = true"
>
{{$t('ios.tonggei')}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"dialogFormVisible = true"
>
{{$t('ios.jujue')}}
</button>
</div>
<div
class=
"iis_save"
v-else-if=
"noDetail && detail.InvoiceApplyState===1 && (EmployeeId === detail.CreateById || EmployeeId
=== 1
)"
>
<div
class=
"iis_save"
v-else-if=
"noDetail && detail.InvoiceApplyState===1 && (EmployeeId === detail.CreateById || EmployeeId
===1 || F_GeneralManager
)"
>
<button
class=
"normalBtn"
@
click=
"setStatus(2)"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
<div
class=
"imd_img_box"
>
...
...
@@ -489,9 +489,19 @@ export default {
},
fujianShow
:
true
,
saveMsg
:
[],
F_GeneralManager
:
false
,
};
},
methods
:
{
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
;
}
});
},
// 修改
goEdit
:
function
()
{
this
.
$router
.
push
({
name
:
'invoicesManagerAdd'
,
query
:{
id
:
this
.
detail
.
ID
,
OrderId
:
this
.
detail
.
OrderId
,
TCID
:
this
.
detail
.
TCID
,
CustomerId
:
this
.
detail
.
CustomerId
,
edit
:
1
,
blank
:
'y'
,
tab
:
'修改发票单据'
}
})
...
...
@@ -665,6 +675,7 @@ export default {
this
.
noDetail
=
this
.
$route
.
query
.
noDetail
?
true
:
false
this
.
msg
.
ID
=
id
this
.
getDetail
(
id
)
this
.
GetSupperOrderEditAuth
();
}
};
</
script
>
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