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/system/js/chunk-016a1717.2d0cc8bc.js

1 line
8.7 KiB

12 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-016a1717"],{"0e2a":function(t,e,n){"use strict";n("138b")},"138b":function(t,e,n){},"5bf3":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"filter-container"},[n("div",{staticClass:"demo-input-suffix acea-row"},[n("el-form",{attrs:{inline:"",size:"small"}},[n("el-form-item",{staticStyle:{display:"inline-block"},attrs:{label:"商户名称:"}},[n("el-select",{staticClass:"selWidth",attrs:{clearable:"",filterable:"",placeholder:"请选择"},on:{change:function(e){t.getList(1),t.getCardList()}},model:{value:t.tableFrom.mer_id,callback:function(e){t.$set(t.tableFrom,"mer_id",e)},expression:"tableFrom.mer_id"}},t._l(t.merSelect,(function(t){return n("el-option",{key:t.mer_id,attrs:{label:t.mer_name,value:t.mer_id}})})),1)],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small"}},[n("el-table-column",{attrs:{label:"序号","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"mer_name",label:"商户名称","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"copy_product_num",label:"复制商品剩余次数","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"export_dump_num",label:"电子面单剩余次数","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"购买时间","min-width":"180"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("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)],1)},a=[],i=n("90e7"),u=n("c4c8"),o=n("e572"),c={name:"serviceSetting",data:function(){return{smsAccount:"tangkai",imgUrl:n("c7de"),headeNum:[{type:1,title:"平台购买记录"},{type:2,title:"商户购买记录"}],purchaseList:[{name:"短信",type:1},{name:"电子面单",type:2},{name:"商品采集",type:3},{name:"物流查询",type:4}],merSelect:[],listLoading:!0,tableData:{data:[],total:0},fromList:o["a"],timeVal:[],fullscreenLoading:!1,tableFrom:{page:1,limit:20,way:"1",type:"",mer_id:"",keyword:"",date:""}}},mounted:function(){this.getList(""),this.getMerSelect()},methods:{selectChange:function(t){this.tableFrom.date=t,this.tableFrom.page=1,this.timeVal=[],this.getList(1)},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList(1)},getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["y"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)},getMerSelect:function(){var t=this;Object(u["P"])().then((function(e){t.merSelect=e.data})).catch((function(e){t.$message.error(e.message)}))}}},s=c,l=(n("0e2a"),n("2877")),f=Object(l["a"])(s,r,a,!1,null,"e67e62a0",null);e["default"]=f.exports},"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return a})),n.d(e,"H",(function(){return i})),n.d(e,"K",(function(){return u})),n.d(e,"I",(function(){return o})),n.d(e,"J",(function(){return c})),n.d(e,"e",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"i",(function(){return f})),n.d(e,"d",(function(){return d})),n.d(e,"h",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return p})),n.d(e,"u",(function(){return v})),n.d(e,"L",(function(){return h})),n.d(e,"S",(functi