You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crmeb_php/public/mer/js/chunk-67e1db22.23b7c7ca.js

1 line
14 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-67e1db22"],{"017b":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("div",{staticClass:"container"},[r("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[r("span",{staticClass:"seachTiele"},[t._v("时间选择:")]),t._v(" "),r("el-radio-group",{staticClass:"mr20",attrs:{type:"button",size:"small"},on:{change:function(e){return t.selectChange(t.tableFrom.date)}},model:{value:t.tableFrom.date,callback:function(e){t.$set(t.tableFrom,"date",e)},expression:"tableFrom.date"}},t._l(t.fromList.fromTxt,(function(e,n){return r("el-radio-button",{key:n,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),r("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),t._v(" "),r("div",{staticClass:"mt20"},[r("span",{staticClass:"seachTiele"},[t._v("关键字:")]),t._v(" "),r("el-input",{staticClass:"selWidth mr20",attrs:{placeholder:"请输入订单号/用户昵称"},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}}),t._v(" "),r("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-search"},on:{click:t.getList}},[t._v("搜索")]),t._v(" "),r("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-top"},on:{click:t.exports}},[t._v("列表导出")])],1)],1)],1)]),t._v(" "),r("cards-data",{attrs:{"card-lists":t.cardLists}}),t._v(" "),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[r("el-table-column",{attrs:{label:"订单号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return["mer_accoubts"!=e.row.financial_type?r("span",[t._v(t._s(e.row.order_sn))]):r("span",[t._v(t._s(e.row.financial_record_sn))])]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"financial_record_sn",label:"交易流水号","min-width":"100"}}),t._v(" "),r("el-table-column",{attrs:{prop:"create_time",label:"交易时间","min-width":"100",sortable:""}}),t._v(" "),r("el-table-column",{attrs:{prop:"user_info",label:"对方信息","min-width":"80"}}),t._v(" "),r("el-table-column",{attrs:{label:"交易类型","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(t._f("transactionTypeFilter")(e.row.financial_type)))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"收支金额(元)","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(1===e.row.financial_pm?e.row.number:-e.row.number))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return["mer_accoubts"==e.row.financial_type?r("router-link",{attrs:{to:{path:t.roterPre+"/accounts/reconciliation?reconciliation_id="+e.row.order_id}}},[r("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("详情")])],1):"order"==e.row.financial_type||"brokerage_one"==e.row.financial_type||"brokerage_two"==e.row.financial_type?r("router-link",{attrs:{to:{path:t.roterPre+"/order/list?order_sn="+e.row.order_sn}}},[r("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("详情")])],1):r("router-link",{attrs:{to:{path:t.roterPre+"/order/refund?refund_order_sn="+e.row.order_sn}}},[r("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("详情")])],1)]}}])})],1),t._v(" "),r("div",{staticClass:"block"},[r("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumpe