徐总多门店
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/收银台/cashier/dist/view_cashier/js/chunk-2f486618.df0874b4.js

1 line
27 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f486618"],{"1dd0":function(e,t,r){"use strict";var s=r("7437"),a=r.n(s);a.a},2692:function(e,t,r){"use strict";var s=r("781c"),a=r.n(s);a.a},"2e61":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"order"},[s("div",{staticClass:"left"},[s("div",{staticClass:"left-top"},[s("div",{staticClass:"title"},[e._v("订单列表")]),s("div",{staticClass:"sx",on:{click:function(t){e.filterModal=!e.filterModal}}},[e._v("\n "+e._s(e.filterModal?"关闭":"筛选")+"\n "),e.filterModal?e._e():s("Icon",{staticClass:"ios-funnel-outline",attrs:{color:"#666",type:"ios-funnel-outline"}})],1)]),s("div",{staticClass:"order-box"},[e.filterModal?e._e():s("div",{staticClass:"search"},[s("Input",{attrs:{search:"","enter-button":"搜索",size:"large",placeholder:"搜索订单编号"},on:{"on-search":e.search},model:{value:e.orderData.keyword,callback:function(t){e.$set(e.orderData,"keyword",t)},expression:"orderData.keyword"}})],1),e.orderListData.length?s("orderList",{directives:[{name:"show",rawName:"v-show",value:!e.filterModal,expression:"!filterModal"}],staticClass:"order-list",attrs:{total:e.count,orderData:e.orderListData},on:{addPage:e.addPage,selectOrder:e.selectOrder}}):e.orderListData.length||e.filterModal?e._e():s("div",{staticClass:"no-order"},[s("img",{attrs:{src:r("66c9"),alt:""}}),s("span",{staticClass:"trip"},[e._v("噢~目前暂无订单")])]),s("filter-modal",{directives:[{name:"show",rawName:"v-show",value:e.filterModal,expression:"filterModal"}],on:{search:e.searchList}})],1)]),s("div",{staticClass:"order-data"},[s("div",{staticClass:"header"},[e._l(e.tabs,(function(t,r){return s("div",{key:r,staticClass:"item",class:e.sle===r?"sel":r===e.sle-1?"neighbor-left":r===e.sle+1?"neighbor-right":"def",on:{click:function(t){return e.tabClick(r)}}},[s("div",{staticClass:"item-wrap"},[e._v("\n "+e._s(t)+"\n ")])])})),s("div",{staticClass:"box",class:2===e.sle?"neighbor-right":""})],2),s("div",{staticClass:"content",class:{"border-radius":e.sle}},[0===e.sle&&e.selectOrderData.id?s("userOrder",{staticClass:"orders",attrs:{canSend:e.canSend,selectData:e.selectOrderData},on:{remarks:e.remarks}}):e._e(),1===e.sle&&e.selectOrderData.id?s("orderDetails",{staticClass:"orders",attrs:{orderDatalist:e.orderInfoData}}):e._e(),2===e.sle&&e.selectOrderData.id?s("orderRecord",{attrs:{id:e.selectOrderData.id}}):e.selectOrderData.id?e._e():s("div",{staticClass:"no-order"},[s("img",{attrs:{src:r("0493"),alt:""}}),s("span",{staticClass:"trip"},[e._v("噢~目前暂无挂单记录")])])],1),e.selectOrderData.order_id?s("div",{staticClass:"footer"},[s("div",{staticClass:"footer-left"},[e.selectOrderData.clerk_name?s("span",{staticClass:"clerk"},[e._v("收银员:"+e._s(e.selectOrderData.clerk_name))]):e._e(),s("span",{staticClass:"pay"},[e._v("实付:")]),s("span",{staticClass:"num"},[e._v("¥"+e._s(e.selectOrderData.pay_price||0))])]),s("div",{staticClass:"footer-right"},[e.open_erp?e._e():s("div",{staticClass:"btn",on:{click:e.remarks}},[e._v("订单备注")]),e.open_erp?e._e():s("div",{staticClass:"btn",on:{click:e.point}},[e._v("小票打印")]),2!==e.selectOrderData._status&&8!==e.selectOrderData._status&&4!==e.selectOrderData.status||3!==e.selectOrderData.shipping_type||null!==e.selectOrderData.pinkStatus&&2!==e.selectOrderData.pinkStatus?e._e():s("div",{staticClass:"btn pay",on:{click:e.orderSend}},[e._v("\n 发送货\n ")]),[0,1,2,5].includes(e.selectOrderData.refund_type)&&(parseFloat(e.selectOrderData.pay_price)>parseFloat(e.selectOrderData.refund_price)||0==e.selectOrderData.pay_price)&&!e.selectOrderData.refund.length&&1==e.selectOrderData.paid?s("div",{staticClass:"btn pay",on:{click:e.getRefundData}},[e._v("\n "+e._s(2==e.selectOrderData.refund_type?"同意退货":"立即退款")+"\n ")]):e._e(),e.selectOrderData.is_del||e.selectOrderData.paid||"offline"!=e.selectOrderData.pay_type?e._e():s("div",{staticClass:"btn pay",on:{click:e.op