|
|
@@ -104,7 +104,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 失败弹窗 -->
|
|
|
- <cwg-error-popup v-model:visible="dialogError" @confirm="closeDia" />
|
|
|
+ <cwg-error-popup v-model:visible="dialogError" @confirm="closeDia" :responseMessage="RES" />
|
|
|
<!-- 成功弹窗 -->
|
|
|
<cwg-success-popup v-model:visible="dialogSuccess" @confirm="closeDia" />
|
|
|
<!-- 等待弹窗 -->
|
|
|
@@ -141,7 +141,7 @@ const $pigeon = proxy?.$pigeon
|
|
|
// 响应式数据
|
|
|
const loginValue = ref(null)
|
|
|
const flag = ref(false)
|
|
|
-const responseMessage = ref('') // 弹窗响应信息
|
|
|
+const RES = ref('') // 弹窗响应信息
|
|
|
const loginOptions = ref([])
|
|
|
const toOptions = ref([])
|
|
|
// 跨系统内转下拉数据
|
|
|
@@ -324,19 +324,18 @@ const toTransfer = async () => {
|
|
|
dialogCheck.value = true;
|
|
|
dialogVisible.value = true;
|
|
|
} else {
|
|
|
- responseMessage.value = res.msg;
|
|
|
+ RES.value = res.msg;
|
|
|
dialogCheck.value = true;
|
|
|
dialogVisible.value = false;
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.log(error, 12121);
|
|
|
-
|
|
|
if (error instanceof Array) {
|
|
|
uni.showToast({ title: error[0].errorMessage, icon: 'none' });
|
|
|
return
|
|
|
} else {
|
|
|
console.log(232312);
|
|
|
- responseMessage.value = error.msg;
|
|
|
+ RES.value = error.msg;
|
|
|
dialogCheck.value = true;
|
|
|
dialogVisible.value = false;
|
|
|
}
|
|
|
@@ -479,12 +478,12 @@ const resetForm = async () => {
|
|
|
formRef.value?.clearValidate();
|
|
|
form.customBankCode = ""
|
|
|
form.depositLogin = null
|
|
|
- form.withdrawLogin = null
|
|
|
+ // form.withdrawLogin = null
|
|
|
form.amount = ""
|
|
|
amountErrorMessage.value = ""
|
|
|
submitting.value = false;
|
|
|
flag.value = false;
|
|
|
- loginValue.value = null
|
|
|
+ // loginValue.value = null
|
|
|
}
|
|
|
// 侦听器
|
|
|
watch(loginValue, (newVal) => {
|