Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
0da4fe72
提交
0da4fe72
authored
4月 01, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
959f9a73
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
51 行增加
和
32 行删除
+51
-32
Channel.vue
src/modules/payment/components/Channel.vue
+8
-9
Collection.vue
src/modules/payment/components/Collection.vue
+4
-4
SecondChannel.vue
src/modules/payment/components/SecondChannel.vue
+6
-10
List.vue
src/modules/payment/views/List.vue
+33
-9
没有找到文件。
src/modules/payment/components/Channel.vue
浏览文件 @
0da4fe72
...
@@ -54,15 +54,14 @@ export default {
...
@@ -54,15 +54,14 @@ export default {
}
}
}
else
{
}
else
{
if
(
this
.
dealList
.
service_charge_ratio
)
{
if
(
this
.
dealList
.
service_charge_ratio
)
{
return
(
console
.
log
(
JSON
.
parse
(
this
.
dealList
.
service_charge_ratio
))
Math
.
round
(
if
(
this
.
dealList
.
service_charge_ratio
)
{
(
JSON
.
parse
(
this
.
dealList
.
service_charge_ratio
)[
0
].
start
/
const
radio
=
JSON
.
parse
(
this
.
dealList
.
service_charge_ratio
).
map
(
item
=>
{
JSON
.
parse
(
this
.
dealList
.
service_charge_ratio
)[
0
].
end
)
*
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
10000
return
item
.
ratio
)
/
})
100.0
+
return
radio
.
toString
().
replace
(
/,/g
,
'<br>'
)
'%'
}
)
}
}
}
}
}
else
if
(
this
.
dealList
.
service_fee_rules_type
===
''
||
this
.
dealList
.
service_fee_rules_type
===
'0'
)
{
}
else
if
(
this
.
dealList
.
service_fee_rules_type
===
''
||
this
.
dealList
.
service_fee_rules_type
===
'0'
)
{
...
...
src/modules/payment/components/Collection.vue
浏览文件 @
0da4fe72
...
@@ -57,15 +57,15 @@
...
@@ -57,15 +57,15 @@
</tr>
</tr>
<tr>
<tr>
<th>
首款首次缴费时间
</th>
<th>
首款首次缴费时间
</th>
<td
colspan=
"2"
>
{{
firstFirstT
ime
}}
</td>
<td
colspan=
"2"
>
{{
dealList
.
first_first_t
ime
}}
</td>
<th>
首款末次缴费时间
</th>
<th>
首款末次缴费时间
</th>
<td
colspan=
"2"
>
{{
firstLastT
ime
}}
</td>
<td
colspan=
"2"
>
{{
dealList
.
first_last_t
ime
}}
</td>
</tr>
</tr>
<tr>
<tr>
<th>
尾款首次缴费时间
</th>
<th>
尾款首次缴费时间
</th>
<td
colspan=
"2"
>
{{
finalFirstT
ime
}}
</td>
<td
colspan=
"2"
>
{{
dealList
.
final_first_t
ime
}}
</td>
<th>
尾款末次缴费时间
</th>
<th>
尾款末次缴费时间
</th>
<td
colspan=
"2"
>
{{
finalLastT
ime
}}
</td>
<td
colspan=
"2"
>
{{
dealList
.
final_last_t
ime
}}
</td>
</tr>
</tr>
</table>
</table>
</
template
>
</
template
>
...
...
src/modules/payment/components/SecondChannel.vue
浏览文件 @
0da4fe72
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</tr>
</tr>
<tr
class=
"title"
>
<tr
class=
"title"
>
<th>
服务费比例
</th>
<th>
服务费比例
</th>
<td
>
{{
serviceChargeRatio
()
}}
</td>
<td
v-html=
"serviceChargeRatio()"
>
</td>
<th>
代理服务费
</th>
<th>
代理服务费
</th>
<td>
{{
dealList
.
secondary_agency_service_fee
}}
</td>
<td>
{{
dealList
.
secondary_agency_service_fee
}}
</td>
<th>
代理服务费(不含税金额)
</th>
<th>
代理服务费(不含税金额)
</th>
...
@@ -58,15 +58,11 @@ export default {
...
@@ -58,15 +58,11 @@ export default {
}
}
}
else
{
}
else
{
if
(
this
.
dealList
.
secondary_service_charge_ratio
)
{
if
(
this
.
dealList
.
secondary_service_charge_ratio
)
{
return
(
const
radio
=
JSON
.
parse
(
this
.
dealList
.
secondary_service_charge_ratio
).
map
(
item
=>
{
Math
.
round
(
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
(
JSON
.
parse
(
this
.
dealList
.
secondary_service_charge_ratio
)[
0
].
start
/
return
item
.
ratio
JSON
.
parse
(
this
.
dealList
.
secondary_service_charge_ratio
)[
0
].
end
)
*
})
10000
return
radio
.
toString
().
replace
(
/,/g
,
'<br>'
)
)
/
100.0
+
'%'
)
}
else
if
(
}
else
if
(
this
.
dealList
.
secondary_service_fee_rules_type
===
''
||
this
.
dealList
.
secondary_service_fee_rules_type
===
''
||
this
.
dealList
.
secondary_service_fee_rules_type
===
'0'
this
.
dealList
.
secondary_service_fee_rules_type
===
'0'
...
...
src/modules/payment/views/List.vue
浏览文件 @
0da4fe72
...
@@ -297,7 +297,34 @@ export default {
...
@@ -297,7 +297,34 @@ export default {
{
label
:
'二级渠道'
,
prop
:
'secondary_channel_id_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道'
,
prop
:
'secondary_channel_id_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道分成方式'
,
prop
:
'secondary_division_type'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道分成方式'
,
prop
:
'secondary_division_type'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道规则'
,
prop
:
'secondary_service_fee_rules'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道规则'
,
prop
:
'secondary_service_fee_rules'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道比例'
,
prop
:
'secondary_service_charge_ratio'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道比例'
,
prop
:
'secondary_service_charge_ratio'
,
align
:
'center'
,
minWidth
:
300
,
computed
({
row
})
{
console
.
log
(
row
)
if
(
row
.
secondary_service_fee_rules_type
)
{
if
(
row
.
secondary_service_fee_rules_type
===
'1'
||
row
.
secondary_service_fee_rules_type
===
'3'
)
{
if
(
row
.
secondary_service_charge_ratio
)
{
return
row
.
secondary_service_charge_ratio
+
'%'
}
else
{
return
0
+
'%'
}
}
else
{
if
(
row
.
secondary_service_charge_ratio
)
{
const
radio
=
JSON
.
parse
(
row
.
secondary_service_charge_ratio
).
map
(
item
=>
{
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
return
item
.
ratio
})
return
radio
.
toString
().
replace
(
/,/g
,
'<br>'
)
}
}
}
else
if
(
row
.
secondary_service_fee_rules_type
===
''
||
row
.
secondary_service_fee_rules_type
===
'0'
)
{
return
row
.
secondary_service_charge_ratio
}
}
},
{
{
label
:
'二级渠道不含税销售金额'
,
label
:
'二级渠道不含税销售金额'
,
prop
:
'secondary_sales_amount_excluding_tax'
,
prop
:
'secondary_sales_amount_excluding_tax'
,
...
@@ -342,14 +369,11 @@ export default {
...
@@ -342,14 +369,11 @@ export default {
}
}
}
else
{
}
else
{
if
(
row
.
service_charge_ratio
)
{
if
(
row
.
service_charge_ratio
)
{
return
(
const
radio
=
JSON
.
parse
(
row
.
service_charge_ratio
).
map
(
item
=>
{
Math
.
round
(
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
(
JSON
.
parse
(
row
.
service_charge_ratio
)[
0
].
start
/
JSON
.
parse
(
row
.
service_charge_ratio
)[
0
].
end
)
*
return
item
.
ratio
10000
})
)
/
return
radio
.
toString
().
replace
(
/,/g
,
'<br>'
)
100.0
+
'%'
)
}
}
}
}
}
else
if
(
row
.
service_fee_rules_type
===
''
||
row
.
service_fee_rules_type
===
'0'
)
{
}
else
if
(
row
.
service_fee_rules_type
===
''
||
row
.
service_fee_rules_type
===
'0'
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论