徐总多门店
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.
jiuhaoshenghuo/public/view_cashier/js/chunk-e1b56708.72d0caae.js

1 line
35 KiB

3 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e1b56708"],{"18a1":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"goodsCard acea-row"},[a("div",{staticClass:"conter"},[a("div",{staticClass:"cart-wrap"},[a("div",{staticClass:"cart"},[a("Input",{attrs:{search:"","enter-button":"搜索",placeholder:"搜索用户/店员手机号或ID",size:"large"},on:{"on-search":t.searchData},model:{value:t.lodgeFrom.keyword,callback:function(e){t.$set(t.lodgeFrom,"keyword",e)},expression:"lodgeFrom.keyword"}})],1),a("div",{staticClass:"pending-user-wrap"},[t.tableHang.length?a("div",{staticClass:"pending-user",on:{scroll:t.addPage}},t._l(t.tableHang,(function(e,s){return a("div",{key:s,staticClass:"list",class:t.selIndex===s?"bor":"",on:{click:function(a){return t.selectUser(s,e)}}},[a("div",{staticClass:"item row-between"},[a("div",{staticClass:"left_content acea-row"},[a("div",{staticClass:"avatar"},[a("img",{attrs:{src:e.avatar?e.avatar:t.defaultAvatar,alt:"头像"}})]),a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[t._v(t._s(e.nickname||"游客"))]),a("div",{staticClass:"order-price"},[t._v("\n 订单金额:\n "),a("span",{staticClass:"price-num"},[t._v("¥"+t._s(e.price))])])])]),a("div",{staticClass:"right_content"},[a("div",{staticClass:"time"},[t._v(t._s(e._add_time))]),a("div",{staticClass:"acea-row row-right"},[a("span",{staticClass:"tidan",attrs:{type:"text"},on:{click:function(a){return a.stopPropagation(),t.billHang(e,s)}}},[t._v("提单")]),a("span",{staticClass:"shanchu",attrs:{type:"text"},on:{click:function(a){return a.stopPropagation(),t.hangDel(e,s)}}},[t._v("删除")])])])])])})),0):a("div",{staticClass:"no-order"},[a("img",{attrs:{src:s("66c9"),alt:""}}),a("span",{staticClass:"trip"},[t._v("噢~目前暂无挂单")])])]),a("div",{staticClass:"footer"},[a("Button",{on:{click:t.openSettle}},[t._v("结账¥"+t._s(t.userData.price))])],1)]),t.tableHang.length?a("div",{staticClass:"btn-group-vertical"},[a("Button",{on:{click:t.integralTap}},[t._v("积分")]),a("Button",{on:{click:t.changePrice}},[t._v("改价")]),a("Button",{on:{click:t.remarks}},[t._v("备注")])],1):t._e()]),a("div",{staticClass:"goods-wrapper"},[t.cartList.length?a("div",{staticClass:"goods"},[a("div",{staticClass:"sel-user"},[a("div",{staticClass:"avatar"},[a("img",{attrs:{src:t.userData.avatar||s("653d"),alt:"头像"}})]),a("div",{staticClass:"item-right"},[a("div",{staticClass:"user"},[a("div",[t._v(t._s(t.userData.nickname||"游客"))])]),t.userData.uid?a("div",{staticClass:"money"},[a("div",[a("span",{staticClass:"pr20"},[t._v(t._s(t.userInfo.phone||"暂无手机号"))]),t._v("余额 "),a("span",{staticClass:"num"},[t._v(t._s(t.userInfo.now_money||0))])]),a("div",[t._v("\n 积分 "),a("span",{staticClass:"num"},[t._v(t._s(t.userInfo.integral||0))])])]):t._e()])]),a("div",{staticClass:"cart-num"},[a("div",{staticClass:"cart-num-left"},[a("span",[t._v("共")]),a("span",{staticClass:"num"},[t._v(t._s(t.cartSum))]),a("span",[t._v("件商品")])]),a("div",[a("span",{staticClass:"text"},[t._v("实付:")]),a("span",{staticClass:"money"},[a("span",{staticClass:"rmb"},[t._v("¥")]),t._v(t._s(t.priceInfo.payPrice?t.priceInfo.payPrice:0))])])]),a("div",{staticClass:"goods-list"},[a("goodsList",{attrs:{cartList:t.cartList}}),a("div",{staticClass:"discount-con"},[a("div",{staticClass:"item acea-row"},[a("div",[t._v("会员优惠金额:")]),a("div",[t._v("¥"+t._s(t.priceInfo.vipPrice||0))])]),a("div",{staticClass:"item acea-row"},[a("div",[t._v("优惠券金额:")]),a("div",[t._v("¥"+t._s(t.priceInfo.couponPrice||0))])]),a("div",{staticClass:"item acea-row"},[a("div",[t._v("积分抵扣:")]),a("div",[t._v("¥"+t._s(t.priceInfo.deductionPrice||0))])]),t._l(t.priceInfo.promotionsDetail,(function(e,s){return a("div",{key:s,staticClass:"item acea-row"},[a("div",[t._v(t._s(e.title)+":")]),a("div",[t._v(t._s(e.promotions_price||0))])])}))],2)