Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
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
许珑标
薪瑞通-前端
Commits
5177b582
Commit
5177b582
authored
Mar 05, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/develop' into glf
parents
ec53d3b8
100a7c2c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
9 deletions
+37
-9
src/api/business/payOrder.js
src/api/business/payOrder.js
+8
-0
src/views/business/payOrder/batchToAli.vue
src/views/business/payOrder/batchToAli.vue
+7
-5
src/views/business/payOrder/batchToBank.vue
src/views/business/payOrder/batchToBank.vue
+4
-3
src/views/business/payOrder/index.vue
src/views/business/payOrder/index.vue
+18
-1
No files found.
src/api/business/payOrder.js
View file @
5177b582
...
...
@@ -35,6 +35,14 @@ export function addPayOrder(data) {
})
}
// 发起支付
export
function
doPay
(
batchId
)
{
return
request
({
url
:
'
/business/payOrder/doPay/
'
+
batchId
,
method
:
'
get
'
,
})
}
// 修改批量支付
export
function
updatePayOrder
(
data
)
{
return
request
({
...
...
src/views/business/payOrder/batchToAli.vue
View file @
5177b582
...
...
@@ -95,7 +95,7 @@
<el-col
:span=
"1.5"
style=
"float: right"
>
<span
v-if=
"page.total"
>
合计: {{ page.countAmount }} 元
</span>
<el-button
style=
"margin-left: 100px"
type=
"primary"
icon=
"el-icon-s-promotion"
size=
"mini"
@
click=
"confirmPay"
>
确认支付
</el-button>
@
click=
"confirmPay"
>
提交任务
</el-button>
</el-col>
</el-row>
</div>
...
...
@@ -270,18 +270,20 @@ export default {
if
(
this
.
transMap
&&
this
.
transMap
.
size
>=
1000
)
{
return
this
.
$modal
.
msgWarning
(
"
单次支付不能超过1000条
"
)
}
this
.
addPanelOpen
=
true
this
.
form
=
{
amount
:
0
,
payeeAccType
:
2
,
isPrivateAcc
:
1
isPrivateAcc
:
1
,
payRemark
:
''
}
if
(
this
.
batchForm
.
payTitle
)
{
this
.
form
.
payTitle
=
this
.
batchForm
.
payTitle
}
if
(
this
.
batchForm
.
payRemark
)
{
this
.
form
.
payRemark
=
this
.
batchForm
.
payRemark
this
.
form
.
payRemark
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
batchForm
.
payRemark
))
}
console
.
log
(
this
.
form
)
this
.
addPanelOpen
=
true
},
// 删除明细
handleDelete
(
indexKey
,
pStr
)
{
...
...
@@ -367,7 +369,7 @@ export default {
}
this
.
$refs
[
"
batchForm
"
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$confirm
(
'
确定提交
支付
吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定提交
该支付任务
吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
src/views/business/payOrder/batchToBank.vue
View file @
5177b582
...
...
@@ -94,7 +94,7 @@
<el-col
:span=
"1.5"
style=
"float: right"
>
<span
v-if=
"page.total"
>
合计: {{ page.countAmount }} 元
</span>
<el-button
style=
"margin-left: 100px"
type=
"primary"
icon=
"el-icon-s-promotion"
size=
"mini"
@
click=
"confirmPay"
>
确认支付
</el-button>
@
click=
"confirmPay"
>
提交任务
</el-button>
</el-col>
</el-row>
</div>
...
...
@@ -277,7 +277,8 @@ export default {
this
.
form
=
{
amount
:
0
,
payeeAccType
:
1
,
isPrivateAcc
:
1
isPrivateAcc
:
1
,
payRemark
:
''
}
if
(
this
.
batchForm
.
payTitle
)
{
this
.
form
.
payTitle
=
this
.
batchForm
.
payTitle
...
...
@@ -370,7 +371,7 @@ export default {
}
this
.
$refs
[
"
batchForm
"
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$confirm
(
'
确定提交
支付
吗?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定提交
该支付任务
吗?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
src/views/business/payOrder/index.vue
View file @
5177b582
...
...
@@ -80,6 +80,7 @@
<el-table-column
label=
"支付备注"
align=
"center"
prop=
"payRemark"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.payStatus && scope.row.payStatus === 1"
size=
"mini"
type=
"text"
icon=
"el-icon-money"
@
click=
"doPay(scope.row)"
>
确认支付
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-s-order"
@
click=
"viewDetail(scope.row)"
>
查看明细
</el-button>
<el-button
v-if=
"scope.row.payStatus && scope.row.payStatus === 4 || scope.row.payStatus === 5"
size=
"mini"
type=
"text"
icon=
"el-icon-s-promotion"
@
click=
"doRepay(scope.row)"
>
失败补发
</el-button>
...
...
@@ -100,7 +101,7 @@
</template>
<
script
>
import
{
listPayOrder
}
from
"
@/api/business/payOrder
"
;
import
{
addPayOrder
,
doPay
,
listPayOrder
}
from
'
@/api/business/payOrder
'
import
RePay
from
'
@/views/business/payDetail/rePay.vue
'
export
default
{
...
...
@@ -205,6 +206,22 @@ export default {
if
(
child
&&
child
===
'
child
'
)
{
this
.
getList
()
}
},
doPay
(
row
)
{
if
(
row
&&
row
.
id
)
{
this
.
$confirm
(
'
确定对该任务[
'
+
row
.
batchNo
+
"
:
"
+
row
.
batchPayName
+
'
]进行支付操作?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
doPay
(
row
.
id
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
$modal
.
msgSuccess
(
"
操作成功
"
);
this
.
getList
()
}
})
}).
catch
(()
=>
{
});
}
}
}
};
...
...
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