| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cus-deposit"],{1148:function(t,e,a){"use strict";var n=a("a691"),s=a("1d80");t.exports="".repeat||function(t){var e=String(s(this)),a="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(a+=e);return a}},"408a":function(t,e,a){var n=a("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},6298:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"custom_Deposit"}},[a("div",{staticClass:"crm-title-box"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Home.page_customer.item2",expression:"'Home.page_customer.item2'"}]})])]),a("div",{staticClass:"main-content"},[a("div",{staticClass:"box box-step1"},[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.Title1",expression:"'Custom.Deposit.Title1'"}]})])]),a("el-col",{attrs:{span:24}},[a("el-select",{staticClass:"crm_select_icon",attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.loginOptions,(function(e,n){return a("el-option",{key:n,attrs:{label:e.login+" - "+e.groupTypeName+" - "+t.$t("Custom.Deposit.AvailableBalance")+": $"+e.balance,value:e.login,disabled:"-1"!=e.closeFunctions.indexOf("1")}})})),1)],1)],1)],1)]),t.step2?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.Title2",expression:"'Custom.Deposit.Title2'"}]})])]),a("el-col",{attrs:{span:24}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab_header",staticStyle:{width:"100%"},attrs:{data:t.tableData,"element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center",width:"200",label:t.$t("Label.PaymentMethod")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("img",{staticStyle:{width:"180px"},attrs:{src:t.imgUrl+e.row.icon,alt:""}})]}}],null,!1,3419108701)}),a("el-table-column",{attrs:{prop:"",align:"center",width:t.lang?"110":"",label:t.$t("Label.Describe")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s("cn"==t.isLanguage?e.row.name:e.row.enName)+" ")]}}],null,!1,1987015574)}),a("el-table-column",{attrs:{prop:"",align:"center",width:t.lang?"100":"",label:t.$t("Label.ProcessingTime")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.fundingTime||"-")+" ")]}}],null,!1,52063420)}),a("el-table-column",{attrs:{prop:"",align:"center",label:t.$t("Label.Fee")},scopedSlots:t._u([{key:"default",fn:function(e){return[null!=e.row.free?a("span",[t._v(t._s(e.row.free)+"%")]):a("span",[t._v(t._s("-"))])]}}],null,!1,2981350840)}),a("el-table-column",{attrs:{width:"120",align:"center",label:t.$t("Label.Action")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{staticClass:"s-btn",class:{active:t.step3},attrs:{type:"primary"},on:{click:function(a){return t.isShowStep3(e.row)}}},[t.step3?a("i",{staticClass:"el-icon-check"}):t._e(),t.step3?t._e():a("i",{staticClass:"el-icon-caret-right"}),t.step3?a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Selected",expression:"'Custom.Deposit.Selected'"}]}):t._e(),t.step3?t._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Choose",expression:"'Custom.Deposit.Choose'"}]})])]}}],null,!1,430198329)})],1)],1),t.step3?a("el-col",{attrs:{span:24}},[a("el-button",{staticClass:"s-btn reselect",attrs:{type:"primary"},on:{click:t.showTable}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Reselect",expression:"'Custom.Deposit.Reselect'"}]})])],1):t._e()],1)],1)]):t._e(),t.step3?a("div",{staticClass:"box box-step3"},[a("div",{staticClass:"b-card"},[a("el-row",{staticClass:"card-top"},[t.isStep3?t._e():a("el-col",{attrs:{span:24}},[a("div",{staticClass:"step3-attention"},[a("div",{staticClass:"attention",domProps:{innerHTML:t._s("cn"==t.Session.Get("lang")?t.tableData[0].introduce:t.tableData[0].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(e){t.isStep3=!0}}})])])]),t.bankDate.length&&t.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:"news_add_field.Label.Title4",expression:"'news_add_field.Label.Title4'"}]})])]):t._e(),t.bankDate.length&&t.isStep3?a("el-col",{attrs:{span:24}},[a("el-select",{staticClass:"crm_select_icon",staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:t.$t("placeholder.choose")},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}},t._l(t.bankDate,(function(e,n){return a("el-option",{key:n,attrs:{label:"cn"==t.Session.Get("lang")?e.name:e.enName,value:e.code}})})),1)],1):t._e(),t.bankDate.length&&t.isStep3&&"HELP_PAY"!=t.channelData.code?a("el-col",{attrs:{span:24}},[a("p",{staticClass:"tit",staticStyle:{margin:"10px 0 20px"}},[a("i",{staticClass:"iconfont iconi"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Des",expression:"'Custom.Deposit.Des'"}]})])]):t._e(),"UNION_PAY_TELEGRAPHIC"==t.channelData.code&&t.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.Title5",expression:"'Custom.Deposit.Title5'"}]})])]):t._e(),"UNION_PAY_TELEGRAPHIC"==t.channelData.code&&t.isStep3?a("el-col",{attrs:{span:24}},[a("el-row",{staticClass:"WireTransferAccount"},[a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.bankUname",expression:"'Custom.Deposit.bankUname'"}],staticClass:"title SpecialColor"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content SpecialColor"},[t._v(t._s(t.WireTransferAccount.bankUname))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.bankName",expression:"'Custom.Deposit.bankName'"}],staticClass:"title"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content"},[t._v(t._s(t.WireTransferAccount.bankName))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.bankCardNum",expression:"'Custom.Deposit.bankCardNum'"}],staticClass:"title SpecialColor"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content SpecialColor"},[t._v(t._s(t.WireTransferAccount.bankCardNum))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.bankAddr",expression:"'Custom.Deposit.bankAddr'"}],staticClass:"title"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content"},[t._v(t._s(t.WireTransferAccount.bankAddr))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.swiftCode",expression:"'Custom.Deposit.swiftCode'"}],staticClass:"title SpecialColor"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content SpecialColor"},[t._v(t._s(t.WireTransferAccount.swiftCode))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.bankCode",expression:"'Custom.Deposit.bankCode'"}],staticClass:"title"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content"},[t._v(t._s(t.WireTransferAccount.bankCode))])]),a("el-col",{attrs:{span:12}},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Recording.Note",expression:"'Custom.Recording.Note'"}],staticClass:"title SpecialColor"})]),a("el-col",{attrs:{span:12}},[a("span",{staticClass:"content SpecialColor"},[t._v(t._s(t.WireTransferAccount.bankMsg||"--"))])])],1)],1):t._e(),t.isStep3?a("el-col",{attrs:{span:24}},[a("div",{staticClass:"card-top-title"},[a("p",{staticClass:"tit",staticStyle:{margin:"0","margin-top":"10px"}},[a("i",{staticClass:"el-icon-caret-right"}),a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.Title3",expression:"'Custom.Deposit.Title3'"}]})])])]):t._e(),t.isStep3?a("el-col",{attrs:{span:24}},[a("el-form",{ref:"params",staticClass:"form",staticStyle:{display:"flex","flex-wrap":"wrap"},attrs:{model:t.params,rules:t.rules,"label-position":"top"}},[a("el-form-item",{staticStyle:{width:"200px"},attrs:{prop:"amount",label:t.$t("Custom.Deposit.Title3")+"("+t.channelData.currency+")"}},[a("el-input",{staticClass:"m-input",model:{value:t.params.amount,callback:function(e){t.$set(t.params,"amount","string"===typeof e?e.trim():e)},expression:"params.amount"}})],1),t.channelData.rate?a("el-form-item",{staticStyle:{width:"200px"}},[a("label",{staticClass:"el-form-item__label"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Custom.Deposit.EstimatedAmount",expression:"'Custom.Deposit.EstimatedAmount'"}]}),a("span",[t._v(t._s("("+t.channelData.transformCurrency+")"))]),a("el-popover",{attrs:{placement:"bottom",trigger:"click",content:t.$t("Custom.Deposit.des")}},[a("i",{staticClass:"iconfont iconi crm-cursor",staticStyle:{"margin-left":"5px"},attrs:{slot:"reference"},slot:"reference"})])],1),a("el-input",{staticClass:"m-input",attrs:{disabled:!0},model:{value:t.params.amount1,callback:function(e){t.$set(t.params,"amount1","string"===typeof e?e.trim():e)},expression:"params.amount1"}})],1):t._e(),"UNION_PAY_TELEGRAPHIC"==t.channelData.code?a("el-form-item",{staticStyle:{width:"200px"},attrs:{label:t.$t("Custom.Deposit.UploadRemittanceVoucher")}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.actionAdd1,headers:t.AccessToken,"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload}},[a("span",{staticClass:"avatar crm-one-font"},[t._v(t._s(t.imageUrl))]),a("i",{staticClass:"el-icon-upload avatar-uploader-icon"})])],1):t._e(),t._e(),a("el-form-item",{staticStyle:{width:"100%"}},[a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Submit",expression:"'Btn.Submit'"}],staticClass:"s-btn",attrs:{type:"primary"},on:{click:t.submit}})],1)],1)],1):t._e()],1)],1)]):t._e()]),a("el-dialog",{attrs:{visible:t.dialogCheck,center:"","close-on-click-modal":!1,"show-close":!1,"custom-class":"dialog_header_w"},on:{"update:visible":function(e){t.dialogCheck=e}}},[t.dialogVisible?a("div",{staticClass:"dia-content"},[a("div",{staticClass:"icon"},[a("i",{staticClass:"iconfont icondengdai"})]),a("div",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.ApplicationDialog.Des31",expression:"'news_add_field.ApplicationDialog.Des31'"}],staticClass:"des1"}),a("div",{staticClass:"des2"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.ApplicationDialog.Des32",expression:"'news_add_field.ApplicationDialog.Des32'"}]}),a("span",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.ApplicationDialog.Des33",expression:"'news_add_field.ApplicationDialog.Des33'"}]}),a("span",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.ApplicationDialog.Des34",expression:"'news_add_field.ApplicationDialog.Des34'"}],staticClass:"crm-cursor",staticStyle:{"text-decoration":"underline"},on:{click:t.toHistory}}),a("span",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.ApplicationDialog.Des35",expression:"'news_add_field.ApplicationDialog.Des35'"}]})]),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:t.toHome}}),a("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():a("div",{staticClass:"dia-content"},[a("div",{staticClass:"icon"},[a("i",{staticClass:"iconfont iconjingshi"})]),a("div",{staticClass:"des1"},[t._v(t._s(t.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:t.closeDia}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:t.closeDia}})],1)])]),a("el-dialog",{attrs:{visible:t.dialogClause,center:"",title:this.$i18n.t("news_add_field.CWGActivity.title"),"custom-class":"dialog_header_w dialogApplyIb"},on:{"update:visible":function(e){t.dialogClause=e}}},[a("div",{staticClass:"dia-content"},[a("div",{staticClass:"content",staticStyle:{height:"400px","line-height":"1.5","text-align":"left"},attrs:{id:"Agreement"}},[a("ul",[a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item1",expression:"'news_add_field.CWGActivity.item1'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item2",expression:"'news_add_field.CWGActivity.item2'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item3",expression:"'news_add_field.CWGActivity.item3'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item4",expression:"'news_add_field.CWGActivity.item4'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item5",expression:"'news_add_field.CWGActivity.item5'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item6",expression:"'news_add_field.CWGActivity.item6'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item7",expression:"'news_add_field.CWGActivity.item7'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item8",expression:"'news_add_field.CWGActivity.item8'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item9",expression:"'news_add_field.CWGActivity.item9'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item10",expression:"'news_add_field.CWGActivity.item10'"}]}),a("li",[a("ul",[a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item101",expression:"'news_add_field.CWGActivity.item101'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item102",expression:"'news_add_field.CWGActivity.item102'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item103",expression:"'news_add_field.CWGActivity.item103'"}]})])]),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item11",expression:"'news_add_field.CWGActivity.item11'"}]}),a("li",{directives:[{name:"t",rawName:"v-t",value:"news_add_field.CWGActivity.item12",expression:"'news_add_field.CWGActivity.item12'"}]})])]),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(e){t.dialogClause=!1}}}),a("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(e){t.dialogClause=!1}}})],1)])])],1)},s=[],i=(a("4160"),a("b680"),a("159b"),a("96cf"),a("1da1")),r=a("6df7"),o=a("a1a2"),l=a("f121"),c=a.n(l),u=a("d8d7"),p=c.a.Code,d=c.a.Host80,m=c.a.Host04,v={name:"Deposit",data:function(){var t=this;return{flag:!1,RES:"",imgUrl:d,loginOptions:[],code:"",bankValid:"",requestUrl:"",isStep3:!1,step2:!1,step3:!1,value:"",isChannel:!0,pictLoading:!1,tableData:[],bankDate:[],channelData:{},WireTransferAccount:{},actionAdd1:"",imageUrl:"",params:{amount:"",amount1:"",agree:!1},mAmount:{minAmount:"",maxAmount:""},dialogCheck:!1,dialogVisible:!1,dialogClause:!1,rules:{amount:[{validator:function(e,a,n){t.mAmount.minAmount>a||t.mAmount.maxAmount<a?n(new Error(t.$i18n.t("vaildate.amount.amount")+t.mAmount.minAmount+" - "+t.mAmount.maxAmount)):t.Config.Pattern.nonnegative.test(a)?n():n(new Error(t.$i18n.t("vaildate.amount.format")))},trigger:"blur"}],agree:[{validator:function(e,a,n){a?n():n(new Error(t.$i18n.t("vaildate.agree.empty")))},trigger:"change"}]}}},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()},handleAvatarSuccess:function(t){this.imageUrl=t.data},beforeAvatarUpload:function(t){var e="image/jpeg"===t.type||"image/JPEG",a=t.size/1024/1024<10;return e||this.$pigeon.MessageError(this.$i18n.t("Msg.JPG")),a||this.$pigeon.MessageError(this.$i18n.t("Msg.10IMG")),e&&a},toHistory:function(){this.$router.push({path:"/customer/history"}).catch((function(t){return t})),this.$store.commit("isActiveTab","4")},toHome:function(){this.$router.push({path:"/customer/index"}).catch((function(t){return t})),this.$store.commit("isActiveTab","0")},submit:function(){var t=this;1!=this.channelData.bankValid||this.code?"UNION_PAY_TELEGRAPHIC"!=this.channelData.code||this.imageUrl?this.$refs["params"].validate(function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(a){var n,s,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=21;break}if(!t.flag){e.next=5;break}return e.abrupt("return");case 5:t.flag=!0;case 6:if("UNION_PAY_TELEGRAPHIC"!=t.channelData.code){e.next=13;break}return e.next=9,o["a"].telegraphicPay({amount:t.params.amount,login:t.value,voucherUrl:t.imageUrl,activityDeposit:t.params.agree2?1:0,promoCode:"",bankMsg:t.WireTransferAccount.bankMsg||""});case 9:n=e.sent,n.code==p.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=19;break;case 13:return s="",s=1==t.channelData.bankValid?t.channelData.requestUrl+"/"+t.value+"/"+t.params.amount+"/"+t.code+"/"+(t.params.agree2?1:0):t.channelData.requestUrl+"/"+t.value+"/"+t.params.amount+"/"+(t.params.agree2?1:0),e.next=17,o["a"].PayBankCode(s,{promoCode:""});case 17:i=e.sent,i.code==p.StatusOK?(1==i.data.type?window.open(i.data.result):(r=t.Session.Get("access_token"),r=u["a"].tokenReplace(r),window.open(m+"/finance/deposit/get?serial="+i.data.result+"&Access-Token="+r)),t.dialogCheck=!0,t.dialogVisible=!0,t.flag=!1):(t.RES=i.msg,t.dialogCheck=!0,t.dialogVisible=!1,t.flag=!1);case 19:e.next=22;break;case 21:return e.abrupt("return",!1);case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):this.$pigeon.MessageWarning(this.$i18n.t("vaildate.depositVoucher.empty")):this.$pigeon.MessageWarning(this.$i18n.t("vaildate.depositCurrency.empty"))},closeDia:function(){this.isStep3=!1,this.step2=!1,this.showTable(),this.value="",this.dialogCheck=!1,this.dialogVisible=!1},isShowStep3:function(t){if(t.bankValid&&this.isChannel?(this.getBankList(t.code),this.isChannel=!1,this.step3=!0,this.tableData=[],this.tableData[0]=t,this.channelData=t,this.mAmount.minAmount=t.minAmount,this.mAmount.maxAmount=t.maxAmount):(this.step3=!0,this.bankDate=[],this.tableData=[],this.tableData[0]=t,this.channelData=t,this.mAmount.minAmount=t.minAmount,this.mAmount.maxAmount=t.maxAmount),"UNION_PAY_TELEGRAPHIC"==t.code){var e=[];if(t.property&&"["==t.property.substring(0,1))e=JSON.parse(t.property);else if(t.property&&"["!=t.property.substring(0,1)){var a="["+t.property+"]";e=JSON.parse(a)}var n=e.length,s=parseInt(Math.random()*n+1);this.WireTransferAccount=e[s-1],this.actionAdd1=m+"/telegraphic/upload"}},showTable:function(){this.step3=!1,this.isStep3=!1,this.params.amount="",this.params.amount1="",this.params.agree=!1,this.params.agree2=!1,this.isChannel=!0,this.imageUrl="",this.bankDate=[],this.code="",this.WireTransferAccount={},this.getDepositList()},getDateList:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,r["a"].CustomDropdown({platform:""});case 2:e=t.sent,e.code==p.StatusOK?(this.loginOptions=e.data,this.$route.query.login&&(this.value=this.$route.query.login,this.step2=!0,this.showTable())):this.$pigeon.MessageError(e.msg);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getDepositList:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.pictLoading=!0,t.next=3,o["a"].RemittanceChannelList({});case 3:e=t.sent,e.code==p.StatusOK?(this.tableData=e.data,this.pictLoading=!1):(this.$pigeon.MessageError(e.msg),this.pictLoading=!1);case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getBankList:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){var a,n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o["a"].BankList({channelCode:e});case 2:a=t.sent,a.code==p.StatusOK?(n=a.data,s=[],this.tableData.forEach((function(t){t.code==e&&n.forEach((function(e){e.minAmount||0==e.minAmount||(e.minAmount=t.minAmount),e.maxAmount||0==e.maxAmount||(e.maxAmount=t.maxAmount),e.bankValid=t.bankValid,e.requestUrl=t.requestUrl,s.push(e)}))})),this.bankDate=s):this.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},mounted:function(){this.getDateList()},watch:{value:function(t){t&&(this.step2=!0,this.showTable())},"params.amount":function(t){t&&this.channelData.rate&&(this.params.amount1=(t*this.channelData.rate).toFixed(2))}}},f=v,h=(a("fe25"),a("bb70"),a("2877")),g=Object(h["a"])(f,n,s,!1,null,"342fc10c",null);e["default"]=g.exports},a1a2:function(t,e,a){"use strict";a("96cf");var n=a("1da1"),s=a("d4ec"),i=a("bee2"),r=a("262e"),o=a("2caf"),l=a("ff2d"),c=a("bc3a"),u=a.n(c),p=a("f121"),d=a.n(p),m=function(t){Object(r["a"])(a,t);var e=Object(o["a"])(a);function a(){return Object(s["a"])(this,a),e.call(this)}return Object(i["a"])(a,[{key:"reasonsRefusalList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host80,t.next=4,this.post("/reasons/refusal/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"BalanceList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/balance/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"PayBankCode",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a,n,s=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post(e,a);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"WithdrawApplyBank",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a,n,s=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post(e,a);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"WithdrawAapplyDigitalCurrency",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a,n,s=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post(e,a);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"BankList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/channel/bank/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"RemitChannelList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/remit/channel/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"RemittanceChannelList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/remittance/channel/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"TransferApply",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/transfer/apply",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"TransferList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/transfer/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"transferInfo",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/transfer/info",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"telegraphicPay",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/telegraphic/pay",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"customBankList",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host80,t.next=4,this.post("/custom/bank/list",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"ibWithdrawApplyBank",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a,n,s=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/agent"+e,a);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"ibWithdrawAapplyDigitalCurrency",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a,n,s=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/agent"+e,a);case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"financeSynonymTtransferApply",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host04,t.next=4,this.post("/finance/synonym/transfer/apply",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"CustomDropdown",value:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a,n=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},u.a.defaults.baseURL=d.a.Host80,t.next=4,this.post("/account/dropdown",e);case 4:return a=t.sent,t.abrupt("return",a);case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}]),a}(l["a"]);e["a"]=new m},b680:function(t,e,a){"use strict";var n=a("23e7"),s=a("a691"),i=a("408a"),r=a("1148"),o=a("d039"),l=1..toFixed,c=Math.floor,u=function(t,e,a){return 0===e?a:e%2===1?u(t,e-1,a*t):u(t*t,e/2,a)},p=function(t){var e=0,a=t;while(a>=4096)e+=12,a/=4096;while(a>=2)e+=1,a/=2;return e},d=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){l.call({})}));n({target:"Number",proto:!0,forced:d},{toFixed:function(t){var e,a,n,o,l=i(this),d=s(t),m=[0,0,0,0,0,0],v="",f="0",h=function(t,e){var a=-1,n=e;while(++a<6)n+=t*m[a],m[a]=n%1e7,n=c(n/1e7)},g=function(t){var e=6,a=0;while(--e>=0)a+=m[e],m[e]=c(a/t),a=a%t*1e7},b=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==m[t]){var a=String(m[t]);e=""===e?a:e+r.call("0",7-a.length)+a}return e};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(v="-",l=-l),l>1e-21)if(e=p(l*u(2,69,1))-69,a=e<0?l*u(2,-e,1):l/u(2,e,1),a*=4503599627370496,e=52-e,e>0){h(0,a),n=d;while(n>=7)h(1e7,0),n-=7;h(u(10,n,1),0),n=e-1;while(n>=23)g(1<<23),n-=23;g(1<<n),h(1,1),g(2),f=b()}else h(0,a),h(1<<-e,0),f=b()+r.call("0",d);return d>0?(o=f.length,f=v+(o<=d?"0."+r.call("0",d-o)+f:f.slice(0,o-d)+"."+f.slice(o-d))):f=v+f,f}})},bb70:function(t,e,a){"use strict";var n=a("f06e"),s=a.n(n);s.a},f06e:function(t,e,a){},f232:function(t,e,a){},fe25:function(t,e,a){"use strict";var n=a("f232"),s=a.n(n);s.a}}]);
|