cus-transfer.a93cbcbe.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cus-transfer"],{"1c45":function(t,s,a){"use strict";var e=a("ff2d");class i extends e["a"]{constructor(){super()}async MamSubsApprove(t={}){let s=await this.postAll("Host90","/mam/subs/approve",t);return s}async MamSubsApply(t={}){let s=await this.postAll("Host90","/mam/subs/apply",t);return s}async MamSubsInfo(t={}){let s=await this.postAll("Host90","/mam/subs/info",t);return s}async MamLeverageApplyAdd(t={}){let s=await this.postAll("Host90","/mam/leverage/apply/add",t);return s}async MamPwdResetAdd(t={}){let s=await this.postAll("Host90","/mam/pwd/reset/add",t);return s}async MamRepwdAdd(t={}){let s=await this.postAll("Host90","/mam/repwd/add",t);return s}async ChangeInvestorOassword(t={}){let s=await this.postAll("Host80","/account/settings/change/investor/password/add",t);return s}async MamList(t={}){let s=await this.postAll("Host90","/mam/list",t);return s}async MamApplyApprove(t={}){let s=await this.postAll("Host90","/mam/apply/approve",t);return s}async MamApplyAdd(t={}){let s=await this.postAll("Host90","/mam/apply/add",t);return s}async MamApplyData(t={}){let s=await this.postAll("Host90","/mam/apply/data",t);return s}async excludeShowLogin(t={}){let s=await this.postAll("Host80","/account/apply/exclude/show/login/type",t);return s}async TradePending(t={}){let s=await this.postAll("Host90","/trade/pending",t);return s}async TradePosition(t={}){let s=await this.postAll("Host90","/trade/position",t);return s}async TradeHistory(t={}){let s=await this.postAll("Host90","/trade/sharding/history",t);return s}async agentBalanceTransfer(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/add/imd",t);return s}async agentBalanceTransferFrom(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/from",t);return s}async agentTransferToList(t={}){let s=await this.postAll("Host90","/account/directAccount",t);return s}async CommissionApplyRecording(t={}){let s=await this.postAll("Host90","/custom/commission/apply/list",t);return s}async agentBalanceTransferRecording(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/search/list",t);return s}async mamSubsApplyRecording(t={}){let s=await this.postAll("Host90","/mam/subs/apply/list",t);return s}async IbData(t={}){let s=await this.postAll("Host90","/ib/data",t);return s}async IbSubs(t={}){let s=await this.postAll("Host90","/ib/subs",t);return s}async accountSubs(t={}){let s=await this.postAll("Host90","/account/list",t);return s}async customerSubs(t={}){let s=await this.postAll("Host90","/custom/info/belongs",t);return s}async customerSubsList(t={}){let s=await this.postAll("Host90","/custom/info/belongs/list",t);return s}async customerSubsStatistics(t={}){let s=await this.postAll("Host90","/custom/info/belongs/statistics",t);return s}async customCommissionApply(t={}){let s=await this.postAll("Host90","/custom/commission/apply/add",t);return s}async customCommissionPoint(t={}){let s=await this.postAll("Host90","/custom/info/update/point",t);return s}async accountBelongChange(t={}){let s=await this.postAll("Host90","/account/belong/change/add",t);return s}async accountBelongChangeIb(t={}){let s=await this.postAll("Host90","/account/belong/change/agents",t);return s}async sysPointList(t={}){let s=await this.postAll("Host90","/sys/point/list",t);return s}async sysPointDelete(t={}){let s=await this.postAll("Host90","/sys/point/delete",t);return s}async sysPointUpdate(t={}){let s=await this.postAll("Host90","/sys/point/update",t);return s}async sysPointSingle(t={}){let s=await this.postAll("Host90","/sys/point/single",t);return s}async AgentPointChangeApply(t={}){let s=await this.postAll("Host90","/agent/point/change/apply",t);return s}async AgentPointChangeData(t={}){let s=await this.postAll("Host90","/agent/point/change/data",t);return s}async SysPointPoints(t={}){let s=await this.postAll("Host90","/sys/point/points",t);return s}async SysCentValid(t={}){let s=await this.postAll("Host90","/sys/point/centValid",t);return s}async SysPointAdd(t={}){let s=await this.postAll("Host90","/sys/point/add",t);return s}async getChartInfo(t={}){let s=await this.postAll("Host80","/index/chart/list",t);return s}async tradeDw(t={}){let s=await this.postAll("Host90","/trade/dw",t);return s}async tradeAccount(t={}){let s=await this.postAll("Host90","/trade/account",t);return s}async tradeAgentCommission(t={}){let s="/trade/agent/commission/vn",a=await this.postAll("Host90",s,t);return a}async tradeIb(t={}){let s=await this.postAll("Host90","/ib/report/new",t);return s}async tradePendingHistory(t={}){let s=await this.postAll("Host90","/trade/pending/history",t);return s}async tradePending(t={}){let s=await this.postAll("Host90","/trade/pending",t);return s}async tradePosition(t={}){let s=await this.postAll("Host90","/trade/position",t);return s}async tradeHistory(t={}){let s=await this.postAll("Host90","/trade/sharding/history",t);return s}async ibReportBalance(t={}){let s=await this.postAll("Host90","/ib/report/balance",t);return s}async tradeSymbolCategory(t={}){let s=await this.postAll("Host90","/trade/symbol/category",t);return s}async mamApplyList(t={}){let s=await this.postAll("Host90","/mam/apply/list",t);return s}async mamLeverageApplyList(t={}){let s=await this.postAll("Host90","/mam/leverage/apply/list",t);return s}async agentBalanceTransferList(t={}){let s=await this.postAll("Host90","/agent/balance/transfer/search/list",t);return s}async customCommissionApplyList(t={}){let s=await this.postAll("Host90","/custom/commission/apply/list",t);return s}async agentBelongChangeList(t={}){let s=await this.postAll("Host90","/account/belong/change/search/list",t);return s}async agentPointChangeList(t={}){let s=await this.postAll("Host90","/agent/point/change/list",t);return s}async agentWithdrawList(t={}){let s=await this.postAll("Host90","/finance/agent/withdraw/search/list",t);return s}async CustomRecordAccount(t={}){let s=await this.postAll("Host80","/custom/apply/list",t);return s}async reasonsRefusalList(t={}){let s=await this.postAll("Host80","/reasons/refusal/list",t);return s}async ibTree(t={}){let s=await this.postAll("Host90","/ib/tree",t);return s}async customUpdateIbInvalid(t={}){let s=await this.postAll("Host90","/custom/info/update/ibInvalid",t);return s}async CustomDropdown(t={}){let s=await this.postAll("Host80","/account/dropdown",t);return s}async accountCustomList(t={}){let s=await this.postAll("Host90","/account/custom/list",t);return s}async agentTransferApply(t={}){let s=await this.postAll("Host04","/agent/transfer/apply",t);return s}async agentTransCtaferApply(t={}){let s=await this.postAll("Host04","/agent/transfer/cta/apply",t);return s}async agentTransferList(t={}){let s=await this.postAll("Host04","/agent/transfer/list",t);return s}async mamApplyPammManagerValid(t={}){let s=await this.postAll("Host90","/mam/apply/pammManagerValid",t);return s}async mamApplyPammManagerLogins(t={}){let s=await this.postAll("Host90","/mam/apply/pamm/logins",t);return s}async mamApplyPammManagerAdd(t={}){let s=await this.postAll("Host90","/mam/apply/add",t);return s}async withdrawCancel(t={}){let s=await this.postAll("Host90","/finance/agent/withdraw/cancel",t);return s}async applyPercent(t={}){let s=await this.postAll("Host90","/pm/percent/change",t);return s}async followDealAgentSearchList(t={}){let s=await this.postAll("Host87","/follow/deal/agent/search/list",t);return s}async followDealAgentUpdate(t={}){let s=await this.postAll("Host87","/follow/deal/agent/update",t);return s}async customUpdateFollowPermissionDisplay(t={}){let s=await this.postAll("Host90","/custom/info/update/follow/permissionDisplay",t);return s}async marketAgentLinkList(t={}){let s=await this.postAll("Host90","/market/agent/link/list",t);return s}async pammListSubs(t={}){let s=await this.postAll("Host90","/pamm/subs",t);return s}async customLink(t={}){let s=await this.postAll("Host90","/custom/register/link/hash",t);return s}async customLinkCode(t={}){let s=await this.postAll("Host90","/custom/register/link/code",t);return s}async IbAgentSetting(t={}){let s=await this.postAll("Host90","/ib/agent/setting",t);return s}async loginTypeList(t={}){let s=await this.postAll("Host80","/login/type/search/list",t);return s}async tradeSalesHidden(t={}){let s=await this.postAll("Host90","/trade/hidden/rebate",t);return s}async getWebsdkLink1(t={}){let s=await this.postAll("Host04","/agent/withdraw/getWebsdkLink",t);return s}async agentHiddenPointSearchSingle(t={}){let s=await this.postAll("Host90","/agent/hidden/point/search/single",t);return s}async agentHiddenPointAdd(t={}){let s=await this.postAll("Host90","/agent/hidden/point/add",t);return s}async ibTreeForTransfer(t={}){let s=await this.postAll("Host90","/ib/tree",t);return s}async agentBalanceCommissionAdd(t={}){let s=await this.postAll("Host90","/agent/balance/commission/add",t);return s}async agentBalanceCommissionSearchList(t={}){let s=await this.postAll("Host90","/agent/balance/commission/search/list",t);return s}async getVietnamPoints(t={}){let s=await this.postAll("Host90","/agent/point/vn/points",t);return s}async saveVietnamPoints(t={}){let s=await this.postAll("Host90","/agent/point/vn/save",t);return s}async customLinkAdd(t={}){let s=await this.postAll("Host90","/agent/custom/link/add",t);return s}async customLinkSearchList(t={}){let s=await this.postAll("Host90","/agent/custom/link/search/list",t);return s}async customLinkTypes(t={}){let s=await this.postAll("Host90","/custom/register/link/types",t);return s}async agentApplyAddPoint(t={}){let s=await this.postAll("Host80","/agent/apply/add/point",t);return s}async realCustomerUpdatePoint(t={}){let s=await this.postAll("Host90","/custom/info/update/point",t);return s}async getLoginPoint(t={}){let s=await this.postAll("Host90","/custom/info/login/point",t);return s}async getRegisterLinkTypes(t={}){let s=await this.postAll("Host90","/custom/register/link/types",t);return s}}s["a"]=new i},"5ba5":function(t,s,a){"use strict";a("fa03")},"9dec":function(t,s,a){},a1a2:function(t,s,a){"use strict";var e=a("ff2d");class i extends e["a"]{constructor(){super()}async reasonsRefusalList(t={}){let s=await this.postAll("Host80","/reasons/refusal/list",t);return s}async BalanceList(t={}){let s=await this.postAll("Host04","/balance/list",t);return s}async PayBankCode(t,s={}){let a=await this.postAll("Host04",t,s);return a}async PayDealResult(t,s={}){let a=await this.postAll("Host04",t,s);return a}async WithdrawApplyBank(t,s={}){let a=await this.postAll("Host04",t,s);return a}async WithdrawAapplyDigitalCurrency(t,s={}){let a=await this.postAll("Host04",t,s);return a}async BankList(t={}){let s=await this.postAll("Host04","/channel/bank/list",t);return s}async RemitChannelList(t={}){let s=await this.postAll("Host04","/remit/channel/list",t);return s}async RemittanceChannelList(t={}){let s=await this.postAll("Host04","/remittance/channel/list",t);return s}async TransferApply(t={}){let s=await this.postAll("Host04","/transfer/apply",t);return s}async TransferList(t={}){let s=await this.postAll("Host04","/transfer/list",t);return s}async transferInfo(t={}){let s=await this.postAll("Host04","/transfer/info",t);return s}async getAgentList(t={}){let s=await this.postAll("Host80","/account/agent/list",t);return s}async telegraphicPay(t={}){let s=await this.postAll("Host04","/telegraphic/pay",t);return s}async customBankList(t={}){let s=await this.postAll("Host80","/custom/bank/list",t);return s}async digitalPay(t={}){let s=await this.postAll("Host04","/digital/pay",t);return s}async remainingReductionNumber(t={}){let s=await this.postAll("Host04","/withdraw/remaining/reduction/number",t);return s}async ibWithdrawApplyBank(t,s={}){let a=await this.postAll("Host04","/agent"+t,s);return a}async ibWithdrawAapplyDigitalCurrency(t,s={}){let a=await this.postAll("Host04","/agent"+t,s);return a}async withdrawCancel(t={}){let s=await this.postAll("Host04","/withdraw/cancel",t);return s}async withdrawCancelBackstage(t={}){let s=await this.postAll("Host04","/withdraw/cancel/backstage",t);return s}async depositCheckExistSuccess(t={}){let s=await this.postAll("Host04","/finance/deposit/check/exist/success",t);return s}async withdrawCode(t={}){let s=await this.postAll("Host04","/withdraw/apply/digital/currency/send/code",t);return s}async getWebsdkLink(t={}){let s=await this.postAll("Host04","/withdraw/getWebsdkLink",t);return s}}s["a"]=new i},bea0:function(t,s,a){"use strict";a("9dec")},f97d:function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t._self._c;return s("div",{attrs:{id:"custom_Transfer"}},[s("div",{staticClass:"crm-title-box"},[s("div",{staticClass:"tit"},[s("span",{directives:[{name:"t",rawName:"v-t",value:"Home.page_customer.item5",expression:"'Home.page_customer.item5'"}]})])]),s("div",{staticClass:"main-content"},[s("div",{staticClass:"box box-step1"},[s("div",{staticClass:"b-card"},[s("el-row",{staticClass:"card-top"},[s("el-col",{attrs:{span:24}},[s("p",{staticClass:"tit"},[s("i",{staticClass:"el-icon-caret-right"}),s("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Title1",expression:"'Custom.Transfer.Title1'"}]})])]),s("el-col",{attrs:{span:24}},[s("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.value,callback:function(s){t.value=s},expression:"value"}},t._l(t.loginOptions,(function(a,e){return s("el-option",{key:e,attrs:{label:a.login+" - "+t.groupTypeName(a.type)+" - "+t.$t("Custom.Deposit.AvailableBalance")+t.groupCurrency(a.currency)+a.balance,value:a.login,disabled:!(-1==a.closeFunctions.indexOf("5"))||!(-1==a.closeFunctions.indexOf("6"))||"agent"===t.transferType&&-1!==a.closeFunctions.indexOf("3")||"internal"===t.transferType&&-1!==a.closeFunctions.indexOf("7")}})})),1)],1)],1)],1)]),t.step2?s("div",{staticClass:"box box-step2"},[s("div",{staticClass:"b-card"},[s("div",{staticClass:"b-card"},[s("el-row",{staticClass:"card-top"},[s("el-col",{staticClass:"card-tit",attrs:{span:24}},[s("div",[s("p",{staticClass:"tit"},[s("i",{staticClass:"el-icon-caret-right"}),s("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Title2",expression:"'Custom.Transfer.Title2'"}]})])])]),s("el-col",{attrs:{span:24}},[s("el-select",{staticStyle:{"margin-bottom":"15px"},attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},on:{change:t.changeTransferType},model:{value:t.transferType,callback:function(s){t.transferType=s},expression:"transferType"}},[s("el-option",{attrs:{label:t.$t("Home.page_customer.item5"),value:"internal"}}),1==t.getInfoAgentTransfer?s("el-option",{attrs:{label:t.$t("Home.page_ib.item9"),value:"agent"}}):t._e()],1)],1),s("el-form",{ref:"form",staticClass:"form",attrs:{model:t.form,rules:t.rules,"label-position":"top"}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"",label:t.$t("Custom.Transfer.TransferAccounts")}},[s("el-select",{attrs:{filterable:"",disabled:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.withdrawLogin,callback:function(s){t.$set(t.form,"withdrawLogin",s)},expression:"form.withdrawLogin"}},t._l(t.loginOptions,(function(a,e){return s("el-option",{key:e,attrs:{label:a.login+"-"+t.groupTypeName(a.type)+"-$"+a.balance,value:a.login}})})),1)],1)],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"depositLogin",label:t.$t("Custom.Transfer.IntoAccount")}},[s("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.depositLogin,callback:function(s){t.$set(t.form,"depositLogin",s)},expression:"form.depositLogin"}},t._l(t.toOptions,(function(a,e){return s("el-option",{key:e,attrs:{label:a.login+" - "+(a.cId||"--")+" - "+t.groupTypeName(a.type)+" - "+t.$t("Custom.Deposit.AvailableBalance")+t.groupCurrency(a.currency)+a.balance,value:a.login,disabled:"agent"===t.transferType&&-1!==a.closeFunctions.indexOf("3")||"internal"===t.transferType&&-1!==a.closeFunctions.indexOf("7")}})})),1)],1)],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"currency",label:t.$t("Custom.Transfer.CurrencyType")}},[s("el-select",{attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.form.currency,callback:function(s){t.$set(t.form,"currency",s)},expression:"form.currency"}},[s("el-option",{attrs:{label:"USD",value:"USD"}})],1)],1)],1),s("el-col",{attrs:{span:12}},[s("el-form-item",{attrs:{prop:"amount",label:t.$t("Custom.Transfer.Amount")}},[s("el-input",{staticClass:"m-input",attrs:{autocomplete:"off"},model:{value:t.form.amount,callback:function(s){t.$set(t.form,"amount","string"===typeof s?s.trim():s)},expression:"form.amount"}})],1)],1),s("el-col",{attrs:{span:24}},[s("el-form-item",[s("div",{staticClass:"tips"},[s("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips",expression:"'Custom.Transfer.Tips'"}],staticClass:"title"}),s("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips1",expression:"'Custom.Transfer.Tips1'"}]}),s("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips2",expression:"'Custom.Transfer.Tips2'"}]}),s("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips3",expression:"'Custom.Transfer.Tips3'"}]}),s("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Transfer.Tips4",expression:"'Custom.Transfer.Tips4'"}]})])])],1),s("el-col",{attrs:{span:24}},[s("el-form-item",[s("el-button",{staticClass:"s-btn",attrs:{type:"primary"},on:{click:function(s){return t.toTransfer("form")}}},["es"===t.$i18n.locale?s("span",[t._v("Enviar solicitud")]):s("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Submit",expression:"'Btn.Submit'"}]})])],1)],1)],1)],1)],1)])]):t._e()]),s("el-dialog",{attrs:{visible:t.dialogCheck,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(s){t.dialogCheck=s}}},[t.dialogVisible?s("div",{staticClass:"dia-content"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"iconfont iconchenggong"})]),s("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des1",expression:"'ApplicationDialog.Des1'"}],staticClass:"des1"}),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)]):t._e(),t.dialogVisible?t._e():s("div",{staticClass:"dia-content"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"iconfont iconjingshi"})]),s("div",{staticClass:"des1"},[t._v(t._s(t.RES))]),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:t.closeDia}}),s("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)])]),s("el-dialog",{attrs:{visible:t.dialogCheckWait,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(s){t.dialogCheckWait=s}}},[s("div",{staticClass:"dia-content"},[s("div",{staticClass:"icon"},[s("i",{staticClass:"iconfont icondengdai"})]),s("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des38",expression:"'ApplicationDialog.Des38'"}],staticClass:"des1"})])])],1)},i=[],n=(a("d9e2"),a("14d9"),a("e9f5"),a("f665"),a("7d54"),a("fa1c")),o=a("6df7"),l=a("a1a2"),r=a("1c45"),c=a("f121"),p=a.n(c);let{Code:u}=p.a;var d={name:"Transfer",data(){return{flag:!1,RES:"",loginOptions:[],toOptions:[],step2:!1,value:"",transferType:"internal",mAmount:{minAmount:"",maxAmount:""},form:{currency:"USD",depositLogin:null},dialogCheck:!1,dialogVisible:!1,dialogCheckWait:!1,rules:{amount:[{validator:(t,s,a)=>{s&&(this.mAmount.minAmount>s||this.mAmount.maxAmount<s)&&a(new Error(this.$i18n.t("vaildate.amount.amount")+this.mAmount.minAmount+"-"+this.mAmount.maxAmount)),/^[0-9]+([.]{1}[0-9]{1,2})?$/.test(s)?a():a(new Error(this.$i18n.t("vaildate.amount.format")))},required:!0,trigger:"blur"}],depositLogin:[{required:!0,validator:(t,s,a)=>{s?a():a(new Error(this.$i18n.t("vaildate.select.empty")))},trigger:"change"}]}}},computed:{getInfoAgentTransfer(){return JSON.parse(this.Session.Get("user",!0)).customInfo.agentTransfer}},methods:{showCentAccountTransferTip(t){const s=this.loginOptions.find(s=>String(s.login)===String(t));if(!s)return;const a="8"===String(s.type)||"USC"===s.currency;a&&this.$pigeon.MessageConfirm(this.$i18n.t("Custom.Transfer.CentAccountTransferTips"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"))},groupCurrency(t){return"GBP"==t?": £":"USD"==t?": $":"EUR"==t?": €":"USC"==t?": ¢":": $"},groupCurrency1(t){return"GBP"==t?"£":"USD"==t?"$":"EUR"==t?"€":"USC"==t?"¢":"$"},groupTypeName(t){return"1"==t?this.$i18n.t("AccountType.ClassicAccount"):"2"==t?this.$i18n.t("AccountType.SeniorAccount"):"3"==t?Object(n["a"])()?"--":this.$i18n.t("AccountType.AgencyAccount"):"5"==t||"6"==t?this.$i18n.t("AccountType.SpeedAccount"):"7"==t?this.$i18n.t("AccountType.StandardAccount"):"8"==t?this.$i18n.t("AccountType.CentAccount"):void 0},closeDia(){this.$refs["form"].resetFields(),this.step2=!1,this.value="",this.transferType="internal",this.dialogCheck=!1,this.dialogVisible=!1},changeTransferType(t){console.log(t),this.form.depositLogin&&(this.form.depositLogin=null)},toTransfer:async function(){this.$refs["form"].validate(async t=>{if(!t)return!1;{if(this.transferType,this.flag)return;let t;this.flag=!0,this.dialogCheckWait=!0,"internal"===this.transferType?t=await l["a"].TransferApply({...this.form}):"agent"===this.transferType&&(t=await r["a"].agentTransCtaferApply({...this.form})),this.dialogCheckWait=!1,t.code==u.StatusOK?(this.dialogCheck=!0,this.dialogVisible=!0,this.flag=!1):(this.RES=t.msg,this.dialogCheck=!0,this.dialogVisible=!1,this.flag=!1)}})},cancle(){this.step2=!1,this.value="",this.transferType="internal"},getDateList:async function(){let t=await o["a"].CustomDropdown({platform:""});t.code==u.StatusOK?(this.loginOptions=t.data,this.$route.query.login&&(this.value=this.$route.query.login+" - "+this.groupTypeName(this.$route.query.type)+" - "+this.$t("Custom.Deposit.AvailableBalance")+this.groupCurrency(this.$route.query.currency)+this.$route.query.balance,this.step2=!0,this.form.withdrawLogin=this.$route.query.login,this.toOptions=[],"internal"===this.transferType?this.loginOptions.forEach(t=>{t.login!=this.value&&this.toOptions.push(t)}):"agent"===this.transferType&&this.getAgentList())):this.$pigeon.MessageError(t.msg)},getAgentList:async function(){let t=await l["a"].getAgentList({});t.code==u.StatusOK?this.toOptions=t.data:this.$pigeon.MessageError(t.msg)},getAmount:async function(){let t=await l["a"].transferInfo({});t.code==u.StatusOK?this.mAmount=t.data:this.$pigeon.MessageError(t.msg)}},mounted(){this.getDateList(),this.getAmount()},watch:{value:function(t){if(t){this.step2=!0;const s="string"===typeof t&&t.includes(" - ")?t.split(" - ")[0].trim():t;this.form.withdrawLogin=Number(s),this.showCentAccountTransferTip(s),this.toOptions=[],"internal"===this.transferType?this.loginOptions.forEach(s=>{s.login!=t&&this.toOptions.push(s)}):"agent"===this.transferType&&this.getAgentList()}},transferType:function(t){this.value&&this.step2&&(this.toOptions=[],"internal"===t?this.loginOptions.forEach(t=>{t.login!=this.value&&this.toOptions.push(t)}):"agent"===t&&this.getAgentList())}}},m=d,h=(a("bea0"),a("5ba5"),a("2877")),y=Object(h["a"])(m,e,i,!1,null,"75d28a81",null);s["default"]=y.exports},fa03:function(t,s,a){},fa1c:function(t,s,a){"use strict";function e(){const t=new Date,s=new Date(2025,6,28,0,0,0);return t>=s}a.d(s,"a",(function(){return e}))}}]);