1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f9cbb43"],{"9cde":function(t,e,n){"use strict";n.d(e,"F",(function(){return r})),n.d(e,"n",(function(){return o})),n.d(e,"z",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"x",(function(){return l})),n.d(e,"J",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"H",(function(){return d})),n.d(e,"p",(function(){return f})),n.d(e,"C",(function(){return p})),n.d(e,"K",(function(){return m})),n.d(e,"I",(function(){return h})),n.d(e,"q",(function(){return b})),n.d(e,"v",(function(){return v})),n.d(e,"D",(function(){return _})),n.d(e,"b",(function(){return g})),n.d(e,"e",(function(){return y})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return j})),n.d(e,"G",(function(){return O})),n.d(e,"o",(function(){return x})),n.d(e,"t",(function(){return w})),n.d(e,"i",(function(){return D})),n.d(e,"g",(function(){return k})),n.d(e,"h",(function(){return I})),n.d(e,"j",(function(){return T})),n.d(e,"A",(function(){return z})),n.d(e,"k",(function(){return q})),n.d(e,"s",(function(){return M})),n.d(e,"u",(function(){return $})),n.d(e,"y",(function(){return P})),n.d(e,"B",(function(){return N})),n.d(e,"f",(function(){return S})),n.d(e,"r",(function(){return E})),n.d(e,"m",(function(){return L})),n.d(e,"w",(function(){return H})),n.d(e,"E",(function(){return J}));var a=n("b775");function r(t){return Object(a["a"])({url:"channel/in-store/save-area",method:"post",data:t})}function o(t){return Object(a["a"])({url:"channel/in-store/save-area",method:"get",params:t})}function s(t){return Object(a["a"])({url:"channel/in-store/modify-area",method:"post",data:t})}function i(t){return Object(a["a"])({url:"channel/in-store/area-list",method:"get",params:t})}function l(t){return Object(a["a"])({url:"channel/in-store/goods-type",method:"get",params:t})}function c(t){return Object(a["a"])({url:"channel/in-store/table-list",method:"get",params:t})}function u(t){return Object(a["a"])({url:"channel/in-store/get-area",method:"get",params:t})}function d(t){return Object(a["a"])({url:"channel/in-store/save-table",method:"post",data:t})}function f(t){return Object(a["a"])({url:"channel/in-store/save-table",method:"get",params:t})}function p(t){return Object(a["a"])({url:"channel/in-store/modify-table",method:"post",data:t})}function m(t){return Object(a["a"])({url:"channel/in-store/type-list",method:"get",params:t})}function h(t){return Object(a["a"])({url:"channel/in-store/save-type",method:"post",data:t})}function b(t){return Object(a["a"])({url:"channel/in-store/save-type",method:"get",params:t})}function v(t){return Object(a["a"])({url:"channel/in-store/get-type",method:"get",params:t})}function _(t){return Object(a["a"])({url:"channel/in-store/modify-type",method:"post",data:t})}function g(t){return Object(a["a"])({url:"channel/in-store/batch-table",method:"post",data:t})}function y(t){return Object(a["a"])({url:"channel/in-store/cashier-statistics",method:"get",params:t})}function C(t){return Object(a["a"])({url:"channel/in-store/cashier-order-list",method:"get",params:t})}function j(t){return Object(a["a"])({url:"channel/in-store/cashier-print",method:"post",data:t})}function O(t){return Object(a["a"])({url:"channel/in-store/save-code",method:"post",data:t})}function x(t){return Object(a["a"])({url:"channel/in-store/save-code",method:"get",params:t})}function w(t){return Object(a["a"])({url:"channel/in-store/get-table",method:"get",params:t})}function D(t){return Object(a["a"])({url:"channel/in-store/establish-code",method:"post",data:t})}function k(t){return Object(a["a"])({url:"channel/in-store/code-list",method:"get",params:t})}function I(t){return Object(a["a"])({url:"channel/in-store/del-code",method:"post",data:t})}function T(t){return Object(a["a"])({url:"channel/in-store/fast-order-list",method:"get",params:t})}function z(t){return Object(a["a"])({url:"channel/in-store/modify-fast-order",method:"post",data:t})}function q(t){return Object(a["a"])({url:"channel/screen/fast-screen",method:"post",data:t})}function M(t){return Object(a["a"])({url:"channel/in-store/get-store-code",method:"get",params:t})}function $(t){return Object(a["a"])({url:"channel/in-store/table-order",method:"get",params:t})}function P(t){return Object(a["a"])({url:"channel/in-store/in-store-order-list",method:"get",params:t})}function N(t){return Object(a["a"])({url:"channel/in-store/modify-in-store-order",method:"post",data:t})}function S(t){return Object(a["a"])({url:"channel/in-store/clean-table",method:"post",data:t})}function E(t){return Object(a["a"])({url:"channel/in-store/statistics",method:"get",params:t})}function L(t){return Object(a["a"])({url:"channel/pay-vip/order-statistics",method:"get",params:t})}function H(t){return Object(a["a"])({url:"channel/pay-vip/order-list",method:"get",params:t})}function J(t){return Object(a["a"])({url:"channel/in-store/out-order-list",method:"get",params:t})}},e611:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"mar_t20 ba_f outmain"},[t._m(0),n("div",{staticClass:"main-icon flex t_l mar_t20"},[n("div",{staticClass:"flex-1 t_l pad_20"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("今日售卡数量")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.zhData.todayCount||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("实付汇总")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("今日售卡金额")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.zhData.todayMoney||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("应付汇总")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("总售卡数量")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.zhData.count||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("优惠汇总")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])]),n("div",{staticClass:"flex-1 t_l pad_20"},[n("div",{staticClass:"flex-bet flex-y-top"},[n("div",[n("p",{staticClass:"title6 fon_14"},[t._v("总售卡金额")]),n("p",{staticClass:"fon_30 title35 lh16 pad_tb_20"},[t._v(t._s(t.zhData.money||0))])]),n("div",{staticClass:"toolTip"},[n("el-tooltip",{attrs:{effect:"dark",placement:"top"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._v("付款笔数")]),n("button",{staticClass:"el-button question-button-tooltip el-tooltip el-button--text fon_12",attrs:{type:"button"}},[n("span",[n("i",{staticClass:"el-icon-question"})])])])],1)])])])]),n("div",{staticClass:"outmain ba_f mar_t20"},[t._m(1),n("div",{staticClass:"flex-bet flex-y-top"},[n("el-form",{staticClass:"demo-form-inline searchform",attrs:{inline:!0,model:t.formInline}},[n("div",[n("el-form-item",{attrs:{label:"订单号"}},[n("el-input",{attrs:{size:"medium",placeholder:"请输入订单号"},on:{input:t.fetchData},model:{value:t.formInline.keyword,callback:function(e){t.$set(t.formInline,"keyword",e)},expression:"formInline.keyword"}})],1),n("el-form-item",{staticClass:"mar_l20",attrs:{label:"售卡时间"}},[n("el-radio-group",{staticClass:"mar_r20",on:{change:t.fetchData},model:{value:t.formInline.timeType,callback:function(e){t.$set(t.formInline,"timeType",e)},expression:"formInline.timeType"}},[n("el-radio-button",{attrs:{label:"1"}},[t._v("今天")]),n("el-radio-button",{attrs:{label:"2"}},[t._v("昨天")]),n("el-radio-button",{attrs:{label:"3"}},[t._v("一周")])],1),n("el-date-picker",{attrs:{type:"daterange","range-separator":"至","value-format":"yyyy-MM-DD HH:mm:ss","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.changerTime},model:{value:t.timeData,callback:function(e){t.timeData=e},expression:"timeData"}})],1),n("el-form-item",{staticClass:"mar_l20"},[n("el-button",{attrs:{type:"primary",size:"medium"},on:{click:t.fetchData}},[t._v("搜索")])],1)],1)])],1),n("div",{staticClass:"mar_t20"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.list,stripe:""}},[n("el-table-column",{attrs:{prop:"portrait",label:"用户信息",width:"300"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"flex flex-y-top"},[n("div",{},[n("img",{staticClass:"goodlogo bor_rad50",attrs:{src:e.row.portrait}})]),n("div",{staticClass:"mar_l10"},[n("div",{},[n("div",{},[t._v(t._s(e.row.userName))]),n("div",{staticClass:"fon_12 color_6"},[t._v("用户ID:"+t._s(e.row.userId))])])])])]}}])}),n("el-table-column",{attrs:{prop:"outTradeNo",label:"订单编号"}}),n("el-table-column",{attrs:{prop:"payAt",label:"购买时间"}}),n("el-table-column",{attrs:{prop:"money",label:"购买金额"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"color-green wei"},[t._v("+"+t._s(e.row.money))]),n("div",{staticClass:"fon_12"},[n("span",{directives:[{name:"show",rawName:"v-show",value:"1"==e.row.payMode,expression:"scope.row.payMode=='1'"}]},[t._v("微信支付")]),n("span",{directives:[{name:"show",rawName:"v-show",value:"5"==e.row.payMode,expression:"scope.row.payMode=='5'"}]},[t._v("余额支付")])])]}}])}),n("el-table-column",{attrs:{prop:"endTime",label:"到期时间"}})],1),n("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.total,"page-size":10,"current-page":t.formInline.currentPage},on:{"update:currentPage":function(e){return t.$set(t.formInline,"currentPage",e)},"update:current-page":function(e){return t.$set(t.formInline,"currentPage",e)},"current-change":t.handleCurrentChange}})],1)])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuju_title"},[n("div",{staticClass:"shuju_title_text"},[n("span",[t._v("售卡统计")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuju_title mar_b20"},[n("div",{staticClass:"shuju_title_text"},[n("span",[t._v("当面付订单")])])])}],o=n("9cde"),s={data:function(){return{formInline:{timeType:"1",keyword:"",startTime:"",endTime:"",currentPage:1},timeData:[],list:[],listLoading:!1,selectRows:"",elementLoadingText:"正在加载...",total:0,zhData:{}}},created:function(){this.fetchData(),this.cashierStatistics()},methods:{changerTime:function(t){this.formInline.startTime=t[0],this.formInline.endTime=t[1],this.fetchData()},handleCurrentChange:function(t){this.formInline.currentPage=t,this.fetchData()},cashierStatistics:function(){var t=this;Object(o["m"])().then((function(e){1==e.code&&Object.assign(t.zhData,e.data)}))},fetchData:function(){var t=this;Object(o["w"])(this.formInline).then((function(e){1==e.code&&(t.total=e.count,t.list=e.data)}))}}},i=s,l=n("2877"),c=Object(l["a"])(i,a,r,!1,null,null,null);e["default"]=c.exports}}]); |