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
9c82e980
Commit
9c82e980
authored
Mar 28, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案修改
parent
1aa1a38e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
commission-Payment.vue
src/views/ecw/financial/commission-Payment.vue
+9
-9
paymentVoucher.vue
src/views/ecw/financial/paymentVoucher.vue
+10
-10
No files found.
src/views/ecw/financial/commission-Payment.vue
View file @
9c82e980
...
@@ -230,11 +230,11 @@ export default {
...
@@ -230,11 +230,11 @@ export default {
//提交
//提交
cancelWriteOffClick
(){
cancelWriteOffClick
(){
if
(
!
this
.
paymentValue
)
return
this
.
$message
.
warning
(
this
.
$t
(
'
请输入理由!
'
))
if
(
!
this
.
paymentValue
)
return
this
.
$message
.
warning
(
this
.
$t
(
'
请输入理由!
'
))
let
resolve
=
()
=>
{
let
resolve
=
(
val
=
'
操作成功
'
)
=>
{
this
.
getList
();
this
.
getList
();
this
.
paymentShow
=
false
;
this
.
paymentShow
=
false
;
this
.
paymentValue
=
''
this
.
paymentValue
=
''
this
.
$message
.
success
(
this
.
$t
(
'
操作成功!
'
)
);
this
.
$message
.
success
(
val
);
}
}
let
reject
=
()
=>
{
let
reject
=
()
=>
{
...
@@ -248,31 +248,31 @@ export default {
...
@@ -248,31 +248,31 @@ export default {
switch
(
this
.
paymentIndex
){
switch
(
this
.
paymentIndex
){
case
1
:
case
1
:
// 反审核佣金付款单
// 反审核佣金付款单
commissionPaymentVerifyCancel
(
p
).
then
(
resolve
,
reject
)
commissionPaymentVerifyCancel
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
佣金付款单付款单反审核成功!
'
))
,
reject
)
break
;
break
;
case
2
:
case
2
:
// 佣金付款单核销
// 佣金付款单核销
commissionPaymentVerification
(
p
).
then
(
resolve
,
reject
)
commissionPaymentVerification
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
佣金付款单核销成功!
'
))
,
reject
)
break
;
break
;
case
3
:
case
3
:
// 付款单反核销申请
// 付款单反核销申请
commissionPaymentVerificationCancel
(
p
).
then
(
resolve
,
reject
)
commissionPaymentVerificationCancel
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
佣金付款单反核销申请成功!
'
))
,
reject
)
break
;
break
;
case
4
:
case
4
:
// 取消付款单反审核
// 取消付款单反审核
commissionPaymentCancelFinancePaymentApprovalNo
(
p
).
then
(
resolve
,
reject
)
commissionPaymentCancelFinancePaymentApprovalNo
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消佣金付款单反审核成功!
'
))
,
reject
)
break
;
break
;
case
5
:
case
5
:
// 取消付款单核销
// 取消付款单核销
commissionPaymentCancelFinancePaymentWriteOff
(
p
).
then
(
resolve
,
reject
)
commissionPaymentCancelFinancePaymentWriteOff
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消佣金付款单核销成功!
'
))
,
reject
)
break
break
case
6
:
case
6
:
// 取消付款单反核销
// 取消付款单反核销
commissionPaymentCancelFinancePaymentWriteOffNo
(
p
).
then
(
resolve
,
reject
)
commissionPaymentCancelFinancePaymentWriteOffNo
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消佣金付款单反核销成功!
'
))
,
reject
)
break
;
break
;
case
7
:
case
7
:
// 取消付款单审核
// 取消付款单审核
commissionPaymentCancelFinancePaymentApproval
(
p
).
then
(
resolve
,
reject
)
commissionPaymentCancelFinancePaymentApproval
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消佣金付款单审核成功!
'
))
,
reject
)
break
;
break
;
}
}
...
...
src/views/ecw/financial/paymentVoucher.vue
View file @
9c82e980
...
@@ -410,12 +410,12 @@ export default {
...
@@ -410,12 +410,12 @@ export default {
if
(
!
this
.
cancelReason
){
if
(
!
this
.
cancelReason
){
return
this
.
$message
.
warning
(
this
.
$t
(
'
请输入申请理由!
'
))
return
this
.
$message
.
warning
(
this
.
$t
(
'
请输入申请理由!
'
))
}
}
let
successFn
=
(
)
=>
{
let
resolve
=
(
val
=
this
.
$t
(
'
操作成功吗!
'
)
)
=>
{
this
.
getList
();
this
.
getList
();
this
.
$message
(
'
取消成功
'
);
this
.
$message
(
val
);
this
.
examineShow
=
false
;
this
.
examineShow
=
false
;
}
}
let
loserFn
=
()
=>
{
let
reject
=
()
=>
{
this
.
examineShow
=
false
;
this
.
examineShow
=
false
;
}
}
let
{
id
:
paymentId
,
paymentNo
}
=
this
.
examineData
let
{
id
:
paymentId
,
paymentNo
}
=
this
.
examineData
...
@@ -423,31 +423,31 @@ export default {
...
@@ -423,31 +423,31 @@ export default {
switch
(
this
.
examineIndex
)
{
switch
(
this
.
examineIndex
)
{
case
1
:
case
1
:
// 取消审核
// 取消审核
cancelFinancePaymentApproval
(
p
).
then
(
successFn
,
loserFn
)
cancelFinancePaymentApproval
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消付款单审核成功!
'
)),
reject
)
break
break
case
2
:
case
2
:
// 取消付款单反审核
// 取消付款单反审核
cancelFinancePaymentApprovalNo
(
p
).
then
(
successFn
,
loserFn
)
cancelFinancePaymentApprovalNo
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消付款单反审核成功!
'
)),
reject
)
break
break
case
3
:
case
3
:
//取消付款单核销
//取消付款单核销
cancelFinancePaymentWriteOffNo
(
p
).
then
(
successFn
,
loserFn
)
cancelFinancePaymentWriteOffNo
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消付款单核销成功!
'
)),
reject
)
break
;
break
;
case
4
:
case
4
:
// 反审核
// 反审核
paymentVerifyCancel
(
p
).
then
(
successFn
,
loserFn
)
paymentVerifyCancel
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消反审核成功!
'
)),
reject
)
break
;
break
;
case
5
:
case
5
:
// 核销
// 核销
paymentVerification
(
p
).
then
(
successFn
,
loserFn
);
paymentVerification
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
付款核销成功!
'
)),
reject
);
break
;
break
;
case
6
:
case
6
:
// 反核销
// 反核销
paymentVerificationCancel
(
p
).
then
(
successFn
,
loserFn
)
paymentVerificationCancel
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
付款单反核销成功!
'
)),
reject
)
break
;
break
;
case
7
:
case
7
:
// 取消反核销
// 取消反核销
paymentCancelFinancePaymentWriteOffNo
(
p
).
then
(
successFn
,
loserFn
)
paymentCancelFinancePaymentWriteOffNo
(
p
).
then
(
()
=>
resolve
(
this
.
$t
(
'
取消付款单反核销成功!
'
)),
reject
)
break
;
break
;
...
...
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