init
This commit is contained in:
26
wx214944c362629fc7/pages/user/tx.js
Normal file
26
wx214944c362629fc7/pages/user/tx.js
Normal file
@@ -0,0 +1,26 @@
|
||||
var a = getApp();
|
||||
|
||||
Page({
|
||||
data: {
|
||||
disabled: !1,
|
||||
zfb: "",
|
||||
phone: "",
|
||||
je: "",
|
||||
error: ""
|
||||
},
|
||||
onLoad: function(a) {},
|
||||
saveData: function(e) {
|
||||
var t = this, o = e.detail.value;
|
||||
"" !== o.zfb ? o.phone.length < 1 ? a.showError("手机号不能为空") : o.je.length < 1 ? a.showError("提现金额不能为空") : (t.setData({
|
||||
disabled: !0
|
||||
}), a._post_form("user/tx", o, function(e) {
|
||||
a.showSuccess(e.msg, function() {
|
||||
wx.navigateBack();
|
||||
});
|
||||
}, !1, function() {
|
||||
t.setData({
|
||||
disabled: !1
|
||||
});
|
||||
})) : a.showError("支福包帐号为空");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user