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.

1 line
11 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44608278"],{"09f4":function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,r,n){return e/=n/2,e<1?r/2*e*e+t:(e--,-r/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function a(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,r){var i=o(),c=e-i,s=20,u=0;t="undefined"===typeof t?500:t;var l=function e(){u+=s;var o=Math.easeInOutQuad(u,i,c,t);a(o),u<t?n(e):r&&"function"===typeof r&&r()};l()}},"19d1":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"after_sale_service_page"},[r("div",{staticClass:"content"},[r("el-tabs",{on:{"tab-click":e.selectItem},model:{value:e.formParams.queryType,callback:function(t){e.$set(e.formParams,"queryType",t)},expression:"formParams.queryType"}},e._l(e.tabList,(function(e,t){return r("el-tab-pane",{key:t,attrs:{label:e.name,name:e.id}})})),1),r("div",{staticClass:"toolbar"},[r("el-form",{attrs:{inline:!0,model:e.formParams}},[r("el-form-item",{attrs:{label:"店铺名称/编号"}},[r("el-input",{attrs:{size:"mini"},model:{value:e.formParams.keyword,callback:function(t){e.$set(e.formParams,"keyword",t)},expression:"formParams.keyword"}})],1),r("el-form-item",{attrs:{label:"订单id"}},[r("el-input",{attrs:{size:"mini"},model:{value:e.formParams.orderCode,callback:function(t){e.$set(e.formParams,"orderCode",t)},expression:"formParams.orderCode"}})],1),r("el-form-item",{attrs:{label:"下单时间"}},[r("el-date-picker",{attrs:{size:"mini",type:"daterange","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"yyyy-MM-dd"},on:{change:e.handleChange},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.query}},[e._v(" 查询 ")]),r("el-button",{attrs:{plain:"",size:"mini"},on:{click:e.reset}},[e._v(" 重置 ")])],1)],1)],1),r("div",{staticClass:"content_table"},[r("div",{staticClass:"table"},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData.returnInterventionDTOList,border:""}},[r("el-table-column",{attrs:{prop:"id",label:"订单id"}}),r("el-table-column",{attrs:{prop:"storeName",label:"店铺名称"}}),r("el-table-column",{attrs:{prop:"tenantCode",label:"店铺编码"}}),r("el-table-column",{attrs:{prop:"returnProductCount",label:"售后商品数量"}}),"1"===e.formParams.queryType?r("el-table-column",{attrs:{prop:"applySum",formatter:e.getPrice,label:"退款金额"}}):r("el-table-column",{attrs:{prop:"value5",formatter:e.getPrice,label:"订单金额"}}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return["1"===e.formParams.queryType?r("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(r){return r.preventDefault(),e.handle(t.row.id)}}},[e._v(" 处理 ")]):e._e(),r("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(r){return r.preventDefault(),e.details(t.row.id)}}},[e._v(" 查看 ")])]}}])})],1)],1),r("pagination",{directives:[{name:"show",rawName:"v-show",value:e.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:e.formParams.pageSize,page:e.formParams.pageIndex,total:Number(e.tableData.total)},on:{"update:limit":function(t){return e.$set(e.formParams,"pageSize",t)},"update:page":function(t){return e.$set(e.formParams,"pageIndex",t)},pagination:e.fetch}})],1)],1)])},a=[],o=(r("96cf"),r("1da1")),i=r("333d"),c=r("f102"),s={components:{Pagination:i["a"]},data:function(){return{formParams:{keyword:"",orderCode:"",startTime:"",endTime:"",pageSize:10,pageIndex:1,queryType:"1"},date:[],tableData:{},tabList:[{name:"待处理",id:"1"},{name:"