| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["OrderList"],{"1ae2":function(e,t,a){},"293b":function(e,t,a){},"31a8":function(e,t,a){"use strict";a("1ae2")},5408:function(e,t,a){"use strict";a.r(t);a("ac1f"),a("841c"),a("498a");var r=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:"financial_OnlineDeposit","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_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[t("el-option",{attrs:{label:e.$t("Financial_info.OnlineDeposit.OrderStatus"),value:null},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item7"),value:0},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item8"),value:1},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item9"),value:2},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item10"),value:3},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item11"),value:4},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item12"),value:5},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}})],1)],1),t("el-form-item",{staticStyle:{"margin-right":"10px"}},[t("el-select",{staticClass:"crm_search_down_special crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.callbackStatus,callback:function(t){e.$set(e.search,"callbackStatus",t)},expression:"search.callbackStatus"}},[t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item6"),value:null},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item13"),value:0},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item14"),value:1},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item15"),value:2},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item16"),value:3},nativeOn:{click:function(t){return e.toSearch.apply(null,arguments)}}})],1)],1),t("el-form-item",{staticClass:"w-box"},[t("el-select",{staticClass:"crm_search_down crm-border-radius-no",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.search.tag,callback:function(t){e.$set(e.search,"tag",t)},expression:"search.tag"}},[t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item17"),value:1}}),t("el-option",{attrs:{label:e.$t("R-CwgPay.Label.item18"),value:2}})],1)],1),t("el-form-item",{staticClass:"w-box",staticStyle:{"margin-right":"10px"}},[1==e.search.tag?t("el-input",{staticClass:"crm-border-radius-no",attrs:{size:"small",clearable:"",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.serial,callback:function(t){e.$set(e.search,"serial","string"===typeof t?t.trim():t)},expression:"search.serial"}}):e._e(),2==e.search.tag?t("el-input",{staticClass:"crm-border-radius-no",attrs:{size:"small",clearable:"",placeholder:e.$t("Placeholder.Input")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toSearch.apply(null,arguments)}},model:{value:e.search.merchantSerial,callback:function(t){e.$set(e.search,"merchantSerial","string"===typeof t?t.trim():t)},expression:"search.merchantSerial"}}):e._e()],1),t("el-form-item",[t("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{"label-width":"auto",type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("Placeholder.Start"),"end-placeholder":e.$t("Placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),t("el-button",{staticClass:"crm-border-radius-no crm-border-left-no ss-box",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}}),t("el-button",{staticClass:"crm-border-radius-no ss-box1",staticStyle:{width:"50%"},attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}},[e._v("搜索")])],1)],1)],1),t("el-form-item",[t("div",{staticClass:"search_action_btn"},[e.display["R-CwgPay.R-PayOrder-export"].show?t("el-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary",size:"small"},on:{click:e.exportAgents}},[t("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Export",expression:"'Btn.Export'"}]})]):e._e()],1)])],1)],1),t("el-table",{attrs:{data:e.mock_tableData,stripe:"",fit:""}},[t("el-table-column",{attrs:{type:"expand",fixed:""},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},["ALIPAY"!=a.row.payType?t("el-form-item",{attrs:{label:e.$i18n.t("R-CwgPay.Label.item32")}},[t("span",[e._v(e._s(a.row.bankUname||"--"))])]):e._e(),"ALIPAY"!=a.row.payType?t("el-form-item",{attrs:{label:e.$i18n.t("system_info.Label.BankCardNum")}},[t("span",[e._v(e._s(a.row.bankCardNum||"--"))])]):e._e(),"ALIPAY"!=a.row.payType?t("el-form-item",{attrs:{label:e.$i18n.t("R-CwgPay.Label.item33")}},[t("span",[e._v(e._s(a.row.bankName||"--"))])]):e._e(),"ALIPAY"!=a.row.payType?t("el-form-item",{attrs:{label:e.$i18n.t("R-CwgPay.Label.item5")}},[t("span",[e._v(e._s(a.row.bankBranchName||"--"))])]):e._e(),t("el-form-item",{attrs:{label:e.$i18n.t("R-CwgPay.Label.item46")}},[t("span",[e._v(e._s(a.row.payMsg||"--"))])]),"ALIPAY"==a.row.payType?t("el-form-item",{attrs:{label:e.$i18n.t("R-CwgPay.Label.item44")}},[a.row.alipayUrl?t("el-image",{staticStyle:{width:"50px",height:"50px"},attrs:{lazy:!1,src:e.imgUrl+a.row.alipayUrl,"preview-src-list":[e.imgUrl+a.row.alipayUrl]}},[t("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture-outline"})])]):t("span",[e._v("--")])],1):e._e()],1)]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item17")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.serial||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item18")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.merchantSerial||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",fixed:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item43")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.customName||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.AmountMoney")+"(¥)"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("div",{staticStyle:{color:"#EB3F57"}},[e._v(e._s(e._f("NumberFormat")(e._f("NumberDecimal")(a.row.amount||"0"))))])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item19")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(e._f("NumberFormat")(e._f("NumberDecimal")(a.row.actualAmount||"0"))))])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item20")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(100*t.row.inRate||"0")+"% ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item21")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.inRateAmount||"0")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item45")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.payType||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",width:"120",align:"left",label:e.$i18n.t("Financial_info.OnlineDeposit.OrderStatus")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[0==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item7",expression:"'R-CwgPay.Label.item7'"}],staticClass:"state crm_state_gray"}):e._e(),1==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item8",expression:"'R-CwgPay.Label.item8'"}],staticClass:"state crm_state_blue"}):e._e(),2==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item9",expression:"'R-CwgPay.Label.item9'"}],staticClass:"state crm_state_green"}):e._e(),3==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item10",expression:"'R-CwgPay.Label.item10'"}],staticClass:"state crm_state_red"}):e._e(),4==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item11",expression:"'R-CwgPay.Label.item11'"}],staticClass:"state crm_state_gray"}):e._e(),5==a.row.status?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item12",expression:"'R-CwgPay.Label.item12'"}],staticClass:"state crm_state_gray"}):e._e()])]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("R-CwgPay.Label.item6")},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[0==a.row.callbackStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item13",expression:"'R-CwgPay.Label.item13'"}]}):e._e(),1==a.row.callbackStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item14",expression:"'R-CwgPay.Label.item14'"}]}):e._e(),2==a.row.callbackStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item15",expression:"'R-CwgPay.Label.item15'"}]}):e._e(),3==a.row.callbackStatus?t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.Label.item16",expression:"'R-CwgPay.Label.item16'"}]}):e._e()])]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Label.Descr")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.approveDesc||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",width:"120",label:e.$i18n.t("Cooperative.Agent.AddTime")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"left",label:e.$i18n.t("Label.ProcessingDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.approveTime||"--")+" ")]}}])}),t("el-table-column",{attrs:{prop:"",align:"center",label:e.$i18n.t("Label.Action")},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"},[1==a.row.status&&e.display["R-CwgPay.R-order-approve"].show?t("el-dropdown-item",{attrs:{command:{type:"check",row:a.row}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.R-order-approve",expression:"'R-CwgPay.R-order-approve'"}]})]):e._e(),3==a.row.callbackStatus&&e.display["R-CwgPay.R-order-callback"].show?t("el-dropdown-item",{attrs:{command:{type:"supplement",row:a.row}}},[t("i",{staticClass:"el-icon-folder-add"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.R-order-callback",expression:"'R-CwgPay.R-order-callback'"}]})]):e._e(),4!=a.row.status&&5!=a.row.status||!e.display["R-order-expireTimeRestartOrder"].show?e._e():t("el-dropdown-item",{attrs:{command:{type:"expireTimeRestartOrder",row:a.row}}},[t("i",{staticClass:"el-icon-folder-add"}),t("span",{directives:[{name:"t",rawName:"v-t",value:"R-CwgPay.R-order-expireTimeRestartOrder",expression:"'R-CwgPay.R-order-expireTimeRestartOrder'"}]})])],1)],1)]}}])})],1),e.pagerInfo.rowTotal?t("div",{staticClass:"crm_pagination"},[t("el-pagination",{staticClass:"page",attrs:{background:"","pager-count":5,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(),t("el-dialog",{attrs:{title:e.$t("R-CwgPay.R-order-approve"),visible:e.dialogCheck,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogCheck=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogCheck_form",staticClass:"dialogCheck_form",attrs:{model:e.dialogCheck_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item17")+":"}},[e._v(" "+e._s(e.dialogCheck_form.serial)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item18")+":"}},[e._v(" "+e._s(e.dialogCheck_form.merchantSerial)+" ")]),t("el-form-item",{attrs:{prop:"status",label:e.$t("Label.ProcessingState")+":"}},[t("el-select",{staticClass:"crm_search_down",attrs:{size:"small",placeholder:e.$t("Placeholder.Choose")},model:{value:e.dialogCheck_form.status,callback:function(t){e.$set(e.dialogCheck_form,"status",t)},expression:"dialogCheck_form.status"}},[t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Refused"),value:3}}),t("el-option",{attrs:{label:e.$t("Apply_info.VerifiedUser.Agree"),value:2}})],1)],1),3==e.dialogCheck_form.status?t("el-form-item",{attrs:{prop:"approveDesc",label:e.$t("Label.Descr")+":"}},[t("el-input",{attrs:{size:"small",placeholder:e.$t("Placeholder.Input")},model:{value:e.dialogCheck_form.approveDesc,callback:function(t){e.$set(e.dialogCheck_form,"approveDesc",t)},expression:"dialogCheck_form.approveDesc"}})],1):e._e()],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toVerified()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancel}})],1)],1)]),t("el-dialog",{attrs:{title:e.$t("R-CwgPay.R-order-callback"),visible:e.dialogSupplement,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogSupplement=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogSupplement_form",staticClass:"dialogSupplement_form",attrs:{model:e.dialogSupplement_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item17")+":"}},[e._v(" "+e._s(e.dialogSupplement_form.serial)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item18")+":"}},[e._v(" "+e._s(e.dialogSupplement_form.merchantSerial)+" ")])],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toSupplement()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelSupplement}})],1)],1)]),t("el-dialog",{attrs:{title:e.$t("R-CwgPay.R-order-expireTimeRestartOrder"),visible:e.dialogExpireTimeRestartOrder,center:"","custom-class":"dialog_header_w"},on:{"update:visible":function(t){e.dialogExpireTimeRestartOrder=t}}},[t("div",{staticClass:"dia-content"},[t("el-form",{ref:"dialogExpireTimeRestartOrder_form",staticClass:"dialogExpireTimeRestartOrder_form",attrs:{model:e.dialogExpireTimeRestartOrder_form,rules:e.rules,"label-width":"135px"}},[t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item17")+":"}},[e._v(" "+e._s(e.dialogExpireTimeRestartOrder_form.serial)+" ")]),t("el-form-item",{attrs:{prop:"",label:e.$t("R-CwgPay.Label.item18")+":"}},[e._v(" "+e._s(e.dialogExpireTimeRestartOrder_form.merchantSerial)+" ")])],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}],attrs:{type:"primary"},on:{click:function(t){return e.toExpireTimeRestartOrder()}}}),t("el-button",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}],on:{click:e.cancelExpireTimeRestartOrder}})],1)],1)])],1)},l=[],i=a("c14f"),s=a("5530"),n=a("1da1"),o=(a("1236"),a("b64b"),a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("bf19"),a("9861"),a("88a7"),a("271a"),a("5494"),a("bc3a")),c=a.n(o),p=a("99c5"),u=a("f121"),d=a.n(u),m=d.a.Code,g={name:"OnlineDeposit",components:{},data:function(){return{flag:!1,imgUrl:d.a.Host85,reasons:{},pictLoading:!1,mock_tableData:[],search:{tag:1,serial:"",merchantSerial:"",status:null,callbackStatus:null,date:[],startDate:"",endDate:""},channelCode:[],dialogInfo:!1,dialogCheck:!1,dialogCheck_form:{status:null,approveDesc:""},type:1,dialogInfoTrading:!1,formInfoTrading:{},dialogSupplement:!1,dialogSupplement_form:{id:null,serial:"",callbackStatus:null,channelSerial:"",amount:"",transformAmount:"",rate:""},dialogExpireTimeRestartOrder:!1,dialogExpireTimeRestartOrder_form:{id:null,serial:"",callbackStatus:null,channelSerial:"",amount:"",transformAmount:"",rate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0},rules:{status:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}],approveDesc:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],depositTicket:[{required:!0,message:this.$i18n.t("vaildate.input.empty"),trigger:"blur"}],callbackStatus:[{required:!0,message:this.$i18n.t("vaildate.select.empty"),trigger:"change"}]}}},computed:{display:function(){return JSON.parse(this.Session.Get("display",!0))},lang:function(){return this.Session.Get("lang")}},methods:{selectChange:function(){this.$forceUpdate()},handleCommand:function(e){"check"==e.type?(this.$refs["dialogCheck_form"]&&this.$refs["dialogCheck_form"].resetFields(),this.dialogCheck=!0,this.dialogCheck_form.serial=e.row.serial,this.dialogCheck_form.merchantSerial=e.row.merchantSerial,this.dialogCheck_form.id=e.row.id):"supplement"==e.type?(this.$refs["dialogSupplement_form"]&&this.$refs["dialogSupplement_form"].resetFields(),this.dialogSupplement_form.id=e.row.id,this.dialogSupplement_form.serial=e.row.serial,this.dialogSupplement_form.merchantSerial=e.row.merchantSerial,this.dialogSupplement=!0):"expireTimeRestartOrder"==e.type&&(this.$refs["dialogExpireTimeRestartOrder_form"]&&this.$refs["dialogExpireTimeRestartOrder_form"].resetFields(),this.dialogExpireTimeRestartOrder_form.id=e.row.id,this.dialogExpireTimeRestartOrder_form.serial=e.row.serial,this.dialogExpireTimeRestartOrder_form.merchantSerial=e.row.merchantSerial,this.dialogExpireTimeRestartOrder=!0)},toVerified:function(){var e=Object(n["a"])(Object(i["a"])().m((function e(){var t=this;return Object(i["a"])().w((function(e){while(1)switch(e.n){case 0:this.$refs["dialogCheck_form"].validate(function(){var e=Object(n["a"])(Object(i["a"])().m((function e(a){var r;return Object(i["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=4;break}if(!t.flag){e.n=1;break}return e.a(2);case 1:t.flag=!0;case 2:return 3!=t.dialogCheck_form.status&&(t.dialogCheck_form.approveDesc=""),e.n=3,p["a"].payOrderApprove(Object(s["a"])({},t.dialogCheck_form));case 3:r=e.v,r.code==m.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancel(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(r.msg)),e.n=5;break;case 4:return e.a(2,!1);case 5:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 1:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancel:function(){this.dialogCheck=!1,this.$refs["dialogCheck_form"].resetFields()},toSupplement:function(){var e=Object(n["a"])(Object(i["a"])().m((function e(){var t=this;return Object(i["a"])().w((function(e){while(1)switch(e.n){case 0:if(1!=this.dialogSupplement_form.callbackStatus||this.dialogSupplement_form.channelSerial){e.n=1;break}return this.$pigeon.MessageWarning(this.$i18n.t("Msg.ChannelSerial")),e.a(2);case 1:this.$refs["dialogSupplement_form"].validate(function(){var e=Object(n["a"])(Object(i["a"])().m((function e(a){var r;return Object(i["a"])().w((function(e){while(1)switch(e.n){case 0:if(!a){e.n=4;break}if(!t.flag){e.n=1;break}return e.a(2);case 1:t.flag=!0;case 2:return e.n=3,p["a"].payOrderCallback({id:t.dialogSupplement_form.id});case 3:r=e.v,r.code==m.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.cancelSupplement(),t.searchFunc(),t.flag=!1):(t.flag=!1,t.$pigeon.MessageError(r.msg)),e.n=5;break;case 4:return e.a(2,!1);case 5:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelSupplement:function(){this.dialogSupplement=!1,this.$refs["dialogSupplement_form"].resetFields()},toExpireTimeRestartOrder:function(){var e=Object(n["a"])(Object(i["a"])().m((function e(){var t;return Object(i["a"])().w((function(e){while(1)switch(e.n){case 0:return e.n=1,p["a"].payOrderExpireTimeRestartOrder({id:this.dialogExpireTimeRestartOrder_form.id});case 1:t=e.v,t.code==m.StatusOK?(this.$pigeon.MessageOK(this.$i18n.t("Msg.Success")),this.cancelExpireTimeRestartOrder(),this.searchFunc(),this.flag=!1):(this.flag=!1,this.$pigeon.MessageError(t.msg));case 2:return e.a(2)}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),cancelExpireTimeRestartOrder:function(){this.dialogExpireTimeRestartOrder=!1,this.$refs["dialogExpireTimeRestartOrder_form"].resetFields()},exportAgents:function(){var e=this;return Object(n["a"])(Object(i["a"])().m((function t(){var a,r,l;return Object(i["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.search.startDate&&e.search.endDate){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("vaildate.date.empty")),t.a(2);case 1:a=e.search.startDate.split("-")[0]+e.search.startDate.split("-")[1]+e.search.startDate.split("-")[2],r=e.search.endDate.split("-")[0]+e.search.endDate.split("-")[1]+e.search.endDate.split("-")[2],l="/pay/order/export?startDate="+a+"&endDate="+r+"&callbackStatus="+(e.search.callbackStatus||0==e.search.callbackStatus?e.search.callbackStatus:"")+"&serial="+(e.search.serial?e.search.serial:"")+"&merchantSerial="+(e.search.merchantSerial?e.search.merchantSerial:"")+"&status="+(e.search.status||0==e.search.status?e.search.status:""),c.a.get(l,{responseType:"blob"}).then((function(t){if(t.status==m.StatusOK)if("msSaveOrOpenBlob"in navigator)window.navigator.msSaveOrOpenBlob(t.data,"Download.xlsx");else{var a=window.URL.createObjectURL(t.data),r=document.createElement("a");document.body.appendChild(r);var l=t.headers["content-disposition"]?t.headers["content-disposition"].split(";")[1].split("=")[1]:"Download.xlsx";r.href=a,r.download=l,r.click(),window.URL.revokeObjectURL(a)}else e.$pigeon.MessageError(e.$i18n.t("Msg.Download"))}));case 2:return t.a(2)}}),t)})))()},searchFunc:function(){var e=this;return Object(n["a"])(Object(i["a"])().m((function t(){var a;return Object(i["a"])().w((function(t){while(1)switch(t.n){case 0:if(e.pictLoading=!0,e.display["R-CwgPay.R-order-list"].show){t.n=1;break}return e.$pigeon.MessageWarning(e.$i18n.t("Msg.NotDisplay")),e.pictLoading=!1,t.a(2);case 1:return null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.n=2,p["a"].payOrderSearchList(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 2:a=t.v,a.code==m.StatusOK?(e.mock_tableData=a.data,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.pictLoading=!1):(e.$pigeon.MessageError(a.msg),e.pictLoading=!1);case 3:return t.a(2)}}),t)})))()},getSearchDate:function(e){this.search.date=e},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.searchFunc()},watch:{"search.tag":function(){this.search.serial="",this.search.merchantSerial=""}}},f=g,h=(a("31a8"),a("5988"),a("2877")),b=Object(h["a"])(f,r,l,!1,null,"b19bb946",null);t["default"]=b.exports},5988:function(e,t,a){"use strict";a("293b")}}]);
|