Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
a3d2921a
提交
a3d2921a
authored
3月 14, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
f954161d
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
53 行增加
和
8 行删除
+53
-8
AppList.vue
src/components/base/AppList.vue
+3
-0
List.vue
src/modules/invoice/views/List.vue
+1
-0
Channel.vue
src/modules/payment/components/Channel.vue
+2
-0
Collection.vue
src/modules/payment/components/Collection.vue
+34
-4
SecondChannel.vue
src/modules/payment/components/SecondChannel.vue
+8
-3
Detail.vue
src/modules/payment/views/Detail.vue
+2
-1
List.vue
src/modules/payment/views/List.vue
+3
-0
没有找到文件。
src/components/base/AppList.vue
浏览文件 @
a3d2921a
...
@@ -52,6 +52,8 @@
...
@@ -52,6 +52,8 @@
v-on=
"$listeners"
v-on=
"$listeners"
style=
"height: 100%"
style=
"height: 100%"
ref=
"table"
ref=
"table"
hright=
"250"
max-height=
"750"
>
>
<
template
v-for=
"item in currentColumns"
>
<
template
v-for=
"item in currentColumns"
>
<el-table-column
v-bind=
"item"
:key=
"item.prop"
v-if=
"visible(item)"
>
<el-table-column
v-bind=
"item"
:key=
"item.prop"
v-if=
"visible(item)"
>
...
@@ -322,6 +324,7 @@ export default {
...
@@ -322,6 +324,7 @@ export default {
this
.
$message
.
success
(
'保存成功'
)
this
.
$message
.
success
(
'保存成功'
)
this
.
columnsOptionsVisible
=
false
this
.
columnsOptionsVisible
=
false
this
.
customColumns
=
this
.
editableColumns
this
.
customColumns
=
this
.
editableColumns
window
.
localStorage
.
setItem
(
'customColumns'
,
this
.
customColumns
)
})
})
},
},
// 获取用户设置的列表项
// 获取用户设置的列表项
...
...
src/modules/invoice/views/List.vue
浏览文件 @
a3d2921a
...
@@ -243,6 +243,7 @@ export default {
...
@@ -243,6 +243,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
window
.
localStorage
.
getItem
(
'customColumns'
)
getCondition
().
then
(
res
=>
{
getCondition
().
then
(
res
=>
{
this
.
conditionList
=
res
.
data
this
.
conditionList
=
res
.
data
})
})
...
...
src/modules/payment/components/Channel.vue
浏览文件 @
a3d2921a
...
@@ -65,6 +65,8 @@ export default {
...
@@ -65,6 +65,8 @@ export default {
)
)
}
}
}
}
}
else
if
(
this
.
dealList
.
service_fee_rules_type
===
''
||
this
.
dealList
.
service_fee_rules_type
===
'0'
)
{
return
this
.
dealList
.
service_charge_ratio
}
}
}
}
}
}
...
...
src/modules/payment/components/Collection.vue
浏览文件 @
a3d2921a
...
@@ -57,21 +57,51 @@
...
@@ -57,21 +57,51 @@
</tr>
</tr>
<tr>
<tr>
<th>
首款首次缴费时间
</th>
<th>
首款首次缴费时间
</th>
<td
colspan=
"2"
>
{{
dealList
.
first_first_t
ime
}}
</td>
<td
colspan=
"2"
>
{{
firstFirstT
ime
}}
</td>
<th>
首款末次缴费时间
</th>
<th>
首款末次缴费时间
</th>
<td
colspan=
"2"
>
{{
dealList
.
first_last_t
ime
}}
</td>
<td
colspan=
"2"
>
{{
firstLastT
ime
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
尾款首次缴费时间
</th>
<th>
尾款首次缴费时间
</th>
<td
colspan=
"2"
>
{{
dealList
.
final_first_t
ime
}}
</td>
<td
colspan=
"2"
>
{{
finalFirstT
ime
}}
</td>
<th>
尾款末次缴费时间
</th>
<th>
尾款末次缴费时间
</th>
<td
colspan=
"2"
>
{{
dealList
.
final_last_t
ime
}}
</td>
<td
colspan=
"2"
>
{{
finalLastT
ime
}}
</td>
</tr>
</tr>
</table>
</table>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
computed
:
{
finalLastTime
()
{
if
(
this
.
dealList
.
final_last_time
===
'1970-01-01'
)
{
return
'-'
}
else
{
return
this
.
dealList
.
final_last_time
}
},
finalFirstTime
()
{
if
(
this
.
dealList
.
final_first_time
===
'1970-01-01'
)
{
return
'-'
}
else
{
return
this
.
dealList
.
final_first_time
}
},
firstLastTime
()
{
if
(
this
.
dealList
.
first_last_time
===
'1970-01-01'
)
{
return
'-'
}
else
{
return
this
.
dealList
.
first_last_time
}
},
firstFirstTime
()
{
if
(
this
.
dealList
.
first_first_time
===
'1970-01-01'
)
{
return
'-'
}
else
{
return
this
.
dealList
.
first_first_time
}
}
},
props
:
{
props
:
{
dealList
:
{
dealList
:
{
type
:
Object
,
type
:
Object
,
...
...
src/modules/payment/components/SecondChannel.vue
浏览文件 @
a3d2921a
...
@@ -51,10 +51,10 @@ export default {
...
@@ -51,10 +51,10 @@ export default {
this
.
dealList
.
secondary_service_fee_rules_type
===
'1'
||
this
.
dealList
.
secondary_service_fee_rules_type
===
'1'
||
this
.
dealList
.
secondary_service_fee_rules_type
===
'3'
this
.
dealList
.
secondary_service_fee_rules_type
===
'3'
)
{
)
{
if
(
this
.
dealList
.
secondary_service_charge_ratio
)
{
if
(
!
this
.
dealList
.
secondary_service_charge_ratio
)
{
return
this
.
dealList
.
secondary_service_charge_ratio
+
'%'
}
else
{
return
0
+
'%'
return
0
+
'%'
}
else
{
return
this
.
dealList
.
secondary_service_charge_ratio
+
'%'
}
}
}
else
{
}
else
{
if
(
this
.
dealList
.
secondary_service_charge_ratio
)
{
if
(
this
.
dealList
.
secondary_service_charge_ratio
)
{
...
@@ -67,6 +67,11 @@ export default {
...
@@ -67,6 +67,11 @@ export default {
100.0
+
100.0
+
'%'
'%'
)
)
}
else
if
(
this
.
dealList
.
secondary_service_fee_rules_type
===
''
||
this
.
dealList
.
secondary_service_fee_rules_type
===
'0'
)
{
return
this
.
dealList
.
secondary_service_charge_ratio
}
}
}
}
}
}
...
...
src/modules/payment/views/Detail.vue
浏览文件 @
a3d2921a
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<app-card
title=
"渠道信息"
>
<app-card
title=
"渠道信息"
>
<Channel
:dealList=
"dealList"
/>
<Channel
:dealList=
"dealList"
/>
</app-card>
</app-card>
<app-card
title=
"二级渠道信息"
>
<app-card
title=
"二级渠道信息"
v-show=
"this.dealList.secondary_channel_id !== ''"
>
<second-channel
:dealList=
"dealList"
/>
<second-channel
:dealList=
"dealList"
/>
</app-card>
</app-card>
<app-card
title=
"支付待确认记录"
>
<app-card
title=
"支付待确认记录"
>
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
payDetail
(
params
)
payDetail
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
dealList
=
res
.
data
.
list
[
0
]
this
.
dealList
=
res
.
data
.
list
[
0
]
console
.
log
(
this
.
dealList
,
'----'
)
})
})
.
catch
(
error
=>
{
.
catch
(
error
=>
{
this
.
$message
.
error
(
error
.
message
)
this
.
$message
.
error
(
error
.
message
)
...
...
src/modules/payment/views/List.vue
浏览文件 @
a3d2921a
...
@@ -324,6 +324,8 @@ export default {
...
@@ -324,6 +324,8 @@ export default {
)
)
}
}
}
}
}
else
if
(
row
.
service_fee_rules_type
===
''
||
row
.
service_fee_rules_type
===
'0'
)
{
return
row
.
service_charge_ratio
}
}
}
}
},
},
...
@@ -379,6 +381,7 @@ export default {
...
@@ -379,6 +381,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
window
.
localStorage
.
getItem
(
'customColumns'
)
console
.
log
(
11111
)
console
.
log
(
11111
)
this
.
fetchCondition
()
// 获取过滤条件
this
.
fetchCondition
()
// 获取过滤条件
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论