f0558d2dca29bc75664c.js 25 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[39],{433:function(t,e,n){},501:function(t,e,n){"use strict";var r=n(433);n.n(r).a},571:function(t,e,n){"use strict";n.r(e);n(31),n(11),n(7),n(22),n(16),n(17),n(4);var r=n(9),o=(n(30),n(3));function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var l=new Date;l.setDate(1),l.setHours(0),l.setMinutes(0),l.setSeconds(0);var d={data:function(){return{tabShow:!0,innerIncomeSum:0,innerOutcomeSum:0,incomeCount:0,innerCount:0,outcomeCount:0,frozenCount:0,activeName:"all",hasAuth:1,frozenSuccessSum:0,frozenSum:0,financeList:[],successCount:0,totalHave:0,totalSuccess:0,PayCount:0,paySuccess:0,productId:"",minRealAmount:"",productType:[0],orderTypes:"",orderTypesOption:[],orderState:401,orderStateOption:[],productTypes:"",productTypesOption:[],checked:!1,orderType:[0],tradeType:[0],payType:[0],timeType:2,payListPop:[],productTypePop:[],timeOptions:[{value:1,label:"到帐时间"},{value:2,label:"创建时间"}],TypeList:[],tradeList:[],payList:[],pickerOptions2:{shortcuts:[{text:"全部",onClick:function(t){this.timeRange=[],t.$emit("pick",[])}},{text:"最近7天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-6048e5),t.$emit("pick",[n,e])}},{text:"最近30天",onClick:function(t){var e=new Date,n=new Date;n.setTime(n.getTime()-2592e6),t.$emit("pick",[n,e])}},{text:"本周",onClick:function(t){var e=(new Date).getDay()-1;-1==e&&(e=6);var n=new Date,r=new Date;r.setTime(r.getTime()-864e5*e),t.$emit("pick",[r,n])}},{text:"本月",onClick:function(t){(new Date).getMonth,(new Date).getFullYear();var e=(new Date).getDate()-1,n=new Date,r=new Date;r.setTime(r.getTime()-864e5*e),t.$emit("pick",[r,n])}},{text:"本年",onClick:function(t){(new Date).getMonth;var e=(new Date).getFullYear(),n=((new Date).getDate(),new Date(e,0,1)),r=new Date-n,o=Math.ceil(r/864e5)-1,c=new Date,l=new Date;l.setTime(l.getTime()-864e5*o),t.$emit("pick",[l,c])}}]},timeRange:[l,new Date],arriveTime:"",searchId:"",tableData3:[],totalData:{},jobID:"",period:"",status:"",jobStatusList:[],checkUser:"",periodStatusList:[],totalCount:0,currentPage:1,currentPageSize:20,tableData:[],localData:{env:"test"},dateData:{start_time:"",end_time:""}}},computed:{isTest:function(){return"test"===this.localData.env},whole:function(){return this.totalData.whole||{}},totalDeposit:function(){return this.whole.total_deposit},totalFee:function(){return this.whole.total_fee}},mounted:function(){this.getAllChoice(),this.queryDataFormat(),this.getFinanceList()},methods:{queryDataFormat:function(){var t=this.$route.query;if("{}"!==JSON.stringify(t)){this.productType[0]=t.product_type?1*t.product_type:0;var e=new Date(t.start_time),n=new Date(t.end_time);this.timeRange=[e,n],this.payType[0]=t.channel||0}},formatExtra:function(t){if(t&&/^\{.*\}$/.test(t)){var data=JSON.parse(t);return"".concat(data.os,"/").concat(data.version||"?")}return"-"},formatDate:function(time){if("0"===time)return"--";var t=new Date(1e3*time),e=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),o=t.getHours(),c=t.getMinutes(),l=t.getSeconds();return o<10&&(o="0"+o),c<10&&(c="0"+c),l<10&&(l="0"+l),e+"-"+n+"-"+r+" "+o+":"+c+":"+l},changeOrder:function(){for(var t=!1,i=0;i<this.productType.length;i++)0==this.productType[i]&&(t=!0);if(this.productType.indexOf("扩展")>-1){this.productType.pop(),this.TypeList.pop();for(var e=9;e>=0;e--)this.TypeList.push(this.productTypePop.pop());this.TypeList.push({id:"缩进",name:"<<"})}if(this.productType.indexOf("缩进")>-1){this.productType.pop(),this.TypeList.pop();for(var n=0;n<10;n++)this.productTypePop[n]=this.TypeList.pop();this.TypeList.push({id:"扩展",name:">>"})}if(0==this.productType[0]&&1<this.productType.length<this.TypeList.length){for(var r=[],o=0;o<this.productType.length;o++)0!=this.productType[o]&&r.push(this.productType[o]);this.productType=r}0==this.productType[this.productType.length-1]&&(this.productType=[0]),t||this.productType.length!=this.TypeList.length-1||(this.productType=[0]),0==this.productType.length&&(this.productType=[0])},changePay:function(){for(var t=!1,i=0;i<this.payType.length;i++)0==this.payType[i]&&(t=!0);if(this.payType.indexOf("扩展")>-1&&(this.payType.pop(),this.payList.pop(),this.payList.push(this.payListPop[0]),this.payList.push(this.payListPop[1]),this.payList.push(this.payListPop[2]),this.payList.push({id:"缩进",name:"<<"})),this.payType.indexOf("缩进")>-1&&(this.payType.pop(),this.payList.pop(),this.payList.pop(),this.payList.pop(),this.payList.pop(),this.payList.push({id:"扩展",name:">>"})),0==this.payType[0]&&1<this.payType.length<this.payList.length){for(var e=[],n=0;n<this.payType.length;n++)0!=this.payType[n]&&e.push(this.payType[n]);this.payType=e}0==this.payType[this.payType.length-1]&&(this.payType=[0]),t||this.payType.length!=this.payList.length-1||(this.payType=[0]),0==this.payType.length&&(this.payType=[0])},clickExport:function(){window.open("/api/admin/job/get_all_periods?action=export")},getEnum:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$get("/api/admin/job/getEnum");case 2:n=e.sent,(data=n.data)&&(r=data.jobStatusList,o=data.periodStatusList,t.jobStatusList=r,t.periodStatusList=o);case 5:case"end":return e.stop()}}),e)})))()},clickOperate:function(t){var e=t.job_id,n=t.id;window.open(this.$store.state.domainConfig.rooterUrl+"/main/wage_settlement?job_id=".concat(e,"&period_id=").concat(n))},clickOrder:function(i){window.open(this.$store.state.domainConfig.rooterUrl+"/main/wage_details?job_id=".concat(i.job_id,"&period_id=").concat(i.id))},clickDev:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t))},clickCompany:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/user/".concat(t))},clickJobID:function(t){window.open(this.$store.state.domainConfig.siteUrl+"/rooter/cloudjobitem/".concat(t))},clickRetry:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.$post("/api/admin/payment/redoDraw",{id:t});case 2:n.sent;case 3:case"end":return n.stop()}}),n)})))()},tableRowClassName:function(t){var e=t.row,n=(t.rowIndex,"");return"结束合作"===e.j_status_name&&(n="end-row"),n},formatTableData:function(data){return data.map((function(i){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},i,{payAround:"".concat(i.start_time,"<br>").concat(i.end_time),pre_send_salary_timeShow:new Date(1e3*i.pre_send_salary_time).toLocaleDateString()})}))},clickSearchConfirm:function(){this.currentPage=1},changePageSize:function(t){this.currentPageSize=t,this.getFinanceList()},downFinanceList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r,o,time,c,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0,t.checked&&(n=1),r=[],r=0==t.productType[0]?"":t.productType.toString(),o=[],o=0==t.payType[0]?"":t.payType.toString(),time=1,time=""==t.timeType?"":t.timeType,c="",l="",t.timeRange.length>0?(c=t.formatDate(t.timeRange[0]/1e3),l=t.formatDate(t.timeRange[1]/1e3)):(c="",l=""),d=window.location.host+"/api/admin/order/export?product_type="+r+"&order_type="+t.orderTypes+"&channel="+o+"&start_time="+c+"&end_time="+l+"&date_type="+time+"&status="+t.orderState+"&artificial_mark="+n+"&order="+t.searchId+"&user="+t.checkUser+"&product_id="+t.productId,window.location.href="https://"+d;case 13:case"end":return e.stop()}}),e)})))()},changeTab:function(){this.orderTypes="",this.getFinanceList()},getFinanceList:function(){var t=this;this.$router.currentRoute.query.user&&(this.checkUser=this.$router.currentRoute.query.user);var e=0;this.checked&&(e=1);var n=[];n=0==this.productType[0]?"":this.productType.toString();var r=[];r=0==this.payType[0]?"":this.payType.toString();var time=1;time=""==this.timeType?"":this.timeType;var o="",c="";if(this.timeRange)if(this.timeRange.length>0)if(this.timeRange[0]/1e3*1e3==this.timeRange[1]/1e3*1e3){var l=this.timeRange[1]/1e3*1e3+864e5;o=this.formatDate(this.timeRange[0]/1e3),c=this.formatDate(l/1e3)}else o=this.formatDate(this.timeRange[0]/1e3),c=this.formatDate(this.timeRange[1]/1e3);else o="",c="";else o="",c="";var body={view:"platform",product_type:n,order_type:this.orderTypes,channel:r,start_time:o,end_time:c,date_type:time,status:this.orderState,artificial_mark:e,order:this.searchId,user:this.checkUser,product_id:this.productId,min_real_amount:this.minRealAmount?100*this.minRealAmount:0,page:this.currentPage,page_size:this.currentPageSize};""==this.orderTypes?body.active_name=this.activeName:this.activeName="all",this.$post("/api/admin/order/get_orders",body).then((function(e){var data=e.data;0===e.status&&(t.hasAuth=0),1===e.status&&(t.financeList=data.orders,t.totalCount=data.count,t.successCount=data.successCount,t.totalHave=data.income_sum,t.totalSuccess=data.income_success_sum,t.PayCount=data.expense_sum,t.paySuccess=data.expense_success_sum,t.frozenSum=data.frozen_sum,t.frozenSuccessSum=data.frozen_success_sum,t.innerOutcomeSum=data.inner_outcome_sum,t.innerIncomeSum=data.inner_income_sum,t.innerCount=data.inner_count,t.incomeCount=data.income_count,t.outcomeCount=data.outcome_count,t.frozenCount=data.frozen_count)}))},getAllChoice:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return{},e.next=3,t.$post("/api/admin/order/get_all_choice");case 3:for(n=e.sent,data=n.data,t.orderTypesOption=data.order_types,t.orderTypesOption.unshift({id:"",name:"全部"}),t.orderStateOption=data.order_state,t.payList=data.channels,t.payList.unshift({id:0,name:"全部"}),t.payListPop[0]=t.payList.pop(),t.payListPop[1]=t.payList.pop(),t.payListPop[2]=t.payList.pop(),t.payList.push({id:"扩展",name:">>"}),t.TypeList=data.product_types,t.TypeList.unshift({id:0,name:"全部"}),i=0;i<10;i++)t.productTypePop[i]=t.TypeList.pop();t.TypeList.push({id:"扩展",name:">>"});case 18:case"end":return e.stop()}}),e)})))()}},created:function(){}},_=(n(501),n(2)),component=Object(_.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasAuth?n("div",{staticStyle:{"padding-bottom":"60px"},attrs:{id:"cloud-balance"}},[n("section",{staticClass:"top"},[n("section",[n("div",{staticClass:"type-boxes"},[n("span",{staticClass:"vsub"},[t._v("订单类型:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-checkbox-group",{attrs:{size:"mini"},on:{change:t.changeOrder},model:{value:t.productType,callback:function(e){t.productType=e},expression:"productType"}},t._l(t.TypeList,(function(e){return n("el-checkbox-button",{key:e.id,attrs:{label:e.id}},[t._v(t._s(e.name))])})),1)],1)]),t._v(" "),n("div",{staticClass:"type-boxes"},[n("span",{staticClass:"vsub"},[t._v("支付方式:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-checkbox-group",{attrs:{size:"mini"},on:{change:t.changePay},model:{value:t.payType,callback:function(e){t.payType=e},expression:"payType"}},t._l(t.payList,(function(e){return n("el-checkbox-button",{key:e.id,attrs:{label:e.id}},[t._v(t._s(e.name))])})),1)],1),t._v(" "),n("div",{staticClass:"inlineb checkbox-div"},[n("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v("人工财务")])],1)]),t._v(" "),n("div",{staticClass:"type-boxes"},[n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("时间范围:")]),t._v(" "),n("el-date-picker",{staticStyle:{width:"260px"},attrs:{type:"daterange",align:"right","unlink-panels":"","range-separator":"到","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions2},model:{value:t.timeRange,callback:function(e){t.timeRange=e},expression:"timeRange"}})],1),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("时间类型:")]),t._v(" "),n("el-select",{staticStyle:{width:"120px"},attrs:{placeholder:"请选择"},model:{value:t.timeType,callback:function(e){t.timeType=e},expression:"timeType"}},t._l(t.timeOptions,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("状态:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-select",{staticStyle:{width:"140px"},attrs:{clearable:"",placeholder:""},model:{value:t.orderState,callback:function(e){t.orderState=e},expression:"orderState"}},t._l(t.orderStateOption,(function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)]),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("交易类型:")]),t._v(" "),n("el-select",{staticStyle:{width:"100px"},attrs:{placeholder:"交易类型"},model:{value:t.orderTypes,callback:function(e){t.orderTypes=e},expression:"orderTypes"}},t._l(t.orderTypesOption,(function(t){return n("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)]),t._v(" "),n("div",{staticClass:"type-boxes"},[n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("编号:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-input",{staticStyle:{width:"230px"},attrs:{placeholder:"订单编号/订单名称/支付编号"},model:{value:t.searchId,callback:function(e){t.searchId=e},expression:"searchId"}})],1)]),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("用户:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-input",{staticStyle:{width:"180px"},attrs:{placeholder:"uid/昵称/姓名"},model:{value:t.checkUser,callback:function(e){t.checkUser=e},expression:"checkUser"}})],1)]),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("项目:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-input",{staticStyle:{width:"100px"},attrs:{type:"number",placeholder:"项目ID"},model:{value:t.productId,callback:function(e){t.productId=e},expression:"productId"}})],1)]),t._v(" "),n("div",{staticClass:"inlineb"},[n("span",{staticClass:"vsub"},[t._v("最小金额:")]),t._v(" "),n("div",{staticClass:"inlineb"},[n("el-input",{staticStyle:{width:"100px"},attrs:{type:"number",placeholder:"最小实付金额"},model:{value:t.minRealAmount,callback:function(e){t.minRealAmount=e},expression:"minRealAmount"}})],1)]),t._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:t.getFinanceList}},[t._v("筛选")]),t._v(" "),n("el-button",{staticClass:"export-excel",attrs:{type:"primary"},on:{click:t.downFinanceList}},[t._v("导出报表")])],1),t._v(" "),n("div",{staticClass:"type-boxes"},[n("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":t.changeTab},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[n("el-tab-pane",{attrs:{label:"全部",name:"all"}},[n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("收入")]),t._v(" "),n("div",{staticClass:"text-num red"},[t._v("+ "+t._s(t.totalSuccess)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.incomeCount)+"笔")])]),t._v(" "),n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("支出")]),t._v(" "),n("div",{staticClass:"text-num green"},[t._v("- "+t._s(t.paySuccess)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.outcomeCount)+"笔")])]),t._v(" "),n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("内部流转")]),t._v(" "),n("div",{staticClass:"inner-text"},[t._v("+ "+t._s(t.innerIncomeSum)+"元")]),t._v(" "),n("div",{staticClass:"inner-text"},[t._v("- "+t._s(t.innerOutcomeSum)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.innerCount)+"笔")])]),t._v(" "),n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("冻结订单")]),t._v(" "),n("div",{staticClass:"text-num"},[t._v(t._s(t.frozenSuccessSum)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.frozenCount)+"笔")])])]),t._v(" "),n("el-tab-pane",{attrs:{label:"平台收入",name:"income"}},[n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("收入")]),t._v(" "),n("div",{staticClass:"text-num red"},[t._v("+ "+t._s(t.totalSuccess)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.incomeCount)+"笔")])])]),t._v(" "),n("el-tab-pane",{attrs:{label:"平台支出",name:"outcome"}},[n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("支出")]),t._v(" "),n("div",{staticClass:"text-num green"},[t._v("- "+t._s(t.paySuccess)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.outcomeCount)+"笔")])])]),t._v(" "),n("el-tab-pane",{attrs:{label:"内部流转",name:"inner"}},[n("div",{staticClass:"inlineb tab-item"},[n("div",{staticClass:"text-title"},[t._v("内部流转")]),t._v(" "),n("div",{staticClass:"inner-text"},[t._v("+ "+t._s(t.innerIncomeSum)+"元")]),t._v(" "),n("div",{staticClass:"inner-text"},[t._v("- "+t._s(t.innerOutcomeSum)+"元")]),t._v(" "),n("div",{staticClass:"count"},[t._v("共"+t._s(t.innerCount)+"笔")])])])],1)],1)])]),t._v(" "),n("div",{staticClass:"trcenter changeheight",attrs:{width:"100%"}},[n("el-table",{attrs:{data:t.financeList,border:"",width:"100%"}},[n("el-table-column",{attrs:{label:"订单名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"lblue point"},[n("nuxt-link",{attrs:{target:"_blank",to:{path:"/main/orders_detail?id="+e.row.order_no}}},[t._v(t._s(e.row.product_title))])],1)]}}],null,!1,948268546)}),t._v(" "),n("el-table-column",{attrs:{label:"用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("a",{staticClass:"link-type",attrs:{href:e.row.user_url,target:"_blank"}},[t._v(t._s(e.row.user_info.nickname)+"("+t._s(e.row.uid)+")")])]}}],null,!1,2597748741)}),t._v(" "),n("el-table-column",{attrs:{label:"实际金额"},scopedSlots:t._u([{key:"default",fn:function(e){return["admin_confirm"!=e.row.channel?[13==e.row.product_type?n("div",[8==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):4==e.row.order_type?["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))])],2):20==e.row.product_type?n("div",[8==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):n("span",[t._v("+"+t._s((e.row.real_amount/100).toFixed(2)))])]):200==e.row.product_type?n("div",[n("span",{staticClass:"green"},[t._v("\n "+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]):3==e.row.product_type||300==e.row.product_type?n("div",[41266==e.row.operator_uid?n("div",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("div",[n("span",{staticClass:"red"},[t._v("+"+t._s((e.row.real_amount/100).toFixed(2)))])])]):8==e.row.product_type?n("div",["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]):4==e.row.product_type?n("div",[8==e.row.order_type||5==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):4==e.row.order_type||1==e.row.order_type?["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))])],2):400==e.row.product_type?n("div",[8==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):1==e.row.order_type?["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))])],2):9==e.row.product_type?n("div",[8==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):5==e.row.order_type?[("balance"!=e.row.channel&&e.row.channel,n("span",[t._v("\n "+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]))]:1==e.row.order_type?["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))])],2):2==e.row.product_type?n("div",[8==e.row.order_type?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):5==e.row.order_type?[("balance"!=e.row.channel&&e.row.channel,n("span",[t._v("\n "+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]))]:1==e.row.order_type?["balance"!=e.row.channel&&"qingtuanbao"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:7==e.row.order_type?["balance"!=e.row.channel&&"qingtuanbao"!=e.row.channel?n("span",{staticClass:"green"},[t._v("\n "+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n "+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]:n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))])],2):(e.row.product_type,n("div",["balance"!=e.row.channel?n("span",{staticClass:"red"},[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")]):n("span",[t._v("\n +"+t._s((e.row.real_amount/100).toFixed(2))+"\n ")])]))]:["41266"!=e.row.operator_uid?n("div",[parseInt(e.row.real_amount)>0?n("span",{staticClass:"red"},[t._v("+"+t._s((e.row.real_amount/100).toFixed(2)))]):0==parseInt(e.row.real_amount)?n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]):n("span",{staticClass:"green"},[t._v(t._s((e.row.real_amount/100).toFixed(2)))])]):n("div",[parseInt(e.row.real_amount)>0?n("span",[t._v("+"+t._s((e.row.real_amount/100).toFixed(2)))]):(parseInt(e.row.real_amount),n("span",[t._v(t._s((e.row.real_amount/100).toFixed(2)))]))])]]}}],null,!1,1514650469)}),t._v(" "),n("el-table-column",{attrs:{prop:"channel_name",label:"支付方式"}}),t._v(" "),n("el-table-column",{attrs:{prop:"order_state_name",label:"订单状态"}}),t._v(" "),n("el-table-column",{attrs:{label:"来源"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.formatExtra(e.row.extra)))])]}}],null,!1,4228930596)}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.formatDate(e.row.created_at)))])]}}],null,!1,1539279802)}),t._v(" "),n("el-table-column",{attrs:{prop:"name",label:"到账时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t.formatDate(e.row.pay_time)))])]}}],null,!1,1710810642)}),t._v(" "),n("el-table-column",{attrs:{prop:"",label:"订单编号"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("nuxt-link",{attrs:{target:"_blank",to:{path:"/main/orders_detail?id="+e.row.order_no}}},[t._v(t._s(e.row.order_no))])]}}],null,!1,3248622040)}),t._v(" "),n("el-table-column",{attrs:{prop:"out_order_id",label:"支付编号"}}),t._v(" "),n("el-table-column",{attrs:{width:"100",label:"订单类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.product_type_name))]}}],null,!1,2610508969)}),t._v(" "),n("el-table-column",{attrs:{prop:"order_type_name",label:"交易类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.order_type_name))])]}}],null,!1,2133816791)}),t._v(" "),n("el-table-column",{attrs:{label:"关联项目"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("a",{attrs:{href:e.row.related_project.url?e.row.related_project.url:"#",target:"_blank"}},[n("span",{staticClass:"lblue"},[t._v(t._s(e.row.related_project.name?e.row.related_project.name:"--"))])])]}}],null,!1,992381760)}),t._v(" "),n("el-table-column",{attrs:{prop:"operator_uid",label:"人工"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.operator_info.nickname?n("span",[t._v(t._s(e.row.operator_info.nickname))]):t._e(),t._v(" "),n("span",[t._v("("+t._s(e.row.operator_uid)+")")])]}}],null,!1,4254788649)})],1)],1),t._v(" "),n("div",{staticClass:"order-footer"},[n("el-pagination",{attrs:{background:"","current-page":t.currentPage,"page-sizes":[10,20,30,40],"page-size":20,layout:"total, sizes, prev, pager, next, jumper",total:t.totalCount},on:{"current-change":t.getFinanceList,"size-change":t.changePageSize,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()}),[],!1,null,"5e49703e",null);e.default=component.exports}}]);