chunk-089fa94e.173c6ded.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-089fa94e"],{"017b":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",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("div",{staticClass:"container"},[a("el-form",{attrs:{size:"small",inline:"","label-width":"100px"}},[a("span",{staticClass:"seachTiele"},[t._v("时间选择:")]),t._v(" "),a("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 a("el-radio-button",{key:n,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),t._v(" "),a("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(" "),a("div",{staticClass:"mt20"},[a("span",{staticClass:"seachTiele"},[t._v("关键字:")]),t._v(" "),a("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(" "),a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-search"},on:{click:t.getList}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary",icon:"el-icon-top"},on:{click:t.exportRecord}},[t._v("生成列表")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.getExportFileList}},[t._v("导出已生成列表")])],1)],1)],1)]),t._v(" "),a("cards-data",{attrs:{"card-lists":t.cardLists}}),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"}},[a("el-table-column",{attrs:{label:"订单号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return["mer_accoubts"!=e.row.financial_type?a("span",[t._v(t._s(e.row.order_sn))]):a("span",[t._v(t._s(e.row.financial_record_sn))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"financial_record_sn",label:"交易流水号","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"交易时间","min-width":"100",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"user_info",label:"对方信息","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{label:"交易类型","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("transactionTypeFilter")(e.row.financial_type)))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"收支金额(元)","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(1===e.row.financial_pm?e.row.number:-e.row.number))])]}}])}),t._v(" "),a("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?a("router-link",{attrs:{to:{path:t.roterPre+"/accounts/reconciliation?reconciliation_id="+e.row.order_id}}},[a("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?a("router-link",{attrs:{to:{path:t.roterPre+"/order/list?order_sn="+e.row.order_sn}}},[a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("详情")])],1):a("router-link",{attrs:{to:{path:t.roterPre+"/order/refund?refund_order_sn="+e.row.order_sn}}},[a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"}},[t._v("详情")])],1)]}}])})],1),t._v(" "),a("div",{staticClass:"block"},[a("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, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),a("file-list",{ref:"exportList"})],1)},r=[],i=a("2801"),o=a("30dc"),s=a("83d6"),l=a("0f56"),c={components:{fileList:o["a"],cardsData:l["a"]},data:function(){return{tableData:{data:[],total:0},roterPre:s["roterPre"],listLoading:!0,tableFrom:{keyword:"",date:"",page:1,limit:20},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},selectionList:[],ids:"",tableFromLog:{page:1,limit:10},tableDataLog:{data:[],total:0},LogLoading:!1,dialogVisible:!1,evaluationStatusList:[{value:1,label:"已回复"},{value:0,label:"未回复"}],cardLists:[],orderDatalist:null}},mounted:function(){this.getList(),this.getStatisticalData()},methods:{selectChange:function(t){this.tableFrom.date=t,this.timeVal=[],this.getList(),this.getStatisticalData()},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.getList(),this.getStatisticalData()},getStatisticalData:function(){var t=this;Object(i["h"])({date:this.tableFrom.date}).then((function(e){t.cardLists=e.data})).catch((function(e){t.$message.error(e.message)}))},exportRecord:function(){var t=this;Object(i["b"])().then((function(e){var a=t.$createElement;t.$msgbox({title:"提示",message:a("p",null,[a("span",null,'文件正在生成中,请稍后点击"'),a("span",{style:"color: teal"},"导出已生成列表"),a("span",null,'"查看~ ')]),confirmButtonText:"我知道了"}).then((function(t){}))})).catch((function(e){t.$message.error(e.message)}))},getExportFileList:function(){this.$refs.exportList.exportFileList()},getList:function(){var t=this;this.listLoading=!0,Object(i["c"])(this.tableFrom).then((function(e){t.tableData.data=e.data.list,t.tableData.total=e.data.count,t.listLoading=!1})).catch((function(e){t.$message.error(e.message),t.listLoading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList()}}},u=c,d=(a("2065"),a("2877")),f=Object(d["a"])(u,n,r,!1,null,"22c73f44",null);e["default"]=f.exports},"0716":function(t,e,a){},"0f56":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-row",{staticClass:"ivu-mt",attrs:{gutter:10,align:"middle"}},[t._l(t.cardLists,(function(e,n){return a("el-col",{key:n,staticClass:"ivu-mb mb10",attrs:{xl:6,lg:6,md:12,sm:24,xs:24}},[a("div",{staticClass:"card_box"},[a("div",{staticClass:"card_box_cir",class:{one:n%5==0,two:n%5==1,three:n%5==2,four:n%5==3,five:n%5==4}},[a("div",{staticClass:"card_box_cir1",class:{one1:n%5==0,two1:n%5==1,three1:n%5==2,four1:n%5==3,five1:n%5==4}},[a("i",{class:e.className,staticStyle:{"font-size":"24px"}})])]),t._v(" "),a("div",{staticClass:"card_box_txt"},[a("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),t._v(" "),a("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])})),t._v(" "),a("div",{staticClass:"ivu-mb mb10"})],2)},r=[],i={name:"Index",props:{cardLists:Array}},o=i,s=(a("b254"),a("2877")),l=Object(s["a"])(o,n,r,!1,null,"4e260701",null);e["a"]=l.exports},2065:function(t,e,a){"use strict";var n=a("f434"),r=a.n(n);r.a},"30dc":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.fileVisible?a("el-dialog",{attrs:{title:"导出订单列表",visible:t.fileVisible,width:"900px"},on:{"update:visible":function(e){t.fileVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"文件名",prop:"name","min-width":"200"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作者ID",prop:"admin_id","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{label:"生成时间",prop:"create_time","min-width":"180"}}),t._v(" "),a("el-table-column",{attrs:{label:"类型","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("exportOrderTypeFilter")(e.row.type)))])]}}],null,!1,1077759765)}),t._v(" "),a("el-table-column",{attrs:{label:"状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t._f("exportOrderStatusFilter")(e.row.status)))])]}}],null,!1,359322133)}),t._v(" "),a("el-table-column",{key:"8",attrs:{label:"操作","min-width":"100",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.status?a("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(a){return t.downLoad(e.row.path)}}},[t._v("下载")]):t._e()]}}],null,!1,921379384)})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{"page-sizes":[10,20,30],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)]):t._e()],1)},r=[],i=a("f8b7"),o=(a("bbcc"),a("5f87"),{name:"FileList",data:function(){return{fileVisible:!1,loading:!1,tableData:{data:[],total:0},tableFrom:{page:1,limit:10}}},methods:{exportFileList:function(){var t=this;this.loading=!0,Object(i["g"])(this.tableFrom).then((function(e){t.fileVisible=!0,t.tableData.data=e.data.list,t.tableData.total=e.data.count,t.loading=!1})).catch((function(e){t.$message.error(e.message),t.listLoading=!1}))},downLoad:function(t){window.open(t)},pageChange:function(t){this.tableFrom.page=t,this.exportFileList()},pageChangeLog:function(t){this.tableFromLog.page=t,this.exportFileList()},handleSizeChange:function(t){this.tableFrom.limit=t,this.exportFileList()}}}),s=o,l=(a("5d27"),a("2877")),c=Object(l["a"])(s,n,r,!1,null,"4e37739c",null);e["a"]=c.exports},"5d27":function(t,e,a){"use strict";var n=a("0716"),r=a.n(n);r.a},b254:function(t,e,a){"use strict";var n=a("d870"),r=a.n(n);r.a},d870:function(t,e,a){},f434:function(t,e,a){},f8b7:function(t,e,a){"use strict";a.d(e,"u",(function(){return r})),a.d(e,"a",(function(){return i})),a.d(e,"y",(function(){return o})),a.d(e,"r",(function(){return s})),a.d(e,"s",(function(){return l})),a.d(e,"v",(function(){return c})),a.d(e,"x",(function(){return u})),a.d(e,"q",(function(){return d})),a.d(e,"w",(function(){return f})),a.d(e,"C",(function(){return m})),a.d(e,"A",(function(){return p})),a.d(e,"F",(function(){return g})),a.d(e,"E",(function(){return b})),a.d(e,"D",(function(){return h})),a.d(e,"z",(function(){return v})),a.d(e,"b",(function(){return _})),a.d(e,"j",(function(){return x})),a.d(e,"B",(function(){return y})),a.d(e,"i",(function(){return w})),a.d(e,"h",(function(){return L})),a.d(e,"g",(function(){return C})),a.d(e,"f",(function(){return k})),a.d(e,"p",(function(){return F})),a.d(e,"t",(function(){return z})),a.d(e,"G",(function(){return S})),a.d(e,"H",(function(){return D})),a.d(e,"n",(function(){return V})),a.d(e,"m",(function(){return $})),a.d(e,"k",(function(){return j})),a.d(e,"l",(function(){return O})),a.d(e,"o",(function(){return T})),a.d(e,"e",(function(){return E})),a.d(e,"c",(function(){return P})),a.d(e,"d",(function(){return M}));var n=a("0c6d");function r(t){return n["a"].get("store/order/lst",t)}function i(){return n["a"].get("store/order/chart")}function o(t,e){return n["a"].post("store/order/update/".concat(t),e)}function s(t){return n["a"].get("store/order/delivery/".concat(t,"/form"))}function l(t){return n["a"].get("store/order/detail/".concat(t))}function c(t,e){return n["a"].get("store/order/log/".concat(t),e)}function u(t){return n["a"].get("store/order/remark/".concat(t,"/form"))}function d(t){return n["a"].post("store/order/delete/".concat(t))}function f(t){return n["a"].get("store/order/printer/".concat(t))}function m(t){return n["a"].get("store/refundorder/lst",t)}function p(t){return n["a"].get("store/refundorder/detail/".concat(t))}function g(t){return n["a"].get("store/refundorder/status/".concat(t,"/form"))}function b(t){return n["a"].get("store/refundorder/mark/".concat(t,"/form"))}function h(t){return n["a"].get("store/refundorder/log/".concat(t))}function v(t){return n["a"].get("store/refundorder/delete/".concat(t))}function _(t){return n["a"].post("store/refundorder/refund/".concat(t))}function x(t){return n["a"].get("store/order/express/".concat(t))}function y(t){return n["a"].get("store/refundorder/express/".concat(t))}function w(t){return n["a"].get("store/order/excel",t)}function L(t){return n["a"].get("store/order/delivery_export",t)}function C(t){return n["a"].get("excel/lst",t)}function k(t){return n["a"].get("excel/download/".concat(t))}function F(t){return n["a"].post("store/order/verify/".concat(t))}function z(){return n["a"].get("store/order/filtter")}function S(){return n["a"].get("store/order/takechart")}function D(t){return n["a"].get("store/order/takelst",t)}function V(t){return n["a"].get("store/receipt/lst",t)}function $(t){return n["a"].get("store/receipt/set_recipt",t)}function j(t){return n["a"].post("store/receipt/save_recipt",t)}function O(t){return n["a"].get("store/receipt/detail/".concat(t))}function T(t,e){return n["a"].post("store/receipt/update/".concat(t),e)}function E(t){return n["a"].get("store/import/lst",t)}function P(t,e){return n["a"].get("store/import/detail/".concat(t),e)}function M(t){return n["a"].get("store/import/excel/".concat(t))}}}]);