|
|
@@ -383,19 +383,25 @@ export default {
|
|
|
mprice: that.jyType == 2 ? that.listOBj[that.actionList].last : that.xzMoney,
|
|
|
musdt: that.jye,
|
|
|
buytype: that.jyType //1现价委托2市价委托
|
|
|
- }).then(res => {
|
|
|
- uni.hideLoading();
|
|
|
- that.upDataLoding = false;
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '交易成功',
|
|
|
- confirmText: '確認',
|
|
|
- showCancel: false
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ uni.hideLoading();
|
|
|
+ that.jye = '';
|
|
|
+ that.xzMoney = '';
|
|
|
+ that.upDataLoding = false;
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '交易成功',
|
|
|
+ confirmText: '確認',
|
|
|
+ showCancel: false
|
|
|
+ });
|
|
|
+ that.levertadeLaverorder();
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ that.jye = '';
|
|
|
+ that.xzMoney = '';
|
|
|
+ this.upDataLoding = false;
|
|
|
});
|
|
|
- obj.levertadeLaverorder();
|
|
|
- }).catch(err => {
|
|
|
- this.upDataLoding = false;
|
|
|
- });
|
|
|
}
|
|
|
if (that.typeIndex == 2) {
|
|
|
// 賣出
|
|
|
@@ -404,19 +410,25 @@ export default {
|
|
|
mprice: that.jyType == 2 ? that.listOBj[that.actionList].last : that.xzMoney,
|
|
|
mnum: that.payNum,
|
|
|
selltype: that.jyType //1现价委托2市价委托
|
|
|
- }).then(res => {
|
|
|
- uni.hideLoading();
|
|
|
- that.upDataLoding = false;
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '交易成功',
|
|
|
- confirmText: '確認',
|
|
|
- showCancel: false
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ uni.hideLoading();
|
|
|
+ that.upDataLoding = false;
|
|
|
+ that.mnum = '';
|
|
|
+ that.xzMoney = '';
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '交易成功',
|
|
|
+ confirmText: '確認',
|
|
|
+ showCancel: false
|
|
|
+ });
|
|
|
+ that.levertadeLaverorder();
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ that.mnum = '';
|
|
|
+ that.xzMoney = '';
|
|
|
+ that.upDataLoding = false;
|
|
|
});
|
|
|
- obj.levertadeLaverorder();
|
|
|
- }).catch(err => {
|
|
|
- this.upDataLoding = false;
|
|
|
- });
|
|
|
}
|
|
|
// that.bond().then(() => {
|
|
|
// UpOrderHandle({
|
|
|
@@ -812,7 +824,7 @@ export default {
|
|
|
.all {
|
|
|
width: 60rpx;
|
|
|
margin-right: 6rpx;
|
|
|
- font-size: $font-sm ;
|
|
|
+ font-size: $font-sm;
|
|
|
color: red;
|
|
|
}
|
|
|
.rightInputBox {
|