|
|
@@ -114,6 +114,16 @@ export default defineComponent({
|
|
|
message.error('请先签约银行!');
|
|
|
return;
|
|
|
}
|
|
|
+ const max = props.selectedRow.currentbalance;
|
|
|
+ if (max) {
|
|
|
+ if (formState.price > max) {
|
|
|
+ message.error(`提现金额不能超过${max}`);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ message.error('没有余额可提现');
|
|
|
+ return;
|
|
|
+ }
|
|
|
validateAction<FormState>(formRef, formState).then((res) => {
|
|
|
const signBank = getSignBank()!;
|
|
|
const param: buildOutMoneyReqParam = {
|