Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
viitto
mallapp
Commits
9ac306ff
Commit
9ac306ff
authored
Aug 18, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
694f8bb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
wdCase.vue
pages/microShop/wdCase.vue
+18
-18
No files found.
pages/microShop/wdCase.vue
View file @
9ac306ff
...
...
@@ -12,7 +12,7 @@
<view
class=
"cashBox_top"
>
<text
style=
"font-size: 12px;"
>
账户剩余余额
</text>
<view
style=
"display: flex;flex-direction: row;align-items: flex-end;"
>
<text
style=
"font-size: 30px;"
>
{{
cash
.
Commission
Withdrawal
}}
</text>
<text
style=
"font-size: 30px;"
>
{{
cash
.
Commission
}}
</text>
<text
style=
"font-size: 15px;margin-left: 5px;"
>
元
</text>
</view>
<view
style=
"display: flex;flex-direction: row;align-items: center;justify-content: space-between;"
>
...
...
@@ -22,17 +22,17 @@
<u-icon
name=
"warning-o"
size=
"24"
color=
"#ffffff"
></u-icon>
</view>
</view>
<!--
<Text
style=
'font-size: 18px;margin-top: 10px;'
>
账户剩余余额:
{{
cash
.
Commission
Withdrawal
}}
元
</Text>
<!--
<Text
style=
'font-size: 18px;margin-top: 10px;'
>
账户剩余余额:
{{
cash
.
Commission
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
今日剩余提现金额:
{{
cash
.
CanRemitMoney
==-
1
?
'不限'
:
cash
.
CanRemitMoney
+
'元'
}}
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
MinimumWithdrawalLimit
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
手续费:
{{
cash
.
Withdraw
F
ee
}}
%
</Text>
-->
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
IsWithdrawAll
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
手续费:
{{
cash
.
Withdraw
alFr
ee
}}
%
</Text>
-->
</view>
<view
class=
"tixian"
style=
"margin-top: 10px;"
>
<text>
提现金额
</text>
</view>
<view
class=
"tixian"
style=
"background: #F7F5F5;padding: 0 20px;"
>
<text
style=
'font-size: 12px;color: #FF3F47;'
>
¥
<Text
style=
'font-size: 18px;color:#000000;margin-left: 5px;'
>
{{
cash
.
Commission
Withdrawal
}}
</Text>
</text>
<text
style=
'font-size: 12px;color: #FF3F47;'
>
¥
<Text
style=
'font-size: 18px;color:#000000;margin-left: 5px;'
>
{{
cash
.
Commission
}}
</Text>
</text>
</view>
<Text
style=
'font-size: 14px;color:#333 ;margin: 10px 0;display: inline-block;width: 94%;'
>
手续费扣除:
{{
msg
.
Fee
}}
元
</Text>
<view
class=
"txmode"
>
...
...
@@ -113,8 +113,8 @@
<view
style=
"width: 100%;height: 760rpx;padding: 20rpx;display: flex;flex-direction: column;"
>
<text
style=
"font-size: 12px;"
>
今日剩余提现金额:
{{
cash
.
CanRemitMoney
==-
1
?
'无限制'
:
cash
.
CanRemitMoney
+
'元'
}}
</text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
MinimumWithdrawalLimit
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
手续费:
{{
cash
.
Withdraw
F
ee
}}
%
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
IsWithdrawAll
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
手续费:
{{
cash
.
Withdraw
alFr
ee
}}
%
</Text>
</view>
<view
class=
"agreement_bottom"
:style=
"
{background:mainColor}" @click="read">
<Text
style=
'color: #fff;'
>
确定
</Text>
...
...
@@ -191,7 +191,7 @@
uni
.
showNavigationBarLoading
();
this
.
request2
(
{
url
:
'/api/Applet
User/GetUserDistrbutor
WithdrawDepositBalance'
,
url
:
'/api/Applet
SmallShops/GetSmallShops
WithdrawDepositBalance'
,
data
:
{}
},
...
...
@@ -203,18 +203,18 @@
x
.
checked
=
false
})
this
.
list
=
WayList
this
.
msg
.
AppliedMoney
=
Number
(
this
.
cash
.
Commission
Withdrawal
)
this
.
msg
.
Fee
=
(
Number
(
this
.
cash
.
Withdraw
F
ee
*
0.01
*
this
.
msg
.
AppliedMoney
)).
toFixed
(
2
);
this
.
msg
.
AppliedMoney
=
Number
(
this
.
cash
.
Commission
)
this
.
msg
.
Fee
=
(
Number
(
this
.
cash
.
Withdraw
alFr
ee
*
0.01
*
this
.
msg
.
AppliedMoney
)).
toFixed
(
2
);
}
);
},
allmoney
(){
// this.msg.AppliedMoney = Number(this.cash.Commission
Withdrawal
)
// this.msg.Fee = (Number(this.cash.Withdraw
F
ee*0.01*this.msg.AppliedMoney)).toFixed(2);
// this.msg.AppliedMoney = Number(this.cash.Commission)
// this.msg.Fee = (Number(this.cash.Withdraw
alFr
ee*0.01*this.msg.AppliedMoney)).toFixed(2);
},
liedMoney
(
val
){
this
.
msg
.
AppliedMoney
=
Number
(
val
.
target
.
value
)
this
.
msg
.
Fee
=
(
Number
(
this
.
cash
.
Withdraw
F
ee
*
0.01
*
this
.
msg
.
AppliedMoney
)).
toFixed
(
2
);
this
.
msg
.
Fee
=
(
Number
(
this
.
cash
.
Withdraw
alFr
ee
*
0.01
*
this
.
msg
.
AppliedMoney
)).
toFixed
(
2
);
},
radioChange
(
item
){
this
.
txmode
=
item
.
Name
;
...
...
@@ -276,16 +276,16 @@
}
}
if
(
that
.
cash
.
MinimumWithdrawalLimit
!=-
1
){
if
(
that
.
msg
.
AppliedMoney
<
that
.
cash
.
MinimumWithdrawalLimit
){
if
(
that
.
cash
.
IsWithdrawAll
!=-
1
){
if
(
that
.
msg
.
AppliedMoney
<
that
.
cash
.
IsWithdrawAll
){
uni
.
showToast
({
title
:
"提现金额大于等于"
+
that
.
cash
.
MinimumWithdrawalLimit
,
title
:
"提现金额大于等于"
+
that
.
cash
.
IsWithdrawAll
,
icon
:
"none"
});
return
false
}
}
if
(
that
.
msg
.
AppliedMoney
>
that
.
cash
.
Commission
Withdrawal
){
if
(
that
.
msg
.
AppliedMoney
>
that
.
cash
.
Commission
){
uni
.
showToast
({
title
:
'余额不足'
,
icon
:
"none"
...
...
@@ -302,7 +302,7 @@
that
.
prohibit
=
true
;
//禁止接口没回来时候的再次操作
that
.
request2
(
{
url
:
'/api/Applet
User/SetUserDistrbutorWithdrawDeposit
'
,
url
:
'/api/Applet
SmallShops/GetSmallShopsWithdrawDepositBalance
'
,
data
:
that
.
msg
},
(
res
)
=>
{
...
...
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