| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["ib-withdraw"],{"425e":function(e,t,a){},"53fa":function(e,t,a){"use strict";var n=a("425e"),r=a.n(n);r.a},"59bc":function(e,t,a){"use strict";var n=a("9fc3"),r=a.n(n);r.a},"9fc3":function(e,t,a){},a1a2:function(e,t,a){"use strict";a("96cf");var n=a("1da1"),r=a("d4ec"),i=a("bee2"),s=a("262e"),o=a("2caf"),l=a("ff2d"),c=function(e){Object(s["a"])(a,e);var t=Object(o["a"])(a);function a(){return Object(r["a"])(this,a),t.call(this)}return Object(i["a"])(a,[{key:"reasonsRefusalList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host80","/reasons/refusal/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"BalanceList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/balance/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"PayBankCode",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04",t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"PayDealResult",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04",t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"WithdrawApplyBank",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04",t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"WithdrawAapplyDigitalCurrency",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04",t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"BankList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/channel/bank/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"RemitChannelList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/remit/channel/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"RemittanceChannelList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/remittance/channel/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"TransferApply",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/transfer/apply",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"TransferList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/transfer/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"transferInfo",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/transfer/info",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"telegraphicPay",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/telegraphic/pay",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customBankList",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host80","/custom/bank/list",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"digitalPay",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/digital/pay",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"remainingReductionNumber",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/withdraw/remaining/reduction/number",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"ibWithdrawApplyBank",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04","/agent"+t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"ibWithdrawAapplyDigitalCurrency",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){var a,n,r=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=r.length>1&&void 0!==r[1]?r[1]:{},e.next=3,this.postAll("Host04","/agent"+t,a);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"withdrawCancel",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/withdraw/cancel",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawCancelBackstage",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/withdraw/cancel/backstage",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"depositCheckExistSuccess",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/finance/deposit/check/exist/success",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"withdrawCode",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,a,n=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e.next=3,this.postAll("Host04","/withdraw/apply/digital/currency/send/code",t);case 3:return a=e.sent,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),a}(l["a"]);t["a"]=new c},fed4:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],attrs:{id:"ib_withdraw","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"crm-title-box"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Title",expression:"'Custom.Withdraw.Title'"}]})])]),a("div",{staticClass:"main-content"},[e._e(),a("div",{staticClass:"box box-step2"},[a("div",{staticClass:"b-card"},[a("el-row",{staticClass:"card-top"},[a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Title22",expression:"'Custom.Deposit.Title22'"}]})])]),e._l(e.tableData,(function(t,n){return a("el-col",{key:n,attrs:{span:24}},[t.length&&"BANK_TELEGRAPHIC"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Channel1",expression:"'Custom.Deposit.Channel1'"}]})]):e._e(),t.length&&"BANK"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Channel2",expression:"'Custom.Deposit.Channel2'"}]})]):e._e(),t.length&&"DIGITAL_CURRENCY"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Channel3",expression:"'Custom.Deposit.Channel3'"}]})]):e._e(),t.length&&"CHANNEL_TYPE_WALLET"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Channel4",expression:"'Custom.Deposit.Channel4'"}]})]):e._e(),t.length&&"CHANNEL_TYPE_CARD"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"PersonalManagement.Label.CreditCard",expression:"'PersonalManagement.Label.CreditCard'"}]})]):e._e(),t.length&&"CHANNEL_TYPE_ALI_WALLET"==t[0].type?a("p",{staticClass:"channelType"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.Ali",expression:"'Label.Ali'"}]})]):e._e(),a("el-table",{directives:[{name:"show",rawName:"v-show",value:t.length,expression:"item.length"}],staticClass:"crm_tab_header",staticStyle:{width:"100%","margin-bottom":"20px"},attrs:{data:t}},[a("el-table-column",{attrs:{align:"center",width:"200",label:e.$t("news_add_field.Label.PaymentMethod")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("img",{staticStyle:{width:"180px"},attrs:{src:e.imgUrl+t.row.icon,alt:""}})]}}],null,!0)}),a("el-table-column",{attrs:{prop:"",align:"center",width:e.lang?"110":"",label:e.$t("Label.Describe")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("cn"==e.isLanguage?t.row.name:t.row.enName)+" ")]}}],null,!0)}),a("el-table-column",{attrs:{prop:"",align:"center",width:e.lang?"100":"",label:e.$t("Label.ProcessingTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.fundingTime||"-")+" ")]}}],null,!0)}),a("el-table-column",{attrs:{prop:"",align:"center",label:e.$t("Label.Fee")},scopedSlots:e._u([{key:"default",fn:function(t){return[null!=t.row.free?a("span",[e._v(e._s(t.row.free)+"%")]):a("span",[e._v(e._s("-"))])]}}],null,!0)}),a("el-table-column",{attrs:{width:"120",align:"center",label:e.$t("Label.Action")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"s-btn",class:{active:e.step3},attrs:{type:"primary"},on:{click:function(a){return e.isShowStep3(t.row)}}},[e.step3?a("i",{staticClass:"el-icon-check"}):e._e(),e.step3?e._e():a("i",{staticClass:"el-icon-caret-right"}),e.step3?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Selected",expression:"'Custom.Deposit.Selected'"}]}):e._e(),e.step3?e._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Choose",expression:"'Custom.Deposit.Choose'"}]})])]}}],null,!0)})],1)],1)})),e.step3?a("el-col",{attrs:{span:24}},[a("el-button",{staticClass:"s-btn reselect",attrs:{type:"primary"},on:{click:e.showTable}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Reselect",expression:"'Custom.Deposit.Reselect'"}]})])],1):e._e()],2)],1)]),e.step3?a("div",{staticClass:"box box-step3"},[a("div",{staticClass:"b-card"},[a("el-row",{staticClass:"card-top"},[e.isStep3?e._e():a("el-col",{attrs:{span:24}},[a("div",{staticClass:"step3-attention"},[a("div",{staticClass:"attention",domProps:{innerHTML:e._s(-1!=["cn","zhHant"].indexOf(e.Session.Get("lang"))?e.introduce.introduce:e.introduce.enIntroduce)}}),a("div",{staticClass:"btn-bottom"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],staticClass:"btn crm-cursor",on:{click:function(t){e.isStep3=!0}}})])])]),e.isStep3?a("el-form",{ref:"form",staticClass:"form",attrs:{model:e.form,rules:e.rules,"label-position":"top"}},[e.bankDate.length&&e.isStep3?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Title4",expression:"'Custom.Deposit.Title4'"}]})])]):e._e(),e.bankDate.length&&e.isStep3?a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"bankCode"}},[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:""},model:{value:e.form.bankCode,callback:function(t){e.$set(e.form,"bankCode",t)},expression:"form.bankCode"}},e._l(e.bankDate,(function(t,n){return a("el-option",{key:n,attrs:{label:-1!=["cn","zhHant"].indexOf(e.Session.Get("lang"))?t.name:t.enName,value:t.code}})})),1)],1)],1):e._e(),"CHANNEL_TYPE_WALLET"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Title7",expression:"'Custom.Withdraw.Title7'"}]})])]):e._e(),"CHANNEL_TYPE_ALI_WALLET"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Label.AliAccout",expression:"'Label.AliAccout'"}]})])]):e._e(),"CHANNEL_TYPE_WALLET"!=e.channelData.type&&"CHANNEL_TYPE_ALI_WALLET"!=e.channelData.type||!e.isStep3?e._e():a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{prop:"address"}},[a("el-input",{staticClass:"m-input",attrs:{autocomplete:"off"},model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1)],1),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3?a("el-col",{staticClass:"card-tit",attrs:{span:24}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","flex-wrap":"wrap"}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Title6",expression:"'Custom.Withdraw.Title6'"}]})]),a("div",{staticClass:"add-back"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"blockchain.item10",expression:"'blockchain.item10'"}]}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addBank1",expression:"'Custom.Withdraw.addBank1'"}],staticClass:"add-btn crm-cursor",on:{click:function(t){return e.openAddBankCard("add_bankBlockchain")}}})])])]):e._e(),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("el-form-item",[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:"",placeholder:e.$t("placeholder.choose")},model:{value:e.myId,callback:function(t){e.myId=t},expression:"myId"}},e._l(e.ruleForm.bankBlockchain,(function(t,n){return a("el-option",{key:n,attrs:{label:t.addressName+"-"+t.address,value:t.id},nativeOn:{click:function(a){return e.chooseBank(t)}}})})),1)],1)],1):e._e(),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("blockchain.item3")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.addressName,callback:function(t){e.$set(e.form,"addressName",t)},expression:"form.addressName"}})],1)],1):e._e(),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("blockchain.item4")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1)],1):e._e(),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3&&e.form.addressProve?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("blockchain.item5")}},[e.form.addressProve?a("div",{staticStyle:{height:"100%",width:"100%"}},[!e.form.addressProve||"pdf"!=e.form.addressProve.substring(e.form.addressProve.length-3)&&"PDF"!=e.form.addressProve.substring(e.form.addressProve.length-3)?a("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{lazy:!1,src:e.imgUrl+e.form.addressProve,"preview-src-list":[e.imgUrl+e.form.addressProve]}},[a("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[a("i",{staticClass:"el-icon-picture-outline"})])]):a("a",{staticClass:"state crm_state_blue",staticStyle:{"text-decoration":"none","min-width":"auto",width:"auto",color:"#FFFFFF",padding:"5px 10px"},attrs:{href:e.imgUrl+e.form.addressProve,target:"_blank"}},[e._v(" PDF ")])],1):e._e()])],1):e._e(),"DIGITAL_CURRENCY"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit",staticStyle:{margin:"0 0 20px"}},[a("i",{staticClass:"iconfont iconi"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Des",expression:"'Custom.Deposit.Des'"}]})])]):e._e(),!e.isStep3||"BANK_TELEGRAPHIC"!=e.channelData.type&&"BANK"!=e.channelData.type&&"CHANNEL_TYPE_CARD"!=e.channelData.type?e._e():a("el-col",{staticClass:"card-tit",attrs:{span:24}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","flex-wrap":"wrap"}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Title4",expression:"'Custom.Withdraw.Title4'"}]})]),a("div",{staticClass:"add-back"},["BANK_TELEGRAPHIC"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addWire",expression:"'Custom.Withdraw.addWire'"}]}):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addBank1",expression:"'Custom.Withdraw.addBank1'"}],staticClass:"add-btn crm-cursor",on:{click:function(t){return e.openAddBankCard("add_wireTransfer")}}}):e._e(),"BANK"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addBank",expression:"'Custom.Withdraw.addBank'"}]}):e._e(),"BANK"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addBank1",expression:"'Custom.Withdraw.addBank1'"}],staticClass:"add-btn crm-cursor",on:{click:function(t){return e.openAddBankCard("add_bankCard")}}}):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"PersonalManagement.Label.addCreditCard",expression:"'PersonalManagement.Label.addCreditCard'"}]}):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.addBank1",expression:"'Custom.Withdraw.addBank1'"}],staticClass:"add-btn crm-cursor",on:{click:function(t){return e.openAddBankCard("add_CreditCard")}}}):e._e()])])]),"BANK"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("el-form-item",[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:"",placeholder:e.$t("placeholder.choose")},model:{value:e.myId,callback:function(t){e.myId=t},expression:"myId"}},e._l(e.ruleForm.bankInfo,(function(t,n){return a("el-option",{key:n,attrs:{label:t.bankName+"-"+t.bankCardNum,value:t.id},nativeOn:{click:function(a){return e.chooseBank(t)}}})})),1)],1)],1):e._e(),"BANK"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.UserName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankUname,callback:function(t){e.$set(e.form,"bankUname",t)},expression:"form.bankUname"}})],1)],1):e._e(),"BANK"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.BankCardNum")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankCardNum,callback:function(t){e.$set(e.form,"bankCardNum",t)},expression:"form.bankCardNum"}})],1)],1):e._e(),"BANK"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.BankName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankName,callback:function(t){e.$set(e.form,"bankName",t)},expression:"form.bankName"}})],1)],1):e._e(),"BANK"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.bankBranchName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankBranchName,callback:function(t){e.$set(e.form,"bankBranchName",t)},expression:"form.bankBranchName"}})],1)],1):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("el-form-item",[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:"",placeholder:e.$t("placeholder.choose")},model:{value:e.myId,callback:function(t){e.myId=t},expression:"myId"}},e._l(e.ruleForm.xykInfo,(function(t,n){return a("el-option",{key:n,attrs:{label:t.bankCardNum,value:t.id},nativeOn:{click:function(a){return e.chooseBank(t)}}})})),1)],1)],1):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("PersonalManagement.Label.CreditCardAccountName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankUname,callback:function(t){e.$set(e.form,"bankUname",t)},expression:"form.bankUname"}})],1)],1):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("PersonalManagement.Label.CreditCardAccount")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankCardNum,callback:function(t){e.$set(e.form,"bankCardNum",t)},expression:"form.bankCardNum"}})],1)],1):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:"CVV"}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.cvv,callback:function(t){e.$set(e.form,"cvv",t)},expression:"form.cvv"}})],1)],1):e._e(),"CHANNEL_TYPE_CARD"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"",label:e.$t("PersonalManagement.Label.ExpirationYear")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.expiryYearMonth,callback:function(t){e.$set(e.form,"expiryYearMonth",t)},expression:"form.expiryYearMonth"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("el-form-item",[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:"",placeholder:e.$t("placeholder.choose")},model:{value:e.myId,callback:function(t){e.myId=t},expression:"myId"}},e._l(e.ruleForm.bankWrit,(function(t,n){return a("el-option",{key:n,attrs:{label:t.bankName+"-"+t.bankCardNum,value:t.id},nativeOn:{click:function(a){return e.chooseBank(t)}}})})),1)],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.UserName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankUname,callback:function(t){e.$set(e.form,"bankUname",t)},expression:"form.bankUname"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.BankCardNum")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankCardNum,callback:function(t){e.$set(e.form,"bankCardNum",t)},expression:"form.bankCardNum"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.BankName")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankName,callback:function(t){e.$set(e.form,"bankName",t)},expression:"form.bankName"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.swiftCode")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.swiftCode,callback:function(t){e.$set(e.form,"swiftCode",t)},expression:"form.swiftCode"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.bankCode")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.customBankCode,callback:function(t){e.$set(e.form,"customBankCode",t)},expression:"form.customBankCode"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.bankAddr")}},[a("el-input",{attrs:{disabled:""},model:{value:e.form.bankAddr,callback:function(t){e.$set(e.form,"bankAddr",t)},expression:"form.bankAddr"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},["PAY_RETAILER_REMIT_PAY_KEY_BRW"==e.channelData.code?a("el-form-item",{attrs:{prop:"agencyNo",label:"Account Agency NO"}},[a("el-input",{model:{value:e.form.agencyNo,callback:function(t){e.$set(e.form,"agencyNo",t)},expression:"form.agencyNo"}})],1):a("el-form-item",{attrs:{prop:"",label:"Account Agency NO"}},[a("el-input",{model:{value:e.form.agencyNo,callback:function(t){e.$set(e.form,"agencyNo",t)},expression:"form.agencyNo"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3&&"PAY_RETAILER_REMIT_PAY_KEY_BRW"==e.channelData.code?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"cpf",label:"CPF"}},[a("el-input",{model:{value:e.form.cpf,callback:function(t){e.$set(e.form,"cpf",t)},expression:"form.cpf"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Title3",expression:"'Custom.Withdraw.Title3'"}]})])]):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"currency",label:e.$t("Custom.Withdraw.CurrencyType")}},[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:""},model:{value:e.form.currency,callback:function(t){e.$set(e.form,"currency",t)},expression:"form.currency"}},[a("el-option",{attrs:{label:"USD",value:"USD"}})],1)],1)],1):e._e(),"BANK_TELEGRAPHIC"==e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{prop:"amount",label:e.$t("Custom.Withdraw.amount")}},[a("el-input",{on:{input:e.selectChange},model:{value:e.form.amount,callback:function(t){e.$set(e.form,"amount","string"===typeof t?t.trim():t)},expression:"form.amount"}})],1)],1):e._e(),"BANK_TELEGRAPHIC"!=e.channelData.type&&e.isStep3?a("el-col",{attrs:{span:12}},[a("p",{staticClass:"tit"},[a("i",{staticClass:"el-icon-caret-right"}),a("span",[e._v(e._s(e.$t("Custom.Withdraw.Title3")+"("+e.channelData.currency+")"))])]),a("el-form-item",{attrs:{prop:"amount"}},[a("el-input",{staticClass:"m-input",attrs:{autocomplete:"off"},on:{change:e.selectChange},model:{value:e.form.amount,callback:function(t){e.$set(e.form,"amount","string"===typeof t?t.trim():t)},expression:"form.amount"}})],1)],1):e._e(),a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"agree",attrs:{prop:"agree2"}},[a("el-checkbox",{on:{change:e.selectChange},model:{value:e.form.agree2,callback:function(t){e.$set(e.form,"agree2",t)},expression:"form.agree2"}}),a("p",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.Des",expression:"'Custom.Withdraw.Des'"}],staticClass:"crm-cursor",staticStyle:{"text-decoration":"underline"},on:{click:function(t){e.dialogCheckTip=!0}}})],1)],1),e.dialogTipsIsShow?a("el-col",{attrs:{span:24}},[a("el-form-item",{staticClass:"agree",attrs:{prop:"agree3"}},[a("el-checkbox",{on:{change:e.selectChange},model:{value:e.form.agree3,callback:function(t){e.$set(e.form,"agree3",t)},expression:"form.agree3"}}),a("p",{staticClass:"crm-cursor"},[e._v("* "),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item1",expression:"'Custom.Withdraw.item1'"}]}),a("br"),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item1_1",expression:"'Custom.Withdraw.item1_1'"}]}),a("br"),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item1_2",expression:"'Custom.Withdraw.item1_2'"}]})])],1)],1):e._e(),a("el-col",{attrs:{span:24}},[a("el-form-item",[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Submit",expression:"'Btn.Submit'"}],staticClass:"s-btn",attrs:{type:"primary"},on:{click:function(t){return e.openTips()}}})],1)],1)],1):e._e()],1)],1)]):e._e()]),a("el-dialog",{attrs:{visible:e.dialogTips,center:"","show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogTips=t}}},[a("div",{staticClass:"dia-content"},[a("div",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item2",expression:"'Custom.Withdraw.item2'"}],staticClass:"des1",staticStyle:{"line-height":"1.5"}}),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item4",expression:"'Custom.Withdraw.item4'"}],on:{click:function(t){e.dialogTips=!1}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Custom.Withdraw.item3",expression:"'Custom.Withdraw.item3'"}],attrs:{type:"primary"},on:{click:e.closeTipsConfirm}})],1)])]),a("el-dialog",{attrs:{visible:e.dialogCheck,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[e.dialogVisible?a("div",{staticClass:"dia-content"},[a("div",{staticClass:"icon"},[a("i",{staticClass:"iconfont iconchenggong"})]),a("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des1",expression:"'ApplicationDialog.Des1'"}],staticClass:"des1"}),a("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des11",expression:"'ApplicationDialog.Des11'"}],staticClass:"des2"}),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:e.closeDia}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.closeDia}})],1)]):e._e(),e.dialogVisible?e._e():a("div",{staticClass:"dia-content"},[a("div",{staticClass:"icon"},[a("i",{staticClass:"iconfont iconjingshi"})]),a("div",{staticClass:"des1"},[e._v(e._s(e.RES))]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:e.closeDia}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.closeDia}})],1)])]),a("el-dialog",{attrs:{visible:e.dialogCheckTip,center:"","show-close":!1,"custom-class":"dialog_header_w dialogApplyTip"},on:{"update:visible":function(t){e.dialogCheckTip=t}}},[a("div",{staticClass:"dia-content"},[a("div",{staticClass:"des1",domProps:{innerHTML:e._s(-1!=["cn","zhHant"].indexOf(e.Session.Get("lang"))?e.introduce.introduce:e.introduce.enIntroduce)}}),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:function(t){e.dialogCheckTip=!1}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){e.dialogCheckTip=!1}}})],1)])]),a("el-dialog",{attrs:{visible:e.dialogCheckWait,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckWait=t}}},[a("div",{staticClass:"dia-content"},[a("div",{staticClass:"icon"},[a("i",{staticClass:"iconfont icondengdai"})]),a("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des38",expression:"'ApplicationDialog.Des38'"}],staticClass:"des1"})])]),a("el-dialog",{attrs:{visible:e.dialogCheckInto,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckInto=t}}},[a("div",{staticClass:"dia-content"},[a("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des41",expression:"'ApplicationDialog.Des41'"}],staticStyle:{"font-weight":"bold","font-size":"16px"}}),a("div",{directives:[{name:"t",rawName:"v-t",value:"ApplicationDialog.Des42",expression:"'ApplicationDialog.Des42'"}],staticClass:"des1",staticStyle:{"font-weight":"400","font-size":"15px",margin:"30px 0 30px","text-align":"left","line-height":"1.5"}})])]),a("el-dialog",{attrs:{title:e.$t("Home.page_customer.item3"),visible:e.dialogCheckConfirm,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheckConfirm=t}}},[a("div",{staticClass:"dia-content"},[a("el-form",{ref:"dialogCheckConfirm_form",staticClass:"dialogCheckConfirm_form",attrs:{model:e.dialogCheckConfirm_form,rules:e.rules,"label-width":"135px"}},[e.value?a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Deposit.Title11")+":"}},[e._v(" "+e._s(e.value)+" ")]):e._e(),e.channelData.code?a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Deposit.Title22")+":"}},[e._v(" "+e._s("cn"==e.isLanguage?e.channelData.name:e.channelData.enName)+" ")]):e._e(),e.form.amount?a("el-form-item",{attrs:{prop:"",label:e.$t("Custom.Withdraw.Title3")+":"}},[e._v(" "+e._s(e.form.amount)+"("+e._s(e.channelData.currency)+") ")]):e._e()],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.openTipsConfirm()}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:function(t){e.dialogCheckConfirm=!1}}})],1)],1)]),a("drawer",{attrs:{dialogInfoTradingAdd:e.dialogInfoTradingAdd,addType:e.openType},on:{closeAdd:e.closeAdd,confirmToReload:e.confirmToReload}}),e.dialogInfoTradingAdd?a("div",{staticClass:"crm_verified_info_mask",on:{click:e.closeDiaAdd}}):e._e()],1)},r=[],i=(a("4160"),a("a9e3"),a("b680"),a("159b"),a("5530")),s=(a("96cf"),a("1da1")),o=a("b4f6"),l=a("6df7"),c=a("a1a2"),u=a("f121"),p=a.n(u),m=p.a.Code,d=p.a.Host80,h={name:"Withdraw",components:{Drawer:o["a"]},data:function(){var e=this;return{flag:!1,RES:"",openType:"",dialogInfoTradingAdd:!1,ruleForm:{bankInfo:[],bankWrit:[],xykInfo:[],bankBlockchain:[]},imgUrl:d,loginOptions:[],value:"",code:"",bankValid:"",requestUrl:"",isStep3:!1,step2:!1,step3:!1,dialogCheckTip:!1,isChannel:!0,pictLoading:!1,tableData:{International_Transfer:[],China_UnionPay:[],Digital_Currency:[],CHANNEL_TYPE_CARD:[],Electronic_Wallet:[],CHANNEL_TYPE_ALI_WALLET:[]},bankDate:[],channelData:{},WireTransferAccount:{},form:{currency:"USD",amount:""},mAmount:{minAmount:"",maxAmount:""},introduce:{introduce:"",enIntroduce:""},bankInfoList:[],bank:"",myId:"",bankPayType:"",step3_bank_cur:"",agree2:!1,form1:{},dialogCheck:!1,dialogVisible:!1,dialogCheckWait:!1,dialogCheckInto:!0,dialogNewBank:!1,params:{bankCardNum:"",bankUname:"",bankName:"",bankBranchName:"",bankAddr:"",swiftCode:"",bankFront:"",bankBack:"",defaultBank:!1},dialogTips:!1,dialogTipsIsShow:!0,dialogCheckConfirm:!1,dialogCheckConfirm_form:{amount:"",feeAmount:""},rules:{bankCardNum:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],bankUname:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],bankName:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],bankBranchName:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],bankAddr:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],swiftCode:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],defaultBank:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],bankCode:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],message:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],address:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],amount:[{validator:function(t,a,n){a&&(e.mAmount.minAmount>a||e.mAmount.maxAmount<a)&&n(new Error(e.$i18n.t("vaildate.amount.amount")+e.mAmount.minAmount+" - "+e.mAmount.maxAmount)),/^[0-9]+([.]{1}[0-9]{1,2})?$/.test(a)?n():n(new Error(e.$i18n.t("vaildate.amount.format")))},trigger:"blur"}],agree2:[{validator:function(t,a,n){e.form.agree2?n():n(new Error(e.$i18n.t("vaildate.agree.empty")))},trigger:"change"}],agree3:[{validator:function(t,a,n){e.form.agree3?n():n(new Error(e.$i18n.t("vaildate.agree.empty")))},trigger:"change"}],agencyNo:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],cpf:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}]}}},computed:{isLanguage:function(){return this.$i18n.locale},AccessToken:function(){return{"Access-Token":this.Session.Get("access_token")}},lang:function(){return"en"==this.Session.Get("lang")&&document.body.clientWidth<1200}},methods:{selectChange:function(){this.$forceUpdate()},openAddBankCard:function(e){"add_bankCard"==e?2==this.ruleForm.bankInfo.length?this.$pigeon.MessageConfirm(this.$i18n.t("Msg.UnionPayCARDS"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),(function(){})):(this.openType="add_bankCard",this.dialogInfoTradingAdd=!0):"add_wireTransfer"==e?2==this.ruleForm.bankWrit.length?this.$pigeon.MessageConfirm(this.$i18n.t("Msg.WireTransfers"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),(function(){})):(this.openType="add_wireTransfer",this.dialogInfoTradingAdd=!0):"add_CreditCard"==e?(this.openType="add_CreditCard",this.dialogInfoTradingAdd=!0):"add_bankBlockchain"==e&&(2==this.ruleForm.bankBlockchain.length?this.$pigeon.MessageConfirm(this.$i18n.t("blockchain.item9"),this.$i18n.t("Msg.SystemPrompt"),this.$i18n.t("Btn.Confirm"),this.$i18n.t("Btn.Cancel"),Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),(function(){})):(this.openType="add_bankBlockchain",this.dialogInfoTradingAdd=!0))},closeDiaAdd:function(){this.dialogInfoTradingAdd=!1},closeAdd:function(e){this.dialogInfoTradingAdd=e},confirmToReload:function(){this.dialogInfoTradingAdd=!1,this.getBankInfo()},getBankInfo:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].customBankList({});case 2:a=t.sent,a.code==m.StatusOK?(e.ruleForm.bankInfo=[],e.ruleForm.bankWrit=[],e.ruleForm.xykInfo=[],e.ruleForm.bankBlockchain=[],a.data.forEach((function(t){1==t.type?(t.customBankCode=t.bankCode,t.bankCode=null,e.ruleForm.bankInfo.push(t)):2==t.type?(t.customBankCode=t.bankCode,t.bankCode=null,e.ruleForm.bankWrit.push(t)):3==t.type?(t.customBankCode=t.bankCode,t.bankCode=null,t.expiryYearMonth=(t.expiryYear||"")+"/"+(t.expiryMonth||""),e.ruleForm.xykInfo.push(t)):4==t.type&&(t.customBankCode=t.bankCode,t.bankCode=null,e.ruleForm.bankBlockchain.push(t)),"BANK"==e.channelData.type&&t.defaultBank&&1==t.type&&(e.form=t,e.myId=e.form.id),"BANK_TELEGRAPHIC"==e.channelData.type&&t.defaultBank&&2==t.type&&(e.form=t,e.myId=e.form.id),"CHANNEL_TYPE_CARD"==e.channelData.type&&t.defaultBank&&3==t.type&&(e.myId=t.id,e.form=t),"DIGITAL_CURRENCY"==e.channelData.type&&t.defaultBank&&4==t.type&&(e.myId=t.id,e.form=t)}))):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},chooseBank:function(e){var t="";this.form.bankCode&&(t=this.form.bankCode),this.$refs["form"]&&this.$refs["form"].resetFields(),this.form=e,this.form.agree2=!1,this.form.agree3=!1,"BANK_TELEGRAPHIC"==this.channelData.type&&(this.form.currency="USD",t&&(this.form.bankCode=t))},openTips:function(){var e=this;("BANK_TELEGRAPHIC"!=this.channelData.type||this.myId)&&("BANK"!=this.channelData.type||this.myId)&&("CHANNEL_TYPE_CARD"!=this.channelData.type||this.myId)?"DIGITAL_CURRENCY"!=this.channelData.type||this.myId?this.$refs["form"].validate(function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(a){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a){t.next=4;break}e.dialogTipsIsShow?e.dialogTips=!0:e.submit("form"),t.next=5;break;case 4:return t.abrupt("return",!1);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()):this.$pigeon.MessageWarning(this.$i18n.t("blockchain.item11")):this.$pigeon.MessageWarning(this.$i18n.t("vaildate.withdrawBank.empty"))},openTipsConfirm:function(){this.dialogCheckConfirm=!1,this.submit("form")},closeTipsConfirm:function(){this.dialogTips=!1,this.dialogCheckConfirm=!0},closeDia:function(){this.isStep3=!1,this.step2=!1,this.showTable(),this.value="",this.dialogCheck=!1,this.dialogVisible=!1},submit:function(e){var t=this;("BANK_TELEGRAPHIC"!=this.channelData.type||this.myId)&&("BANK"!=this.channelData.type||this.myId)&&("CHANNEL_TYPE_CARD"!=this.channelData.type||this.myId)?"DIGITAL_CURRENCY"!=this.channelData.type||this.myId?this.$refs[e].validate(function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(a){var n,r,s,o,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=44;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:if(t.dialogCheckWait=!0,t.form.amount=Number(t.form.amount),"DIGITAL_CURRENCY"!=t.channelData.type){e.next=15;break}return e.next=11,c["a"].ibWithdrawAapplyDigitalCurrency(t.channelData.requestUrl,Object(i["a"])({payType:t.channelData.code},t.form));case 11:n=e.sent,n.code==m.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=n.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1),e.next=41;break;case 15:if("CHANNEL_TYPE_WALLET"!=t.channelData.type&&"CHANNEL_TYPE_ALI_WALLET"!=t.channelData.type){e.next=22;break}return e.next=18,c["a"].ibWithdrawAapplyDigitalCurrency(t.channelData.requestUrl,Object(i["a"])({payType:t.channelData.code},t.form));case 18:r=e.sent,r.code==m.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=r.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1),e.next=41;break;case 22:if("BANK"!=t.channelData.type){e.next=29;break}return e.next=25,c["a"].ibWithdrawApplyBank(t.channelData.requestUrl,Object(i["a"])({payType:t.channelData.code},t.form));case 25:s=e.sent,s.code==m.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=s.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1),e.next=41;break;case 29:if("BANK_TELEGRAPHIC"!=t.channelData.type){e.next=36;break}return e.next=32,c["a"].ibWithdrawApplyBank(t.channelData.requestUrl,Object(i["a"])({payType:t.channelData.code},t.form));case 32:o=e.sent,o.code==m.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=o.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1),e.next=41;break;case 36:if("CHANNEL_TYPE_CARD"!=t.channelData.type){e.next=41;break}return e.next=39,c["a"].WithdrawApplyBank(t.channelData.requestUrl,Object(i["a"])({payType:t.channelData.code},t.form));case 39:l=e.sent,l.code==m.StatusOK?(t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=l.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1);case 41:t.dialogCheckWait=!1,e.next=45;break;case 44:return e.abrupt("return",!1);case 45:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):this.$pigeon.MessageWarning(this.$i18n.t("blockchain.item11")):this.$pigeon.MessageWarning(this.$i18n.t("vaildate.withdrawBank.empty"))},Initialize:function(){this.value="",this.isStep3=!1,this.step2=!1,this.step3=!1,this.showTable()},isShowStep3:function(e){e.bankValid&&this.isChannel?(this.getBankList(e),this.isChannel=!1,this.step3=!0,this.channelData=e,this.mAmount.minAmount=e.minAmount,this.mAmount.maxAmount=e.maxAmount):(this.step3=!0,this.bankDate=[],this.channelData=e,this.mAmount.minAmount=e.minAmount,this.mAmount.maxAmount=e.maxAmount),"UNION_PAY_TELEGRAPHIC"==e.code&&(this.WireTransferAccount=JSON.parse(e.property)),"BANK"!=e.type&&"BANK_TELEGRAPHIC"!=e.type&&"CHANNEL_TYPE_CARD"!=e.type&&"DIGITAL_CURRENCY"!=e.type||(this.getBankInfo(),this.step3_bank_cur="bank",this.form.login=this.value,this.form.payType=e.code,this.bankPayType=e.code),this.tableData={International_Transfer:[],China_UnionPay:[],Digital_Currency:[],CHANNEL_TYPE_CARD:[],Electronic_Wallet:[],CHANNEL_TYPE_ALI_WALLET:[]},"BANK_TELEGRAPHIC"==e.type&&(this.tableData.International_Transfer[0]=e),"BANK"==e.type&&(this.tableData.China_UnionPay[0]=e),"DIGITAL_CURRENCY"==e.type&&(this.tableData.Digital_Currency[0]=e),"CHANNEL_TYPE_WALLET"==e.type&&(this.tableData.Electronic_Wallet[0]=e),"CHANNEL_TYPE_CARD"==e.type&&(this.tableData.CHANNEL_TYPE_CARD[0]=e),"CHANNEL_TYPE_ALI_WALLET"==e.type&&(this.tableData.CHANNEL_TYPE_ALI_WALLET[0]=e),this.introduce={introduce:e.introduce,enIntroduce:e.enIntroduce}},showTable:function(){this.myId=null,this.step3=!1,this.isStep3=!1,this.isChannel=!0,this.getDepositList(),this.$refs["form"]&&this.$refs["form"].resetFields(),this.form={currency:"USD"}},getDateList:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l["a"].CustomDropdown({platform:""});case 2:t=e.sent,t.code==m.StatusOK?this.loginOptions=t.data:this.$pigeon.MessageError(t.msg);case 4:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getDepositList:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var t,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.pictLoading=!0,this.tableData={International_Transfer:[],China_UnionPay:[],Digital_Currency:[],CHANNEL_TYPE_CARD:[],Electronic_Wallet:[],CHANNEL_TYPE_ALI_WALLET:[]},e.next=4,c["a"].RemitChannelList({});case 4:t=e.sent,t.code==m.StatusOK?(t.data.forEach((function(e){"BANK_TELEGRAPHIC"==e.type&&a.tableData.International_Transfer.push(e),"BANK"==e.type&&a.tableData.China_UnionPay.push(e),"DIGITAL_CURRENCY"==e.type&&a.tableData.Digital_Currency.push(e),"CHANNEL_TYPE_WALLET"==e.type&&a.tableData.Electronic_Wallet.push(e),"CHANNEL_TYPE_CARD"==e.type&&a.tableData.CHANNEL_TYPE_CARD.push(e),"CHANNEL_TYPE_ALI_WALLET"==e.type&&a.tableData.CHANNEL_TYPE_ALI_WALLET.push(e)})),this.pictLoading=!1):(this.$pigeon.MessageError(t.msg),this.pictLoading=!1);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),getBankList:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(t){var a,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c["a"].BankList({channelCode:t.code});case 2:a=e.sent,a.code==m.StatusOK?(n=a.data,r=[],n.forEach((function(e){e.minAmount||0==e.minAmount||(e.minAmount=t.minAmount),e.maxAmount||0==e.maxAmount||(e.maxAmount=t.maxAmount),e.payType=t.code,r.push(e)})),this.bankDate=r):this.$pigeon.MessageError(a.msg);case 4:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),cancelBank:function(){this.dialogNewBank=!1,void 0!=this.$refs["params"]&&this.$refs["params"].resetFields()}},mounted:function(){this.getDepositList()},watch:{value:function(e){e&&(this.step2=!0,this.showTable())},"form.amount":function(e){e&&this.channelData.rate&&(this.form.amount1=(e*this.channelData.rate).toFixed(2))}}},f=h,C=(a("59bc"),a("53fa"),a("2877")),g=Object(C["a"])(f,n,r,!1,null,"8f8ab4a8",null);t["default"]=g.exports}}]);
|