| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["GlobalCurrency"],{"15fd":function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));a("a4d3");function r(e,t){if(null==e)return{};var a={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;a[r]=e[r]}return a}function o(e,t){if(null==e)return{};var a,o,n=r(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)a=l[o],-1===t.indexOf(a)&&{}.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}},3835:function(e,t,a){"use strict";function r(e){if(Array.isArray(e))return e}a.d(t,"a",(function(){return i}));a("a4d3"),a("e01a"),a("d28b"),a("14d9"),a("d3b7"),a("3ca3"),a("ddb0");function o(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,o,n,l,i=[],s=!0,c=!1;try{if(n=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(r=n.call(a)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=a["return"]&&(l=a["return"](),Object(l)!==l))return}finally{if(c)throw o}}return i}}var n=a("06c5");a("d9e2");function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){return r(e)||o(e,t)||Object(n["a"])(e,t)||l()}},"4fadc":function(e,t,a){"use strict";var r=a("23e7"),o=a("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},"547f":function(e,t,a){},"6bb1":function(e,t,a){},"6cf1":function(e,t,a){"use strict";a("6bb1")},"8e9c":function(e,t,a){"use strict";a("547f")},ee23:function(e,t,a){"use strict";a.r(t);var r=a("3835"),o=(a("99af"),a("4fadc"),a("ac1f"),a("841c"),function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"view",attrs:{id:"review_Email","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[t("div",{staticClass:"crm_search"},[t("el-form",{ref:"form",attrs:{"label-position":"",model:e.search,"label-width":""}},[t("el-row",[t("el-col",{attrs:{span:24,md:24,lg:24}},[t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-select",{staticClass:"crm-border-radius-no",attrs:{clearable:"",size:"small",placeholder:e.$t("global.p1")},on:{change:e.toSearch},model:{value:e.search.payoutCurrency,callback:function(t){e.$set(e.search,"payoutCurrency",t)},expression:"search.payoutCurrency"}},e._l(e.currenciesDropdown,(function(e,a){return t("el-option",{key:a,attrs:{label:e,value:e}})})),1)],1),t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-select",{staticClass:"crm-border-radius-no",attrs:{clearable:"",size:"small",placeholder:e.$t("global.p2")},on:{change:e.toSearch},model:{value:e.search.transferTypeId,callback:function(t){e.$set(e.search,"transferTypeId",t)},expression:"search.transferTypeId"}},e._l(Object.entries(e.transferType),(function(e,a){var o=Object(r["a"])(e,2),n=o[0],l=o[1];return t("el-option",{key:a,attrs:{label:l,value:n}})})),1)],1),t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-select",{staticClass:"crm-border-radius-no",attrs:{clearable:"",size:"small",placeholder:e.$t("global.p3")},on:{change:e.toSearch},model:{value:e.search.payoutMethodId,callback:function(t){e.$set(e.search,"payoutMethodId",t)},expression:"search.payoutMethodId"}},e._l(Object.entries(e.payoutMethod),(function(a,o){var n=Object(r["a"])(a,2),l=n[0],i=n[1];return t("el-option",{key:o,attrs:{label:e.$t(i),value:l}})})),1)],1),t("el-form-item",[t("el-select",{staticClass:"crm-border-radius-no",attrs:{clearable:"",size:"small",placeholder:e.$t("Ucard.CardType.s3")},on:{change:e.toSearch},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[t("el-option",{attrs:{label:e.$t("Ucard.CardType.t5"),value:"offline"}}),t("el-option",{attrs:{label:e.$t("Ucard.CardType.t6"),value:"online"}})],1)],1),t("el-form-item",[t("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1)],1),t("el-form-item",[t("div",{staticClass:"search_action_btn"},[e.display["R-GlobalCurrency-Sync"].show?t("el-button",{staticClass:"crm-cursor",attrs:{type:"primary",loading:e.syncLoading},on:{click:e.updateCardTypes}},[e._v(" "+e._s(e.$t("R-GlobalCurrency-Sync"))+" ")]):e._e()],1)])],1),t("div",{staticClass:"card-mock-demo",staticStyle:{"margin-top":"30px"}},[t("el-table",{staticStyle:{"margin-top":"20px",width:"100%"},attrs:{data:e.mergeFirstRowData,stripe:""}},[t("el-table-column",{attrs:{prop:"feeRateConfig",align:"left",label:e.$t("global.p5")}}),t("el-table-column",{attrs:{prop:"fixedFeeConfig",align:"left",label:e.$t("global.p6")}}),t("el-table-column",{attrs:{label:e.$t("Ucard.Business.item20"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link crm-cursor"},[t("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["R-GlobalCurrency-Update"]&&e.display["R-GlobalCurrency-Update"].show?t("el-dropdown-item",{attrs:{command:{type:1,row:a.row}}},[t("i",{staticClass:"el-icon-edit"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-GlobalCurrency-Update",expression:"'R-GlobalCurrency-Update'"}]})]):e._e()],1)],1)]}}])})],1)],1),t("div",{staticClass:"card-mock-demo",staticStyle:{"margin-bottom":"30px"}},[t("el-table",{staticStyle:{"margin-top":"20px",width:"100%"},attrs:{data:e.mock_tableData,stripe:""}},[t("el-table-column",{attrs:{prop:"payoutCurrency",align:"left",label:e.$t("global.p1")}}),t("el-table-column",{attrs:{prop:"transferTypeValue",align:"left",label:e.$t("global.p2")}}),t("el-table-column",{attrs:{prop:"payoutMethodValue",align:"left",label:e.$t("global.p3")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(e.$t(e.payoutMethod[a.row.payoutMethodId])))])]}}])}),t("el-table-column",{attrs:{prop:"country",align:"left",label:e.$t("global.p4")}}),t("el-table-column",{attrs:{prop:"feeRateConfig",align:"left",label:e.$t("global.p5")}}),t("el-table-column",{attrs:{prop:"fixedFeeConfig",align:"left",label:e.$t("global.p6")}}),t("el-table-column",{attrs:{prop:"minQuotaConfig",align:"left",label:e.$t("global.p7")}}),t("el-table-column",{attrs:{prop:"maxQuotaConfig",align:"left",label:e.$t("global.p8")}}),t("el-table-column",{attrs:{prop:"yearTransferAmountQuotaConfig",align:"left",label:e.$t("global.p9")}}),t("el-table-column",{attrs:{prop:"status",align:"left",label:e.$t("Ucard.CardType.item7")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-tag",{attrs:{type:"online"===a.row.status?"success":"info"}},[e._v(e._s("online"===a.row.status?e.$t("Ucard.CardType.t6"):e.$t("Ucard.CardType.t5"))+" ")])]}}])}),t("el-table-column",{attrs:{label:e.$t("Ucard.Business.item20"),align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleCommand}},[t("span",{staticClass:"el-dropdown-link crm-cursor"},[t("i",{staticClass:"iconfont iconcaidan",staticStyle:{"font-weight":"bold","font-size":"20px"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e.display["R-GlobalCurrency-Update1"]&&e.display["R-GlobalCurrency-Update1"].show?t("el-dropdown-item",{attrs:{command:{type:2,row:a.row}}},[t("i",{staticClass:"el-icon-edit"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-GlobalCurrency-Update1",expression:"'R-GlobalCurrency-Update1'"}]})]):e._e()],1)],1)]}}])})],1)],1)],1),e.pagerInfo.rowTotal?t("div",{staticClass:"crm_pagination"},[t("div",{staticClass:"crm_page_total"},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item1",expression:"'Page.total.item1'"}]}),t("span",[e._v(e._s(e.pagerInfo.rowTotal))]),t("span",{directives:[{name:"t",rawName:"v-t",value:"Page.total.item2",expression:"'Page.total.item2'"}]})]),t("el-pagination",{staticClass:"page",attrs:{background:"",layout:"sizes, prev, pager, next","page-sizes":[10,20,50,100],"page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange}})],1):e._e(),e.approvalAllDialog?t("el-dialog",{attrs:{title:1==e.form.type?e.$t("R-GlobalCurrency-Update"):e.$t("R-GlobalCurrency-Update1"),visible:e.approvalAllDialog,width:"900px","close-on-click-modal":!1},on:{"update:visible":function(t){e.approvalAllDialog=t}}},[t("el-form",{ref:"form",staticClass:"business-edit-form",attrs:{rules:e.rules,model:e.form,"label-position":"top"}},[t("el-form-item",{attrs:{prop:"feeRateConfig",label:e.$t("global.p5")}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("Placeholder.Input")},model:{value:e.form.feeRateConfig,callback:function(t){e.$set(e.form,"feeRateConfig",t)},expression:"form.feeRateConfig"}})],1),t("el-form-item",{attrs:{prop:"fixedFeeConfig",label:e.$t("global.p6")}},[t("el-input",{attrs:{type:"number",placeholder:e.$t("Placeholder.Input")},model:{value:e.form.fixedFeeConfig,callback:function(t){e.$set(e.form,"fixedFeeConfig",t)},expression:"form.fixedFeeConfig"}})],1),"2"===e.form.type?[t("el-form-item",{attrs:{prop:"minQuotaConfig"}},[t("span",{attrs:{slot:"label"},slot:"label"},[t("span",[e._v(e._s(e.$t("global.p7")))]),e.minRate?t("span",{staticClass:"rate-tip"},[e._v(e._s("".concat(e.$t("Ucard.GlobalOrder.currencyTip")).concat(e.minRate)))]):e._e()]),t("el-input",{attrs:{type:"number",max:e.form.maxMinQuota,min:e.form.maxQuotaConfig,placeholder:e.$t("Placeholder.Input")},model:{value:e.form.minQuotaConfig,callback:function(t){e.$set(e.form,"minQuotaConfig",t)},expression:"form.minQuotaConfig"}})],1),t("el-form-item",{attrs:{prop:"maxQuotaConfig"}},[t("span",{attrs:{slot:"label"},slot:"label"},[t("span",[e._v(e._s(e.$t("global.p8")))]),e.maxRate?t("span",{staticClass:"rate-tip"},[e._v(e._s("".concat(e.$t("Ucard.GlobalOrder.currencyTip")," ").concat(e.maxRate)))]):e._e()]),t("el-input",{attrs:{type:"number",placeholder:e.$t("Placeholder.Input")},model:{value:e.form.maxQuotaConfig,callback:function(t){e.$set(e.form,"maxQuotaConfig",t)},expression:"form.maxQuotaConfig"}})],1),t("el-form-item",{attrs:{prop:"yearTransferAmountQuotaConfig",label:e.$t("global.p9")}},[t("span",{attrs:{slot:"label"},slot:"label"},[t("span",[e._v(e._s(e.$t("global.p9")))]),e.yearRate?t("span",{staticClass:"rate-tip"},[e._v(e._s("".concat(e.$t("Ucard.GlobalOrder.currencyTip")," ").concat(e.yearRate)))]):e._e()]),t("el-input",{attrs:{type:"number",max:e.form.minYearTransferAmountQuota,placeholder:e.$t("Placeholder.Input")},model:{value:e.form.yearTransferAmountQuotaConfig,callback:function(t){e.$set(e.form,"yearTransferAmountQuotaConfig",t)},expression:"form.yearTransferAmountQuotaConfig"}})],1)]:e._e()],2),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.approvalAllDialog=!1}}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Ucard.Business.p32",expression:"'Ucard.Business.p32'"}]})]),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"card.Btn.Confirm",expression:"'card.Btn.Confirm'"}],attrs:{type:"primary"},on:{click:e.updateCardTypesConfig}})],1)],1):e._e()],1)}),n=[],l=a("15fd"),i=a("2909"),s=a("c7eb"),c=a("5530"),u=a("1da1"),f=(a("d9e2"),a("d81d"),a("e9f5"),a("ab43"),a("a9e3"),a("b64b"),a("d3b7"),a("00b4"),a("6062"),a("1e70"),a("79a4"),a("c1a1"),a("8b00"),a("a4e7"),a("1e5a"),a("72c3"),a("3ca3"),a("ddb0"),a("c6e4")),p=a("f121"),d=a.n(p),m=a("2ef0"),g=a.n(m),b=a("fa7d"),v=["feeRateConfig","fixedFeeConfig"],y=["feeRateConfig","fixedFeeConfig","minQuotaConfig","maxQuotaConfig","yearTransferAmountQuotaConfig"],C=d.a.Code,h={1:"B2B",2:"B2C",3:"C2C",4:"C2B"},w={1:"global.p13",7:"global.p14"},x={name:"GlobalCurrency",components:{},data:function(){return{pictLoading:!1,syncLoading:!1,search:{tag:1,type:"",cardName:"",status:""},form:{feeRateConfig:null,fixedFeeConfig:null,minQuotaConfig:null,maxQuotaConfig:null,yearTransferAmountQuotaConfig:null},transferType:h,currenciesDropdown:[],mergeFirstRowData:[],payoutMethod:w,approvalAllDialog:!1,mock_tableData:[],pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},minRate:0,maxRate:0,yearRate:0,floatReg:/^\d+(\.\d{0,10})?$/}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))},rules:function(){var e=this;return{feeRateConfig:[{validator:function(t,a,r){if(a){var o=e.floatReg.test(a);return o?r():r(new Error(e.$i18n.t("global.validator.v13")))}r()},trigger:"change"}],fixedFeeConfig:[{validator:function(t,a,r){if(a){var o=e.floatReg.test(a);return o?r():r(new Error(e.$i18n.t("global.validator.v13")))}r()},trigger:"change"}],minQuotaConfig:[{validator:function(t,a,r){if(1==e.form.type||!a)return r();var o=Number(e.form.minQuota),n=Number(e.form.maxQuota),l=Number(e.form.maxQuotaConfig),i=Number(e.form.exchangeRate),s=e.floatReg.test(a);if(!s)return r(new Error(e.$i18n.t("global.validator.v13")));if(a=Number(a),isNaN(a))return r(new Error(e.$i18n.t("global.validator.v12")));var c=g.a.multiply(a,i);e.minRate=c,c<o?r(new Error(e.$i18n.t("global.validator.v2",{minQuota:o}))):c>n?r(new Error(e.$i18n.t("global.validator.v3",{maxQuota:n}))):l&&a>l?r(new Error(e.$i18n.t("global.validator.v4",{maxConfig:l}))):r()},trigger:"change"}],maxQuotaConfig:[{validator:function(t,a,r){if(1==e.form.type||!a)return r();var o=Number(e.form.minQuota),n=Number(e.form.maxQuota),l=Number(e.form.minQuotaConfig),i=Number(e.form.exchangeRate),s=e.floatReg.test(a);if(!s)return r(new Error(e.$i18n.t("global.validator.v13")));if(a=Number(a),isNaN(a))return r(new Error(e.$i18n.t("global.validator.v12")));var c=g.a.multiply(a,i);e.maxRate=c,c>n?r(new Error(e.$i18n.t("global.validator.v6",{maxQuota:n}))):c<o?r(new Error(e.$i18n.t("global.validator.v7",{minQuota:o}))):l&&a<l?r(new Error(e.$i18n.t("global.validator.v8",{minConfig:l}))):r()},trigger:"change"}],yearTransferAmountQuotaConfig:[{validator:function(t,a,r){if(1==e.form.type||!a)return r();var o=Number(e.form.yearTransferAmountQuota),n=Number(e.form.maxQuotaConfig),l=Number(e.form.exchangeRate),i=e.floatReg.test(a);if(!i)return r(new Error(e.$i18n.t("global.validator.v13")));if(a=Number(a),isNaN(a))return r(new Error(e.$i18n.t("global.validator.v12")));var s=g.a.multiply(a,l);e.yearRate=s,s>o?r(new Error(e.$i18n.t("global.validator.v10",{yearMax:o}))):n&&s<n?r(new Error(e.$i18n.t("global.validator.v11",{maxConfig:n}))):r()},trigger:"change"}]}}},methods:{keydown:function(e,t){console.log(e,t,"key")},handleCommand:function(e){var t=this;return Object(u["a"])(Object(s["a"])().mark((function a(){var r,o,n,l,i,u,p;return Object(s["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:a.t0=e.type,a.next=1===a.t0?3:2===a.t0?7:16;break;case 3:return r=Object(c["a"])(Object(c["a"])({},e.row),{},{type:"1"}),t.form=r,t.approvalAllDialog=!0,a.abrupt("break",16);case 7:return o=Object(c["a"])(Object(c["a"])({},e.row),{},{type:"2"}),n=o,l=n.payoutCurrency,i=n.payoutMethodId,u=n.transferTypeId,a.next=11,f["a"].globalLatestExchangeRate({payoutCurrency:l,payoutMethodId:i,transferTypeId:u});case 11:return p=a.sent,200==p.code&&(o=Object(c["a"])(Object(c["a"])({},o),{},{exchangeRate:p.data})),t.form=Object(c["a"])({},o),t.approvalAllDialog=!0,a.abrupt("break",16);case 16:case"end":return a.stop()}}),a)})))()},updateCardTypesConfig:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){var a,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$refs.form.validate();case 3:if(a=t.sent,a){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,f["a"].updateGlobalFee(Object(c["a"])({},e.form));case 8:r=t.sent,200==r.code?(e.form={feeRateConfig:null,fixedFeeConfig:null,minQuotaConfig:null,maxQuotaConfig:null,yearTransferAmountQuotaConfig:null},e.approvalAllDialog=!1,e.toSearch()):e.$pigeon.MessageError(r.msg),t.next=15;break;case 12:t.prev=12,t.t0=t["catch"](0),console.log(t.t0,1212);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})))()},closeForm:function(){this.minRate=0,this.maxRate=0,this.yearRate=0},toSearch:function(){this.pagerInfo.current=1,this.globalCurrenciesConfig(),this.searchFunc()},updateCardTypes:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.syncLoading=!0,t.next=3,f["a"].globalCurrenciesSave({});case 3:a=t.sent,a.code==C.StatusOK?(e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.searchFunc()):e.$pigeon.MessageError(a.msg),e.syncLoading=!1;case 6:case"end":return t.stop()}}),t)})))()},updateCardType:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.approvalAllDialog=!0;case 1:case"end":return t.stop()}}),t)})))()},globalCurrenciesDropdown:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){var a,r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f["a"].globalCurrenciesDropdown({});case 2:a=t.sent,a.code==C.StatusOK?(r=Object(i["a"])(new Set(a.data.map((function(e){return e.payoutCurrency})))),e.currenciesDropdown=r):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},globalCurrenciesConfig:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){var a,r,o,n,i;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f["a"].globalCurrenciesConfig({});case 2:a=t.sent,200==a.code?(r=a.data,o=r.feeRateConfig,n=r.fixedFeeConfig,i=Object(l["a"])(r,v),e.mergeFirstRowData=[Object(c["a"])(Object(c["a"])({},i),{},{feeRateConfig:o?Object(b["b"])(o):"",fixedFeeConfig:n?Object(b["b"])(n):""})]):e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(u["a"])(Object(s["a"])().mark((function t(){var a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.pictLoading=!0,e.display["R-GlobalCurrency-List"].show){t.next=5;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.abrupt("return");case 5:return t.next=7,f["a"].globalCurrenciesList(Object(c["a"])(Object(c["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 7:a=t.sent,a.code==C.StatusOK?(e.mock_tableData=a.data.map((function(e){var t=e.feeRateConfig,a=e.fixedFeeConfig,r=e.minQuotaConfig,o=e.maxQuotaConfig,n=e.yearTransferAmountQuotaConfig,i=Object(l["a"])(e,y);return Object(c["a"])(Object(c["a"])({},i),{},{feeRateConfig:t?Object(b["b"])(t):"",fixedFeeConfig:a?Object(b["b"])(a):"",minQuotaConfig:r?Object(b["b"])(r):"",maxQuotaConfig:o?Object(b["b"])(o):"",yearTransferAmountQuotaConfig:n?Object(b["b"])(n):""})})),null!=a.page?(e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess"))):e.$pigeon.MessageError(a.msg),e.pictLoading=!1;case 10:case"end":return t.stop()}}),t)})))()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.globalCurrenciesConfig(),this.searchFunc(),this.globalCurrenciesDropdown()},watch:{approvalAllDialog:function(){this.closeForm()}}},$=x,O=(a("8e9c"),a("6cf1"),a("2877")),j=Object(O["a"])($,o,n,!1,null,"30c586e2",null);t["default"]=j.exports},fa7d:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o}));a("3835"),a("99af"),a("d81d"),a("e9f5"),a("ab43"),a("a9e3"),a("d3b7"),a("ac1f"),a("4d90"),a("5319");function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(navigator.clipboard)navigator.clipboard.writeText(e);else{var t=document.createElement("textarea");document.body.appendChild(t),t.style.position="fixed",t.style.clip="rect(0 0 0 0)",t.style.top="10px",t.value=e,t.select(),document.execCommand("copy",!0),document.body.removeChild(t)}}var o=function(e){return e.replace(/(\.\d*?[1-9])0+$/,"$1").replace(/\.0+$/,"").replace(/\.$/,"")}}}]);
|