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
d98c0e70
Commit
d98c0e70
authored
Jul 01, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批次优化
parent
7f3080db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
17 deletions
+32
-17
src/views/business/onlineTaskBatch/index.vue
src/views/business/onlineTaskBatch/index.vue
+23
-13
src/views/business/onlineTaskInfo/payBatchSettlement.vue
src/views/business/onlineTaskInfo/payBatchSettlement.vue
+9
-4
No files found.
src/views/business/onlineTaskBatch/index.vue
View file @
d98c0e70
...
...
@@ -50,7 +50,7 @@
<div
style=
"color: #1890ff"
>
{{
scope
.
row
.
importBatchNo
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"
业务
名称"
align=
"center"
prop=
"batchName"
>
<el-table-column
label=
"
批次
名称"
align=
"center"
prop=
"batchName"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
taskName
}}
<div>
{{
scope
.
row
.
batchName
}}
</div>
...
...
@@ -74,15 +74,20 @@
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column
label=
"详情预览"
align=
"center"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.batchStatus && scope.row.batchStatus !== 8"
>
<p
style=
"margin: 0px;padding: 0px;"
>
发放总笔数:
{{
scope
.
row
.
totalCount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
发放总金额:
{{
scope
.
row
.
totalAmount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
成功笔数:
{{
scope
.
row
.
successCount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
成功金额:
{{
scope
.
row
.
successAmount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
失败笔数:
{{
scope
.
row
.
failCount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
失败金额:
{{
scope
.
row
.
failAmount
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
服务费:
{{
scope
.
row
.
transFee
}}
</p>
<p
style=
"margin: 0px;padding: 0px;"
>
税费:
{{
scope
.
row
.
taxPrice
}}
</p>
<
template
slot-scope=
"scope"
>
<div>
发放总笔数:
{{
scope
.
row
.
totalCount
}}
</div>
<div>
批次总金额:
{{
scope
.
row
.
totalAmount
}}
</div>
<div>
发放金额:
{{
scope
.
row
.
salaryAmount
}}
</div>
<div
v-if=
"scope.row.batchStatus && scope.row.batchStatus !== 8"
>
成功金额:
{{
scope
.
row
.
successAmount
}}
(
{{
scope
.
row
.
successCount
}}
笔)
</div>
<div
v-if=
"scope.row.batchStatus && scope.row.batchStatus !== 8"
>
失败金额:
{{
scope
.
row
.
failAmount
}}
(
{{
scope
.
row
.
failCount
}}
笔)
</div>
<div>
税费:
{{
scope
.
row
.
taxPrice
}}
(
{{
scope
.
row
.
taxRate
}}
)
</div>
<div
v-if=
"scope.row.batchStatus && scope.row.batchStatus !== 8"
>
服务费:
{{
scope
.
row
.
transFee
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"完成时间"
align=
"center"
prop=
"transactionTime"
width=
"180"
>
...
...
@@ -93,8 +98,8 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.batchStatus && scope.row.batchStatus === 8"
size=
"mini"
type=
"text"
icon=
"el-icon-
money
"
@
click=
"
doPay
(scope.row)"
>
确认结算
</el-button>
size=
"mini"
type=
"text"
icon=
"el-icon-
s-management
"
@
click=
"
goSettlement
(scope.row)"
>
确认结算
</el-button>
<el-button
v-if=
"scope.row.batchStatus && scope.row.batchStatus === 1"
size=
"mini"
type=
"text"
icon=
"el-icon-money"
@
click=
"doPay(scope.row)"
>
确认支付
</el-button>
...
...
@@ -102,6 +107,7 @@
size=
"mini"
type=
"text"
icon=
"el-icon-circle-close"
@
click=
"repeal(scope.row)"
>
订单作废
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-s-order"
v-if=
"scope.row.batchStatus && (scope.row.batchStatus === 3 || scope.row.batchStatus === 4 || scope.row.batchStatus === 5)"
@
click=
"viewDetail(scope.row)"
>
查看明细
</el-button>
<el-button
v-if=
"scope.row.batchStatus && (scope.row.batchStatus === 4 || scope.row.batchStatus === 5)"
size=
"mini"
type=
"text"
icon=
"el-icon-s-promotion"
...
...
@@ -248,7 +254,7 @@ export default {
},
doPay
(
row
)
{
if
(
row
&&
row
.
payId
)
{
this
.
$confirm
(
'
确定对该任务[
'
+
row
.
batchNo
+
"
:
"
+
row
.
batch
Pay
Name
+
'
]进行支付操作?
'
,
'
提示
'
,
{
this
.
$confirm
(
'
确定对该任务[
'
+
row
.
batchNo
+
"
:
"
+
row
.
batchName
+
'
]进行支付操作?
'
,
'
提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
@@ -287,6 +293,10 @@ export default {
viewDetail
(
row
)
{
this
.
$router
.
push
({
path
:
"
/business/payDetails
"
,
query
:
{
orderId
:
row
.
payId
,
batchNo
:
row
.
batchNo
}
});
},
goSettlement
(
row
)
{
this
.
$router
.
push
({
path
:
"
/transfer/payBatchSettlement
"
,
query
:
{
id
:
row
.
id
}
});
}
}
};
</
script
>
src/views/business/onlineTaskInfo/payBatchSettlement.vue
View file @
d98c0e70
...
...
@@ -2,7 +2,7 @@
<!-- 发薪批次结算页面 -->
<div
class=
"app-container payBatchSettlement"
>
<div
class=
"card-box"
>
<el-descriptions
title=
""
:column=
"
6
"
>
<el-descriptions
title=
""
:column=
"
4
"
>
<el-descriptions-item
label=
"任务编号"
>
{{
pageRemark
.
taskNo
}}
</el-descriptions-item>
<el-descriptions-item
label=
"任务状态"
:span=
"5"
:contentStyle=
"pageRemark.statusClassRuing"
>
{{
pageRemark
.
taskStatusDesc
}}
...
...
@@ -85,7 +85,7 @@
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
>
</el-pagination>
<el-button
type=
"primary"
icon=
"el-icon-view"
size=
"mini"
@
click=
"confirmPay"
:disabled=
"dataList.length == 0"
>
结算预览
</el-button>
:disabled=
"dataList.length == 0"
>
确认结算
</el-button>
</div>
</div>
<!-- 新增编辑对话框 -->
...
...
@@ -290,17 +290,22 @@ export default {
confirmSettleAPI
(
this
.
batchInfo
.
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
settlementPreviewDialog
=
false
this
.
$modal
.
msgSuccess
(
'
结算成功
'
)
this
.
$modal
.
msgSuccess
(
'
操作成功
'
)
let
obj
=
{
path
:
"
/transfer/taskBatch
"
};
this
.
$tab
.
closeOpenPage
(
obj
)
}
})
},
// 点击结算按钮
confirmPay
()
{
this
.
$modal
.
loading
()
previewSettleAPI
(
this
.
batchInfo
.
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
settlementPreviewDialog
=
true
this
.
settlementPreviewData
=
res
.
data
}
}).
finally
(()
=>
{
this
.
$modal
.
closeLoading
()
})
},
importByExcel
()
{
...
...
@@ -556,4 +561,4 @@ export default {
font-size
:
14px
!
important
;
}
}
</
style
>
\ No newline at end of file
</
style
>
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