Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
d7d6921c
Commit
d7d6921c
authored
Mar 27, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
付款单佣金打印修改,添加跳转
parent
afaa1a90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
commission-Payment.vue
src/views/ecw/financial/commission-Payment.vue
+2
-1
printPaymentVoucherCommission.vue
src/views/ecw/financial/printPaymentVoucherCommission.vue
+6
-5
No files found.
src/views/ecw/financial/commission-Payment.vue
View file @
d7d6921c
...
...
@@ -111,7 +111,8 @@
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:Unapprove']"
v-if=
"[1].includes(row.state)"
@
click=
"bridgeFn('取消审核',7, row, '取消审核' )"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:De-approval']"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单反审核', 1, row, '提交反审核',)"
>
{{
$t
(
'
反审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:Write-off']"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单核销申请', 2, row, '提交核销')"
>
{{
$t
(
'
核销
'
)
}}
</el-button>
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:print']"
v-if=
"[4,6].includes(row.state)"
>
{{
$t
(
'
打印
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"$router.push(
{path:'/financial/printPaymentVoucherCommission',query:{id:row.id}})" >
{{
$t
(
'
打印
'
)
}}
</el-button>
<!-- v-has-permi="['ecw:commission-Payment:print']" v-if="[4,6].includes(row.state)"-->
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:CancelWrite-off']"
v-if=
"[6,].includes(row.state)"
@
click=
"bridgeFn('付款单反核销申请', 3, row, '提交方核销')"
>
{{
$t
(
'
反核销
'
)
}}
</el-button>
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:CancelDe-approval']"
v-if=
"[3].includes(row.state)"
@
click=
"bridgeFn('取消反审核',4, row, '提交取消反审核' )"
>
{{
$t
(
'
取消反审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-has-permi=
"['ecw:commission-Payment:CancelWrite-off']"
v-if=
"[5].includes(row.state)"
@
click=
"bridgeFn('取消付款单核销',5, row, '取消付款单核销' )"
>
{{
$t
(
'
取消核销
'
)
}}
</el-button>
...
...
src/views/ecw/financial/printPaymentVoucherCommission.vue
View file @
d7d6921c
...
...
@@ -99,7 +99,7 @@
import
lodop
from
'
@/utils/lodop
'
export
default
{
name
:
"
PrintVoucher
"
,
name
:
"
printPaymentVoucherCommission
"
,
components
:
{
CustomerSelector
},
...
...
@@ -166,11 +166,12 @@
latestPayAt
:
this
.
parseTime
(
res
.
data
.
latestPayAt
,
'
{y}-{m}-{d}
'
),
applicationAt
:
this
.
parseTime
(
res
.
data
.
applicationAt
,
'
{y}-{m}-{d}
'
)
}
this
.
list
=
[...
res
.
data
.
payableBackVOList
];
})
getCommissionPayableList
({
ids
:
[
this
.
id
]
}).
then
(
res
=>
{
console
.
log
(
res
,
'
resddd
'
);
this
.
list
=
[...
res
.
data
]
})
//
getCommissionPayableList({ ids: [this.id] }).then(res => {
//
console.log(res,'resddd');
//
//
})
},
print
(){
lodop
().
then
(
LODOP
=>
{
...
...
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