Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
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
李智书
xzf_uniapp-wechat-web
Commits
e19b60d1
Commit
e19b60d1
authored
Aug 25, 2022
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
合dev
parents
5ec4236c
c592bf5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
890 additions
and
588 deletions
+890
-588
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+761
-550
src/pages/BankModule/Reflect/Reflect.vue
src/pages/BankModule/Reflect/Reflect.vue
+129
-38
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
e19b60d1
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
</view>
</view>
<view
class=
"right"
>
<view
class=
"right"
>
<van-popover
v-model=
"showPopover"
trigger=
"click"
placement=
"bottom-end"
>
<van-popover
v-model=
"showPopover"
trigger=
"click"
placement=
"bottom-end"
>
<view
class=
"popoverItem"
v-for=
"(item, index) in actions"
@
click=
"onSelect(item)"
:id=
"item.id ? item.id : '#item'+index"
>
<view
class=
"popoverItem"
v-for=
"(item, index) in actions"
@
click=
"onSelect(item)"
:id=
"item.id ? item.id : '#item'+index"
>
{{
item
.
text
}}
{{
item
.
text
}}
</view>
</view>
<template
#reference
>
<template
#reference
>
...
@@ -104,7 +105,8 @@
...
@@ -104,7 +105,8 @@
<view>
{{ item.lable }}
</view>
<view>
{{ item.lable }}
</view>
</view>
</view>
<view
class=
"other"
>
<view
class=
"other"
>
<input
v-model=
"inputOtherM"
@
input=
"inputControl"
@
blur=
"ReturnToTop"
placeholder=
"其他金额,最低3元"
<input
v-model=
"inputOtherM"
@
input=
"inputControl"
@
blur=
"ReturnToTop"
:placeholder=
"typeCode == 'SPDB' ? '其他金额,最低100元' : '其他金额,最低3元'"
placeholder-class=
"placeholderinputOtherM"
type=
"text"
maxlength=
"6"
/>
placeholder-class=
"placeholderinputOtherM"
type=
"text"
maxlength=
"6"
/>
</view>
</view>
</view>
</view>
...
@@ -200,7 +202,7 @@
...
@@ -200,7 +202,7 @@
</view>
</view>
<!-- 弹出层 -->
<!-- 弹出层 -->
<uni-popup
ref=
"popup"
:mask-click=
"false"
>
<uni-popup
ref=
"popup"
:mask-click=
"false"
>
<!-- 充值确认 -->
<!-- 充值
,解绑银行卡(浦发银行)
确认 -->
<view
class=
"RechargeConfirmationBox"
>
<view
class=
"RechargeConfirmationBox"
>
<view
class=
"RechargeInfo"
>
<view
class=
"RechargeInfo"
>
<view
class=
"closePhoneBox"
@
click=
"close()"
>
<view
class=
"closePhoneBox"
@
click=
"close()"
>
...
@@ -226,7 +228,8 @@
...
@@ -226,7 +228,8 @@
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<view
style=
"width: 520rpx; height: 1rpx; background: #eeeeee"
></view>
<!-- 取消 确认充值按钮 -->
<!-- 取消 确认充值按钮 -->
<view
class=
"BtngGoup"
>
<view
class=
"BtngGoup"
>
<view
class=
""
@
click=
"ExchangeRecharge"
>
充值
</view>
<view
class=
""
@
click=
"unattachedCard"
v-if=
"unbindFlag"
>
去解绑
</view>
<view
class=
""
@
click=
"ExchangeRecharge"
v-else
>
充值
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -239,15 +242,29 @@
...
@@ -239,15 +242,29 @@
<!-- 切换绑定的一类卡列表 -->
<!-- 切换绑定的一类卡列表 -->
<view
class=
"showBindCardList"
>
<view
class=
"showBindCardList"
>
<view
class=
"choiceBox"
>
选择付款账户
</view>
<view
class=
"choiceBox"
>
选择付款账户
</view>
<view
class=
"cardsList"
>
<view
class=
"cardsList"
v-if=
"typeCode == 'SPDB'"
>
<view
class=
"ListItem"
@
click=
"ChangeCardPay(item)"
v-for=
"(item, index) in bindcardList"
<view
class=
"ListItem"
v-for=
"(item, index) in bindcardList"
:key=
"index"
>
:key=
"index"
>
<span
class=
"BankListImgSpan"
@
click=
"ChangeCardPay(item)"
>
<span
style=
"padding-right: 10px"
>
{{ item.bindCardName }}
<image
class=
"BankListImg"
src=
"../../../static/img/choiceBank.png"
v-if=
"item.bindCardNo == bankInfo_.bindCardNo"
></image>
</span>
<span
style=
"padding-right: 10px"
@
click=
"ChangeCardPay(item)"
>
{{ item.bindCardName }}
</span>
</span>
<span>
尾号:{{
<span
@
click=
"ChangeCardPay(item)"
>
尾号:{{item.bindCardNo.slice(item.bindCardNo.length - 4)}}
</span>
item.bindCardNo.slice(item.bindCardNo.length - 4)
}}
</span>
<!-- <image class="BankListImg" src="../../../static/img/choiceBank.png"></image> -->
<!-- <image class="BankListImg" src="../../../static/img/choiceBank.png"></image> -->
<van-icon
name=
"delete"
class=
"delete"
@
click=
"unattachedCardBefore(item)"
/>
</view>
</view>
<view
class=
"cardsList"
v-else
>
<view
class=
"ListItem"
v-for=
"(item, index) in bindcardList"
:key=
"index"
@
click=
"ChangeCardPay(item)"
>
<span
class=
"BankListImgSpan"
>
<image
class=
"BankListImg"
src=
"../../../static/img/choiceBank.png"
v-if=
"item.bindCardNo == bankInfo_.bindCardNo"
></image>
</span>
<span
style=
"padding-right: 10px"
>
{{ item.bindCardName }}
</span>
<span>
尾号:{{item.bindCardNo.slice(item.bindCardNo.length - 4)}}
</span>
</view>
</view>
</view>
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
>
我要换卡支付
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
>
我要换卡支付
</view>
...
@@ -283,537 +300,676 @@
...
@@ -283,537 +300,676 @@
</template>
</template>
<
script
>
<
script
>
import
{
Dialog
,
Toast
}
from
"
vant
"
;
import
{
import
keyboardPackage
from
"
@/components/keyboard-package/keyboard-package.vue
"
;
Dialog
,
import
cityData
from
"
@/common/js/city.js
"
;
Toast
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
}
from
"
vant
"
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
import
keyboardPackage
from
"
@/components/keyboard-package/keyboard-package.vue
"
;
gHost
=
"
https://fpdev.xiaopay.net
"
;
import
cityData
from
"
@/common/js/city.js
"
;
// gHost = "/api";
var
gHost
=
"
https://
"
+
window
.
location
.
host
;
}
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
let
times
=
0
;
gHost
=
"
https://fpdev.xiaopay.net
"
;
var
limitClick
=
false
;
//禁止重复点击
// gHost = "/api";
var
sessionID
=
""
,
}
userID
=
""
;
let
times
=
0
;
var
payCardNumber
=
""
;
//一类卡号
var
limitClick
=
false
;
//禁止重复点击
var
orderSerialNo
=
""
;
//提现结果查询 指令号
var
sessionID
=
""
,
var
businessNo
=
""
,
userID
=
""
;
otpOrderNo
=
""
,
var
payCardNumber
=
""
;
//一类卡号
mobileNo
=
""
;
var
orderSerialNo
=
""
;
//提现结果查询 指令号
var
MyTimer
=
null
;
var
businessNo
=
""
,
var
fromType
=
0
;
//0转账 1提现
otpOrderNo
=
""
,
var
opeType
=
0
;
//0充值 1提现 手机号验证
mobileNo
=
""
;
var
bankInfo
=
{
var
MyTimer
=
null
;
acctNoArray
:
""
,
var
fromType
=
0
;
//0转账 1提现
idNo
:
""
,
var
opeType
=
0
;
//0充值 1提现 手机号验证
schoolId
:
""
,
var
bankInfo
=
{
trueName
:
""
,
acctNoArray
:
""
,
userId
:
""
,
idNo
:
""
,
sessionid
:
""
,
schoolId
:
""
,
wechattype
:
1
,
trueName
:
""
,
};
userId
:
""
,
var
accountType
=
""
;
sessionid
:
""
,
let
orderApi
=
window
.
location
.
origin
;
wechattype
:
1
,
/**
};
* 对象转拼接字符串
var
accountType
=
""
;
* @param {*} res Object 需要转换的数据对象
let
orderApi
=
window
.
location
.
origin
;
*/
/**
function
OforS
(
res
)
{
* 对象转拼接字符串
var
resL
=
0
;
* @param {*} res Object 需要转换的数据对象
var
outS
=
""
;
*/
for
(
var
i
in
res
)
{
function
OforS
(
res
)
{
if
(
resL
==
0
)
{
var
resL
=
0
;
outS
+=
""
+
i
+
"
=
"
+
res
[
i
];
var
outS
=
""
;
}
else
{
for
(
var
i
in
res
)
{
outS
+=
"
&
"
+
i
+
"
=
"
+
res
[
i
];
if
(
resL
==
0
)
{
}
outS
+=
""
+
i
+
"
=
"
+
res
[
i
];
resL
++
;
}
else
{
}
outS
+=
"
&
"
+
i
+
"
=
"
+
res
[
i
];
return
outS
;
}
}
resL
++
;
export
default
{
}
components
:
{
return
outS
;
keyboardPackage
,
}
},
export
default
{
name
:
"
Recharge
"
,
components
:
{
data
()
{
keyboardPackage
,
return
{
},
popshow
:
false
,
name
:
"
Recharge
"
,
// 输入其它金额
data
()
{
isOtherMoney
:
false
,
return
{
inputOtherM
:
""
,
showPopover
:
false
,
RechargeException
:
false
,
// 通过 actions 属性来定义菜单选项
depotMoneyother
:
false
,
//其他充值
actions
:
[{
Money
:
""
,
//选择金额
text
:
"
复制卡号
"
,
MoneyIndex
:
-
1
,
id
:
"
cardNumright
"
RechargeMax
:
"
2000
"
,
//最大充值限制
},
{
ReflectMoney
:
""
,
//提现金额
text
:
"
账户明细
"
VerifyCode
:
""
,
//验证码
},
{
cardBalanceTx
:
"
0
"
,
//余额
text
:
"
常见问题
"
CodeMsg
:
"
获取验证码
"
,
},
{
type
:
"
number
"
,
text
:
"
在线销户
"
PersonalInfo
:
{
}],
schoolname
:
""
,
popshow
:
false
,
name
:
""
,
// 输入其它金额
usertype
:
"
1
"
,
isOtherMoney
:
false
,
},
inputOtherM
:
""
,
bankInfo_
:
{
RechargeException
:
false
,
accountNo
:
"
**** **** **** 1234
"
,
depotMoneyother
:
false
,
//其他充值
bindCardName
:
""
,
Money
:
""
,
//选择金额
bindCardNo
:
""
,
MoneyIndex
:
-
1
,
},
RechargeMax
:
"
2000
"
,
//最大充值限制
ImgUrl
:
this
.
$ImgUrl
,
ReflectMoney
:
""
,
//提现金额
MoneyList
:
[
VerifyCode
:
""
,
//验证码
{
cardBalanceTx
:
"
0
"
,
//余额
lable
:
"
元
"
,
CodeMsg
:
"
获取验证码
"
,
value
:
100
,
type
:
"
number
"
,
},
PersonalInfo
:
{
{
schoolname
:
""
,
lable
:
"
元
"
,
name
:
""
,
value
:
200
,
usertype
:
"
1
"
,
},
},
{
bankInfo_
:
{
lable
:
"
元
"
,
accountNo
:
"
**** **** **** 1234
"
,
value
:
500
,
bindCardName
:
""
,
},
bindCardNo
:
""
,
{
},
lable
:
"
元
"
,
ImgUrl
:
this
.
$ImgUrl
,
value
:
1000
,
MoneyList
:
[{
},
lable
:
"
元
"
,
// {
value
:
100
,
// lable: "其他金额",
},
// value: "",
{
// },
lable
:
"
元
"
,
],
value
:
200
,
numberList
:
[],
},
tempFiles1
:
"
../../static/img/idCardBg1.png
"
,
//上传身份证临时选择文件
{
tempFiles2
:
"
../../static/img/idCardBg0.png
"
,
lable
:
"
元
"
,
//绑定的一类卡列表
value
:
500
,
bindcardList
:
[],
},
// 20211126 银行账户类型
{
accountType
:
"
2
"
,
lable
:
"
元
"
,
// 银行账户类型名称枚举
value
:
1000
,
accountEnum
:
{
},
1
:
"
平安银行III类户
"
,
// {
2
:
"
工商银行III类户
"
,
// lable: "其他金额",
3
:
"
交通银行III类户
"
,
// value: "",
4
:
"
渤海银行II类户
"
,
// },
},
],
/**
numberList
:
[],
* 20211129新增
tempFiles1
:
"
../../static/img/idCardBg1.png
"
,
//上传身份证临时选择文件
*/
tempFiles2
:
"
../../static/img/idCardBg0.png
"
,
// 充值手机号码
//绑定的一类卡列表
openCardPhon
:
""
,
bindcardList
:
[],
openCardPhonSms
:
""
,
// 20211126 银行账户类型
msCount
:
60
,
//定时器
accountType
:
"
2
"
,
RechargeSmsorderNoInfo
:
{},
//第三方合作交易标识
// 银行账户类型名称枚举
};
accountEnum
:
{
},
1
:
"
平安银行III类户
"
,
onLoad
:
function
(
options
)
{
2
:
"
工商银行III类户
"
,
console
.
log
(
options
);
3
:
"
交通银行III类户
"
,
// 初始化
4
:
"
渤海银行II类户
"
,
userID
=
options
[
"
userID
"
]
||
""
;
5
:
"
浦发银行III类户
"
,
sessionID
=
options
[
"
seesionID
"
]
||
""
;
},
fromType
=
options
[
"
fromType
"
]
||
""
;
/**
bankInfo
.
sessionid
=
sessionID
||
""
;
* 20211129新增
this
.
beforeQuerySignStatus
();
*/
},
// 充值手机号码
created
:
function
()
{},
openCardPhon
:
""
,
mounted
:
function
()
{},
openCardPhonSms
:
""
,
onShow
:
function
()
{
msCount
:
60
,
//定时器
if
(
bankInfo
.
userId
)
{
RechargeSmsorderNoInfo
:
{},
//第三方合作交易标识
this
.
queryBankInfo
();
typeCode
:
""
,
}
unbindFlag
:
false
,
// 解绑标志
},
unattachedCardItem
:
{}
methods
:
{
};
async
beforeQuerySignStatus
()
{
},
await
this
.
QueryUserInfo
();
onLoad
:
function
(
options
)
{
// 渤海银行要判断是否有代扣签约
console
.
log
(
options
);
if
(
bankInfo
.
accountType
==
"
4
"
)
{
// 初始化
await
this
.
signStatusQuery
();
userID
=
options
[
"
userID
"
]
||
""
;
}
sessionID
=
options
[
"
seesionID
"
]
||
""
;
},
fromType
=
options
[
"
fromType
"
]
||
""
;
// 更换银行卡
bankInfo
.
sessionid
=
sessionID
||
""
;
async
ChangeBankPay
()
{
this
.
beforeQuerySignStatus
();
// uni.showModal({
},
// title: "系统提示",
created
:
function
()
{},
// content: "功能开发中!"
mounted
:
function
()
{},
// })
onShow
:
function
()
{
// return
if
(
bankInfo
.
userId
)
{
uni
.
showLoading
({
this
.
queryBankInfo
();
mask
:
true
,
}
title
:
"
请稍后....
"
,
},
});
methods
:
{
if
(
bankInfo
.
accountType
==
4
)
{
onSelect
(
action
)
{
jWeixin
.
miniProgram
.
navigateTo
({
if
(
action
.
text
==
"
复制卡号
"
)
{
url
:
`/pages_subpack/pages/changeBindCard/main`
,
this
.
CopyCardNumber
();
});
}
else
if
(
action
.
text
==
"
账户明细
"
)
{
uni
.
hideLoading
();
this
.
BackToMini
(
"
purchaseDetail
"
);
return
;
}
else
if
(
action
.
text
==
"
常见问题
"
)
{
}
uni
.
navigateTo
({
this
.
BackToMini
(
"
AssignAddCard
"
);
url
:
`../../commonProblem/commonProblem`
,
uni
.
hideLoading
();
});
},
}
else
if
(
action
.
text
==
"
在线销户
"
)
{
// 验证码弹出框开启
jWeixin
.
miniProgram
.
redirectTo
({
toDeposit
()
{
url
:
`/pages/AssignCancelUserPhone/main`
console
.
log
(
this
.
isOtherMoney
,
"
isOtherMoney
"
);
});
if
(
this
.
isOtherMoney
)
{
}
if
(
this
.
inputOtherM
==
""
)
{
},
uni
.
showModal
({
async
beforeQuerySignStatus
()
{
title
:
"
系统提示
"
,
await
this
.
QueryUserInfo
();
content
:
"
请输入要充值的金额!
"
,
// 渤海银行要判断是否有代扣签约
});
if
(
bankInfo
.
accountType
==
"
4
"
)
{
return
;
await
this
.
signStatusQuery
();
}
}
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
},
weui
.
topTips
(
"
充值金额必须大于3元
"
);
// 解绑银行卡提示 浦发银行
return
;
unattachedCardBefore
(
item
)
{
}
this
.
unattachedCardItem
=
item
;
}
else
{
console
.
log
(
item
,
'
itemm
'
)
if
(
this
.
Money
==
""
)
{
// this.$refs.popup.open("top");
uni
.
showModal
({
const
self
=
this
;
title
:
"
系统提示
"
,
let
bankno
=
item
.
bindCardNo
.
slice
(
item
.
bindCardNo
.
length
-
4
);
content
:
"
请选择要充值的金额!
"
,
Dialog
.
confirm
({
});
title
:
"
提示
"
,
return
;
message
:
`确定解绑
${
item
.
bindCardName
}${
bankno
}
吗?`
,
}
confirmButtonText
:
"
去解绑
"
,
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
cancelButtonText
:
"
取消
"
,
weui
.
topTips
(
"
充值金额必须大于3元
"
);
})
return
;
.
then
(()
=>
{
}
self
.
popshow
=
false
;
}
self
.
$refs
.
popup
.
open
(
"
top
"
);
if
(
MyTimer
)
{
self
.
unbindFlag
=
true
;
window
.
clearInterval
(
MyTimer
);
//停止计时器
})
MyTimer
=
null
;
.
catch
(()
=>
{
this
.
CodeMsg
=
"
获取验证码
"
;
// on cancel
this
.
msCount
=
60
;
});
this
.
openCardPhonSms
=
""
;
},
}
// 解绑银行卡
this
.
$refs
.
popup
.
open
(
"
top
"
);
unattachedCard
()
{
},
const
self
=
this
;
// 验证码弹出框关闭
let
loading
=
Toast
.
loading
({
close
()
{
message
:
"
解绑中...
"
,
this
.
$refs
.
popup
.
close
();
forbidClick
:
true
,
},
loadingType
:
"
spinner
"
,
//切换到提现
duration
:
0
,
ToWalletTx
()
{
});
$
(
"
#DepositBox
"
).
css
(
"
display
"
,
"
none
"
);
$
.
ajax
({
$
(
"
#TxWalletBox
"
).
css
(
"
display
"
,
"
block
"
);
url
:
gHost
+
"
/bank-wechat/spdb/unattachedCard
"
,
// $('.TitleHeader').html('电子账户提现');
type
:
"
POST
"
,
$
(
"
.doBtnTx
"
).
html
(
"
提现
"
);
contentType
:
"
application/x-www-form-urlencoded
"
,
opeType
=
1
;
data
:
{
uni
.
navigateTo
({
schoolId
:
bankInfo
.
schoolId
,
//学校id
url
:
userId
:
userID
,
//用户id
"
../Reflect/Reflect?
"
+
sessionid
:
sessionID
,
OforS
({
wechattype
:
1
,
sessionID
:
sessionID
,
cardNum
:
this
.
unattachedCardItem
.
bindCardNo
,
userID
:
userID
,
mobileNum
:
this
.
unattachedCardItem
.
mobileNo
,
}),
randomPassword
:
this
.
openCardPhonSms
,
//短信验证码
});
},
},
headers
:
{
//全部提现
sessionid
:
sessionID
,
TxAllFun
()
{
},
this
.
ReflectMoney
=
this
.
cardBalanceTx
*
1
;
success
:
function
(
respes
)
{
// $('.TxClsTx').val($('.cardBalanceTx')[0].textContent * 1);
loading
.
clear
();
},
if
(
respes
.
code
==
"
10000
"
)
{
// 输入限制
console
.
log
(
respes
,
"
respes
"
);
inputControl
(
e
)
{
Toast
(
'
解绑成功
'
);
let
this_
=
this
;
self
.
$refs
.
popup
.
close
();
this_
.
MoneyIndex
=
-
1
;
}
else
{
this_
.
isOtherMoney
=
true
;
Toast
(
respes
.
message
||
"
解绑银行卡失败,请重试!
"
);
let
obj
=
e
.
detail
;
throw
new
Error
(
"
解绑银行卡失败,请重试!
"
);
this
.
$nextTick
(
function
()
{
}
obj
.
value
=
obj
.
value
.
replace
(
/
[^\d
.
]
/g
,
""
);
//清除"数字"和"."以外的字符
},
obj
.
value
=
obj
.
value
.
replace
(
/^
\.
/g
,
""
);
//验证第一个字符是数字而不是.
error
:
function
(
err
)
{
obj
.
value
=
obj
.
value
.
replace
(
/
\.{2,}
/g
,
"
.
"
);
//只保留第一个. 清除多余的.
loading
.
clear
();
obj
.
value
=
obj
.
value
Toast
(
err
||
"
解绑银行卡失败,请重试!
"
);
.
replace
(
"
.
"
,
"
$#$
"
)
throw
new
Error
(
"
解绑银行卡失败,请重试!
"
);
.
replace
(
/
\.
/g
,
""
)
},
.
replace
(
"
$#$
"
,
"
.
"
);
//只允许输入一个小数点
});
obj
.
value
=
obj
.
value
.
replace
(
/^
(\-)
*
(\d
+
)\.(\d\d)
.*$/
,
"
$1$2.$3
"
);
//只能输入两个小数
},
obj
.
value
=
// 更换银行卡
obj
.
value
*
1
>
this_
.
RechargeMax
?
this_
.
RechargeMax
:
obj
.
value
;
async
ChangeBankPay
()
{
if
(
obj
.
value
==
""
||
obj
.
value
*
1
<
3
)
{
// uni.showModal({
$
(
"
.DepositID
"
).
attr
(
// title: "系统提示",
"
style
"
,
// content: "功能开发中!"
"
background: rgb(230, 230, 230) !important;
"
// })
);
// return
}
else
{
uni
.
showLoading
({
$
(
"
.DepositID
"
).
removeAttr
(
"
style
"
);
mask
:
true
,
}
title
:
"
请稍后....
"
,
this_
.
inputOtherM
=
obj
.
value
;
});
});
if
(
bankInfo
.
accountType
==
4
||
bankInfo
.
accountType
==
5
)
{
},
jWeixin
.
miniProgram
.
navigateTo
({
//input键盘弹起不会弹
url
:
`/pages_subpack/pages/changeBindCard/main`
,
ReturnToTop
()
{
});
// 若最后一位为小数点则去掉
uni
.
hideLoading
();
let
str
=
this
.
inputOtherM
+
""
;
return
;
if
(
str
.
lastIndexOf
(
"
.
"
)
==
str
.
length
-
1
)
{
}
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
);
this
.
BackToMini
(
"
AssignAddCard
"
);
}
uni
.
hideLoading
();
this
.
$nextTick
(
function
()
{
},
document
.
scrollingElement
.
scrollTo
(
0
,
this
.
scrollTop
);
// 验证码弹出框开启
});
toDeposit
()
{
},
console
.
log
(
this
.
isOtherMoney
,
"
isOtherMoney
"
);
//定时器
if
(
this
.
isOtherMoney
)
{
IntervalFun
()
{
if
(
this
.
inputOtherM
==
""
)
{
if
(
this
.
msCount
==
1
)
{
uni
.
showModal
({
window
.
clearInterval
(
MyTimer
);
//停止计时器
title
:
"
系统提示
"
,
MyTimer
=
null
;
content
:
"
请输入要充值的金额!
"
,
this
.
CodeMsg
=
"
获取验证码
"
;
});
this
.
msCount
=
60
;
return
;
}
else
{
}
this
.
msCount
--
;
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
this
.
CodeMsg
=
this
.
msCount
+
"
s后获取
"
;
weui
.
topTips
(
"
充值金额必须大于3元
"
);
}
return
;
},
}
// 代扣状态查询
}
else
{
async
signStatusQuery
()
{
if
(
this
.
Money
==
""
)
{
let
loading
=
Toast
.
loading
({
uni
.
showModal
({
message
:
"
加载中...
"
,
title
:
"
系统提示
"
,
forbidClick
:
true
,
content
:
"
请选择要充值的金额!
"
,
loadingType
:
"
spinner
"
,
});
duration
:
0
,
return
;
});
}
$
.
ajax
({
if
(
parseFloat
(
this
.
inputOtherM
)
*
1
<
3
)
{
url
:
gHost
+
"
/bank-wechat/bohai/comprehensive/signStatusQuery
"
,
weui
.
topTips
(
"
充值金额必须大于3元
"
);
type
:
"
POST
"
,
return
;
contentType
:
"
application/x-www-form-urlencoded
"
,
}
data
:
{
}
schoolId
:
bankInfo
.
schoolId
,
//学校id
if
(
MyTimer
)
{
userId
:
userID
,
//用户id
window
.
clearInterval
(
MyTimer
);
//停止计时器
sessionid
:
sessionID
,
MyTimer
=
null
;
wechattype
:
1
this
.
CodeMsg
=
"
获取验证码
"
;
},
this
.
msCount
=
60
;
headers
:
{
this
.
openCardPhonSms
=
""
;
sessionid
:
sessionID
,
}
},
if
(
bankInfo
.
typeCode
!=
'
SPDB
'
)
{
success
:
function
(
respes
)
{
this
.
$refs
.
popup
.
open
(
"
top
"
);
loading
.
clear
();
}
else
{
if
(
respes
.
code
==
"
10000
"
)
{
this
.
ExchangeRecharge
();
console
.
log
(
respes
,
"
respes
"
);
}
if
(
respes
.
results
.
dkstatus
!=
1
)
{
},
// 1已签约
// 验证码弹出框关闭
Dialog
.
alert
({
close
()
{
title
:
"
使用说明
"
,
this
.
$refs
.
popup
.
close
();
message
:
},
"
您暂未进行银行代扣签约,将影响电子校园卡的正常使用,请尽快前往签约
"
,
//切换到提现
theme
:
"
round-button
"
,
ToWalletTx
()
{
confirmButtonText
:
"
前往签约
"
,
$
(
"
#DepositBox
"
).
css
(
"
display
"
,
"
none
"
);
confirmButtonColor
:
"
#2ddbb6
"
,
$
(
"
#TxWalletBox
"
).
css
(
"
display
"
,
"
block
"
);
className
:
"
signAlert
"
,
// $('.TitleHeader').html('电子账户提现');
})
$
(
"
.doBtnTx
"
).
html
(
"
提现
"
);
.
then
(()
=>
{
opeType
=
1
;
// on confirm
uni
.
navigateTo
({
jWeixin
.
miniProgram
.
navigateTo
({
url
:
"
../Reflect/Reflect?
"
+
url
:
`/pages/SignProxyPay/main`
,
OforS
({
});
sessionID
:
sessionID
,
})
userID
:
userID
,
.
catch
(()
=>
{
}),
// on cancel
});
});
},
}
//全部提现
}
else
{
TxAllFun
()
{
Toast
(
respes
.
message
||
"
代扣状态查询,请重试!
"
);
this
.
ReflectMoney
=
this
.
cardBalanceTx
*
1
;
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
// $('.TxClsTx').val($('.cardBalanceTx')[0].textContent * 1);
}
},
},
// 输入限制
error
:
function
(
err
)
{
inputControl
(
e
)
{
loading
.
clear
();
let
this_
=
this
;
Toast
(
err
||
"
代扣状态查询,请重试!
"
);
this_
.
MoneyIndex
=
-
1
;
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
this_
.
isOtherMoney
=
true
;
},
let
obj
=
e
.
detail
;
});
this
.
$nextTick
(
function
()
{
},
obj
.
value
=
obj
.
value
.
replace
(
/
[^\d
.
]
/g
,
""
);
//清除"数字"和"."以外的字符
// 充值验证获取验证码
obj
.
value
=
obj
.
value
.
replace
(
/^
\.
/g
,
""
);
//验证第一个字符是数字而不是.
async
SendSms
()
{
obj
.
value
=
obj
.
value
.
replace
(
/
\.{2,}
/g
,
"
.
"
);
//只保留第一个. 清除多余的.
if
(
MyTimer
)
{
obj
.
value
=
obj
.
value
return
;
.
replace
(
"
.
"
,
"
$#$
"
)
}
.
replace
(
/
\.
/g
,
""
)
if
(
!
this
.
openCardPhon
||
this
.
openCardPhon
.
length
!==
11
)
{
.
replace
(
"
$#$
"
,
"
.
"
);
//只允许输入一个小数点
Dialog
({
obj
.
value
=
obj
.
value
.
replace
(
/^
(\-)
*
(\d
+
)\.(\d\d)
.*$/
,
"
$1$2.$3
"
);
//只能输入两个小数
title
:
"
系统提示
"
,
obj
.
value
=
message
:
"
请收入正确的手机号码!
"
,
obj
.
value
*
1
>
this_
.
RechargeMax
?
this_
.
RechargeMax
:
obj
.
value
;
});
let
limitMoney
=
3
;
return
;
if
(
this_
.
typeCode
==
'
SPDB
'
)
{
}
limitMoney
=
100
;
}
let
this_
=
this
;
if
(
obj
.
value
==
""
||
obj
.
value
*
1
<
limitMoney
)
{
let
loading
=
Toast
.
loading
({
$
(
"
.DepositID
"
).
attr
(
message
:
"
加载中...
"
,
"
style
"
,
forbidClick
:
true
,
"
background: rgb(230, 230, 230) !important;
"
loadingType
:
"
spinner
"
,
);
duration
:
0
,
}
else
{
});
$
(
"
.DepositID
"
).
removeAttr
(
"
style
"
);
// 20211230
}
let
exchangeUrl
=
gHost
;
this_
.
inputOtherM
=
obj
.
value
;
switch
(
bankInfo
.
accountType
)
{
});
case
3
:
},
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bocom/exchange/rechargeSms
"
;
//input键盘弹起不会弹
break
;
ReturnToTop
()
{
case
4
:
// 若最后一位为小数点则去掉
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bohai/comprehensive/otpSms
"
;
let
str
=
this
.
inputOtherM
+
""
;
break
;
if
(
str
.
lastIndexOf
(
"
.
"
)
==
str
.
length
-
1
)
{
default
:
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
);
Dialog
({
}
title
:
"
系统提示
"
,
this
.
$nextTick
(
function
()
{
message
:
"
银行账号类型错误!
"
,
document
.
scrollingElement
.
scrollTo
(
0
,
this
.
scrollTop
);
});
});
throw
"
银行账号类型错误!
"
;
},
break
;
//定时器
}
IntervalFun
()
{
$
.
ajax
({
if
(
this
.
msCount
==
1
)
{
url
:
exchangeUrl
,
window
.
clearInterval
(
MyTimer
);
//停止计时器
type
:
"
POST
"
,
MyTimer
=
null
;
contentType
:
"
application/x-www-form-urlencoded
"
,
this
.
CodeMsg
=
"
获取验证码
"
;
data
:
{
this
.
msCount
=
60
;
amount
:
((
this
.
Money
||
this
.
inputOtherM
)
*
1
).
toFixed
(
2
),
//充值金额,单位元
}
else
{
schoolId
:
bankInfo
.
schoolId
,
//学校id
this
.
msCount
--
;
userId
:
userID
,
//用户id
this
.
CodeMsg
=
this
.
msCount
+
"
s后获取
"
;
sessionid
:
sessionID
,
}
wechattype
:
1
,
},
// 20211230渤海
// 代扣状态查询
mobilePhone
:
this
.
openCardPhon
,
async
signStatusQuery
()
{
msg
:
"
充值
"
,
let
loading
=
Toast
.
loading
({
},
message
:
"
加载中...
"
,
headers
:
{
forbidClick
:
true
,
sessionid
:
sessionID
,
loadingType
:
"
spinner
"
,
},
duration
:
0
,
success
:
function
(
res5
)
{
});
loading
.
clear
();
$
.
ajax
({
if
(
res5
.
code
==
"
10000
"
)
{
url
:
gHost
+
"
/bank-wechat/bohai/comprehensive/signStatusQuery
"
,
this_
.
IntervalFun
();
type
:
"
POST
"
,
MyTimer
=
window
.
setInterval
(
this_
.
IntervalFun
,
1000
);
contentType
:
"
application/x-www-form-urlencoded
"
,
this_
.
RechargeSmsorderNoInfo
=
res5
.
results
?
res5
.
results
:
{};
data
:
{
}
else
{
schoolId
:
bankInfo
.
schoolId
,
//学校id
weui
.
topTips
(
res5
.
message
);
userId
:
userID
,
//用户id
uni
.
showModal
({
sessionid
:
sessionID
,
title
:
"
系统提示
"
,
wechattype
:
1
content
:
res5
.
message
,
},
});
headers
:
{
}
sessionid
:
sessionID
,
},
},
error
:
function
(
err
)
{
success
:
function
(
respes
)
{
loading
.
clear
();
loading
.
clear
();
},
if
(
respes
.
code
==
"
10000
"
)
{
});
console
.
log
(
respes
,
"
respes
"
);
},
if
(
respes
.
results
.
dkstatus
!=
1
)
{
// 充值
// 1已签约
async
ExchangeRecharge
()
{
Dialog
.
alert
({
let
amount
,
bindMedium
,
summary
;
title
:
"
使用说明
"
,
if
(
this
.
isOtherMoney
)
{
message
:
"
您暂未进行银行代扣签约,将影响电子校园卡的正常使用,请尽快前往签约
"
,
if
(
this
.
inputOtherM
==
""
)
{
theme
:
"
round-button
"
,
uni
.
showModal
({
confirmButtonText
:
"
前往签约
"
,
title
:
"
系统提示
"
,
confirmButtonColor
:
"
#2ddbb6
"
,
content
:
"
请输入要充值的金额!
"
,
className
:
"
signAlert
"
,
});
})
return
;
.
then
(()
=>
{
}
// on confirm
amount
=
this
.
inputOtherM
*
1
;
jWeixin
.
miniProgram
.
navigateTo
({
}
else
{
url
:
`/pages/SignProxyPay/main`
,
if
(
this
.
Money
==
""
)
{
});
uni
.
showModal
({
})
title
:
"
系统提示
"
,
.
catch
(()
=>
{
content
:
"
请选择要充值的金额!
"
,
// on cancel
});
});
return
;
}
}
}
else
{
amount
=
this
.
Money
*
1
;
Toast
(
respes
.
message
||
"
代扣状态查询,请重试!
"
);
}
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
let
this_
=
this
;
}
if
(
!
this
.
openCardPhon
||
this
.
openCardPhon
.
length
!==
11
)
{
},
Dialog
({
error
:
function
(
err
)
{
title
:
"
系统提示
"
,
loading
.
clear
();
message
:
"
请收入正确的手机号码!
"
,
Toast
(
err
||
"
代扣状态查询,请重试!
"
);
});
throw
new
Error
(
"
代扣状态查询,请重试!
"
);
return
;
},
}
});
if
(
bankInfo
.
accountType
!=
4
)
{
},
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
// 充值验证获取验证码
Dialog
({
async
SendSms
()
{
title
:
"
系统提示
"
,
if
(
MyTimer
)
{
message
:
"
请获取验证码!
"
,
return
;
});
}
return
;
if
(
!
this
.
openCardPhon
||
this
.
openCardPhon
.
length
!==
11
)
{
}
Dialog
({
}
title
:
"
系统提示
"
,
if
(
!
this
.
openCardPhonSms
)
{
message
:
"
请收入正确的手机号码!
"
,
Dialog
({
});
title
:
"
系统提示
"
,
return
;
message
:
"
请收入验证码!
"
,
}
});
return
;
let
this_
=
this
;
}
let
loading
=
Toast
.
loading
({
uni
.
showLoading
({
message
:
"
加载中...
"
,
mask
:
true
,
forbidClick
:
true
,
title
:
"
处理中......
"
,
loadingType
:
"
spinner
"
,
});
duration
:
0
,
// 20211230
});
let
exchangeUrl
=
gHost
;
// 20211230
switch
(
bankInfo
.
accountType
)
{
let
exchangeUrl
=
gHost
;
case
3
:
switch
(
bankInfo
.
accountType
)
{
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bocom/exchange/recharge
"
;
case
3
:
break
;
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bocom/exchange/rechargeSms
"
;
case
4
:
break
;
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bohai/exchange/recharge
"
;
case
4
:
break
;
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bohai/comprehensive/otpSms
"
;
default
:
break
;
Dialog
({
case
5
:
title
:
"
系统提示
"
,
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/spdb/passcodes
"
;
message
:
"
银行账号类型错误!
"
,
break
;
});
default
:
throw
"
银行账号类型错误!
"
;
Dialog
({
break
;
title
:
"
系统提示
"
,
}
message
:
"
银行账号类型错误!
"
,
$
.
ajax
({
});
url
:
exchangeUrl
,
throw
"
银行账号类型错误!
"
;
type
:
"
POST
"
,
break
;
contentType
:
"
application/x-www-form-urlencoded
"
,
}
data
:
{
let
params
=
{
amount
:
(
amount
*
1
).
toFixed
(
2
),
//充值金额,单位元
amount
:
((
this
.
Money
||
this
.
inputOtherM
)
*
1
).
toFixed
(
2
),
//充值金额,单位元
mobileCode
:
this
.
openCardPhonSms
,
//短信验证码
schoolId
:
bankInfo
.
schoolId
,
//学校id
orderNo
:
this_
.
RechargeSmsorderNoInfo
.
orderNo
,
//第三方合作交易标识,取充值短信返回的orderNo值
userId
:
userID
,
//用户id
schoolId
:
bankInfo
.
schoolId
,
//学校id
sessionid
:
sessionID
,
userId
:
userID
,
//用户id
wechattype
:
1
,
sessionid
:
sessionID
,
// 20211230渤海
wechattype
:
1
,
mobilePhone
:
this
.
openCardPhon
,
// 21211230渤海银行
msg
:
"
充值
"
,
transAmount
:
(
amount
*
1
).
toFixed
(
2
),
}
verifyNo
:
this
.
openCardPhonSms
,
let
params1
=
{
},
bizScene
:
'
105322
'
,
headers
:
{
mobileNum
:
this
.
openCardPhon
,
sessionid
:
sessionID
,
schoolId
:
bankInfo
.
schoolId
,
//学校id
},
userId
:
userID
,
//用户id
success
:
function
(
res5
)
{
sessionid
:
sessionID
,
uni
.
hideLoading
();
wechattype
:
1
if
(
res5
.
code
==
"
10000
"
)
{
}
this_
.
close
();
$
.
ajax
({
setTimeout
(()
=>
{
url
:
exchangeUrl
,
this_
.
queryBankInfo
();
type
:
"
POST
"
,
},
3000
);
contentType
:
"
application/x-www-form-urlencoded
"
,
let
thiTime
=
new
Date
();
data
:
bankInfo
.
accountType
==
5
?
params1
:
params
,
let
str
=
""
;
headers
:
{
let
accountNo
=
this_
.
bankInfo_
.
bindCardNo
;
sessionid
:
sessionID
,
accountNo
=
accountNo
.
slice
(
accountNo
.
length
-
4
,
accountNo
.
length
);
},
let
minutes_
=
success
:
function
(
res5
)
{
thiTime
.
getMinutes
().
toString
().
length
<
2
loading
.
clear
();
?
thiTime
.
getMinutes
().
toString
().
padStart
(
2
,
"
0
"
)
if
(
res5
.
code
==
"
10000
"
)
{
:
thiTime
.
getMinutes
().
toString
();
this_
.
IntervalFun
();
switch
(
bankInfo
.
accountType
)
{
MyTimer
=
window
.
setInterval
(
this_
.
IntervalFun
,
1000
);
case
3
:
this_
.
RechargeSmsorderNoInfo
=
res5
.
results
?
res5
.
results
:
{};
if
(
thiTime
.
getMinutes
()
+
20
>=
60
)
{
}
else
{
str
=
weui
.
topTips
(
res5
.
message
);
thiTime
.
getHours
()
+
1
+
"
:
"
+
(
60
-
thiTime
.
getMinutes
());
uni
.
showModal
({
}
else
{
title
:
"
系统提示
"
,
str
=
thiTime
.
getHours
()
+
"
:
"
+
(
thiTime
.
getMinutes
()
+
20
);
content
:
res5
.
message
,
}
});
wx
.
showModal
({
}
title
:
"
充值申请已提交
"
,
},
content
:
"
银行处理需要1-20分钟时间,充值结果以余额查询为准。
"
,
error
:
function
(
err
)
{
showCancel
:
false
,
loading
.
clear
();
success
:
function
()
{
},
uni
.
navigateTo
({
});
url
:
`../../recharging/recharging?bankName=
${
},
// 充值
async
ExchangeRecharge
()
{
let
amount
,
bindMedium
,
summary
;
if
(
this
.
isOtherMoney
)
{
if
(
this
.
inputOtherM
==
""
)
{
uni
.
showModal
({
title
:
"
系统提示
"
,
content
:
"
请输入要充值的金额!
"
,
});
return
;
}
amount
=
this
.
inputOtherM
*
1
;
}
else
{
if
(
this
.
Money
==
""
)
{
uni
.
showModal
({
title
:
"
系统提示
"
,
content
:
"
请选择要充值的金额!
"
,
});
return
;
}
amount
=
this
.
Money
*
1
;
}
let
this_
=
this
;
if
(
!
this
.
openCardPhon
||
this
.
openCardPhon
.
length
!==
11
)
{
Dialog
({
title
:
"
系统提示
"
,
message
:
"
请收入正确的手机号码!
"
,
});
return
;
}
if
(
bankInfo
.
accountType
!=
4
&&
bankInfo
.
accountType
!=
5
)
{
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
Dialog
({
title
:
"
系统提示
"
,
message
:
"
请获取验证码!
"
,
});
return
;
}
}
if
(
!
this
.
openCardPhonSms
&&
bankInfo
.
accountType
!=
5
)
{
Dialog
({
title
:
"
系统提示
"
,
message
:
"
请收入验证码!
"
,
});
return
;
}
uni
.
showLoading
({
mask
:
true
,
title
:
"
处理中......
"
,
});
// 20211230
let
exchangeUrl
=
gHost
;
switch
(
bankInfo
.
accountType
)
{
case
3
:
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bocom/exchange/recharge
"
;
break
;
case
4
:
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/bohai/exchange/recharge
"
;
break
;
case
5
:
exchangeUrl
=
exchangeUrl
+
"
/bank-wechat/spdb/deposits
"
;
break
;
default
:
Dialog
({
title
:
"
系统提示
"
,
message
:
"
银行账号类型错误!
"
,
});
throw
"
银行账号类型错误!
"
;
break
;
}
let
params
=
{
amount
:
(
amount
*
1
).
toFixed
(
2
),
//充值金额,单位元
mobileCode
:
this
.
openCardPhonSms
,
//短信验证码
orderNo
:
this_
.
RechargeSmsorderNoInfo
.
orderNo
,
//第三方合作交易标识,取充值短信返回的orderNo值
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
sessionid
:
sessionID
,
wechattype
:
1
,
// 21211230渤海银行
transAmount
:
(
amount
*
1
).
toFixed
(
2
),
verifyNo
:
this
.
openCardPhonSms
,
};
let
bindingCardId
=
""
;
console
.
log
(
bankInfo
.
bindCardNo
,
'
bindCardNobindCardNobindCardNobindCardNo
'
)
if
(
this
.
bindcardList
.
length
)
{
let
arr
=
this
.
bindcardList
.
filter
(
x
=>
x
.
bindCardNo
==
bankInfo
.
bindCardNo
);
console
.
log
(
arr
[
0
],
'
绑定卡绑定卡
'
)
if
(
arr
.
length
)
{
bindingCardId
=
arr
[
0
].
bindCardId
;
}
}
let
params1
=
{
// 浦发银行
amount
:
(
amount
*
1
).
toFixed
(
2
),
//充值金额,单位元
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
sessionid
:
sessionID
,
wechattype
:
1
,
bindingCardId
:
bindingCardId
,
// ipAdress: '110.53.253.164'
};
$
.
ajax
({
url
:
exchangeUrl
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
this_
.
typeCode
==
'
SPDB
'
?
params1
:
params
,
headers
:
{
sessionid
:
sessionID
,
},
success
:
function
(
res5
)
{
uni
.
hideLoading
();
if
(
res5
.
code
==
"
10000
"
)
{
this_
.
close
();
setTimeout
(()
=>
{
this_
.
queryBankInfo
();
},
3000
);
let
thiTime
=
new
Date
();
let
str
=
""
;
let
accountNo
=
this_
.
bankInfo_
.
bindCardNo
;
accountNo
=
accountNo
.
slice
(
accountNo
.
length
-
4
,
accountNo
.
length
);
let
minutes_
=
thiTime
.
getMinutes
().
toString
().
length
<
2
?
thiTime
.
getMinutes
().
toString
().
padStart
(
2
,
"
0
"
)
:
thiTime
.
getMinutes
().
toString
();
switch
(
bankInfo
.
accountType
)
{
case
3
:
if
(
thiTime
.
getMinutes
()
+
20
>=
60
)
{
str
=
thiTime
.
getHours
()
+
1
+
"
:
"
+
(
60
-
thiTime
.
getMinutes
());
}
else
{
str
=
thiTime
.
getHours
()
+
"
:
"
+
(
thiTime
.
getMinutes
()
+
20
);
}
wx
.
showModal
({
title
:
"
充值申请已提交
"
,
content
:
"
银行处理需要1-20分钟时间,充值结果以余额查询为准。
"
,
showCancel
:
false
,
success
:
function
()
{
uni
.
navigateTo
({
url
:
`../../recharging/recharging?bankName=
${
this_
.
bankInfo_
.
bindCardName
this_
.
bankInfo_
.
bindCardName
}
&bankNumber=
${
accountNo
}
&time=
${
str
}
&money=
${(
}
&bankNumber=
${
accountNo
}
&time=
${
str
}
&money=
${(
amount
*
1
amount
*
1
...
@@ -999,6 +1155,10 @@ export default {
...
@@ -999,6 +1155,10 @@ export default {
},
},
//查询一类卡绑定列表
//查询一类卡绑定列表
queryBindCardList
()
{
queryBindCardList
()
{
this
.
queryBindCardListBefore
();
this
.
popshow
=
true
;
},
queryBindCardListBefore
()
{
let
this_
=
this
;
let
this_
=
this
;
let
loading
=
weui
.
loading
(
"
请稍后
"
);
let
loading
=
weui
.
loading
(
"
请稍后
"
);
$
.
ajax
({
$
.
ajax
({
...
@@ -1016,7 +1176,6 @@ export default {
...
@@ -1016,7 +1176,6 @@ export default {
loading
.
hide
();
loading
.
hide
();
if
(
res4
.
code
==
"
10000
"
)
{
if
(
res4
.
code
==
"
10000
"
)
{
this_
.
bindcardList
=
res4
.
results
;
this_
.
bindcardList
=
res4
.
results
;
this_
.
popshow
=
true
;
}
else
{
}
else
{
weui
.
topTips
(
res4
.
message
);
weui
.
topTips
(
res4
.
message
);
}
}
...
@@ -1030,6 +1189,9 @@ export default {
...
@@ -1030,6 +1189,9 @@ export default {
queryBankInfo
()
{
queryBankInfo
()
{
let
this_
=
this
;
let
this_
=
this
;
let
queryBankInfoUrl
=
gHost
;
let
queryBankInfoUrl
=
gHost
;
if
(
bankInfo
.
accountType
==
5
)
{
this
.
queryBindCardListBefore
();
}
// 20211230
// 20211230
switch
(
bankInfo
.
accountType
)
{
switch
(
bankInfo
.
accountType
)
{
case
3
:
case
3
:
...
@@ -1041,6 +1203,10 @@ export default {
...
@@ -1041,6 +1203,10 @@ export default {
queryBankInfoUrl
=
queryBankInfoUrl
=
queryBankInfoUrl
+
"
/bank-wechat/bohai/exchange/balanceQuery
"
;
queryBankInfoUrl
+
"
/bank-wechat/bohai/exchange/balanceQuery
"
;
break
;
break
;
case
5
:
queryBankInfoUrl
=
queryBankInfoUrl
+
"
/bank-wechat/spdb/balancesQuery
"
;
break
;
default
:
default
:
Dialog
({
Dialog
({
title
:
"
系统提示
"
,
title
:
"
系统提示
"
,
...
@@ -1050,18 +1216,24 @@ export default {
...
@@ -1050,18 +1216,24 @@ export default {
break
;
break
;
}
}
// let loading = weui.loading('请稍后');
// let loading = weui.loading('请稍后');
let
params
=
{
mediumId
:
bankInfo
.
accountNo
||
""
,
schoolId
:
bankInfo
.
schoolId
||
""
,
userId
:
bankInfo
.
userId
||
""
,
sessionid
:
sessionID
,
wechattype
:
1
,
};
if
(
bankInfo
.
accountType
==
5
)
{
Object
.
assign
(
params
,
{
accountId
:
bankInfo
.
thirdId
})
}
$
.
ajax
({
$
.
ajax
({
url
:
queryBankInfoUrl
,
url
:
queryBankInfoUrl
,
type
:
"
POST
"
,
type
:
"
POST
"
,
timeout
:
8000
,
timeout
:
8000
,
contentType
:
"
application/x-www-form-urlencoded
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
data
:
params
,
mediumId
:
bankInfo
.
accountNo
||
""
,
schoolId
:
bankInfo
.
schoolId
||
""
,
userId
:
bankInfo
.
userId
||
""
,
sessionid
:
sessionID
,
wechattype
:
1
,
},
success
:
function
(
res3
)
{
success
:
function
(
res3
)
{
// loading.hide();
// loading.hide();
if
(
res3
.
code
==
"
10000
"
)
{
if
(
res3
.
code
==
"
10000
"
)
{
...
@@ -1133,6 +1305,7 @@ export default {
...
@@ -1133,6 +1305,7 @@ export default {
return
;
return
;
}
}
bankInfo
=
res2
.
results
;
bankInfo
=
res2
.
results
;
this_
.
typeCode
=
res2
.
results
.
typeCode
;
bankInfo
.
sessionid
=
sessionID
;
bankInfo
.
sessionid
=
sessionID
;
this_
.
queryBankInfo
();
//查余额
this_
.
queryBankInfo
();
//查余额
this_
.
bankInfo_
=
bankInfo
;
this_
.
bankInfo_
=
bankInfo
;
...
@@ -1205,6 +1378,33 @@ export default {
...
@@ -1205,6 +1378,33 @@ export default {
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
background
:
linear-gradient
(
180deg
,
#ffffff
0%
,
#fafafa
100%
);
}
}
.BankListImgSpan
{
width
:
30rpx
;
height
:
30rpx
;
position
:
relative
;
margin-right
:
20rpx
;
display
:
inline-block
;
}
.delete
{
position
:
absolute
;
top
:
0
;
right
:
120rpx
;
font-size
:
38rpx
;
color
:
#04b871
;
padding
:
25rpx
0
;
padding-top
:
28rpx
;
z-index
:
1
;
}
.BankListImg
{
width
:
30rpx
;
height
:
30rpx
;
position
:
absolute
;
left
:
0
;
top
:
0
;
}
.userInfoBox
{
.userInfoBox
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -1397,6 +1597,13 @@ export default {
...
@@ -1397,6 +1597,13 @@ export default {
background
:
#fff
;
background
:
#fff
;
position
:
relative
;
position
:
relative
;
text-align
:
center
;
text-align
:
center
;
display
:
flex
;
justify-content
:
center
;
span
{
display
:
inline-block
;
align-self
:
center
;
}
}
}
.changeCard
{
.changeCard
{
...
@@ -1563,6 +1770,7 @@ export default {
...
@@ -1563,6 +1770,7 @@ export default {
font-family: PingFangSC-Medium, PingFang SC;
font-family: PingFangSC-Medium, PingFang SC;
margin-bottom: 24rpx;
margin-bottom: 24rpx;
border: 3rpx solid transparent;
border: 3rpx solid transparent;
view {
view {
align-self: center;
align-self: center;
color: #333333;
color: #333333;
...
@@ -1598,6 +1806,7 @@ export default {
...
@@ -1598,6 +1806,7 @@ export default {
background: #f8f8f8;
background: #f8f8f8;
border-radius: 12rpx;
border-radius: 12rpx;
border: 3rpx solid transparent;
border: 3rpx solid transparent;
/deep/.uni-input-wrapper {
/deep/.uni-input-wrapper {
position: absolute;
position: absolute;
width: 444rpx;
width: 444rpx;
...
@@ -2199,6 +2408,7 @@ export default {
...
@@ -2199,6 +2408,7 @@ export default {
line-height: 120rpx;
line-height: 120rpx;
font-weight: 600;
font-weight: 600;
}
}
.popoverItem {
.popoverItem {
width: 225rpx;
width: 225rpx;
margin: 0 20rpx;
margin: 0 20rpx;
...
@@ -2210,6 +2420,7 @@ export default {
...
@@ -2210,6 +2420,7 @@ export default {
color: #000000;
color: #000000;
border-bottom: 1rpx solid #dddddd;
border-bottom: 1rpx solid #dddddd;
}
}
.popoverItem:last-child {
.popoverItem:last-child {
border-bottom: 0;
border-bottom: 0;
}
}
...
...
src/pages/BankModule/Reflect/Reflect.vue
View file @
e19b60d1
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<view
class=
"left_"
>
提现金额
</view>
<view
class=
"left_"
>
提现金额
</view>
<view
class=
"right_"
>
每日可提现一次
</view>
<view
class=
"right_"
>
每日可提现一次
</view>
</view>
</view>
<!-- 20211230渤海银行 -->
<!-- 20211230渤海银行
浦发银行
-->
<view
class=
"BankBohai"
v-if=
"bankInfo_.accountType==4"
>
<view
class=
"BankBohai"
v-if=
"bankInfo_.accountType==4
|| bankInfo_.accountType==5
"
>
<view
class=
"BankBHL"
>
提现至
</view>
<view
class=
"BankBHL"
>
提现至
</view>
<view
class=
"BankBHR"
>
<view
class=
"BankBHR"
>
<view
class=
""
>
{{
bankInfo_
.
bindCardName
}}
<view
class=
""
>
{{
bankInfo_
.
bindCardName
}}
...
@@ -141,7 +141,9 @@
...
@@ -141,7 +141,9 @@
msCount
:
60
,
//定时器
msCount
:
60
,
//定时器
CodeMsg
:
"
获取验证码
"
,
CodeMsg
:
"
获取验证码
"
,
RechargeSmsorderNoInfo
:
{},
//第三方合作交易标识
RechargeSmsorderNoInfo
:
{},
//第三方合作交易标识
WithdrawInfo
:
null
WithdrawInfo
:
null
,
bindcardList
:
[],
bindCardNo
:
""
,
}
}
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
...
@@ -189,6 +191,9 @@
...
@@ -189,6 +191,9 @@
case
4
:
case
4
:
withdrawSmsUrl
=
withdrawSmsUrl
+
'
/bank-wechat/bohai/comprehensive/otpSms
'
;
withdrawSmsUrl
=
withdrawSmsUrl
+
'
/bank-wechat/bohai/comprehensive/otpSms
'
;
break
;
break
;
case
5
:
withdrawSmsUrl
=
withdrawSmsUrl
+
'
/bank-wechat/spdb/passcodes
'
;
break
;
default
:
default
:
Dialog
({
Dialog
({
title
:
'
系统提示
'
,
title
:
'
系统提示
'
,
...
@@ -197,20 +202,38 @@
...
@@ -197,20 +202,38 @@
throw
(
"
银行账号类型错误!
"
)
throw
(
"
银行账号类型错误!
"
)
break
;
break
;
}
}
let
params
=
{
amount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
//充值金额,单位元
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
sessionid
:
sessionID
,
wechattype
:
1
,
// 21211230渤海银行
mobilePhone
:
this
.
openCardPhon
,
msg
:
"
提现
"
}
let
params1
=
{
mobileNum
:
this
.
openCardPhon
,
schoolId
:
bankInfo
.
schoolId
,
//学校id
userId
:
userID
,
//用户id
sessionid
:
sessionID
,
wechattype
:
1
}
$
.
ajax
({
$
.
ajax
({
url
:
withdrawSmsUrl
,
url
:
withdrawSmsUrl
,
type
:
"
POST
"
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
// data: {
amount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
//充值金额,单位元
// amount: (this.inputOtherM * 1).toFixed(2), //充值金额,单位元
schoolId
:
bankInfo
.
schoolId
,
//学校id
// schoolId: bankInfo.schoolId, //学校id
userId
:
userID
,
//用户id
// userId: userID, //用户id
sessionid
:
sessionID
,
// sessionid: sessionID,
wechattype
:
1
,
// wechattype: 1,
// 21211230渤海银行
// // 21211230渤海银行
mobilePhone
:
this
.
openCardPhon
,
// mobilePhone: this.openCardPhon,
msg
:
"
提现
"
// msg: "提现"
},
// },
data
:
bankInfo
.
accountType
==
5
?
params1
:
params
,
headers
:
{
headers
:
{
'
sessionid
'
:
sessionID
,
'
sessionid
'
:
sessionID
,
},
},
...
@@ -308,12 +331,16 @@
...
@@ -308,12 +331,16 @@
return
return
}
}
this
.
openCardPhonSms
=
''
;
this
.
openCardPhonSms
=
''
;
this
.
$refs
.
popup
.
open
(
'
top
'
)
if
(
bankInfo
.
accountType
!=
5
)
{
this
.
$refs
.
popup
.
open
(
'
top
'
)
}
else
{
this
.
ExchangeWithdraw
();
}
},
},
// 提现
// 提现
async
ExchangeWithdraw
()
{
async
ExchangeWithdraw
()
{
let
this_
=
this
;
let
this_
=
this
;
if
(
bankInfo
.
accountType
!=
4
)
{
if
(
bankInfo
.
accountType
!=
4
&&
bankInfo
.
accountType
!=
5
)
{
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
Dialog
({
Dialog
({
title
:
'
系统提示
'
,
title
:
'
系统提示
'
,
...
@@ -322,7 +349,7 @@
...
@@ -322,7 +349,7 @@
return
return
}
}
}
}
if
(
!
this
.
openCardPhonSms
)
{
if
(
!
this
.
openCardPhonSms
&&
bankInfo
.
accountType
!=
5
)
{
Dialog
({
Dialog
({
title
:
'
系统提示
'
,
title
:
'
系统提示
'
,
message
:
'
请收入验证码!
'
message
:
'
请收入验证码!
'
...
@@ -332,6 +359,9 @@
...
@@ -332,6 +359,9 @@
let
loading
=
weui
.
loading
(
'
请稍后
'
);
let
loading
=
weui
.
loading
(
'
请稍后
'
);
// 20211230
// 20211230
let
withdrawUrl
=
gHost
;
let
withdrawUrl
=
gHost
;
if
(
bankInfo
.
accountType
==
5
){
await
this
.
queryBindCardListBefore
();
}
switch
(
bankInfo
.
accountType
)
{
switch
(
bankInfo
.
accountType
)
{
case
3
:
case
3
:
withdrawUrl
=
withdrawUrl
+
'
/bank-wechat/bocom/exchange/withdraw
'
;
withdrawUrl
=
withdrawUrl
+
'
/bank-wechat/bocom/exchange/withdraw
'
;
...
@@ -339,6 +369,9 @@
...
@@ -339,6 +369,9 @@
case
4
:
case
4
:
withdrawUrl
=
withdrawUrl
+
'
/bank-wechat/bohai/exchange/withdraw
'
;
withdrawUrl
=
withdrawUrl
+
'
/bank-wechat/bohai/exchange/withdraw
'
;
break
;
break
;
case
5
:
withdrawUrl
=
withdrawUrl
+
'
/bank-wechat/spdb/withdrawals
'
;
break
;
default
:
default
:
Dialog
({
Dialog
({
title
:
'
系统提示
'
,
title
:
'
系统提示
'
,
...
@@ -347,23 +380,42 @@
...
@@ -347,23 +380,42 @@
throw
(
"
银行账号类型错误!
"
)
throw
(
"
银行账号类型错误!
"
)
break
;
break
;
}
}
$
.
ajax
({
let
params
=
{
url
:
withdrawUrl
,
amount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
//充值金额,单位元
type
:
"
POST
"
,
orderNo
:
this_
.
RechargeSmsorderNoInfo
.
orderNo
,
contentType
:
"
application/x-www-form-urlencoded
"
,
msgCodeSeq
:
this_
.
RechargeSmsorderNoInfo
.
msgCodeSeq
,
data
:
{
msgVerCode
:
this_
.
openCardPhonSms
,
schoolId
:
bankInfo
.
schoolId
,
userId
:
userID
,
sessionid
:
sessionID
,
wechattype
:
1
,
// 21211230渤海银行
transAmount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
verifyNo
:
this_
.
openCardPhonSms
,
};
let
bindingCardId
=
""
;
if
(
this
.
bindcardList
.
length
){
let
arr
=
this
.
bindcardList
.
filter
(
x
=>
x
.
bindCardNo
==
this_
.
bindCardNo
);
if
(
arr
.
length
){
bindingCardId
=
arr
[
0
].
bindCardId
;
}
}
if
(
bankInfo
.
accountType
==
5
)
{
params
=
{
amount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
//充值金额,单位元
amount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
//充值金额,单位元
orderNo
:
this_
.
RechargeSmsorderNoInfo
.
orderNo
,
msgCodeSeq
:
this_
.
RechargeSmsorderNoInfo
.
msgCodeSeq
,
msgVerCode
:
this_
.
openCardPhonSms
,
schoolId
:
bankInfo
.
schoolId
,
schoolId
:
bankInfo
.
schoolId
,
bindingCardId
:
bindingCardId
,
userId
:
userID
,
userId
:
userID
,
sessionid
:
sessionID
,
sessionid
:
sessionID
,
wechattype
:
1
,
wechattype
:
1
,
// 21211230渤海银行
};
transAmount
:
(
this
.
inputOtherM
*
1
).
toFixed
(
2
),
verifyNo
:
this_
.
openCardPhonSms
,
}
},
$
.
ajax
({
url
:
withdrawUrl
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
params
,
headers
:
{
headers
:
{
'
sessionid
'
:
sessionID
,
'
sessionid
'
:
sessionID
,
},
},
...
@@ -376,10 +428,10 @@
...
@@ -376,10 +428,10 @@
content
:
'
银行处理需要1-5分钟时间,充值结果以余额查询为准。
'
,
content
:
'
银行处理需要1-5分钟时间,充值结果以余额查询为准。
'
,
showCancel
:
false
,
showCancel
:
false
,
success
:
function
()
{
success
:
function
()
{
if
(
bankInfo
.
accountType
!=
4
)
{
if
(
bankInfo
.
accountType
!=
4
&&
bankInfo
.
accountType
!=
5
)
{
this_
.
ExchangeWithdrawQuery
();
this_
.
ExchangeWithdrawQuery
();
}
}
if
(
bankInfo
.
accountType
==
4
)
{
if
(
bankInfo
.
accountType
==
4
&&
bankInfo
.
accountType
!=
5
)
{
window
.
location
.
reload
()
window
.
location
.
reload
()
}
}
}
}
...
@@ -465,7 +517,7 @@
...
@@ -465,7 +517,7 @@
ReturnToTop
()
{
ReturnToTop
()
{
// 若最后一位为小数点则去掉
// 若最后一位为小数点则去掉
let
str
=
this
.
inputOtherM
+
""
;
let
str
=
this
.
inputOtherM
+
""
;
if
(
str
.
lastIndexOf
(
'
.
'
)
==
str
.
length
-
1
)
{
if
(
str
.
lastIndexOf
(
'
.
'
)
==
str
.
length
-
1
)
{
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
)
this
.
inputOtherM
=
str
.
substring
(
0
,
str
.
length
-
1
)
}
}
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
@@ -576,6 +628,9 @@
...
@@ -576,6 +628,9 @@
case
4
:
case
4
:
queryBankInfoUrl
=
queryBankInfoUrl
+
'
/bank-wechat/bohai/exchange/balanceQuery
'
;
queryBankInfoUrl
=
queryBankInfoUrl
+
'
/bank-wechat/bohai/exchange/balanceQuery
'
;
break
;
break
;
case
5
:
queryBankInfoUrl
=
queryBankInfoUrl
+
'
/bank-wechat/spdb/balancesQuery
'
;
break
;
default
:
default
:
Dialog
({
Dialog
({
title
:
'
系统提示
'
,
title
:
'
系统提示
'
,
...
@@ -584,18 +639,24 @@
...
@@ -584,18 +639,24 @@
throw
(
"
银行账号类型错误!
"
)
throw
(
"
银行账号类型错误!
"
)
break
;
break
;
}
}
let
params
=
{
mediumId
:
bankInfo
.
accountNo
||
""
,
schoolId
:
bankInfo
.
schoolId
||
""
,
userId
:
bankInfo
.
userId
||
""
,
sessionid
:
sessionID
,
wechattype
:
1
,
};
if
(
bankInfo
.
accountType
==
5
)
{
Object
.
assign
(
params
,
{
accountId
:
bankInfo
.
thirdId
})
}
$
.
ajax
({
$
.
ajax
({
url
:
queryBankInfoUrl
,
url
:
queryBankInfoUrl
,
type
:
"
POST
"
,
type
:
"
POST
"
,
timeout
:
8000
,
timeout
:
8000
,
contentType
:
"
application/x-www-form-urlencoded
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
data
:
params
,
mediumId
:
bankInfo
.
accountNo
||
''
,
schoolId
:
bankInfo
.
schoolId
||
''
,
userId
:
bankInfo
.
userId
||
''
,
sessionid
:
sessionID
,
wechattype
:
1
,
},
success
:
function
(
res3
)
{
success
:
function
(
res3
)
{
loading
.
hide
();
loading
.
hide
();
if
(
res3
.
code
==
"
10000
"
)
{
if
(
res3
.
code
==
"
10000
"
)
{
...
@@ -658,8 +719,10 @@
...
@@ -658,8 +719,10 @@
success
:
function
(
res2
)
{
success
:
function
(
res2
)
{
if
(
res2
.
code
==
"
10000
"
)
{
if
(
res2
.
code
==
"
10000
"
)
{
bankInfo
=
res2
.
results
;
bankInfo
=
res2
.
results
;
console
.
log
(
bankInfo
,
'
bankInfobankInfobankInfobankInfo
'
)
bankInfo
.
sessionid
=
sessionID
;
bankInfo
.
sessionid
=
sessionID
;
this_
.
bankInfo_
=
bankInfo
this_
.
bankInfo_
=
bankInfo
this_
.
bindCardNo
=
res2
.
results
.
bindCardNo
;
// 20211129
// 20211129
this_
.
openCardPhon
=
bankInfo
.
mobileNo
this_
.
openCardPhon
=
bankInfo
.
mobileNo
this_
.
queryBankInfo
();
this_
.
queryBankInfo
();
...
@@ -672,6 +735,34 @@
...
@@ -672,6 +735,34 @@
},
},
});
});
},
},
async
queryBindCardListBefore
()
{
let
this_
=
this
;
let
loading
=
weui
.
loading
(
"
请稍后
"
);
await
$
.
ajax
({
url
:
gHost
+
"
/bank-wechat/user/bank/bindingList
"
,
type
:
"
POST
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
{
cardNo
:
bankInfo
.
accountNo
,
schoolId
:
bankInfo
.
schoolId
,
userId
:
userID
,
sessionid
:
sessionID
,
wechattype
:
1
,
},
success
:
function
(
res4
)
{
loading
.
hide
();
if
(
res4
.
code
==
"
10000
"
)
{
this_
.
bindcardList
=
res4
.
results
;
console
.
log
(
this_
.
bindcardList
,
'
bindcardListbindcardListbindcardList
'
)
}
else
{
weui
.
topTips
(
res4
.
message
);
}
},
error
:
function
(
err
)
{
loading
.
hide
();
},
});
},
//查询用户信息
//查询用户信息
QueryUserInfo
()
{
QueryUserInfo
()
{
let
this_
=
this
;
let
this_
=
this
;
...
...
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