...
|
...
|
@@ -33,23 +33,29 @@ |
|
|
obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3'); //只能输入两个小数
|
|
|
}
|
|
|
$('.amountmoney').click(function () {
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: "{:url('Member/chooseGet')}",
|
|
|
data: {
|
|
|
'money':$('.remainmoney').val()
|
|
|
},
|
|
|
success: function (res) {
|
|
|
popup(res.message);
|
|
|
if(res.code == 1){
|
|
|
var money = $('.remainmoney').val();
|
|
|
if(money.length == 0){
|
|
|
popup('请输入提现金额');
|
|
|
}else{
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
url: "{:url('Member/chooseGet')}",
|
|
|
data: {
|
|
|
'money':$('.remainmoney').val()
|
|
|
},
|
|
|
success: function (res) {
|
|
|
popup(res.message);
|
|
|
if(res.code == 1){
|
|
|
|
|
|
}
|
|
|
console.log(res);
|
|
|
},
|
|
|
error: function (res) {
|
|
|
console.log(res);
|
|
|
}
|
|
|
console.log(res);
|
|
|
},
|
|
|
error: function (res) {
|
|
|
console.log(res);
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
})
|
|
|
</script>
|
|
|
</html> |
...
|
...
|
|