|
|
@ -1326,7 +1326,7 @@ |
|
|
|
<el-button @click="cancel(num)">{{ |
|
|
|
<el-button @click="cancel(num)">{{ |
|
|
|
$t('trade.table.header_cancel') |
|
|
|
$t('trade.table.header_cancel') |
|
|
|
}}</el-button> |
|
|
|
}}</el-button> |
|
|
|
<el-button type="primary" @click="subPay()">{{ |
|
|
|
<el-button type="primary" @click="subPay()" :disabled="tochange">{{ |
|
|
|
$t('trade.table.header_confirm') |
|
|
|
$t('trade.table.header_confirm') |
|
|
|
}}</el-button> |
|
|
|
}}</el-button> |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -1521,6 +1521,7 @@ export default { |
|
|
|
loading2: false, |
|
|
|
loading2: false, |
|
|
|
loading3: false, |
|
|
|
loading3: false, |
|
|
|
loading4: false, |
|
|
|
loading4: false, |
|
|
|
|
|
|
|
tochange: false, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
components: { |
|
|
|
components: { |
|
|
@ -2638,6 +2639,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//点击密码确定按钮 |
|
|
|
//点击密码确定按钮 |
|
|
|
subPay() { |
|
|
|
subPay() { |
|
|
|
|
|
|
|
this.tochange = true; //防止多次点击确认按钮 |
|
|
|
if (this.num == '1') { |
|
|
|
if (this.num == '1') { |
|
|
|
this.loading1 = true; |
|
|
|
this.loading1 = true; |
|
|
|
} else if (this.num == '2') { |
|
|
|
} else if (this.num == '2') { |
|
|
@ -2695,17 +2697,20 @@ export default { |
|
|
|
this.getFree(); //刷新可用额数据 |
|
|
|
this.getFree(); //刷新可用额数据 |
|
|
|
// 请求后关闭窗口 |
|
|
|
// 请求后关闭窗口 |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
this.loading1 = false; |
|
|
|
this.loading1 = false; |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
this.passdialogVisible = true; |
|
|
|
this.passdialogVisible = true; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.loading1 = false; |
|
|
|
this.loading1 = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.inputpassword = ''; //清空密码 |
|
|
|
this.inputpassword = ''; //清空密码 |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.$message.warning(res.data.msg); |
|
|
@ -2747,17 +2752,20 @@ export default { |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
// 请求后关闭窗口 |
|
|
|
// 请求后关闭窗口 |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
this.loading2 = false; |
|
|
|
this.loading2 = false; |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
this.passdialogVisible = true; |
|
|
|
this.passdialogVisible = true; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.loading2 = false; |
|
|
|
this.loading2 = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
@ -2797,17 +2805,20 @@ export default { |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
// 请求后关闭窗口 |
|
|
|
// 请求后关闭窗口 |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
this.loading3 = false; |
|
|
|
this.loading3 = false; |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
this.passdialogVisible = true; |
|
|
|
this.passdialogVisible = true; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.loading3 = false; |
|
|
|
this.loading3 = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
@ -2841,17 +2852,20 @@ export default { |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
this.getFree(); //刷新数据 |
|
|
|
// 请求后关闭窗口 |
|
|
|
// 请求后关闭窗口 |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
} else if (res.data.code === 12710) { |
|
|
|
this.loading4 = false; |
|
|
|
this.loading4 = false; |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.$message.error(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
// 密码输入框出现,清除缓存 |
|
|
|
this.passdialogVisible = true; |
|
|
|
this.passdialogVisible = true; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userpass'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('userdate'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
localStorage.removeItem('nowPassNOValue'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.loading4 = false; |
|
|
|
this.loading4 = false; |
|
|
|
|
|
|
|
this.tochange = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.passdialogVisible = false; |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.$message.warning(res.data.msg); |
|
|
|
this.inputpassword = ''; |
|
|
|
this.inputpassword = ''; |
|
|
|