shop_mer_admin/mer/js/chunk-6e0ba8b9.d6251ab4.js

1 line
8.0 KiB
JavaScript
Raw Normal View History

2024-03-16 17:53:53 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6e0ba8b9"],{"0a1d":function(t,e,a){},"63ac":function(t,e,a){"use strict";a("c690")},c690:function(t,e,a){},c7de:function(t,e,a){t.exports=a.p+"mer/img/ren.c7bc0d99.png"},cab0:function(t,e,a){"use strict";a("0a1d")},f28d: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",[a("div",{staticClass:"divBox"},[t.isShowList?a("el-card",[a("div",{staticClass:"clearfix"},[t.accountInfo.info?a("div",{staticClass:"acea-row header-count row-middle"},[a("div",{staticClass:"header-extra"},[a("div",{staticClass:"mb-5"},[a("span",[t._v("采集次数")])]),t._v(" "),a("div",[a("div",[t._v(t._s(t.copy.num||0))]),t._v(" "),a("el-button",{staticClass:"mt10",attrs:{size:"small",type:"primary",disabled:t.copy.open<=0},on:{click:function(e){return t.mealPay("copy")}}},[t._v("套餐购买")])],1)]),t._v(" "),a("div",{staticClass:"header-extra"},[a("div",{staticClass:"mb-5"},[a("span",[t._v("面单打印次数")])]),t._v(" "),a("div",[a("div",[t._v(t._s(t.dump.num||0))]),t._v(" "),a("el-button",{staticClass:"mt10",attrs:{size:"small",type:"primary",disabled:1!=t.dump.open},on:{click:function(e){return t.mealPay("dump")}}},[t._v("套餐购买")])],1)])]):a("div",{staticClass:"demo-basic--circle acea-row row-middle"},[a("span",{staticStyle:{color:"red"}},[t._v("平台未登录一号通!")])])])]):t._e()],1),t._v(" "),a("el-card",{staticClass:"mt14"},[t.isShowList?a("table-list",{ref:"tableLists",attrs:{copy:t.copy,dump:t.dump,"account-info":t.accountInfo}}):t._e()],1)],1)},i=[],o=a("c7eb"),s=(a("96cf"),a("1da1")),r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-tabs",{on:{"tab-click":t.onChangeType},model:{value:t.tableFrom.type,callback:function(e){t.$set(t.tableFrom,"type",e)},expression:"tableFrom.type"}},[a("el-tab-pane",{attrs:{label:"商品采集",name:"copy"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"电子面单打印",name:"mer_dump"}})],1),t._v(" "),a("el-row",[a("el-col",{staticClass:"record_count",attrs:{span:24}},[a("el-button",{attrs:{type:"primary",plain:"",size:"small"},on:{click:t.getPurchase}},[t._v("购买记录")])],1)],1),t._v(" "),a("div",[a("el-table",{staticClass:"table",attrs:{data:t.tableList,loading:t.loading,size:"small"}},[a("el-table-column",{key:"7",attrs:{label:"序号","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.tableFrom.page-1)*t.tableFrom.limit+1))])]}}])}),t._v(" "),"mer_dump"==t.tableFrom.type?a("el-table-column",{key:"1",attrs:{prop:"info.order_sn",label:"订单号","min-width":"200"}}):t._e(),t._v(" "),"mer_dump"==t.tableFrom.type?a("el-table-column",{key:"2",attrs:{prop:"info.from_name",label:"发货人","min-width":"90"}}):t._e(),t._v(" "),"mer_dump"==t.tableFrom.type?a("el-table-column",{attrs:{label:"收货人","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.info&&e.row.info.to_name?e.row.info.to_name:""))])]}}],null,!1,396801068)}):t._e(),t._v(" "),"mer_dump"==t.tableFrom.type?a("el-table-column",{key:"3",attrs:{prop:"info.delivery_id",label:"快递单号","min-width":"90"}}):t._e(),t._v(" "),"mer_dump"==t.tableFrom.type?a("el-table-column",{key:"4",attrs:{prop:"info.delivery_name",label:"快递公司编码","min-width":"90"}}):t._e(),t._v(" "),"copy"==t.tableFrom.type?a("el-table-column",{key:"6",attrs:{prop:"info",label:"复制URL","min-width":"300"}}):t._e(),t._v(" "),a("el-table-column",{key:"8",attrs:{prop:"create_time",label:"copy"!=t.tableFrom.type?"打印时间":"添加时间","min-width":"90"}})],1),t._v(" "),a("div",{staticClass:"block"},[a("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1),t._v(" "),t.dialogVisible?a("el-dialog",{attrs:{title:"copy"==t.tableFrom.type?"商品采集购买记录":"电子面单购买记录"