Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
c10cd3d1
提交
c10cd3d1
authored
11月 12, 2021
作者:
郑伟娜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
联调接口
上级
3969dba8
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
67 行增加
和
19 行删除
+67
-19
securityFund.js
src/api/securityFund.js
+10
-1
securityFund.vue
src/views/system/asset/securityFund.vue
+57
-18
没有找到文件。
src/api/securityFund.js
浏览文件 @
c10cd3d1
...
@@ -6,4 +6,13 @@ export const shopInfo = () => {
...
@@ -6,4 +6,13 @@ export const shopInfo = () => {
url
:
'/local/getShopInfo'
,
url
:
'/local/getShopInfo'
,
method
:
'get'
method
:
'get'
})
})
}
}
\ No newline at end of file
// 获取交易流水
export
const
bondDetail
=
(
params
)
=>
{
return
request
({
url
:
'/local/shop/bond/detail'
,
method
:
'get'
,
params
})
}
src/views/system/asset/securityFund.vue
浏览文件 @
c10cd3d1
...
@@ -22,25 +22,25 @@
...
@@ -22,25 +22,25 @@
</div>
</div>
<div
style=
"display: flex; justify-content: space-between; margin-top: 50px;"
>
<div
style=
"display: flex; justify-content: space-between; margin-top: 50px;"
>
<div
style=
"width: 33%; text-align: center; border-right: 2px solid #E8E7E7;"
>
<div
style=
"width: 33%; text-align: center; border-right: 2px solid #E8E7E7;"
>
<div>
保证金
金
额
</div>
<div>
保证金
余
额
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
5000.00
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
{{
getFixed
(
bond
)
}}
</div>
</div>
</div>
<div
style=
"width: 33%; text-align: center; border-right: 2px solid #E8E7E7;"
>
<div
style=
"width: 33%; text-align: center; border-right: 2px solid #E8E7E7;"
>
<div>
冻结金额
</div>
<div>
冻结金额
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
5000.00
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
{{
getFixed
(
frozen_bond
)
}}
</div>
</div>
</div>
<div
style=
"width: 33%; text-align: center; display: flex; justify-content: center; align-items: flex-end;"
>
<div
style=
"width: 33%; text-align: center; display: flex; justify-content: center; align-items: flex-end;"
>
<div>
<div>
<div>
初始应缴
</div>
<div>
初始应缴
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
5000.00
</div>
<div
style=
"font-size: 30px; color: #3AA0FF; margin-top: 20px;"
>
¥
{{
getFixed
(
cate_bond
)
}}
</div>
</div>
</div>
<div
style=
"padding: 6px 0 6px 10px; cursor: pointer;"
class=
"desc"
@
click=
"limitDialog = true"
>
【保证金额度说明】
</div>
<div
style=
"padding: 6px 0 6px 10px; cursor: pointer;"
class=
"desc"
@
click=
"limitDialog = true"
>
【保证金额度说明】
</div>
<div
style=
"padding: 6px 0; cursor: pointer;"
class=
"desc"
@
click=
"ruleDialog = true"
>
【保证金扣减说明】
</div>
<div
style=
"padding: 6px 0; cursor: pointer;"
class=
"desc"
@
click=
"ruleDialog = true"
>
【保证金扣减说明】
</div>
</div>
</div>
</div>
</div>
<div
style=
"text-align: center; margin-top: 50px; width: 100%;"
>
<div
style=
"text-align: center; margin-top: 50px; width: 100%;"
>
<el-button
type=
"primary"
size=
"mini"
style=
"width: 80px;"
@
click=
"payDialog = true"
>
充值
</el-button>
<el-button
type=
"primary"
size=
"mini"
style=
"width: 80px;"
@
click=
"payDialog = true"
:disabled=
"bond == cate_bond"
>
充值
</el-button>
<el-button
size=
"mini"
style=
"width: 80px;"
@
click=
"cancellationDialog = true"
>
申请退保
</el-button>
<el-button
size=
"mini"
style=
"width: 80px;"
@
click=
"cancellationDialog = true"
:disabled=
"bond == 0"
>
申请退保
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"flowList"
>
<div
class=
"flowList"
>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
label=
"流水单号"
label=
"流水单号"
>
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
receipt_media
}}
{{
scope
.
row
.
sn
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
label=
"完成时间"
label=
"完成时间"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
month
}}
{{
scope
.
row
.
updated_time
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -74,19 +74,23 @@
...
@@ -74,19 +74,23 @@
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
<div>
{{
scope
.
row
.
created_time
}}
{{
scope
.
row
.
type
==
1
?
'增加'
:
'减少'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"company_name"
label=
"变动金额"
label=
"变动金额"
>
>
<
template
slot-scope=
"scope"
>
<div>
{{
getFixed
(
scope
.
row
.
money
)
}}
元
</div>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"
duty_paragraph
"
prop=
"
explain
"
label=
"变动说明"
label=
"变动说明"
>
>
</el-table-column>
</el-table-column>
...
@@ -254,7 +258,7 @@
...
@@ -254,7 +258,7 @@
>
>
<div>
<div>
<el-table
<el-table
:data=
"
tableData
"
:data=
"
[]
"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%; margin-top: 10px;"
style=
"width: 100%; margin-top: 10px;"
>
>
...
@@ -307,11 +311,16 @@
...
@@ -307,11 +311,16 @@
<
script
>
<
script
>
import
{
upLoadImg
}
from
'@/api/module/entry'
;
import
{
upLoadImg
}
from
'@/api/module/entry'
;
import
{
shopInfo
,
bondDetail
}
from
'@/api/securityFund'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
bond
:
0
,
// 保证金金额
frozen_bond
:
0
,
// 冻结金额
cate_bond
:
0
,
// 初始应缴
payRadio
:
'1'
,
payRadio
:
'1'
,
isPay
:
true
,
isPay
:
true
,
// 是否需要缴纳保证金
isSubmit
:
false
,
isSubmit
:
false
,
cancellationDialog
:
false
,
cancellationDialog
:
false
,
ruleDialog
:
false
,
ruleDialog
:
false
,
...
@@ -322,11 +331,7 @@
...
@@ -322,11 +331,7 @@
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
20
,
pageSize
:
20
,
total
:
0
,
total
:
0
,
tableData
:
[
tableData
:
[],
{
company_name
:
11
},
{
company_name
:
11
},
{
company_name
:
11
},
],
ruleFormdialogLogo
:
[],
// 汇款凭证
ruleFormdialogLogo
:
[],
// 汇款凭证
dialogVisibleLogo
:
false
,
dialogVisibleLogo
:
false
,
dialogImageLogo
:
''
,
dialogImageLogo
:
''
,
...
@@ -335,7 +340,39 @@
...
@@ -335,7 +340,39 @@
]
]
}
}
},
},
mounted
()
{
this
.
getShopInfo
()
this
.
getBondDetail
()
},
methods
:
{
methods
:
{
// 处理金额
getFixed
(
value
)
{
let
data
=
(
value
/
100
).
toFixed
(
2
)
return
data
},
// 获取店铺信息
getShopInfo
()
{
shopInfo
().
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
this
.
bond
=
res
.
data
.
bond
||
0
this
.
frozen_bond
=
res
.
data
.
frozen_bond
||
0
this
.
cate_bond
=
res
.
data
.
cate_bond
||
0
this
.
isPay
=
res
.
data
.
is_take_bond
==
0
?
true
:
false
// 是否需要缴纳保证金 0否 1是
}
})
},
// 获取交易流水
getBondDetail
()
{
let
params
=
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
}
bondDetail
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
this
.
tableData
=
res
.
data
}
})
},
// 提交凭证
// 提交凭证
onSubmit
()
{
onSubmit
()
{
this
.
payDialog
=
false
this
.
payDialog
=
false
...
@@ -463,9 +500,11 @@
...
@@ -463,9 +500,11 @@
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
this
.
pageSize
=
val
this
.
getBondDetail
()
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
currentPage
=
val
this
.
currentPage
=
val
this
.
getBondDetail
()
}
}
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论