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
4b798d3c
Commit
4b798d3c
authored
Mar 25, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
付款单模块按钮修改
parent
f504e0c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
financial.js
src/api/ecw/financial.js
+12
-9
commission-Payment.vue
src/views/ecw/financial/commission-Payment.vue
+1
-1
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+3
-3
No files found.
src/api/ecw/financial.js
View file @
4b798d3c
...
@@ -378,18 +378,20 @@ export function paymentVerify(query) {
...
@@ -378,18 +378,20 @@ export function paymentVerify(query) {
}
}
// 核销付款单
// 核销付款单
export
function
paymentVerification
(
id
)
{
export
function
paymentVerification
(
data
)
{
return
request
({
return
request
({
url
:
'
/ecw/payment/verification/
'
+
id
,
url
:
'
/ecw/payment/verification
'
,
method
:
'
GET
'
method
:
'
post
'
,
data
})
})
}
}
// 反核销付款单
// 反核销付款单
export
function
paymentVerificationCancel
(
id
)
{
export
function
paymentVerificationCancel
(
data
)
{
return
request
({
return
request
({
url
:
'
/ecw/payment/verificationCancel/
'
+
id
,
url
:
'
/ecw/payment/verificationCancel
'
,
method
:
'
GET
'
method
:
'
post
'
,
data
})
})
}
}
// 取消付款单反核销
// 取消付款单反核销
...
@@ -402,10 +404,11 @@ export function paymentCancelFinancePaymentWriteOffNo(params){
...
@@ -402,10 +404,11 @@ export function paymentCancelFinancePaymentWriteOffNo(params){
}
}
// 反审核付款单
// 反审核付款单
export
function
paymentVerifyCancel
(
id
)
{
export
function
paymentVerifyCancel
(
data
)
{
return
request
({
return
request
({
url
:
'
/ecw/payment/verifyCancel/
'
+
id
,
url
:
'
/ecw/payment/verifyCancel
'
,
method
:
'
GET
'
method
:
'
post
'
,
data
})
})
}
}
...
...
src/views/ecw/financial/commission-Payment.vue
View file @
4b798d3c
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-button
type=
"text"
v-if=
"[0,2].includes(row.state)"
@
click=
"$router.push(
{path:'/financial/commission-requestFunds',query:{id:row.id}})" >
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[0,2].includes(row.state)"
@
click=
"$router.push(
{path:'/financial/commission-requestFunds',query:{id:row.id}})" >
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"deleteFn(row)"
v-if=
"[0,2].includes(row.state)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
type=
"text"
@
click=
"deleteFn(row)"
v-if=
"[0,2].includes(row.state)"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[7,3].includes(row.state)"
>
{{
$t
(
'
审核详情
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[7,3].includes(row.state)"
@
click=
"$router.push(
{path:'/bpm/process-instance/detail',query:{id:row.bmpId}})"
>
{{
$t
(
'
审核详情
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[1].includes(row.state)"
@
click=
"bridgeFn('取消审核',7, row, '取消审核' )"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[1].includes(row.state)"
@
click=
"bridgeFn('取消审核',7, row, '取消审核' )"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单反审核', 1, row, '提交反审核',)"
>
{{
$t
(
'
反审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单反审核', 1, row, '提交反审核',)"
>
{{
$t
(
'
反审核
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单核销申请', 2, row, '提交核销')"
>
{{
$t
(
'
核销
'
)
}}
</el-button>
<el-button
type=
"text"
v-if=
"[4,].includes(row.state)"
@
click=
"bridgeFn('付款单核销申请', 2, row, '提交核销')"
>
{{
$t
(
'
核销
'
)
}}
</el-button>
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
4b798d3c
...
@@ -149,8 +149,8 @@
...
@@ -149,8 +149,8 @@
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[1].includes(row.state)
"
@
click
=
"
bridgeFn(1, '取消审核',row)
"
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[1].includes(row.state)
"
@
click
=
"
bridgeFn(1, '取消审核',row)
"
>
{{
$t
(
'
取消审核
'
)
}}
{{
$t
(
'
取消审核
'
)
}}
<
/el-button
>
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[
1,7].includes(row.state)
"
>
{{
$t
(
'
审核详情
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[
7,3].includes(row.state)
"
@
click
=
"
$router.push({path:'/bpm/process-instance/detail',query:{id:row.bmpId
}}
)
"
>
{{
$t
(
'
审核详情
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[
4,7
].includes(row.state)
"
@
click
=
"
bridgeFn(2, '取消付款单反审核',row)
"
>
{{
$t
(
'
取消反审核
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[
3
].includes(row.state)
"
@
click
=
"
bridgeFn(2, '取消付款单反审核',row)
"
>
{{
$t
(
'
取消反审核
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[5].includes(row.state)
"
@
click
=
"
bridgeFn(3, '取消付款单核销',row)
"
>
{{
$t
(
'
取消核销审核
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
if
=
"
[5].includes(row.state)
"
@
click
=
"
bridgeFn(3, '取消付款单核销',row)
"
>
{{
$t
(
'
取消核销审核
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
[4].includes(row.state)
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:paymentVoucher:print']
"
<
el
-
button
v
-
if
=
"
[4].includes(row.state)
"
size
=
"
mini
"
type
=
"
text
"
v
-
hasPermi
=
"
['ecw:paymentVoucher:print']
"
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
v
-
hasPermi
=
"
['ecw:paymentVoucher:cancelWriteOff']
"
@
click
=
"
bridgeFn(6, '反核销',row)
"
>
v
-
hasPermi
=
"
['ecw:paymentVoucher:cancelWriteOff']
"
@
click
=
"
bridgeFn(6, '反核销',row)
"
>
{{
$t
(
'
反核销
'
)
}}
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
/el-button
>
<
el
-
button
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
bridgeFn(7, '取消付款单反核销',row)
"
>
{{
$t
(
'
取消反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
[7].includes(row.state)
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
bridgeFn(7, '取消付款单反核销',row)
"
>
{{
$t
(
'
取消反核销
'
)
}}
<
/el-button
>
<!--
<
el
-
button
v
-
if
=
"
scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
>
{{
$t
(
'
开票
'
)
}}
<
/el-button> --
>
<!--
<
el
-
button
v
-
if
=
"
scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
>
{{
$t
(
'
开票
'
)
}}
<
/el-button> --
>
<
el
-
button
v
-
if
=
"
[6,4].includes(row.state)
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(row.id)
"
<
el
-
button
v
-
if
=
"
[6,4].includes(row.state)
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(row.id)
"
...
...
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