f69f275bf2befadcc84da10c402458601ee3c129999ba8a429b870ac75ba859ab7812b14879c59638935133bd8c38ca9d15c8b573a188e5770a5f18b5e93 132 KB

1
  1. {"code":"/*!\n * build: vue-admin-beautiful \n * copyright: chuzhixin 1204505056@qq.com \n * time: 2022-12-12 09:51:32\n */\n(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[\"chunk-26dce583\"],{\"049b\":function(t,e,a){\"use strict\";a.r(e),a.d(e,\"getTempCustomerData\",(function(){return o})),a.d(e,\"updateCustomerCheckStatus\",(function(){return r})),a.d(e,\"addCustomer\",(function(){return i})),a.d(e,\"getCustomerInfo\",(function(){return s})),a.d(e,\"editCustomer\",(function(){return u})),a.d(e,\"CustomerInitialsSearch\",(function(){return d})),a.d(e,\"getAllCustomer\",(function(){return c})),a.d(e,\"customerExport\",(function(){return l})),a.d(e,\"updateCustomerStatus\",(function(){return p})),a.d(e,\"addCustomerTag\",(function(){return f})),a.d(e,\"delCustomerTag\",(function(){return h})),a.d(e,\"addCustomerContact\",(function(){return m})),a.d(e,\"searchCustomer\",(function(){return g})),a.d(e,\"getCustomerLocation\",(function(){return _})),a.d(e,\"batchEditCustomer\",(function(){return y})),a.d(e,\"addShippingAddress\",(function(){return b})),a.d(e,\"deleteShippingAddress\",(function(){return v})),a.d(e,\"updateShippingAddress\",(function(){return C})),a.d(e,\"getShippingAddressInfo\",(function(){return O})),a.d(e,\"getAllShippingAddress\",(function(){return S})),a.d(e,\"query\",(function(){return j})),a.d(e,\"getAllCustomerCommunication\",(function(){return k})),a.d(e,\"addCustomerCommunication\",(function(){return w})),a.d(e,\"delCustomerCommunication\",(function(){return x})),a.d(e,\"updateCustomerCommunication\",(function(){return A})),a.d(e,\"getAllCustomerTagLib\",(function(){return G})),a.d(e,\"addCustomerTagLib\",(function(){return I})),a.d(e,\"delCustomerTagLib\",(function(){return D})),a.d(e,\"getCustomerTagLibInfo\",(function(){return T})),a.d(e,\"editCustomerTagLib\",(function(){return B})),a.d(e,\"getAllCustomerdemand\",(function(){return N})),a.d(e,\"getCustomerdemandInfo\",(function(){return R})),a.d(e,\"updateCustomerTagLibById\",(function(){return P})),a.d(e,\"searchCustomerBuyLog\",(function(){return F})),a.d(e,\"exportsearchCustomerBuyLog\",(function(){return M})),a.d(e,\"getAllCustomerVisitsLog\",(function(){return $})),a.d(e,\"getAllMemberBalanceDetail\",(function(){return E})),a.d(e,\"getAllCustomerIntegralDesc\",(function(){return L})),a.d(e,\"updateCustomerIntegral\",(function(){return z})),a.d(e,\"noOrderCustomer\",(function(){return U})),a.d(e,\"intervalNoOrderCustomer\",(function(){return V})),a.d(e,\"rechargeMemberBalance\",(function(){return q})),a.d(e,\"recommenderStatic\",(function(){return K})),a.d(e,\"customerImport\",(function(){return Q})),a.d(e,\"getAllDriver\",(function(){return W})),a.d(e,\"delDriver\",(function(){return H})),a.d(e,\"addDriver\",(function(){return J})),a.d(e,\"editDriver\",(function(){return Z})),a.d(e,\"getDriverInfo\",(function(){return X})),a.d(e,\"getAllOpenDriver\",(function(){return Y})),a.d(e,\"getAllCustomerVisit\",(function(){return tt})),a.d(e,\"getCustomerCallOnReportForm\",(function(){return et})),a.d(e,\"getCustomerVisitInfo\",(function(){return at})),a.d(e,\"getAllDepartment\",(function(){return nt})),a.d(e,\"getCustomerNoVisit\",(function(){return ot})),a.d(e,\"getCustomerDistributed\",(function(){return rt})),a.d(e,\"setCustomerType\",(function(){return it})),a.d(e,\"delCustomer\",(function(){return st}));var n=a(\"b775\");function o(t){return Object(n[\"default\"])({url:\"/Customer/Customer/getTempData\",method:\"get\",data:t})}function r(t){return Object(n[\"default\"])({url:\"/Customer/Customer/updateCustomerCheckStatus\",method:\"post\",data:t})}function i(t){return Object(n[\"default\"])({url:\"/Customer/Customer/addCustomer\",method:\"post\",data:t})}function s(t,e){return Object(n[\"default\"])({url:\"/Customer/Customer/getCustomerInfo/\"+t,method:\"get\",data:e})}function u(t,e){return Object(n[\"default\"])({url:\"/Customer/Customer/editCustomer/\"+t,method:\"post\",data:e})}function d(t){return Object(n[\"default\"])({url:\"/Customer/Customer/initialsSearch\",method:\"post\",data:t})}function c(t){return Object(n[\"default\"])({url:\"/Customer/Customer/getAllCustomer\",method:\"post\",data:t})}function l(t){return Object(n[\"default\"])({url:\"/Customer/Customer/export\",method:\"post\",responseType:\"blob\",data:t})}function p(t){return Object(n[\"default\"])({url:\"/Customer/Customer/updateCustomerStatus\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Customer/Customer/addCustomerTag\",method:\"post\",data:t})}function h(t){return Object(n[\"default\"])({url:\"/Customer/Customer/delCustomerTag\",method:\"post\",data:t})}function m(t){return Object(n[\"default\"])({url:\"/Customer/CustomerContact/addCustomerContact\",method:\"post\",data:t})}function g(t){return Object(n[\"default\"])({url:\"/Customer/Customer/search\",method:\"post\",data:t})}function _(t){return Object(n[\"default\"])({url:\"/Customer/Customer/getCustomerLocation\",method:\"post\",data:t})}function y(t){return Object(n[\"default\"])({url:\"/Customer/Customer/batchEditCustomer\",method:\"post\",data:t})}function b(t){return Object(n[\"default\"])({url:\"/Customer/ShippingAddress/addShippingAddress\",method:\"post\",data:t})}function v(t,e){return Object(n[\"default\"])({url:\"/Customer/ShippingAddress/deleteShippingAddress/\"+t,method:\"delete\",data:e})}function C(t){return Object(n[\"default\"])({url:\"/Customer/ShippingAddress/updateShippingAddress\",method:\"put\",data:t})}function O(t,e){return Object(n[\"default\"])({url:\"/Customer/ShippingAddress/getShippingAddressInfo/\"+t,method:\"get\",data:e})}function S(t,e){return Object(n[\"default\"])({url:\"/Customer/ShippingAddress/getAllShippingAddress/\"+t,method:\"post\",data:e})}function j(t){return Object(n[\"default\"])({url:\"/Customer/Customer/query\",method:\"post\",data:t})}function k(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/getAllCustomerCommunication\",method:\"post\",data:t})}function w(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/addCustomerCommunication\",method:\"post\",data:t})}function x(t,e){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/delCustomerCommunication/\"+t,method:\"delete\",data:e})}function A(t,e){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/updateCustomerCommunication/\"+t,method:\"put\",data:e})}function G(t){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/getAllCustomerTagLib\",method:\"get\",data:t})}function I(t){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/addCustomerTagLib\",method:\"post\",data:t})}function D(t){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/delCustomerTagLib\",method:\"post\",data:t})}function T(t,e){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/getCustomerTagLibInfo/\"+t,method:\"post\",data:e})}function B(t){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/editCustomerTagLib\",method:\"post\",data:t})}function N(t){return Object(n[\"default\"])({url:\"/Customer/CustomerDemand/getAllCustomerdemand\",method:\"post\",data:t})}function R(t,e){return Object(n[\"default\"])({url:\"/Customer/CustomerDemand/getCustomerdemandInfo/\"+t,method:\"get\",data:e})}function P(t){return Object(n[\"default\"])({url:\"Customer/CustomerTagLib/updateCustomerTagLibById\",method:\"post\",data:t})}function F(t){return Object(n[\"default\"])({url:\"Customer/Customer/searchCustomerBuyLog\",method:\"post\",data:t})}function M(t){return Object(n[\"default\"])({url:\"Customer/Customer/searchCustomerBuyLog\",method:\"post\",responseType:\"blob\",data:t})}function $(t){return Object(n[\"default\"])({url:\"Customer/CustomerVisitsLog/getAllCustomerVisitsLog\",method:\"post\",data:t})}function E(t){return Object(n[\"default\"])({url:\"Customer/MemberBalanceDetail/getAllMemberBalanceDetail\",method:\"post\",data:t})}function L(t){return Object(n[\"default\"])({url:\"Customer/Customer/getAllCustomerIntegralDesc\",method:\"post\",data:t})}function z(t){return Object(n[\"default\"])({url:\"Customer/Customer/updateCustomerIntegral\",method:\"post\",data:t})}function U(t){return Object(n[\"default\"])({url:\"Customer/Customer/noOrderCustomer\",method:\"post\",data:t})}function V(t){return Object(n[\"default\"])({url:\"Customer/Customer/intervalNoOrderCustomer\",method:\"post\",data:t})}function q(t){return Object(n[\"default\"])({url:\"Customer/Customer/rechargeMemberBalance\",method:\"post\",data:t})}function K(t){return Object(n[\"default\"])({url:\"Customer/Customer/recommenderStatic\",method:\"post\",data:t})}function Q(t){return Object(n[\"default\"])({url:\"Customer/Customer/customerImport\",method:\"post\",data:t})}function W(t){return Object(n[\"default\"])({url:\"/System/Driver/getAllDriver\",method:\"put\",data:t})}function H(t,e){return Object(n[\"default\"])({url:\"System/Driver/delDriver/\"+t,method:\"put\",data:e})}function J(t){return Object(n[\"default\"])({url:\"System/Driver/addDriver\",method:\"put\",data:t})}function Z(t){return Object(n[\"default\"])({url:\"System/Driver/editDriver\",method:\"put\",data:t})}function X(t,e){return Object(n[\"default\"])({url:\"System/Driver/getDriverInfo/\"+t,method:\"put\",data:e})}function Y(t){return Object(n[\"default\"])({url:\"System/Driver/getAllOpenDriver\",method:\"post\",data:t})}function tt(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/getAllCustomerVisit\",method:\"post\",data:t})}function et(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerCallOnReportForm\",method:\"post\",data:t})}function at(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerVisitInfo\",method:\"post\",data:t})}function nt(t){return Object(n[\"default\"])({url:\"Department/Department/getAllDepartment\",method:\"post\",data:t})}function ot(t){return Object(n[\"default\"])({url:\"Customer/CustomerCommunication/getCustomerNoVisit\",method:\"post\",data:t})}function rt(t){return Object(n[\"default\"])({url:\"Customer/Customer/getCustomerDistributed\",method:\"post\",data:t})}function it(t){return Object(n[\"default\"])({url:\"Customer/Customer/setCustomerType\",method:\"post\",data:t})}function st(t){return Object(n[\"default\"])({url:\"Customer/Customer/delCustomer\",method:\"post\",data:t})}},\"05cb\":function(t,e,a){\"use strict\";a(\"ae6a\")},\"0857\":function(t,e,a){},\"09b0\":function(t,e,a){\"use strict\";a(\"0857\")},\"0c6b\":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\",[2===t.tipNum?a(\"div\",[t._m(0),a(\"div\",[a(\"div\",{staticClass:\"order-detail-box\"},[t.writeoffList.goodsData&&t.writeoffList.goodsData.length?a(\"div\",[a(\"div\",{staticClass:\"write-off-top\"},[a(\"div\",{staticClass:\"shop_time\",staticStyle:{width:\"100%\"}},t._l(t.writeoffList.goodsData,(function(e,n){return a(\"div\",{key:n,staticClass:\"group\"},[a(\"p\",{staticClass:\"group_line\"},[t._v(\" \"+t._s(e.goodsName)+\" \")]),a(\"p\",{staticClass:\"color_size\"},[t._v(\" \"+t._s(e.unitName||\"\")+\" \"+t._s(e.specValueName||\"\")+\" \")]),a(\"div\",{staticClass:\"clearfix\"},[a(\"span\",{staticClass:\"float_left price-color\"},[t._v(\" ¥\"+t._s(e.price)+\" \")]),a(\"span\",{staticClass:\"float_right\"},[t._v(\"x\"+t._s(e.buyNum))])])])})),0),a(\"div\",{staticClass:\"o-price-info\"},[a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"商品总计:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\"¥\"+t._s(t.writeoffList.totalMoney))])]),a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"优惠:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\" -¥\"+t._s(t.writeoffList.orderPreferential)+\" \")])]),a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"实付:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\"¥\"+t._s(t.writeoffList.payAmount))])])])]),a(\"div\",{staticClass:\"comment_info\"},[a(\"p\",[t._v(\"订单编号:\"+t._s(t.writeoffList.no))]),a(\"p\",[t._v(\" 订单类型: \"+t._s(1===t.writeoffList.orderType?\"销售订单\":\"其他\")+\" \")]),a(\"p\",[t._v(\" 订单来源:\"+t._s(1===parseInt(t.writeoffList.source)?\"ios\":2===parseInt(t.writeoffList.source)?\"安卓\":3===parseInt(t.writeoffList.source)?\"小程序\":4===parseInt(t.writeoffList.source)?\"后台创建\":5===parseInt(t.writeoffList.source)?\"H5页面\":6===parseInt(t.writeoffList.source)?\"pc页面\":8===parseInt(t.writeoffList.source)?\"字节跳动小程序\":\"\")+\" \")]),a(\"p\",[t._v(\" 支付方式:\"+t._s(1===parseInt(t.writeoffList.payType)?\"微信支付\":2===parseInt(t.writeoffList.payType)?\"支付宝\":3===parseInt(t.writeoffList.payType)?\"货到付款\":4===parseInt(t.writeoffList.payType)?\"上门自提\":5===parseInt(t.writeoffList.payType)?\"现金\":6===parseInt(t.writeoffList.payType)?\"其他\":\"\")+\" \")]),a(\"p\",[t._v(\" 下单时间:\"+t._s(t.$_common.formatDate(t.writeoffList.createTime))+\" \")]),a(\"p\",[t._v(\"付款时间:\"+t._s(t.$_common.formatDate(t.writeoffList.payTime)))]),a(\"p\",[t._v(\"买家姓名:\"+t._s(t.writeoffList.customerName))]),a(\"p\",[t._v(\"手机号码:\"+t._s(t.writeoffList.customerMobile||\"--\"))])])]):a(\"p\",{staticClass:\"tips\"},[t._v(\" 请输入核销码搜索核销订单 \")])]),t.writeoffList.goodsData&&t.writeoffList.goodsData.length?a(\"div\",{staticClass:\"button-group\"},[a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.primaryOrder}},[t._v(\"确认核销\")])],1):t._e()])]):t._e()])},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticClass:\"tip_info\"},[a(\"p\",{staticStyle:{margin:\"0\"}},[t._v(\"订单详情\")])])}],r=a(\"7f10\"),i={name:\"WriteOffInfo\",props:{tipNum:{type:[Number,String],default:2},writeoffList:{type:Object,default:()=>({})}},data(){return{}},methods:{async primaryOrder(){await Object(r[\"OrderVerification\"])(this.writeoffList.id);this.$message.success(\"核销成功\")}}},s=i,u=(a(\"63cf\"),a(\"2877\")),d=Object(u[\"a\"])(s,n,o,!1,null,\"30b7c13e\",null);e[\"default\"]=d.exports},1175: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(\"el-dialog\",{attrs:{width:\"30%\",title:\"选择导购\",visible:t.shop_guide,\"close-on-press-escape\":!1,\"close-on-click-modal\":!1},on:{\"update:visible\":function(e){t.shop_guide=e},close:t.close}},[a(\"el-table\",{ref:\"multipleTable\",staticStyle:{width:\"100%\"},attrs:{data:t.table_data,\"tooltip-effect\":\"dark\",size:\"mini\",border:\"\"},on:{\"selection-change\":t.handleSelectionChange}},[a(\"el-table-column\",{attrs:{type:\"selection\",width:\"55\"}}),a(\"el-table-column\",{attrs:{prop:\"staffName\",label:\"已关联导购\"}}),a(\"el-table-column\",{attrs:{prop:\"name\",label:\"操作\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[a(\"el-button\",{attrs:{type:\"text\",size:\"mini\"},on:{click:function(a){return t.deleteGuide(e.row.index)}}},[t._v(\" 删除 \")])]}}])})],1),a(\"div\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[a(\"el-button\",{on:{click:t.close}},[t._v(\"取消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.guideFn}},[t._v(\"确定\")])],1)],1)],1)},o=[],r=a(\"64f1\"),i={name:\"ShopGuide\",props:{shopGuide:{type:Boolean,default:!1}},data(){return{table_data:[],choose_guide:[],guide:[],shop_guide:!1}},created(){this.shopGuideFn(),this.shop_guide=this.shopGuide},methods:{handleSelectionChange(t){this.choose_guide=t},close(){this.$emit(\"close\")},deleteGuide(t){this.table_data.splice(t,1)},guideFn(){this.close(),this.guide=this.choose_guide,this.$emit(\"shopGuideFn\",this.guide)},async shopGuideFn(){const t=await Object(r[\"getAllStaffStaff\"])({page:1,pageSize:10,deleteStatus:5,keyword:\"\",signId:2});this.table_data=t.data}}},s=i,u=a(\"2877\"),d=Object(u[\"a\"])(s,n,o,!1,null,\"59a179f3\",null);e[\"default\"]=d.exports},\"21e2\":function(t,e,a){\"use strict\";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return 3===t.tipNum?a(\"div\",[t._m(0),\"{}\"===JSON.stringify(t.orderDetail)?a(\"div\",[a(\"p\",{staticClass:\"tips\"},[t._v(\"未选中任何订单\")])]):a(\"div\",[a(\"div\",{staticClass:\"order-detail-box\"},[a(\"p\",{staticClass:\"info_state\",class:[5===parseInt(t.orderDetail.payStatus)?\"info-on\":\"\"]},[t._v(\" \"+t._s(4===parseInt(t.orderDetail.payStatus)?\"等待付款\":5===parseInt(t.orderDetail.payStatus)?\"已支付\":\"\")+\" \"),a(\"i\",{staticClass:\"pay-icon\",class:[5===parseInt(t.orderDetail.payStatus)?\"el-icon-circle-check\":\"el-icon-time\"]})]),a(\"div\",{staticClass:\"order-detail-top\"},[a(\"div\",{staticClass:\"clearfix\"},[a(\"div\",{staticClass:\"float_left\"},[t._v(\"买家:\"+t._s(t.orderDetail.customerName))]),a(\"div\",{staticClass:\"float_right\"},[t._v(\" 手机号:\"+t._s(t.orderDetail.customerMobile||\"--\")+\" \")])]),a(\"p\",[t._v(\"收银员:\"+t._s(t.orderDetail.cashierName))]),a(\"p\",[t._v(\"导购员:\"+t._s(t.orderDetail.guideName))])]),a(\"div\",{staticClass:\"o-goods-div\"},[a(\"ul\",{staticClass:\"o-goods-ul\"},t._l(t.orderDetail.goodsData,(function(e,n){return a(\"li\",{key:n,staticClass:\"o-goods-li clearfix\"},[a(\"div\",{staticClass:\"float_left o-goods-img\"},[a(\"img\",{attrs:{src:e.images[0],alt:\"\"}})]),a(\"div\",{staticClass:\"float_left o-goods-info\"},[a(\"div\",{staticClass:\"gi-div clearfix\"},[a(\"span\",{staticClass:\"og-name float_left\"},[t._v(\" \"+t._s(e.goodsName)+\" \")]),a(\"span\",{staticClass:\"og-price float_right\"},[t._v(\"¥\"+t._s(e.price))])]),a(\"div\",{staticClass:\"gi-div clearfix\"},[a(\"div\",{staticClass:\"og-name float_left sku-name\"},[t._v(\" \"+t._s(e.unitName)+\" \"),t._l(e.specGroup,(function(e,o){return a(\"span\",{key:o},[n>0?a(\"span\",[t._v(\"_\")]):t._e(),t._v(\" \"+t._s(e.specValueName)+\" \")])}))],2),a(\"div\",{staticClass:\"og-price float_right\"},[t._v(\"x\"+t._s(e.buyNum))])])])])})),0)]),a(\"div\",{staticClass:\"order-info\"},[a(\"p\",[t._v(\"订单编号:\"+t._s(t.orderDetail.no))]),a(\"p\",[t._v(\"下单时间:\"+t._s(t.$_common.formatDate(t.orderDetail.createTime)))]),a(\"p\",[t._v(\" 支付时间:\"+t._s(5===parseInt(t.orderDetail.payStatus)?t.$_common.formatDate(t.orderDetail.payTime):\"--\")+\" \")]),a(\"p\",[t._v(\" 支付方式: \"+t._s(1===parseInt(t.orderDetail.payType)?\"微信支付\":2===parseInt(t.orderDetail.payType)?\"支付宝\":3===parseInt(t.orderDetail.payType)?\"货到付款\":4===parseInt(t.orderDetail.payType)?\"上门自提\":5===parseInt(t.orderDetail.payType)?\"现金\":6===parseInt(t.orderDetail.payType)?\"其他\":\"\")+\" \")])]),a(\"div\",{staticClass:\"o-reamark\"},[a(\"p\",[t._v(\"备注:\"+t._s(t.orderDetail.remark||\"无备注\"))])]),a(\"div\",{staticClass:\"o-price-info\"},[a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"商品金额:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\"¥\"+t._s(t.orderDetail.totalMoney))])]),a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"改价:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\"¥\"+t._s(t.orderDetail.changeAmount))])]),a(\"div\",[a(\"span\",{staticClass:\"op-label\"},[t._v(\"实付金额:\")]),a(\"span\",{staticClass:\"op-val\"},[t._v(\"¥\"+t._s(t.orderDetail.payAmount))])])])]),a(\"div\",{staticClass:\"button-group\"},[a(\"el-button\",{attrs:{type:\"primary\",plain:\"\"},on:{click:t.toPrint}},[t._v(\"打印小票\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.diaLog}},[t._v(\"备注\")])],1)])]):t._e()},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticClass:\"tip_info\",staticStyle:{\"border-bottom\":\"0 none\"}},[a(\"p\",{staticStyle:{margin:\"0\"}},[t._v(\"订单详情\")])])}],r=a(\"2934\"),i={name:\"WriteOffOrder\",props:{tipNum:{type:[Number,String],default:2},nowOrderId:{type:[Number,String],default:0},orderDetail:{type:Object,default:()=>({})}},data(){return{}},methods:{async toPrint(){await Object(r[\"toPrint\"])({objectId:this.nowOrderId,objectType:1});this.$message({type:\"success\",message:\"操作成功\"})},diaLog(){this.$emit(\"dialog\")}}},s=i,u=(a(\"5044\"),a(\"2877\")),d=Object(u[\"a\"])(s,n,o,!1,null,\"29c81ccb\",null);e[\"default\"]=d.exports},\"271d\":function(t,e,a){\"use strict\";a(\"984b\")},\"2de1\":function(t,e,a){},\"2eb3\":function(t,e,a){},3497: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\",[t.entry_data.length?a(\"div\",{staticClass:\"right-main\"},[a(\"div\",{staticClass:\"entry-ul\"},t._l(t.entry_data,(function(e,n){return a(\"div\",{key:n,staticClass:\"entry-li\"},[a(\"p\",{staticClass:\"entry-time\"},[t._v(\" 挂单时间: \"),a(\"span\",[t._v(t._s(t.$_common.formatDate(e.createTime)))])]),t._l(e.entryData,(function(n,o){return a(\"div\",{key:o,staticClass:\"goods-group\"},[a(\"ul\",{staticClass:\"e-goods-ul\"},t._l(n.shopGoodsData,(function(e,n){return a(\"li\",{key:n,staticClass:\"e-goods-li\"},[a(\"p\",{staticClass:\"e-goods-name\"},[t._v(\" \"+t._s(e.goodsName)+\" \")]),a(\"p\",{staticClass:\"e-goods-sku\"},[t._v(\" \"+t._s(e.unitName)+\"; \"),t._l(e.specGroup,(function(e,n){return a(\"span\",{key:n},[t._v(\" \"+t._s(e.specValueName)+\"; \")])}))],2),a(\"div\",{staticClass:\"e-goods-num\"},[a(\"span\",{staticClass:\"price-color\"},[t._v(\"¥\"+t._s(e.price))]),a(\"span\",[t._v(\"x\"+t._s(e.buyNum))])])])})),0),a(\"div\",{staticClass:\"clearfix\"},[a(\"div\",{staticClass:\"float_left\",staticStyle:{\"line-height\":\"32px\"}},[t._v(\" 订单总额: \"),a(\"span\",{staticClass:\"price-color\"},[t._v(\"¥\"+t._s(n.payMoney))])]),a(\"div\",{staticClass:\"float_right\"},[a(\"el-button\",{attrs:{size:\"small\"},on:{click:function(a){return t.delEntryData(e.id)}}},[t._v(\" 删除 \")]),a(\"el-button\",{attrs:{size:\"small\",type:\"primary\"},on:{click:function(a){return t.getEntryData(e.id)}}},[t._v(\" 取单 \")])],1)])])}))],2)})),0),a(\"FooterPage\",{attrs:{\"page-size\":10,layout:\"total, prev, pager, next\",\"total-page\":t.entry_page_total,\"current-page\":t.entry_page},on:{\"update:totalPage\":function(e){t.entry_page_total=e},\"update:total-page\":function(e){t.entry_page_total=e},\"update:currentPage\":function(e){t.entry_page=e},\"update:current-page\":function(e){t.entry_page=e},pageChange:t.ePageChange}})],1):a(\"p\",{staticClass:\"tips\"},[t._v(\"暂无数据\")])])},o=[],r=a(\"55f5\"),i={name:\"Entry\",props:{nowSelShop:{type:Object,default:()=>({})},shopSpec:{type:Object,default:()=>({})},userCenterId:{type:[String,Number],default:0},resetList:{type:Boolean,default:!1}},data(){return{entry_data:[],entry_page_total:0,entry_page:0,shop_spec:{subPrice:0,rem_money:0,goodsData:[]}}},watch:{nowSelShop(t){this.getAllEntryData()},resetList(){this.getAllEntryData()}},created(){this.getAllEntryData(),this.shop_spec=this.shopSpec},methods:{async getAllEntryData(){if(!this.nowSelShop.id)return;const t=await Object(r[\"getAllEntryData\"])({shopId:this.nowSelShop.id,page:this.entry_page,pageSize:10});this.entry_data=t.data,this.entry_page_total=t.pageTotal},ePageChange(t){this.entry_page=t,this.getAllEntryData()},async delEntryData(t){this.$confirm(\"您确认删除这个订单吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(async()=>{await Object(r[\"delEntryData\"])(t);this.$message.success(\"操作成功\"),this.getAllEntryData()})},async getEntryData(t){this.$confirm(\"您确认取出这个订单吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(async()=>{const{data:e}=await Object(r[\"getEntryData\"])(t);this.$message.success(\"操作成功\"),this.shop_spec.goodsData&&this.shop_spec.goodsData.length&&await this.$emit(\"saveEntryData\"),await this.EAddCart(e.entryData[0].shopGoodsData),await this.getAllEntryData()})},async EAddCart(t){const e=t.map(t=>({skuId:t.skuId,goodsId:t.goodsId,buyNum:t.buyNum,shopId:t.shopId,source:t.source,goodsBasicId:t.goodsBasicId}));await Object(r[\"addCartCashier\"])({goodsData:e,userCenterId:this.userCenterId});this.$emit(\"getCartByUser\")}}},s=i,u=(a(\"9e23\"),a(\"2877\")),d=Object(u[\"a\"])(s,n,o,!1,null,\"750cd5bf\",null);e[\"default\"]=d.exports},\"3e4b\":function(t,e,a){\"use strict\";a(\"8c5f\")},4927:function(t,e,a){},5044:function(t,e,a){\"use strict\";a(\"2eb3\")},\"55f5\":function(t,e,a){\"use strict\";a.r(e),a.d(e,\"setSettings\",(function(){return o})),a.d(e,\"getSettings\",(function(){return r})),a.d(e,\"getRecordList\",(function(){return i})),a.d(e,\"getAllPushMoney\",(function(){return s})),a.d(e,\"overView\",(function(){return u})),a.d(e,\"getRecordInfo\",(function(){return d})),a.d(e,\"GoodsByCategory\",(function(){return c})),a.d(e,\"getGoodsDetail\",(function(){return l})),a.d(e,\"loggerConnect\",(function(){return p})),a.d(e,\"connectDetails\",(function(){return f})),a.d(e,\"confirmConnect\",(function(){return h})),a.d(e,\"searchCustomerDetails\",(function(){return m})),a.d(e,\"addCartCashier\",(function(){return g})),a.d(e,\"getCartByUser\",(function(){return _})),a.d(e,\"updateBuyNumCashier\",(function(){return y})),a.d(e,\"delCartCashier\",(function(){return b})),a.d(e,\"clearCartCashier\",(function(){return v})),a.d(e,\"changePrice\",(function(){return C})),a.d(e,\"saveEntryData\",(function(){return O})),a.d(e,\"getAllEntryData\",(function(){return S})),a.d(e,\"getEntryData\",(function(){return j})),a.d(e,\"delEntryData\",(function(){return k})),a.d(e,\"activityAll\",(function(){return w}));var n=a(\"b775\");function o(t){return Object(n[\"default\"])({url:\"/Cashier/Settings/set\",method:\"post\",data:t})}function r(t){return Object(n[\"default\"])({url:\"/Cashier/Settings/get\",method:\"get\",data:t})}function i(t){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/getRecordList\",method:\"post\",data:t})}function s(t){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/getAll\",method:\"post\",data:t})}function u(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/overView\",method:\"post\",data:t})}function d(t,e){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/getRecordInfo/\"+t,method:\"get\",data:e})}function c(t){return Object(n[\"default\"])({url:\"/Cashier/CashierGoods/getGoodsByCategory\",method:\"post\",data:t})}function l(t,e){return Object(n[\"default\"])({url:\"/Cashier/CashierGoods/getGoodsDetail/\"+t,method:\"post\",data:e})}function p(t){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/loggerConnect\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/connectDetails\",method:\"post\",data:t})}function h(t,e){return Object(n[\"default\"])({url:\"/Cashier/PushMoney/confirmConnect/\"+t,method:\"post\",data:e})}function m(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/searchCustomerDetails\",method:\"post\",data:t})}function g(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/addCart\",method:\"post\",data:t})}function _(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/getCartByUserCenterId\",method:\"post\",data:t})}function y(t,e){return Object(n[\"default\"])({url:\"/Cashier/Cashier/updateBuyNum/\"+t,method:\"put\",data:e})}function b(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/delCart\",method:\"post\",data:t})}function v(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/clearCart\",method:\"put\",data:t})}function C(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/changePrice\",method:\"post\",data:t})}function O(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/saveEntryData\",method:\"post\",data:t})}function S(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/getAllEntryData\",method:\"post\",data:t})}function j(t,e){return Object(n[\"default\"])({url:\"/Cashier/Cashier/getEntryData/\"+t,method:\"get\",data:e})}function k(t,e){return Object(n[\"default\"])({url:\"/Cashier/Cashier/delEntryData/\"+t,method:\"delete\",data:e})}function w(t){return Object(n[\"default\"])({url:\"/Cashier/Cashier/activityAll\",method:\"post\",data:t})}},\"632f\":function(t,e,a){},\"63cf\":function(t,e,a){\"use strict\";a(\"632f\")},\"64f1\":function(t,e,a){\"use strict\";a.r(e),a.d(e,\"getStaff\",(function(){return o})),a.d(e,\"updateStaffStaff\",(function(){return r})),a.d(e,\"addStaff\",(function(){return i})),a.d(e,\"deleteStaff\",(function(){return s})),a.d(e,\"updateStaff\",(function(){return u})),a.d(e,\"getAllStaff\",(function(){return d})),a.d(e,\"getStaffInfo\",(function(){return c})),a.d(e,\"updateStaffTargetAndReward\",(function(){return l})),a.d(e,\"getAllStaffRewardDesc\",(function(){return p})),a.d(e,\"addDepartment\",(function(){return f})),a.d(e,\"deleteDepartment\",(function(){return h})),a.d(e,\"updateDepartment\",(function(){return m})),a.d(e,\"getAllDepartment\",(function(){return g})),a.d(e,\"getDepartmentInfo\",(function(){return _})),a.d(e,\"getAllRole\",(function(){return y})),a.d(e,\"getRoleInfo\",(function(){return b})),a.d(e,\"updateRole\",(function(){return v})),a.d(e,\"deleteRole\",(function(){return C})),a.d(e,\"addRole\",(function(){return O})),a.d(e,\"getAllStaffStaff\",(function(){return S}));var n=a(\"b775\");function o(t,e){return Object(n[\"default\"])({url:\"/Department/Staff/getStaffInfo/\"+t,method:\"post\",data:e})}function r(t,e){return Object(n[\"default\"])({url:\"/Department/Staff/updateStaff/\"+t,method:\"post\",data:e})}function i(t){return Object(n[\"default\"])({url:\"/Department/Staff/addStaff\",method:\"post\",data:t})}function s(t){return Object(n[\"default\"])({url:\"/Department/Staff/deleteStaff\",method:\"post\",data:t})}function u(t,e){return Object(n[\"default\"])({url:\"/Department/Staff/updateStaff/\"+t,method:\"put\",data:e})}function d(t){return Object(n[\"default\"])({url:\"/Department/Staff/getAllStaff\",method:\"post\",data:t})}function c(t,e){return Object(n[\"default\"])({url:\"/Department/Staff/getStaffInfo/\"+t,method:\"get\",data:e})}function l(t,e){return Object(n[\"default\"])({url:\"/Department/Staff/updateStaffTargetAndReward/\"+t,method:\"post\",data:e})}function p(t){return Object(n[\"default\"])({url:\"/Department/Staff/getAllStaffRewardDesc\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Department/Department/addDepartment\",method:\"post\",data:t})}function h(t,e){return Object(n[\"default\"])({url:\"/Department/Department/deleteDepartment/\"+t,method:\"delete\",data:e})}function m(t,e){return Object(n[\"default\"])({url:\"/Department/Department/updateDepartment/\"+t,method:\"put\",data:e})}function g(t){return Object(n[\"default\"])({url:\"/Department/Department/getAllDepartment\",method:\"post\",data:t})}function _(t,e){return Object(n[\"default\"])({url:\"/Department/Department/getDepartmentInfo/\"+t,method:\"get\",data:e})}function y(t){return Object(n[\"default\"])({url:\"/Department/Role/getAllRole\",method:\"post\",data:t})}function b(t,e){return Object(n[\"default\"])({url:\"/Department/Role/getRoleInfo/\"+t,method:\"get\",data:e})}function v(t,e){return Object(n[\"default\"])({url:\"/Department/Role/updateRole/\"+t,method:\"put\",data:e})}function C(t,e){return Object(n[\"default\"])({url:\"/Department/Role/deleteRole/\"+t,method:\"delete\",data:e})}function O(t){return Object(n[\"default\"])({url:\"/Department/Role/addRole\",method:\"post\",data:t})}function S(t){return Object(n[\"default\"])({url:\"/Department/Staff/getAllStaff\",method:\"post\",data:t})}},\"79d9\":function(t,e,a){},\"7f10\":function(t,e,a){\"use strict\";a.r(e),a.d(e,\"getOrderInfoByIds\",(function(){return o})),a.d(e,\"addSalesOrder\",(function(){return r})),a.d(e,\"updateOrderPayData\",(function(){return i})),a.d(e,\"printIncr\",(function(){return s})),a.d(e,\"searchOrder\",(function(){return u})),a.d(e,\"keywordSearch\",(function(){return d})),a.d(e,\"exportKeywordSearch\",(function(){return c})),a.d(e,\"exportSearchOrder\",(function(){return l})),a.d(e,\"getAllOrder\",(function(){return p})),a.d(e,\"exportGetAllOrder\",(function(){return f})),a.d(e,\"updateAuditStatus\",(function(){return h})),a.d(e,\"revokeAudit\",(function(){return m})),a.d(e,\"batchUpdateAuditStatus\",(function(){return g})),a.d(e,\"delOrder\",(function(){return _})),a.d(e,\"setSalesMan\",(function(){return y})),a.d(e,\"getOrderInfoById\",(function(){return b})),a.d(e,\"exprotsgetOrderProfit\",(function(){return v})),a.d(e,\"getAllOrderData\",(function(){return C})),a.d(e,\"exportGetAllOrderData\",(function(){return O})),a.d(e,\"addOrder\",(function(){return S})),a.d(e,\"newAddOrder\",(function(){return j})),a.d(e,\"saveEdit\",(function(){return k})),a.d(e,\"orderEdit\",(function(){return w})),a.d(e,\"newOrderEdit\",(function(){return x})),a.d(e,\"reStockOut\",(function(){return A})),a.d(e,\"editOrderExpress\",(function(){return G})),a.d(e,\"updateOrderStatus\",(function(){return I})),a.d(e,\"addOrderOut\",(function(){return D})),a.d(e,\"getAllOrderOut\",(function(){return T})),a.d(e,\"exportGetAllOrderOut\",(function(){return B})),a.d(e,\"auditOrderOut\",(function(){return N})),a.d(e,\"deleteOrderOut\",(function(){return R})),a.d(e,\"getOrderOut\",(function(){return P})),a.d(e,\"updateOrderOut\",(function(){return F})),a.d(e,\"getOrderProfit\",(function(){return M})),a.d(e,\"searchAllOrderOut\",(function(){return $})),a.d(e,\"exportSearchAllOrderOut\",(function(){return E})),a.d(e,\"getAllOrderOrder\",(function(){return L})),a.d(e,\"OrderVerification\",(function(){return z})),a.d(e,\"getOrderByVerifyCode\",(function(){return U})),a.d(e,\"cashierOrder\",(function(){return V})),a.d(e,\"statistics\",(function(){return q})),a.d(e,\"getDistributionAll\",(function(){return K})),a.d(e,\"retAmount\",(function(){return Q})),a.d(e,\"addLogistics\",(function(){return W})),a.d(e,\"rejectOrderReturn\",(function(){return H})),a.d(e,\"getAllOrderPicking\",(function(){return J})),a.d(e,\"getOrderPickingInfo\",(function(){return Z})),a.d(e,\"getAllPickingGoodsDetail\",(function(){return X}));var n=a(\"b775\");function o(t){return Object(n[\"default\"])({url:\"/Order/Order/getOrderInfoByIds\",method:\"post\",data:t})}function r(t,e){return Object(n[\"default\"])({url:\"/Order/Order/addSalesOrder/\"+t,method:\"post\",data:e})}function i(t,e){return Object(n[\"default\"])({url:\"/Order/Order/updateOrderPayData/\"+t,method:\"put\",data:e})}function s(t,e){return Object(n[\"default\"])({url:\"/Order/Order/printIncr/\"+t,method:\"put\",data:e})}function u(t){return Object(n[\"default\"])({url:\"/Order/Order/search\",method:\"post\",data:t})}function d(t){return Object(n[\"default\"])({url:\"/Order/Order/keywordSearch\",method:\"post\",data:t})}function c(t){return Object(n[\"default\"])({url:\"/Order/Order/keywordSearch\",method:\"post\",responseType:\"blob\",data:t})}function l(t){return Object(n[\"default\"])({url:\"/Order/Order/search\",method:\"post\",responseType:\"blob\",data:t})}function p(t){return Object(n[\"default\"])({url:\"/Order/Order/getAllOrder\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Order/Order/getAllOrder\",responseType:\"blob\",method:\"post\",data:t})}function h(t,e){return Object(n[\"default\"])({url:\"/Order/Order/updateAuditStatus/\"+t,method:\"put\",data:e})}function m(t,e){return Object(n[\"default\"])({url:\"/Order/Order/revokeAudit/\"+t,method:\"put\",data:e})}function g(t){return Object(n[\"default\"])({url:\"/Order/Order/batchUpdateAuditStatus\",method:\"post\",data:t})}function _(t,e){return Object(n[\"default\"])({url:\"/Order/Order/delOrder/\"+t,method:\"delete\",data:e})}function y(t){return Object(n[\"default\"])({url:\"/Order/Order/setSalesMan\",method:\"post\",data:t})}function b(t,e){return Object(n[\"default\"])({url:\"/Order/Order/getOrderInfoById/\"+t,method:\"post\",data:e})}function v(t){return Object(n[\"default\"])({url:\"Order/Order/getOrderProfit\",method:\"post\",responseType:\"blob\",data:t})}function C(t){return Object(n[\"default\"])({url:\"/Order/Order/getAllOrderData\",method:\"post\",data:t})}function O(t){return Object(n[\"default\"])({url:\"/Order/Order/getAllOrderData\",method:\"post\",responseType:\"blob\",data:t})}function S(t,e){return Object(n[\"default\"])({url:\"/Order/Order/addOrder/\"+t,method:\"post\",data:e})}function j(t){return Object(n[\"default\"])({url:\"/Order/Order/add\",method:\"post\",data:t})}function k(t){return Object(n[\"default\"])({url:\"/Order/Order/saveEdit\",method:\"post\",data:t})}function w(t,e){return Object(n[\"default\"])({url:\"/Order/Order/orderEdit/\"+t,method:\"post\",data:e})}function x(t,e){return Object(n[\"default\"])({url:\"/Order/Order/edit/\"+t,method:\"post\",data:e})}function A(t,e){return Object(n[\"default\"])({url:\"/Order/Order/reStockOut/\"+t,method:\"post\",data:e})}function G(t,e){return Object(n[\"default\"])({url:\"/Order/Order/editOrderExpress/\"+t,method:\"put\",data:e})}function I(t,e){return Object(n[\"default\"])({url:\"/Order/Order/updateOrderStatus/\"+t,method:\"put\",data:e})}function D(t){return Object(n[\"default\"])({url:\"/Order/OrderReturn/addOrderReturn\",method:\"post\",data:t})}function T(t){return Object(n[\"default\"])({url:\"/Order/OrderReturn/getAllOrderReturn\",method:\"post\",data:t})}function B(t){return Object(n[\"default\"])({url:\"/Order/OrderReturn/getAllOrderReturn\",responseType:\"blob\",method:\"post\",data:t})}function N(t,e){return Object(n[\"default\"])({url:\"/Order/OrderReturn/auditOrderReturn/\"+t,method:\"put\",data:e})}function R(t,e){return Object(n[\"default\"])({url:\"/Order/OrderReturn/deleteOrderReturn/\"+t,method:\"get\",data:e})}function P(t,e){return Object(n[\"default\"])({url:\"/Order/OrderReturn/getOrderReturn/\"+t,method:\"get\",data:e})}function F(t,e){return Object(n[\"default\"])({url:\"/Order/OrderReturn/updateOrderReturn/\"+t,method:\"put\",data:e})}function M(t){return Object(n[\"default\"])({url:\"/Order/Order/getOrderProfit\",method:\"put\",data:t})}function $(t){return Object(n[\"default\"])({url:\"/Order/OrderReturn/searchAllOrderReturn\",method:\"post\",data:t})}function E(t){return Object(n[\"default\"])({url:\"/Order/OrderReturn/searchAllOrderReturn\",method:\"post\",responseType:\"blob\",data:t})}function L(t){return Object(n[\"default\"])({url:\"/Order/Order/getAllOrder\",method:\"post\",data:t})}function z(t,e){return Object(n[\"default\"])({url:\"/Order/Order/verification/\"+t,method:\"put\",data:e})}function U(t){return Object(n[\"default\"])({url:\"/Order/Order/getOrderByVerifyCode\",method:\"post\",data:t})}function V(t){return Object(n[\"default\"])({url:\"/Order/Order/cashierOrder\",method:\"post\",data:t})}function q(t){return Object(n[\"default\"])({url:\"/Order/Order/statistics\",method:\"post\",data:t})}function K(t){return Object(n[\"default\"])({url:\"/Order/Order/getDistributionAll\",method:\"POST\",data:t})}function Q(t){return Object(n[\"default\"])({url:\"Order/Order/retAmount\",method:\"POST\",data:t})}function W(t){return Object(n[\"default\"])({url:\"Order/Order/addLogistics\",method:\"POST\",data:t})}function H(t){return Object(n[\"default\"])({url:\"Order/OrderReturn/rejectOrderReturn\",method:\"put\",data:t})}function J(t){return Object(n[\"default\"])({url:\"Order/OrderPicking/getAllOrderPicking\",method:\"post\",data:t})}function Z(t,e){return Object(n[\"default\"])({url:\"Order/OrderPicking/getOrderPickingInfo/\"+t,method:\"post\",data:e})}function X(t){return Object(n[\"default\"])({url:\"Order/OrderPicking/getAllPickingGoodsDetail\",method:\"post\",data:t})}},\"837c\":function(t,e,a){\"use strict\";a(\"2de1\")},\"866f\":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(\"el-dialog\",{attrs:{title:t.title,visible:t.isShow,\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,width:\"60%\"},on:{close:t.cancel}},[a(\"vxe-table\",{ref:\"xTable1\",attrs:{border:\"inner\",data:t.tableData},on:{\"radio-change\":t.radioChangeEvent}},[t.isRadio?a(\"vxe-table-column\",{attrs:{type:\"radio\",width:\"60\"}}):t._e(),a(\"vxe-table-column\",{attrs:{\"min-width\":\"140\",field:\"accountCode\",title:\"账户编号\"}}),a(\"vxe-table-column\",{attrs:{\"min-width\":\"140\",field:\"name\",title:\"账户名称\"}}),a(\"vxe-table-column\",{attrs:{field:\"accountNumber\",\"min-width\":\"160\",title:\"账户号\"}}),a(\"vxe-table-column\",{attrs:{field:\"money\",title:\"当前余额\",\"min-width\":\"110\"},scopedSlots:t._u([{key:\"default\",fn:function(e){var a=e.row;return[t._v(\" \"+t._s(t.$_common.formattedNumber(a.money))+\" \")]}}])}),a(\"vxe-table-column\",{attrs:{field:\"createTime\",title:\"建账日期\",\"min-width\":\"160\"},scopedSlots:t._u([{key:\"default\",fn:function(e){var a=e.row;return[t._v(\" \"+t._s(t.$_common.formatDate(a.createTime))+\" \")]}}])}),a(\"vxe-table-column\",{attrs:{field:\"beginMoney\",title:\"期初余额\",\"min-width\":\"110\"},scopedSlots:t._u([{key:\"default\",fn:function(e){var a=e.row;return[t._v(\" \"+t._s(t.$_common.formattedNumber(a.beginMoney))+\" \")]}}])}),a(\"vxe-table-column\",{attrs:{field:\"shopName\",\"show-overflow\":\"\",title:\"所属商铺\",\"min-width\":\"140\"}}),t.isRadio?t._e():a(\"vxe-table-column\",{attrs:{fixed:\"right\",title:\"选择\",width:\"90\"},scopedSlots:t._u([{key:\"default\",fn:function(e){var n=e.row;return[a(\"el-button\",{attrs:{icon:\"el-icon-check\",size:\"mini\"},on:{click:function(e){return t.dbSelect(n)}}})]}}],null,!1,2398928997)})],1),a(\"FooterPage\",{attrs:{\"page-size\":t.pre_page,\"total-page\":t.total,\"current-page\":t.page},on:{\"update:totalPage\":function(e){t.total=e},\"update:total-page\":function(e){t.total=e},\"update:currentPage\":function(e){t.page=e},\"update:current-page\":function(e){t.page=e},pageChange:t.pageChange,sizeChange:t.sizeChange}},[t.isRadio?a(\"div\",{attrs:{slot:\"btn-div\"},slot:\"btn-div\"},[a(\"el-button\",{attrs:{size:\"small\",type:\"primary\"},on:{click:t.confirm}},[t._v(\"确定\")]),a(\"el-button\",{attrs:{size:\"small\"},on:{click:t.cancel}},[t._v(\"取消\")])],1):t._e()])],1)},o=[],r=a(\"d099\"),i=a(\"3c48\"),s={name:\"AccountType\",components:{FooterPage:i[\"default\"]},props:{title:{type:String,default:\"账户列表\"},isShow:{type:Boolean,default:!1},isRadio:{type:Boolean,default:!1},shopId:{type:Number,default:0},type:{type:[Number,String],default:\"\"},isMem:{type:[Number,String],default:\"\"}},data(){return{choose_data:[],clientList:[],tableData:[],pre_page:10,page:1,selectedIndex:null,total:0,loading:!1,pageLayout:\"total, prev, pager, next\",selectedClient:{}}},created(){this.getAllAccount()},methods:{radioChangeEvent({row:t}){this.choose_data=t,console.log(\"单选事件\")},async getAllAccount(){let t={page:this.page,pageSize:this.pre_page,enableStatus:5,isMem:this.isMem};this.shopId&&(t.shopId=this.shopId),this.type&&(t.type=this.type);const{data:e,pageTotal:a}=await Object(r[\"getAllAccount\"])(t);this.tableData=e,this.total=a},dbSelect(t){this.choose_data=[t],this.$emit(\"confirm\",this.choose_data),this.cancel()},selectionChange(t){this.choose_data=t},confirm(){this.$emit(\"confirm\",this.choose_data),this.cancel()},cancel(){this.$emit(\"cancel\")},pageChange(t){this.page=t,this.getAllAccount()},sizeChange(t){this.pre_page=t,this.pageChange(1)}}},u=s,d=(a(\"3e4b\"),a(\"2877\")),c=Object(d[\"a\"])(u,n,o,!1,null,\"0a96e346\",null);e[\"default\"]=c.exports},8691: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\",{staticClass:\"title_info clearfix\"},[a(\"div\",{staticClass:\"float_left\",staticStyle:{\"margin-left\":\"40px\",\"font-weight\":\"bold\"}},[a(\"span\",[t._v(\"收银台\")]),t.shopName?a(\"span\",[t._v(\"(\"+t._s(t.shopName)+\")\")]):t._e()]),a(\"div\",{staticStyle:{\"margin-right\":\"40px\",float:\"right\"}},[a(\"span\",{staticStyle:{\"padding-right\":\"20px\",cursor:\"pointer\"}},[a(\"full-screen\",{attrs:{\"show-text\":!0}})],1),a(\"el-dropdown\",{on:{command:t.handleCommand}},[a(\"span\",{staticClass:\"el-dropdown-link\"},[t._v(\" \"+t._s(t.userName||\"未命名\")+\" \"),a(\"i\",{staticClass:\"el-icon-arrow-down el-icon--right\"})]),a(\"el-dropdown-menu\",{attrs:{slot:\"dropdown\"},slot:\"dropdown\"},[a(\"el-dropdown-item\",{attrs:{command:\"editFn\"}},[t._v(\"收银交班\")]),a(\"el-dropdown-item\",{attrs:{command:\"loginOut\"}},[t._v(\"退出登录\")])],1)],1)],1)])},o=[],r=a(\"2f62\"),i={name:\"CashierHeader\",props:{shopName:{type:String,default:\"\"}},methods:{...Object(r[\"b\"])({closeAllRoute:\"closeAllRoute\"}),handleCommand(t){\"userInfo\"===t||(\"editFn\"===t?this.$router.push(\"/CashierShift\"):\"loginOut\"===t&&this.loginOut())},loginOut(){this.$confirm(\"确定要退出登录吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(()=>{sessionStorage.clear(),setTimeout(()=>{sessionStorage.setItem(\"isCashier\",\"1\"),this.$router.push(\"/CashierLogin\")},200),this.$router.push(\"/CashierLogin\")})}}},s=i,u=(a(\"05cb\"),a(\"2877\")),d=Object(u[\"a\"])(s,n,o,!1,null,\"68e1f6b4\",null);e[\"default\"]=d.exports},\"8c5f\":function(t,e,a){},9434: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\",{staticClass:\"CashierShop\"},[a(\"CashierHeader\",{attrs:{\"shop-name\":t.now_sel_shop.name}}),a(\"el-row\",{staticStyle:{padding:\"0 10px\"}},[a(\"el-col\",{attrs:{span:10}},[a(\"div\",{staticClass:\"grid-content bg-purple\"},[a(\"div\",{staticClass:\"list_info\"},[a(\"p\",{class:1===t.tip_num?\"list_info_p\":\"\",on:{click:function(e){t.tip_num=1}}},[t._v(\" 首页 \")]),a(\"p\",{class:2===t.tip_num?\"list_info_p\":\"\",on:{click:function(e){t.tip_num=2}}},[t._v(\" 核销 \")]),a(\"p\",{class:3===t.tip_num?\"list_info_p\":\"\",on:{click:t.listFn}},[t._v(\" 订单 \")])]),a(\"div\",{staticClass:\"list_content clearfix\"},[a(\"span\",{staticStyle:{\"font-weight\":\"bold\",\"margin-left\":\"10px\",\"font-size\":\"14px\"}},[1===t.tip_num?a(\"span\",{attrs:{disabled:t.collection}},[t._v(\" 结算清单(\"+t._s(t.shop_spec.goodsNum||\"0\")+\"件) \")]):t._e(),2===t.tip_num&&!1===t.com_record?a(\"span\",[t._v(\"自提核销\")]):t._e(),3===t.tip_num?a(\"span\",[t._v(\"订单管理\")]):t._e()]),a(\"div\",{staticStyle:{float:\"right\",\"margin-right\":\"10px\",\"font-size\":\"14px\"}},[1===t.tip_num?a(\"span\",[t._v(\"会员:\")]):t._e(),1===t.tip_num?a(\"span\",{staticStyle:{color:\"#409eff\"}},[t._v(\" \"+t._s(t.vip_info.mobile||\"无\")+\" \")]):t._e()]),1===t.tip_num?a(\"div\",[1!==t.tip_num||t.shop_spec.goodsData?t._e():a(\"div\",{staticClass:\"tips\",staticStyle:{height:\"63vh\"}},[t._v(\" 未添加任何商品 \")]),1===t.tip_num&&!1===t.list_judge&&t.shop_spec.goodsData?a(\"div\",{staticStyle:{height:\"60vh\",overflow:\"auto\"}},t._l(t.shop_spec.goodsData,(function(e,n){return a(\"ul\",{key:n},t._l(e.shopGoodsData,(function(e,n){return a(\"li\",{key:n,staticClass:\"card-goods-li clearfix\"},[a(\"div\",{staticClass:\"card-goods-img float_left\"},[a(\"img\",{staticStyle:{height:\"60px\",width:\"60px\"},attrs:{src:e.goodsImages,alt:\"\"}})]),a(\"div\",{staticClass:\"float_left card-goods-info\"},[a(\"p\",{staticClass:\"c-goods-name\"},[t._v(\" \"+t._s(e.goodsName||\"直接收款\")+\" \")]),a(\"div\",{staticClass:\"color_size clearfix\"},[a(\"div\",{staticClass:\"float_left\"},[t._v(\" \"+t._s(e.unitName||\"直接收款\")+\"; \"),t._l(e.specGroup,(function(e,n){return a(\"span\",{key:n},[t._v(\" \"+t._s(e.specValueName)+\" \")])}))],2),a(\"div\",{staticClass:\"float_right\"},[e.isprice?t._e():a(\"el-button\",{attrs:{type:\"text\",disabled:t.collection,size:\"mini\"},on:{click:function(a){return t.getCart(e)}}},[t._v(\" 改价 \")]),a(\"el-button\",{attrs:{type:\"text\",disabled:t.collection,size:\"mini\"},on:{click:function(a){return t.delectShop(e.cartId)}}},[t._v(\" 删除 \")])],1)]),a(\"div\",{staticClass:\"c-goods-num\"},[a(\"div\",{staticClass:\"price-color\"},[t._v(\" ¥\"+t._s(e.price||e.isprice)+\" \")]),a(\"div\",{staticStyle:{\"text-align\":\"center\"},on:{click:function(e){return t.openKeyboard(n)}}},[a(\"el-input\",{staticStyle:{width:\"150px\"},attrs:{disabled:t.collection,size:\"mini\",readonly:\"\"},model:{value:e.buyNum,callback:function(a){t.$set(e,\"buyNum\",a)},expression:\"itemP.buyNum\"}})],1),a(\"div\",{staticClass:\"price-color\",staticStyle:{\"text-align\":\"right\"}},[t._v(\" ¥\"+t._s(e.totalMoney||e.buyNum*t.num2)+\" \")])])])])})),0)})),0):t._e(),1===t.tip_num&&!1===t.list_judge&&t.shop_spec.goodsData?a(\"div\",[a(\"div\",{staticClass:\"clearfix\",staticStyle:{\"border-bottom\":\"1px solid #f2f2f2\",padding:\"0 20px\",\"border-top\":\"1px solid #f2f2f2\"}},[0!==t.shop_spec.preferential?a(\"div\",{staticClass:\"float_left\"},[a(\"span\",{staticClass:\"price-color\"},[t._v(\" 优惠:¥\"+t._s(t.$NP.plus(t.shop_spec.preferential||0,t.shop_spec.subPrice||0))+\" \")]),a(\"span\",{staticStyle:{color:\"#1881f7\",\"padding-left\":\"20px\",cursor:\"pointer\"},on:{click:function(e){t.detailed=!0,t.collection=!1,t.re_charge=!1,t.price_change=!1}}},[t._v(\" 明细 \")])]):t._e(),a(\"div\",{staticClass:\"float_right\"},[a(\"span\",[t._v(\"应收金额:\")]),a(\"span\",{staticClass:\"price-color\"},[t._v(\" ¥\"+t._s(t.shop_spec.payMoney||0)+\" \")])])]),a(\"div\",{staticStyle:{\"margin-left\":\"20px\",\"text-align\":\"right\"}},[a(\"el-button\",{attrs:{disabled:t.collection},on:{click:t.clearCart}},[t._v(\" 取消 \")]),a(\"el-button\",{attrs:{disabled:t.collection},on:{click:function(e){t.dialogVisible=!0}}},[t._v(\" 备注 \")]),a(\"el-button\",{attrs:{disabled:t.collection},on:{click:t.saveEntryData}},[t._v(\" 挂单 \")]),5===t.cashier_set.zero_set.status&&4===t.cashier_set.zero_set.auto_zero?a(\"el-button\",{attrs:{disabled:t.collection},on:{click:t.delZreo}},[t._v(\" \"+t._s(t.shop_spec.rem_money-0!==0?\"取消抹零\":\"抹零\")+\" \")]):t._e(),a(\"el-button\",{attrs:{type:\"primary\",disabled:t.collection},on:{click:t.orderCashier}},[t._v(\" 收款 \")])],1)]):t._e()]):t._e(),2===t.tip_num&&!1===t.com_record?a(\"div\",{staticClass:\"change-price\"},[a(\"div\",{staticClass:\"keyboard\",staticStyle:{\"padding-top\":\"50px\"}},[a(\"div\",{staticClass:\"keyboard-input_one\"},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.keyboard_key,expression:\"keyboard_key\"}],staticClass:\"keyboard-input-input\",staticStyle:{width:\"100%\"},attrs:{type:\"text\",placeholder:\"请输入核销码\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.keyboard_key},on:{input:function(e){e.target.composing||(t.keyboard_key=e.target.value)}}})]),a(\"keyboard\",{attrs:{\"tip-num\":t.tip_num},on:{click:t.numFnOne}})],1)]):t._e(),2===t.tip_num&&!0===t.com_record?a(\"div\",{staticStyle:{\"margin-top\":\"-50px\"}},[a(\"div\",{staticClass:\"head_back\"},[a(\"i\",{staticClass:\"el-icon-back\"}),a(\"span\",{staticStyle:{\"margin-left\":\"6px\"},on:{click:function(e){t.com_record=!1}}},[t._v(\" 返回 \")]),a(\"span\",{staticClass:\"head_line\"}),a(\"span\",{staticStyle:{color:\"#333333\"}},[t._v(\"核销记录\")])]),a(\"div\",{staticStyle:{width:\"90%\",margin:\"10px auto 0\"}},[a(\"el-input\",{staticClass:\"input-with-select\",attrs:{size:\"medium\",placeholder:\"请输入订单编号查询订单\"},model:{value:t.order_num,callback:function(e){t.order_num=e},expression:\"order_num\"}},[a(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},slot:\"append\"})],1)],1),a(\"div\",{staticClass:\"tips\"},[t._v(\"暂无数据\")])]):t._e(),3===t.tip_num?a(\"div\",[a(\"div\",{staticClass:\"order-input-view\"},[a(\"el-input\",{staticStyle:{width:\"100%\"},attrs:{placeholder:\"请输入订单编号查询订单\"},model:{value:t.order_no_key,callback:function(e){t.order_no_key=e},expression:\"order_no_key\"}},[a(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},on:{click:t.serchOrder},slot:\"append\"})],1)],1),a(\"ul\",{staticClass:\"order-ul\"},t._l(t.order_list,(function(e,n){return a(\"li\",{key:n,staticClass:\"order-item\",on:{click:function(a){return t.orderEvent(e)}}},[a(\"div\",{staticClass:\"clearfix\"},[a(\"span\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\"订单号:\"+t._s(e.no))]),a(\"div\",{staticStyle:{float:\"right\",\"margin-right\":\"10px\",color:\"#1881f7\"}},[a(\"el-tag\",{attrs:{size:\"small\",type:\"已支付\"===e.payMsg?\"success\":\"danger\"}},[t._v(\" \"+t._s(e.payMsg)+\" \")])],1)]),a(\"div\",{staticClass:\"clearfix\"},[a(\"span\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\" 下单时间:\"+t._s(t.$_common.formatDate(e.createTime))+\" \")]),a(\"span\",{staticStyle:{float:\"right\",\"margin-right\":\"10px\"}},[t._v(\" 合计:¥\"+t._s(e.totalMoney)+\" \")])])])})),0),a(\"FooterPage\",{attrs:{layout:\"total, prev, pager, next\",\"page-size\":t.o_pageSize,\"total-page\":t.o_total,\"current-page\":t.o_page},on:{\"update:totalPage\":function(e){t.o_total=e},\"update:total-page\":function(e){t.o_total=e},\"update:currentPage\":function(e){t.o_page=e},\"update:current-page\":function(e){t.o_page=e},pageChange:t.oPageChange}})],1):t._e()])])]),a(\"el-col\",{attrs:{span:14}},[a(\"div\",{staticClass:\"grid-content bg-purple\"},[1===t.tip_num&&!0===t.detailed?a(\"div\",[a(\"div\",{staticClass:\"tip_info\"},[a(\"p\",{staticStyle:{margin:\"0\"}},[t._v(\"优惠明细\")]),a(\"div\",{staticStyle:{float:\"right\",\"padding-right\":\"20px\",\"margin-top\":\"-60px\",cursor:\"pointer\"},on:{click:function(e){t.detailed=!1}}},[a(\"i\",{staticClass:\"el-icon-close\"})])]),a(\"div\",[a(\"div\",{staticClass:\"clearfix\",staticStyle:{padding:\"10px\",\"font-size\":\"14px\"}},[a(\"div\",{staticStyle:{\"margin-bottom\":\"20px\"}},[a(\"span\",{staticStyle:{\"font-weight\":\"bold\"}},[t._v(\"改价\")]),a(\"span\",{staticClass:\"price-color float_right\"},[t._v(\" ¥\"+t._s(t.shop_spec.subPrice||0)+\" \")])]),a(\"div\",{staticStyle:{\"margin-bottom\":\"20px\"}},[a(\"span\",{staticStyle:{\"font-weight\":\"bold\"}},[t._v(\"抹零\")]),a(\"span\",{staticClass:\"price-color float_right\"},[t._v(\" ¥\"+t._s(t.shop_spec.rem_money||0)+\" \")])]),t.shop_spec.useCoupon.reducePrice?a(\"div\",[a(\"span\",{staticStyle:{\"font-weight\":\"bold\"}},[t._v(\"优惠活动\")]),a(\"span\",{staticClass:\"price-color float_right\"},[t._v(\" ¥\"+t._s(t.shop_spec.useCoupon.reducePrice)+\" \")])]):t._e()])])]):t._e(),1===t.tip_num&&!0===t.collection?a(\"div\",{staticClass:\"pay-box\"},[a(\"div\",[t.userCenterId?a(\"div\",{staticClass:\"clearfix\",staticStyle:{padding:\"10px 10px 10px 20px\",position:\"relative\",color:\"#333333\",height:\"100px\"}},[a(\"div\",{staticStyle:{float:\"left\",width:\"300px\"}},[a(\"div\",{staticStyle:{display:\"inline-block\",\"padding-top\":\"18px\"}},[a(\"el-row\",{staticClass:\"demo-avatar demo-basic\"},[a(\"el-col\",{attrs:{span:12}},[a(\"div\",{staticClass:\"demo-basic--circle\"},[a(\"div\",{staticClass:\"block\"},[a(\"el-avatar\",{attrs:{size:50,src:t.vip_info.avatar}})],1)])])],1)],1),a(\"div\",{staticStyle:{display:\"inline-block\",\"margin-left\":\"10px\",\"line-height\":\"20px\",position:\"absolute\",top:\"34%\"}},[a(\"div\",[a(\"span\",[t._v(t._s(t.vip_info.name))])]),a(\"div\",[t._v(\" \"+t._s(t.vip_info.mobile)+\" \")])]),a(\"div\",{staticStyle:{display:\"inline-block\",\"margin-left\":\"130px\",position:\"absolute\",top:\"34%\"}},[a(\"el-button\",{on:{click:t.changeUser}},[t._v(\"切换会员\")])],1)])]):t._e(),a(\"div\",{staticClass:\"check_vip_price\"},[t._v(\" 收款金额: \"),a(\"span\",[t._v(\"¥\"+t._s(t.shop_spec.payMoney))])]),a(\"div\",{staticClass:\"pay_type\"},[a(\"el-radio-group\",{model:{value:t.pay_type,callback:function(e){t.pay_type=e},expression:\"pay_type\"}},[5===t.cashier_set.pay_set.cash_pay?a(\"el-radio-button\",{attrs:{label:5}},[t._v(\" 现金支付 \")]):t._e(),a(\"el-radio-button\",{attrs:{label:6}},[t._v(\"其他方式\")])],1)],1),1===t.pay_type||2===t.pay_type?a(\"div\",{staticClass:\"pay-tip\"},[t._v(\" 请输入付款码数字 \")]):5===t.pay_type?a(\"div\",{staticStyle:{\"margin-top\":\"20px\"}},[a(\"div\",{staticClass:\"input-box\"},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.shop_spec.payMoney,expression:\"shop_spec.payMoney\"}],staticClass:\"input-input\",attrs:{type:\"text\",placeholder:\"请输入需要的金额\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.shop_spec.payMoney},on:{input:function(e){e.target.composing||t.$set(t.shop_spec,\"payMoney\",e.target.value)}}}),a(\"div\",{staticClass:\"input-unit\",staticStyle:{color:\"#333333\"}},[t._v(\"元\")])]),a(\"div\",{staticClass:\"input-box\",staticStyle:{\"margin-top\":\"10px\"}},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.pay_account_name,expression:\"pay_account_name\"}],staticClass:\"input-input\",attrs:{type:\"text\",readonly:\"\",placeholder:\"请选择结算账户\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.pay_account_name},on:{input:function(e){e.target.composing||(t.pay_account_name=e.target.value)}}}),a(\"div\",{staticClass:\"input-unit\",staticStyle:{color:\"#666\"},on:{click:function(e){return t.openAccountModel(\"pay\")}}},[a(\"i\",{staticClass:\"el-icon-circle-check\"}),t._v(\" 点击选择 \")])]),a(\"keyboard\",{on:{click:function(e){return t.payCalculator(e)}}})],1):3===t.pay_type?a(\"div\",{staticClass:\"pay-tip\"},[a(\"div\",{staticClass:\"balance\"},[a(\"p\",[t._v(\"会员余额\")]),a(\"p\",{staticClass:\"price\"},[t._v(\"¥0\")]),a(\"p\",{staticClass:\"tip\"},[t._v(\"会员余额不足,请更换支付方式。\")])])]):a(\"div\",{staticClass:\"pay-tip\"},[t._v(\" 会员通过扫码等方式进行支付,确认会员支付成功后,点击确认付款即可完成付款操作。 \"),a(\"div\",{staticClass:\"input-box\",staticStyle:{\"margin-top\":\"10px\"}},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.pay_account_name,expression:\"pay_account_name\"}],staticClass:\"input-input\",attrs:{type:\"text\",readonly:\"\",placeholder:\"请选择结算账户\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.pay_account_name},on:{input:function(e){e.target.composing||(t.pay_account_name=e.target.value)}}}),a(\"div\",{staticClass:\"input-unit\",staticStyle:{color:\"#666\"},on:{click:function(e){return t.openAccountModel(\"pay\")}}},[a(\"i\",{staticClass:\"el-icon-circle-check\"}),t._v(\" 点击选择 \")])])])]),a(\"div\",{staticClass:\"right-bottom\"},[a(\"div\",{staticClass:\"clearfix\",staticStyle:{padding:\"20px\"}},[a(\"span\",{staticClass:\"float_left\"},[t._v(\" 导购员: \"),t.guide.length?a(\"span\",t._l(t.guide,(function(e,n){return a(\"i\",{key:n},[t._v(\" \"+t._s(e.staffName)+\"; \")])})),0):a(\"i\",[t._v(\"无\")])]),a(\"span\",{staticClass:\"float_right\",on:{click:function(e){t.shopGuide=!0}}},[a(\"el-button\",{attrs:{type:\"text\"}},[t._v(\"编辑\")])],1)]),a(\"div\",{staticClass:\"btn-group\"},[a(\"el-button\",{staticStyle:{width:\"100px\"},on:{click:function(e){t.collection=!1}}},[t._v(\" 取消 \")]),3!==t.pay_type?a(\"el-button\",{staticStyle:{width:\"100px\"},attrs:{type:\"primary\"},on:{click:t.paymentFn}},[t._v(\" 确定付款 \")]):t._e()],1)])]):t._e(),1===t.tip_num&&!0===t.payment?a(\"div\",{staticStyle:{\"padding-top\":\"200px\"}},[a(\"div\",{staticStyle:{height:\"56vh\",\"border-bottom\":\"1px solid #dcdee2\"}},[a(\"p\",{staticClass:\"icon_check\",staticStyle:{\"text-align\":\"center\"}},[a(\"i\",{staticClass:\"el-icon-check\"})]),a(\"p\",{staticClass:\"price-color\",staticStyle:{\"font-size\":\"20px\",\"font-weight\":\"bold\",\"text-align\":\"center\"}},[t._v(\" 收款成功 \")])]),a(\"div\",{staticStyle:{margin:\"20px 20px 0 0\",\"text-align\":\"right\"}},[a(\"el-button\",{on:{click:t.toPrint}},[t._v(\"打印小票\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:function(e){t.payment=!1}}},[t._v(\" 继续收款 \")])],1)]):t._e(),1===t.tip_num&&!0===t.re_charge?a(\"div\",{staticClass:\"clearfix\"},[a(\"div\",{staticStyle:{height:\"76vh\",\"border-bottom\":\"1px solid #dcdee2\"}},[a(\"div\",{staticStyle:{padding:\"10px 10px 10px 20px\",position:\"relative\",color:\"#333333\",height:\"100px\"}},[a(\"div\",{staticStyle:{float:\"left\",width:\"300px\"}},[a(\"div\",{staticStyle:{display:\"inline-block\",\"padding-top\":\"18px\"}},[a(\"el-row\",{staticClass:\"demo-avatar demo-basic\"},[a(\"el-col\",{attrs:{span:12}},[a(\"div\",{staticClass:\"demo-basic--circle\"},[a(\"div\",{staticClass:\"block\"},[a(\"el-avatar\",{attrs:{size:50,src:t.vip_info.avatar}})],1)])])],1)],1),a(\"div\",{staticStyle:{display:\"inline-block\",\"margin-left\":\"10px\",\"line-height\":\"20px\",position:\"absolute\",top:\"34%\"}},[a(\"div\",[a(\"span\",[t._v(t._s(t.vip_info.name))])]),a(\"div\",[t._v(\" \"+t._s(t.vip_info.mobile)+\" \")])]),a(\"div\",{staticStyle:{display:\"inline-block\",\"margin-left\":\"130px\",position:\"absolute\",top:\"34%\"}},[a(\"el-button\",{on:{click:t.changeUser}},[t._v(\"切换会员\")])],1)])]),a(\"div\",{staticClass:\"check_vip_price\"},[t._v(\" 充值金额: \"),a(\"span\",[t._v(\"¥\"+t._s(t.vip_info.price))])]),a(\"div\",{staticClass:\"pay_type\"},[a(\"el-button\",{attrs:{type:\"primary\"}},[t._v(\"其他方式\")])],1),a(\"div\",{staticStyle:{\"margin-top\":\"50px\",\"text-align\":\"center\"}},[t._v(\" 会员通过扫码等方式进行支付,确认会员支付成功后,点击确认付款即可完成付款操作。 \")])]),a(\"div\",{staticClass:\"button_vip\"},[a(\"span\",[a(\"el-button\",{staticStyle:{width:\"100px\"},on:{click:function(e){t.re_charge=!1}}},[t._v(\" 取消 \")])],1),a(\"span\",{staticStyle:{width:\"100px\"}},[a(\"el-button\",{staticStyle:{width:\"100px\"},attrs:{type:\"primary\"}},[t._v(\" 确定付款 \")])],1)])]):t._e(),1===t.tip_num&&!1===t.price_change&&!1===t.re_charge&&!1===t.detailed&&!1===t.collection&&!1===t.payment?a(\"div\",{staticClass:\"cashier\"},[a(\"el-tabs\",{staticClass:\"el-tabs__item is-top el_tabs--top\",staticStyle:{position:\"relative\"},on:{\"tab-click\":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:\"activeName\"}},[a(\"el-tab-pane\",{attrs:{label:\"商品\",name:\"first\"}},[a(\"Goods\",{attrs:{\"shop-com\":t.shop_com,\"all-shop\":t.all_shop,\"user-center-id\":t.userCenterId,\"num-list\":t.num_list,\"now-sel-shop\":t.now_sel_shop,\"user-coupon-id\":t.userCouponId},on:{goodsId:t.goodsIdFn,openKeyboard:t.openKeyboard,inputKey:t.inputKey,getCartByUser:t.getCartByUser}})],1),a(\"el-tab-pane\",{attrs:{label:\"会员\",name:\"second\"}},[a(\"Vip\",{attrs:{\"vip-login\":t.vip_login,\"vip-handle\":t.vip_handle,\"num-list\":t.num_list,\"user-coupon-id\":t.userCouponId,\"now-sel-shop\":t.now_sel_shop,collection:t.collection,\"re-charge\":t.re_charge},on:{getCartByUser:t.getCartByUser,vipInfo:t.vipInfo}})],1),a(\"el-tab-pane\",{attrs:{label:\"优惠活动\",name:\"third\"}},[a(\"VipActivity\",{attrs:{\"discount-list\":t.discount_list},on:{couponChange:t.couponChange}})],1),a(\"el-tab-pane\",{attrs:{label:\"取单\",name:\"fourth\"}},[a(\"Entry\",{attrs:{\"reset-list\":t.rest_entry,\"now-sel-shop\":t.now_sel_shop,\"shop-spec\":t.shop_spec,\"user-center-id\":t.userCenterId},on:{saveEntryData:t.saveEntryData,getCartByUser:t.getCartByUser}})],1),a(\"el-tab-pane\",{attrs:{label:\"直接收款\",name:\"fiver\"}},[a(\"AccountPrice\",{attrs:{\"now-sel-shop\":t.now_sel_shop,\"num-list\":t.num_list,\"customer-id\":t.customerId,\"customer-name\":t.customerName,money:t.vip_info.money,input:t.input},on:{activeName:t.activename}})],1)],1)],1):t._e(),1===t.tip_num&&!0===t.price_change?a(\"div\",{staticClass:\"change-price\"},[a(\"div\",{staticClass:\"tip_info clearfix\"},[a(\"p\",{staticStyle:{margin:\"0\"}},[t._v(\"改价\")]),a(\"div\",{staticStyle:{float:\"right\",\"padding-right\":\"20px\",\"margin-top\":\"-60px\",cursor:\"pointer\"},on:{click:t.deleteFn}},[a(\"i\",{staticClass:\"el-icon-close\"})])]),a(\"div\",{staticClass:\"shop_info clearfix\"},[a(\"div\",{staticClass:\"float_left\"},[a(\"img\",{attrs:{src:t.cart_primary.goodsImages,alt:\"\"}})]),a(\"div\",{staticClass:\"float_right goods-info\"},[a(\"p\",[t._v(\" \"+t._s(t.cart_primary.goodsName)+\" \")]),a(\"div\",[a(\"span\",{staticClass:\"price-color\",staticStyle:{\"margin-right\":\"10px\"}},[t._v(\" ¥\"+t._s(t.cart_primary.originPrice)+\" \")])])])]),a(\"div\",{staticStyle:{margin:\"40px 0 40px 40px\"}},[a(\"span\",{staticStyle:{\"margin-right\":\"30px\"}},[t._v(\"现价\")]),a(\"span\",[t._v(\"¥\"+t._s(t.cart_primary.originPrice))])]),a(\"div\",{staticStyle:{\"margin-left\":\"40px\"},attrs:{inline:!0}},[a(\"span\",{staticStyle:{\"margin-right\":\"20px\"}},[t._v(\"定价\")]),a(\"el-input\",{staticStyle:{width:\"20%\"},attrs:{placeholder:\"请输入内容\"},model:{value:t.price_num,callback:function(e){t.price_num=e},expression:\"price_num\"}},[a(\"template\",{slot:\"append\"},[t._v(\"元\")])],2)],1),a(\"div\",{staticClass:\"btn-group\"},[a(\"el-button\",{on:{click:t.deleteFn}},[t._v(\"取消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.primaryCart}},[t._v(\"确定\")])],1)]):t._e(),a(\"WriteOffInfo\",{attrs:{\"tip-num\":t.tip_num,\"writeoff-list\":t.writeoff_list}}),a(\"WriteOffOrder\",{attrs:{\"tip-num\":t.tip_num,\"order-detail\":t.order_detail,\"now-order-id\":t.now_order_id},on:{dialog:t.diaLog}})],1)])],1),a(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,title:\"提示\",visible:t.dialogVisible,width:\"30%\"},on:{\"update:visible\":function(e){t.dialogVisible=e}}},[a(\"span\",[a(\"el-input\",{attrs:{type:\"textarea\",rows:2,maxlength:\"200\",placeholder:\"请填写备注\"},model:{value:t.textarea,callback:function(e){t.textarea=e},expression:\"textarea\"}})],1),a(\"span\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[a(\"el-button\",{on:{click:function(e){t.dialogVisible=!1}}},[t._v(\"取 消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(\" 确 定 \")])],1)]),a(\"el-dialog\",{attrs:{\"show-close\":!1,\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,width:\"40%\",title:\"选择店铺\",visible:t.shop_visible},on:{\"update:visible\":function(e){t.shop_visible=e}}},[a(\"div\",{staticStyle:{height:\"400px\",\"overflow-y\":\"auto\",\"border-bottom\":\"1px solid #f7f7f7\"}},t._l(t.shop_select,(function(e,n){return a(\"div\",{key:n,staticClass:\"shop\",class:[t.now_shop.id===e.id?\"shop-on\":\"\"],on:{click:function(a){return t.selShop(e)}}},[a(\"span\",{staticClass:\"iconfont icon-002 select_icon\",staticStyle:{\"background-color\":\"#f56c6c\",color:\"#fff\",\"text-align\":\"center\",\"line-height\":\"40px\"}}),a(\"span\",[t._v(t._s(e.name))]),a(\"i\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.now_shop.id===e.id,expression:\"now_shop.id === item.id\"}],staticClass:\"el-icon-check\"})])})),0),a(\"div\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[a(\"el-button\",{on:{click:function(e){t.shop_visible=!1}}},[t._v(\"取消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.shopConfirm}},[t._v(\"确 定\")])],1)]),a(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,width:\"30%\",title:\"会员充值\",visible:t.reCharge},on:{\"update:visible\":function(e){t.reCharge=e},close:t.close}},[a(\"el-form\",{attrs:{model:t.vip_info,\"label-width\":\"80px\",size:\"small\",rules:t.rules}},[a(\"el-form-item\",{attrs:{label:\"金额\",prop:\"price\"}},[a(\"el-input\",{attrs:{placeholder:\"请填写金额\"},model:{value:t.vip_info.price,callback:function(e){t.$set(t.vip_info,\"price\",e)},expression:\"vip_info.price\"}},[a(\"template\",{slot:\"append\"},[t._v(\"元\")])],2)],1)],1),a(\"div\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[a(\"el-button\",{on:{click:t.close}},[t._v(\"取 消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.reChargeFn}},[t._v(\"去充值\")])],1)],1),a(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,width:\"30%\",title:\"调整积分\",visible:t.integral},on:{\"update:visible\":function(e){t.integral=e},close:t.close}},[a(\"el-form\",{attrs:{model:t.vip_info,\"label-width\":\"80px\",size:\"small\",rules:t.rules}},[a(\"el-form-item\",{attrs:{label:\"积分\",prop:\"integral\"}},[a(\"el-input\",{attrs:{placeholder:\"请输入0以上的数字\"},model:{value:t.vip_info.integral,callback:function(e){t.$set(t.vip_info,\"integral\",e)},expression:\"vip_info.integral\"}})],1),a(\"el-form-item\",{attrs:{label:\"备注\",prop:\"remarks\"}},[a(\"el-input\",{attrs:{placeholder:\"充值说明\"},model:{value:t.vip_info.remarks,callback:function(e){t.$set(t.vip_info,\"remarks\",e)},expression:\"vip_info.remarks\"}})],1)],1),a(\"div\",{staticClass:\"dialog-footer\",attrs:{slot:\"footer\"},slot:\"footer\"},[a(\"el-button\",{on:{click:t.close}},[t._v(\"取消\")]),a(\"el-button\",{attrs:{type:\"primary\"}},[t._v(\"确定\")])],1)],1),t.shopGuide?a(\"ShopGuide\",{attrs:{\"shop-guide\":t.shopGuide},on:{close:t.close,shopGuideFn:t.shopGuideFn}}):t._e(),a(\"el-dialog\",{attrs:{\"close-on-press-escape\":!1,\"close-on-click-modal\":!1,width:\"640px\",visible:t.keyboard_number},on:{\"update:visible\":function(e){t.keyboard_number=e}}},[a(\"el-input\",{attrs:{readonly:\"\"},model:{value:t.input_key_num,callback:function(e){t.input_key_num=e},expression:\"input_key_num\"}}),a(\"keyboard\",{attrs:{\"lb-num\":!1},on:{click:t.keyboardConfirm}})],1),t.account_show?a(\"AccountType\",{attrs:{id:t.now_sel_shop.id,\"is-check\":!1,\"is-show\":t.account_show},on:{cancel:function(e){t.account_show=!1},confirm:t.accountsel}}):t._e()],1)},o=[],r=(a(\"caad\"),a(\"fdd3\")),i=a(\"0c6b\"),s=a(\"21e2\"),u=a(\"dccf\"),d=a(\"ad12\"),c=a(\"8691\"),l=a(\"c0a2\"),p=a(\"3497\"),f=a(\"f631\"),h=a(\"1175\"),m=a(\"2f62\"),g=a(\"55f5\"),_=a(\"7f10\"),y=(a(\"64f1\"),a(\"e1b7\")),b=a(\"2934\"),v=a(\"d099\"),C=a(\"866f\"),O={name:\"CashierShop\",components:{CashierHeader:c[\"default\"],AccountType:C[\"default\"],Keyboard:r[\"default\"],WriteOffInfo:i[\"default\"],WriteOffOrder:s[\"default\"],Goods:u[\"default\"],Vip:d[\"default\"],VipActivity:l[\"default\"],Entry:p[\"default\"],AccountPrice:f[\"default\"],ShopGuide:h[\"default\"]},data(){return{input_key_num:0,cg_index:0,keyboard_number:!1,activeName:\"first\",account_show:!1,dialogVisible:!1,shopGuide:!1,shop_guide:[],guide_name:\"\",guide:[],collection:!1,total:0,page:1,pageSize:10,textarea:\"\",shop:\"\",num_list:[],target_num:\"\",input:\"\",keyboard_key:\"\",input_two:\"\",tip_num:1,num1:1,order_num:\"\",num2:\"1\",list_judge:!1,list:\"\",no_time:\"\",price_num:\"\",price_change:!1,order_list:[],order_no_key:\"\",writeoff_list:{},all_shop:!0,shop_com:!1,com_record:!1,spec_id_group:[],now_sku_data:{},shop_spec:{subPrice:0,rem_money:0,goodsData:[]},shop_select:[],vip_info:{createTime:\"\",birthday:\"\",price:\"\",integral:\"\",remarks:\"\",defaultAddress:{area:{provinceName:\"\",cityName:\"\",districtName:\"\",address:\"\"}},remark:\"\"},vip_handle:!1,re_charge:!1,integral:!1,detailed:!1,vip_login:!1,confirm_vip:!1,reCharge:!1,vip_list:[{price:10,price_num:0},{price:300,price_num:0},{price:15,price_num:0},{price:121,price_num:0}],rules:{price:[{required:!0,message:\"请填写金额\",trigger:\"blur\"}],integral:[{required:!0,message:\"请填写积分\",trigger:\"blur\"}],remarks:[{required:!0,message:\"请填写备注\",trigger:\"blur\"}]},shop_visible:!1,now_shop:{},now_sel_shop:{},classify_list:[],goodsId:\"\",userCenterId:\"\",goodsBasicId:\"\",order_detail:{},o_pageSize:10,o_total:0,o_page:1,cashier_staff:{},cart_primary:{},customerId:\"\",customerName:\"\",customerType:\"\",payment:!1,cashier_set:{zero_set:{},pay_set:{}},pay_type:6,discount_list:[],pay_account_num:\"\",pay_account_id:\"\",pay_account_name:\"\",account_num:\"\",accountName:\"\",account_id:\"\",now_order_id:\"\",userCouponId:0,weight_visible:!1,goods_weight:0,rest_entry:!1}},async created(){await this.getSettings(),this.no_time=this.$_common.formatDate((new Date).getTime()),this.$store.getters[\"MUser/cashierShop\"].id?(this.now_sel_shop=this.$store.getters[\"MUser/cashierShop\"],this.loggerConnect()):await this.getAllShop()},methods:{...Object(m[\"b\"])({changeCashierShop:\"MUser/changeCashierShop\"}),goodsIdFn(t){this.goodsId=t},inputKey(t){this.input_key_num=t,console.log(t)},vipInfo(t){this.vip_info=t,this.userCenterId=t.userCenterId},activename(t){this.activeName=t},shopGuideFn(t){this.guide=t},async shopChange(){await this.GoodsByCategory(),this.getCartByUser()},async getSettings(){const{data:t}=await Object(g[\"getSettings\"])();t.add_form&&(this.cashier_set=t.add_form)},async GoodsByCategory(){const t=await Object(g[\"GoodsByCategory\"])({page:this.page,pageSize:this.pageSize,categoryId:this.cate_id,keyword:this.shop,userCenterId:this.userCenterId,shopId:this.now_sel_shop.id});this.shop_shop=t.data,this.total=t.pageTotal},handleClick(t,e){switch(this.activeName){case\"first\":break;case\"second\":break;case\"third\":break;case\"fourth\":break;case\"fiver\":break}},handleChange(t,e){this.updateBuyNumCashier(t,e),console.log(e),console.log(t)},openKeyboard(t){this.keyboard_number=!0,this.cg_index=t},keyboardConfirm(t,e){if(\"x\"===e)this.input_key_num=this.input_key_num.substring(0,this.input_key_num.length-1);else if(\"清除\"===e)this.input_key_num=\"\";else if(\"确定\"===e){if(this.cg_index>=0){let t=this.shop_spec.goodsData[0].shopGoodsData[this.cg_index];if(Number(this.input_key_num)>Number(t.inventoryNum))return void this.$message.warning(\"库存不足\");t.buyNum=Number(this.input_key_num),this.updateBuyNumCashier(Number(this.input_key_num),t.cartId)}else this.num2=Number(this.input_key_num),this.addCart();this.keyboard_number=!1,this.input_key_num=0}else this.input_key_num+=e},async updateBuyNumCashier(t,e){await Object(g[\"updateBuyNumCashier\"])(e,{userCenterId:this.userCenterId,buyNum:t});this.getCartByUser()},async searchCustomerDetails(){if(!this.input)return void this.$message.warning(\"请输入会员手机号\");const t=/^1[3456789]\\d{9}$/;if(!t.test(this.input))return void this.$message.warning(\"手机号格式有误,请重新输入!\");const e=await Object(g[\"searchCustomerDetails\"])({mobile:this.input});\"{}\"===JSON.stringify(e.data)?(this.vip_handle=!1,this.vip_login=!0,this.userCenterId=\"\",this.customerId=\"\",this.customerName=\"\",this.customerType=\"\",this.vip_info={}):(this.vip_handle=!0,this.vip_login=!0,this.vip_info=e.data,this.userCenterId=e.data.userCenterId,this.customerId=e.data.customerId,this.customerName=e.data.name,this.customerType=e.data.customerType,this.getCartByUser())},delectShop(t){this.$confirm(\"您确认删除这个订单吗?\",\"提示\",{confirmButtonText:\"确定\",cancelButtonText:\"取消\",type:\"warning\"}).then(async()=>{await Object(g[\"delCartCashier\"])({userCenterId:this.userCenterId,cartId:t});this.shop_spec.goodsData[0].shopGoodsData.splice(t,1),this.$message.success(\"操作成功\"),this.getCartByUser()}).catch(()=>{this.$message({type:\"info\",message:\"已取消操作\"})})},async getCartByUser(t){const e=await Object(g[\"getCartByUser\"])({userCenterId:t||this.userCenterId,userCouponId:this.userCouponId});Array.isArray(e.data)?this.shop_spec={subPrice:0,rem_money:0,goodsData:[]}:(this.shop_spec=e.data,e.data.coupon&&(e.data.coupon.forEach(t=>{e.data.useCoupon.id?t.checked=t.id===e.data.useCoupon.id:t.checked=!1}),this.discount_list=e.data.coupon))},async clearCart(){await Object(g[\"clearCartCashier\"])({userCenterId:this.userCenterId});this.shop_spec.goodsData[0].shopGoodsData=[],this.getCartByUser()},async numFnOne(t,e){if([\"x\",\"清除\",\"确定\"].includes(e)||this.num_list.push(e),\"x\"===e)this.keyboard_key=this.keyboard_key.substring(0,this.keyboard_key.length-1);else if(\"清除\"===e)this.keyboard_key=\"\",this.num_list=[];else if(\"确定\"===e){const t=await Object(_[\"getOrderByVerifyCode\"])({verifyCode:this.keyboard_key});this.writeoff_list=t.data,this.keyboard_key=\"\"}else this.keyboard_key+=e},payCalculator(t){const e=t.target.textContent;let a=this.shop_spec.totalMoney.toString();\"清除\"===e?a=0:\"确定\"===e?this.paymentFn():\"x\"===e?a=a.substring(0,a.length-1):a+=e,this.shop_spec.totalMoney=a},orderEvent(t){this.getOrderInfoById(t.userCenterId,t.id)},diaLog(){this.dialogVisible=!0},deleteFn(){this.price_change=!1},listFn(){this.tip_num=3,this.getAllOrderOrder()},oPageChange(t){this.o_page=t,this.getAllOrderOrder()},serchOrder(){this.oPageChange(1)},async getAllOrderOrder(){const t=await Object(_[\"getAllOrderOrder\"])({page:this.o_page,pageSize:this.o_pageSize,search:{orderType:24,shopId:this.now_sel_shop.id,no:this.order_no_key}});this.order_list=t.data,this.o_total=t.pageTotal},orderCashier(){this.userCenterId?(this.collection=!0,this.re_charge=!1,this.price_change=!1):this.$confirm(\"订单未绑定会员,是否需要绑定会员进行结算?\",\"提示\",{confirmButtonText:\"会员登录\",cancelButtonText:\"跳过\",type:\"warning\"}).then(()=>{this.activeName=\"second\"}).catch(()=>{this.collection=!0,this.re_charge=!1,this.price_change=!1})},async paymentFn(){if([5,6].includes(this.pay_type)&&!this.pay_account_num)return void this.$message.warning(\"请选择结算账户\");const t=this.guide.map(t=>t.userCenterId).join(\",\"),e=[{accountId:this.pay_account_id,accountNumber:this.pay_account_num,accountName:this.pay_account_name,money:this.shop_spec.totalMoney,discountMoney:this.$NP.plus(this.shop_spec.preferential||0,this.shop_spec.subPrice||0),finalMoney:this.shop_spec.payMoney,payWay:4,remark:\"\"}],a=await Object(_[\"cashierOrder\"])({accountList:e,currentAccountName:this.pay_account_name,payType:this.pay_type,totalMoney:this.shop_spec.totalMoney,guideUids:t,payAmount:this.shop_spec.payMoney,customerId:this.customerId,userCenterId:this.userCenterId,customerName:this.customerName,customerType:this.customerType,source:4,deliveryType:2,isEnablePrint:4,orderRemark:this.textarea,goodsData:this.shop_spec,operatorName:this.userName});this.now_order_id=a.data,this.payment=!0,this.collection=!1,this.getCartByUser(),this.input&&this.searchCustomerDetails()},async getCart(t){this.collection=!1,this.price_change=!0,this.re_charge=!1,this.detailed=!1,this.cart_primary=t},async primaryCart(){await Object(g[\"changePrice\"])({userCenterId:this.userCenterId,goodsId:this.cart_primary.goodsId,skuId:this.cart_primary.skuId,changePrice:this.price_num});this.$message.success(\"操作成功\"),this.getCartByUser()},close(){this.reCharge=!1,this.integral=!1,this.shopGuide=!1},reChargeFn(){this.reCharge=!1,this.re_charge=!0},async getAllShop(){const t=await Object(y[\"getAllShop\"])({page:this.page,pageSize:this.pageSize});this.shop_select=t.data,this.shop_visible=!0},async loggerConnect(){const t=await Object(g[\"loggerConnect\"])({shopId:this.now_sel_shop.id});this.cashier_staff=t.data,this.shopChange()},async primaryOrder(){await Object(_[\"OrderVerification\"])(this.writeoff_list.id);this.$message.success(\"核销成功\")},selShop(t){this.now_shop=t},shopConfirm(){this.now_sel_shop=this.now_shop,this.shop_visible=!1,this.loggerConnect(),this.changeCashierShop(this.now_sel_shop)},async getOrderInfoById(t,e){const{data:a}=await Object(_[\"getOrderInfoById\"])(t,{orderId:e});this.order_detail=a,this.now_order_id=e},async saveEntryData(){await Object(g[\"saveEntryData\"])({shopId:this.now_sel_shop.id,entryData:this.shop_spec.goodsData});this.$message.success(\"操作成功\"),this.clearCart(),this.rest_entry=!this.rest_entry},async delZreo(){const t=await Object(g[\"getCartByUser\"])({userCenterId:this.userCenterId,isZero:0!==Number(this.shop_spec.rem_money)?4:5});this.shop_spec=t.data},async activityAll(){const t=await Object(g[\"activityAll\"])({userCenterId:this.userCenterId,page:1,pageSize:30,shopId:this.now_sel_shop.id});this.discount_list=t.data.map(t=>({...t,checked:!1}))},openAccountModel(t){this.pay_account_type=t,this.account_show=!0},accountsel(t){this.pay_account_type?(this.pay_account_id=t[0].id,this.pay_account_num=t[0].accountNumber,this.pay_account_name=t[0].name):(this.account_id=t[0].id,this.account_num=t[0].accountNumber,this.accountName=t[0].name)},addReceived(){this.account_id?this.userCenterId?this.addReceivedTwo():this.$confirm(\"订单未绑定会员,是否需要绑定会员进行结算?\",\"提示\",{confirmButtonText:\"会员登录\",cancelButtonText:\"跳过\",type:\"warning\"}).then(()=>{this.activeName=\"second\"}).catch(()=>{this.addReceivedTwo()}):this.$message.warning(\"请选择结算账户\")},async addReceivedTwo(){const t=[{accountId:this.account_id,accountNumber:this.account_num,accountName:this.accountName,money:this.input_two,discountMoney:0,finalMoney:this.input_two,payWay:4,remark:\"\"}],e={customerId:this.customerId,customerName:this.customerName,sourceNo:\"\",sourceNoMoney:\"\",currentAccountName:this.userName,financeType:\"销售收款\",financeTypeId:2,shopId:this.now_sel_shop.id,money:this.vip_info.money,shopName:this.now_sel_shop.name,receiptTime:parseInt(new Date/1e3),createTime:\"\",accountList:t};await Object(v[\"addReceived\"])(e);this.$message.success(\"收款成功\"),this.input&&this.searchCustomerDetails(),this.input_two=\"\"},changeUser(){this.collection=!1,this.re_charge=!1,this.vip_login=!1,this.vip_handle=!1,this.userCenterId=\"\",this.customerId=\"\",this.customerName=\"\",this.customerType=\"\",this.vip_info={createTime:\"\",birthday:\"\",price:\"\",integral:\"\",remarks:\"\",defaultAddress:{area:{provinceName:\"\",cityName:\"\",districtName:\"\",address:\"\"}},remark:\"\"}},async toPrint(){await Object(b[\"toPrint\"])({objectId:this.now_order_id,objectType:1});this.$message({type:\"success\",message:\"操作成功\"})},couponChange(t,e){const a=this.$_common.deepClone(this.discount_list);a.forEach((a,n)=>{a.checked=!!t&&a.id===e.id}),this.discount_list=a,this.userCouponId=t?e.id:\"\",this.getCartByUser()}}},S=O,j=(a(\"9ec3\"),a(\"c8dd\"),a(\"2877\")),k=Object(j[\"a\"])(S,n,o,!1,null,\"2dda64d2\",null);e[\"default\"]=k.exports},\"984b\":function(t,e,a){},\"9e16\":function(t,e,a){},\"9e23\":function(t,e,a){\"use strict\";a(\"9e16\")},\"9ec3\":function(t,e,a){\"use strict\";a(\"79d9\")},ad12: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\",[!1===t.vip_login?a(\"div\",[a(\"div\",{staticClass:\"tip\"},[t._v(\" 请输入会员手机号查询会员,或输入要办理会员的手机号进行办理 \")]),a(\"div\",{staticClass:\"keyboard\"},[a(\"div\",{staticClass:\"keyboard-input keyboard-input-wrapper\"},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.input,expression:\"input\"}],staticClass:\"input-input input-large\",attrs:{type:\"text\",placeholder:\"输入会员手机号\",autocomplete:\"\",spellcheck:\"false\"},domProps:{value:t.input},on:{input:function(e){e.target.composing||(t.input=e.target.value)}}})]),a(\"keyboard\",{on:{click:t.numFn}})],1)]):t._e(),!1===t.vip_handle&&!0===t.vip_login?a(\"div\",{staticClass:\"change-price\"},[a(\"div\",{staticClass:\"vip_title\"},[a(\"p\",{staticClass:\"color_size\"},[a(\"el-button\",{attrs:{type:\"text\"}},[t._v(\" \"+t._s(t.input)+\" \")]),t._v(\" 还不是会员,可快速办理新会员 \")],1),a(\"div\",[a(\"span\",{staticStyle:{\"margin-right\":\"20px\"}},[t._v(\"会员姓名\")]),a(\"span\",[a(\"el-input\",{staticStyle:{width:\"26%\"},attrs:{clearable:\"\"},model:{value:t.vip.name,callback:function(e){t.$set(t.vip,\"name\",e)},expression:\"vip.name\"}})],1)]),a(\"div\",[a(\"span\",{staticStyle:{\"margin-right\":\"20px\"}},[t._v(\"会员生日\")]),a(\"span\",[a(\"el-date-picker\",{staticStyle:{width:\"26%\"},attrs:{\"default-value\":\"1990-01-01\",type:\"date\",placeholder:\"选择日期\",format:\"yyyy-MM-dd\",\"value-format\":\"timestamp\"},model:{value:t.vip.birthday,callback:function(e){t.$set(t.vip,\"birthday\",e)},expression:\"vip.birthday\"}})],1)]),a(\"div\",[a(\"span\",{staticStyle:{\"margin-right\":\"20px\"}},[t._v(\"会员类型\")]),a(\"span\",[a(\"el-select\",{staticStyle:{width:\"26%\"},attrs:{placeholder:\"客户类型\"},model:{value:t.vip.type,callback:function(e){t.$set(t.vip,\"type\",e)},expression:\"vip.type\"}},t._l(t.customerType_list,(function(t){return a(\"el-option\",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)])]),a(\"div\",{staticClass:\"btn-group\",staticStyle:{bottom:\"40px\",height:\"auto\"}},[a(\"el-button\",{on:{click:function(e){t.vip_login=!1}}},[t._v(\"取消\")]),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.addCustomer}},[t._v(\"确认办理\")])],1)]):t._e(),!0===t.vip_handle?a(\"div\",[a(\"div\",[a(\"div\",{staticStyle:{margin:\"10px 0 0 10px\",position:\"relative\",color:\"#333333\",height:\"80px\"}},[a(\"div\",{staticStyle:{display:\"inline-block\"}},[a(\"el-row\",{staticClass:\"demo-avatar demo-basic\"},[a(\"el-col\",{attrs:{span:12}},[a(\"div\",{staticClass:\"demo-basic--circle\"},[a(\"div\",{staticClass:\"block\"},[t.vip_info.avatar?a(\"el-avatar\",{attrs:{size:50,src:t.vip_info.avatar}}):a(\"el-avatar\",{attrs:{icon:\"el-icon-user-solid\"}})],1)])])],1)],1),a(\"div\",{staticStyle:{display:\"inline-block\",\"margin-left\":\"20px\",\"line-height\":\"20px\",position:\"absolute\",top:\"6px\"}},[a(\"div\",[a(\"span\",[t._v(t._s(t.vip_info.name))]),a(\"span\",{staticClass:\"vip_name\"},[t._v(\"默认会员\")])]),a(\"div\",[t._v(\" \"+t._s(t.vip_info.mobile)+\" \")])]),a(\"div\",{staticStyle:{float:\"right\",\"margin-right\":\"20px\"}},[a(\"el-button\",{on:{click:t.changeUser}},[t._v(\"切换会员\")])],1)]),a(\"div\",{staticClass:\"property\"},[a(\"div\",[a(\"p\",{staticClass:\"title\"},[t._v(\"消费金额(元)\")]),a(\"p\",{staticClass:\"price\"},[t._v(\" \"+t._s(t.vip_info.totalPayMoney||\"0.00\")+\" \")])]),a(\"div\",[a(\"p\",{staticClass:\"title\"},[t._v(\"订单数\")]),a(\"p\",{staticClass:\"price\"},[t._v(\" \"+t._s(t.vip_info.orderNum||\"0\")+\" \")])])]),t._m(0),a(\"div\",{staticClass:\"member_info\"},[a(\"el-form\",{attrs:{model:t.vip_info,\"label-width\":\"120px\",size:\"small\"}},[a(\"el-form-item\",{attrs:{label:\"会员注册时间:\"}},[t._v(\" \"+t._s(t.$_common.formatDate(t.vip_info.createTime))+\" \")]),a(\"el-form-item\",{attrs:{label:\"生日:\"}},[t._v(\" \"+t._s(t.vip_info.birthday?t.$_common.formatDate(1e3*t.vip_info.birthday,\"yyyy-MM-dd\"):\"--\")+\" \")]),t.vip_info.defaultAddress.area?a(\"el-form-item\",{attrs:{label:\"默认收货地址:\"}},[t._v(\" \"+t._s(t.vip_info.defaultAddress.area.provinceName)+t._s(t.vip_info.defaultAddress.area.cityName)+t._s(t.vip_info.defaultAddress.area.districtName)+t._s(t.vip_info.defaultAddress.address)+\" \")]):t._e()],1)],1)])]):t._e()])},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticStyle:{height:\"62px\",\"line-height\":\"62px\",color:\"#333\",\"font-weight\":\"bold\"}},[a(\"p\",[t._v(\"会员信息\")])])}],r=a(\"fdd3\"),i=a(\"55f5\"),s=a(\"d8dd\"),u=a(\"049b\"),d={name:\"Vip\",components:{Keyboard:r[\"default\"]},props:{vipLogin:{type:Boolean,default:!1},vipHandle:{type:Boolean,default:!1},numList:{type:Array,default:()=>[]},nowSelShop:{type:Object,default:()=>({})},reCharge:{type:Boolean,default:!1},collection:{type:Boolean,default:!1}},data(){return{vip_login:!1,vip_handle:!1,input:\"\",customerId:\"\",customerName:\"\",customerType:\"\",userCenterId:\"\",vip_info:{createTime:\"\",birthday:\"\",price:\"\",integral:\"\",remarks:\"\",defaultAddress:{area:{provinceName:\"\",cityName:\"\",districtName:\"\",address:\"\"}},remark:\"\"},vip:{type:\"\",name:\"\",birthday:\"\"},customerType_list:[]}},created(){this.vip_handle=this.vipHandle,this.vip_login=this.vipLogin,this.re_charge=this.reCharge,this.getAllCustomerSource()},methods:{async numFn(t,e){\"x\"===e&&\"清除\"===e&&\"确定\"===e||this.numList.push(e),\"x\"===e?this.input=this.input.substring(0,this.input.length-1):\"清除\"===e?(this.input=\"\",this.numList=[]):\"确定\"===e?this.searchCustomerDetails():this.input+=e},changeUser(){this.collection=!1,this.re_charge=!1,this.vip_login=!1,this.vip_handle=!1,this.userCenterId=\"\",this.customerId=\"\",this.customerName=\"\",this.customerType=\"\",this.vip_info={createTime:\"\",birthday:\"\",price:\"\",integral:\"\",remarks:\"\",defaultAddress:{area:{provinceName:\"\",cityName:\"\",districtName:\"\",address:\"\"}},remark:\"\"}},async searchCustomerDetails(){if(!this.input)return void this.$message.warning(\"请输入会员手机号\");const t=/^1[3456789]\\d{9}$/;if(!t.test(this.input))return void this.$message.warning(\"手机号格式有误,请重新输入!\");const e=await Object(i[\"searchCustomerDetails\"])({mobile:this.input});console.log(e.data.userCenterId,\"用户id\"),\"{}\"===JSON.stringify(e)?(this.vip_handle=!1,this.vip_login=!0,this.userCenterId=\"\",this.customerId=\"\",this.customerName=\"\",this.customerType=\"\",this.vip_info={}):(this.vip_handle=!0,this.vip_login=!0,this.vip_info=e.data,this.$emit(\"vipInfo\",this.vip_info),this.userCenterId=e.data.userCenterId,this.customerId=e.data.customerId,this.customerName=e.data.name,this.customerType=e.data.customerType,this.$emit(\"getCartByUser\",this.userCenterId))},async getAllCustomerSource(){if(this.customerType_list.length)return;const t=await Object(s[\"getCustomerSourceList\"])();this.customerType_list=t.data;const e=t.data.find(t=>5===t.defaultStatus);this.vip.type=e?e.id:t.data[0].id},async addCustomer(){await Object(u[\"addCustomer\"])({birthday:parseInt(this.vip.birthday/1e3),shopId:this.nowSelShop.id,mobile:this.input,name:this.vip.name,type:this.vip.type});this.searchCustomerDetails()}}},c=d,l=(a(\"e1fc9\"),a(\"2877\")),p=Object(l[\"a\"])(c,n,o,!1,null,\"2291f7bd\",null);e[\"default\"]=p.exports},ae6a:function(t,e,a){},c0a2: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(\"el-table\",{staticStyle:{\"line-height\":\"30px\"},attrs:{data:t.discountList,size:\"mini\"}},[a(\"el-table-column\",{attrs:{label:\"选择\",\"min-width\":\"140\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[a(\"el-checkbox\",{on:{change:function(a){return t.couponChange(a,e.row)}},model:{value:e.row.checked,callback:function(a){t.$set(e.row,\"checked\",a)},expression:\"scope.row.checked\"}})]}}])}),a(\"el-table-column\",{attrs:{label:\"类型\",\"min-width\":\"140\"}},[[t._v(\"优惠券\")]],2),a(\"el-table-column\",{attrs:{prop:\"name\",label:\"活动\",\"min-width\":\"180\"}}),a(\"el-table-column\",{attrs:{prop:\"reducePrice\",label:\"面值\",\"min-width\":\"120\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(t.$_common.formattedNumber(e.row.reducePrice))+\" \")]}}])}),a(\"el-table-column\",{attrs:{prop:\"minPrice\",label:\"使用门槛\",\"min-width\":\"100\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[t._v(\" \"+t._s(0===Number(e.row.minPrice)?\"无门槛\":e.row.minPrice)+\" \")]}}])}),a(\"el-table-column\",{attrs:{label:\"有效期\",\"min-width\":\"180\"},scopedSlots:t._u([{key:\"default\",fn:function(e){return[20===e.row.couponType?a(\"span\",[t._v(\"领取后30天内有效\")]):a(\"span\",[t._v(\" \"+t._s(t.$_common.formatDate(e.row.startTime,\"yyyy-MM-dd\"))+\" 至 \"+t._s(t.$_common.formatDate(e.row.endTime,\"yyyy-MM-dd\"))+\" \")])]}}])})],1)],1)},o=[],r={name:\"VipActivity\",props:{discountList:{type:Array,default:()=>[]}},data(){return{}},methods:{couponChange(t,e){this.$emit(\"couponChange\",t,e)}}},i=r,s=a(\"2877\"),u=Object(s[\"a\"])(i,n,o,!1,null,\"ab237be8\",null);e[\"default\"]=u.exports},c40e:function(t,e,a){\"use strict\";a.r(e),a.d(e,\"getAllGoodsBasicBySku\",(function(){return o})),a.d(e,\"goodsImport\",(function(){return r})),a.d(e,\"goodsQuickImport\",(function(){return i})),a.d(e,\"searchBasic\",(function(){return s})),a.d(e,\"exportSearchBasic\",(function(){return u})),a.d(e,\"defineSpec\",(function(){return d})),a.d(e,\"addBasicAndPublishGoods\",(function(){return c})),a.d(e,\"editQuickGoods\",(function(){return l})),a.d(e,\"getQuickGoodsInfo\",(function(){return p})),a.d(e,\"addGoodsBasic\",(function(){return f})),a.d(e,\"getAllGoodsBasic\",(function(){return h})),a.d(e,\"exportGetAllGoodsBasic\",(function(){return m})),a.d(e,\"getGoodsBasicInfoById\",(function(){return g})),a.d(e,\"getGoodsByCategory\",(function(){return _})),a.d(e,\"updateEnableStatus\",(function(){return y})),a.d(e,\"delGoodsBasic\",(function(){return b})),a.d(e,\"editGoodsBasic\",(function(){return v})),a.d(e,\"getGoodsBasicOfShopId\",(function(){return C})),a.d(e,\"updateCategory\",(function(){return O})),a.d(e,\"BatchUnloading\",(function(){return S})),a.d(e,\"setTop\",(function(){return j})),a.d(e,\"setSalesNumBatch\",(function(){return k})),a.d(e,\"setSalesNum\",(function(){return w})),a.d(e,\"getAllUnit\",(function(){return x})),a.d(e,\"addUnit\",(function(){return A})),a.d(e,\"editUnit\",(function(){return G})),a.d(e,\"updateEnablesStatus\",(function(){return I})),a.d(e,\"delUnit\",(function(){return D})),a.d(e,\"SpecManageAdd\",(function(){return T})),a.d(e,\"SpecManageedit\",(function(){return B})),a.d(e,\"SpecManagedel\",(function(){return N})),a.d(e,\"SpecManageinfo\",(function(){return R})),a.d(e,\"SpecManagegetAll\",(function(){return P})),a.d(e,\"getAllGoodsBySku\",(function(){return F})),a.d(e,\"searchGood\",(function(){return M})),a.d(e,\"exportSearchGood\",(function(){return $})),a.d(e,\"addGoods\",(function(){return E})),a.d(e,\"getGoodsInfo\",(function(){return L})),a.d(e,\"delGoods\",(function(){return z})),a.d(e,\"editGoods\",(function(){return U})),a.d(e,\"getAllGoods\",(function(){return V})),a.d(e,\"getAllGoodsList\",(function(){return q})),a.d(e,\"exportGetAllGoodsList\",(function(){return K})),a.d(e,\"exportGetAllGoods\",(function(){return Q})),a.d(e,\"auditGoods\",(function(){return W})),a.d(e,\"getGoodsByCondition\",(function(){return H})),a.d(e,\"GoodsUpdateEnableStatus\",(function(){return J})),a.d(e,\"batchGoodsExpress\",(function(){return Z})),a.d(e,\"addBrand\",(function(){return X})),a.d(e,\"editBrand\",(function(){return Y})),a.d(e,\"getBrandInfoById\",(function(){return tt})),a.d(e,\"updateBrandStatus\",(function(){return et})),a.d(e,\"delBrand\",(function(){return at})),a.d(e,\"getAllBrand\",(function(){return nt})),a.d(e,\"setBrand\",(function(){return ot})),a.d(e,\"setSku\",(function(){return rt})),a.d(e,\"setNoSalesShop\",(function(){return it})),a.d(e,\"addCategory\",(function(){return st})),a.d(e,\"updateCategoryStatus\",(function(){return ut})),a.d(e,\"getCategoryInfoById\",(function(){return dt})),a.d(e,\"getAllCategory\",(function(){return ct})),a.d(e,\"delCategory\",(function(){return lt})),a.d(e,\"editCategory\",(function(){return pt})),a.d(e,\"getAllCategoryPost\",(function(){return ft})),a.d(e,\"getGoodsByBarCode\",(function(){return ht})),a.d(e,\"getRelMap\",(function(){return mt})),a.d(e,\"getPriceTrend\",(function(){return gt})),a.d(e,\"batchSetDistribution\",(function(){return _t})),a.d(e,\"addGoodsSupport\",(function(){return yt})),a.d(e,\"editGoodsSupport\",(function(){return bt})),a.d(e,\"delGoodsSupport\",(function(){return vt})),a.d(e,\"getAllGoodsSupport\",(function(){return Ct})),a.d(e,\"getGoodsSupportInfo\",(function(){return Ot})),a.d(e,\"getAllGoodsGroups\",(function(){return St})),a.d(e,\"addGoodsGroups\",(function(){return jt})),a.d(e,\"enableGoodsGroups\",(function(){return kt})),a.d(e,\"updateGoodsGroups\",(function(){return wt})),a.d(e,\"getReservoirInfo\",(function(){return xt})),a.d(e,\"deleteGoodsGroups\",(function(){return At})),a.d(e,\"setSort\",(function(){return Gt}));var n=a(\"b775\");function o(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasicBySku\",method:\"post\",data:t})}function r(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/goodsImport\",method:\"post\",data:t})}function i(t){return Object(n[\"default\"])({url:\"/Goods/QuickGoods/goodsQuickImport\",method:\"post\",data:t})}function s(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",data:t})}function u(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/search\",method:\"post\",responseType:\"blob\",data:t})}function d(t){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/defineSpec\",method:\"post\",data:t})}function c(t){return Object(n[\"default\"])({url:\"/Goods/QuickGoods/addBasicAndPublishGoods\",method:\"post\",data:t})}function l(t){return Object(n[\"default\"])({url:\"/Goods/QuickGoods/editQuickGoods\",method:\"post\",data:t})}function p(t,e){return Object(n[\"default\"])({url:\"/Goods/QuickGoods/getQuickGoodsInfo/\"+t,method:\"post\",data:e})}function f(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/addGoodsBasic\",method:\"post\",data:t})}function h(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasic\",method:\"post\",data:t})}function m(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/getAllGoodsBasic\",responseType:\"blob\",method:\"post\",data:t})}function g(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/getGoodsBasicInfoById/\"+t,method:\"post\",data:e})}function _(t){return Object(n[\"default\"])({url:\"/Goods/ApiGoods/getGoodsByCategory\",method:\"post\",data:t})}function y(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/updateEnableStatus\",method:\"put\",data:t})}function b(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/delGoodsBasic/\"+t,method:\"delete\",data:e})}function v(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/editGoodsBasic/\"+t,method:\"put\",data:e})}function C(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/getGoodsBasicOfShopId\",method:\"post\",data:t})}function O(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/updateCategory\",method:\"post\",data:t})}function S(t){return Object(n[\"default\"])({url:\"/Goods/Goods/updateEnableStatus\",method:\"post\",data:t})}function j(t,e){return Object(n[\"default\"])({url:\"/Goods/Goods/setTop/\"+t,method:\"get\",data:e})}function k(t){return Object(n[\"default\"])({url:\"/Goods/Goods/setSalesNumBatch\",method:\"post\",data:t})}function w(t){return Object(n[\"default\"])({url:\"/Goods/Goods/setSalesNum\",method:\"post\",data:t})}function x(t){return Object(n[\"default\"])({url:\"/GoodsManage/Units/getAll\",method:\"post\",data:t})}function A(t){return Object(n[\"default\"])({url:\"/GoodsManage/Units/add\",method:\"post\",data:t})}function G(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/Units/edit/\"+t,method:\"put\",data:e})}function I(t){return Object(n[\"default\"])({url:\"/GoodsManage/Units/updateEnablesStatus\",method:\"put\",data:t})}function D(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/Units/del/\"+t,method:\"delete\",data:e})}function T(t){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/add\",method:\"post\",data:t})}function B(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/edit/\"+t,method:\"post\",data:e})}function N(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/del/\"+t,method:\"delete\",data:e})}function R(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/info/\"+t,method:\"get\",data:e})}function P(t){return Object(n[\"default\"])({url:\"/GoodsManage/SpecManage/getAll\",method:\"post\",data:t})}function F(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getAllGoodsBySku\",method:\"post\",data:t})}function M(t){return Object(n[\"default\"])({url:\"/Goods/Goods/search\",method:\"post\",data:t})}function $(t){return Object(n[\"default\"])({url:\"/Goods/Goods/search\",responseType:\"blob\",method:\"post\",data:t})}function E(t){return Object(n[\"default\"])({url:\"/Goods/Goods/addGoods\",method:\"post\",data:t})}function L(t,e){return Object(n[\"default\"])({url:\"/Goods/Goods/getGoodsInfo/\"+t,method:\"post\",data:e})}function z(t,e){return Object(n[\"default\"])({url:\"/Goods/Goods/delGoods/\"+t,method:\"get\",data:e})}function U(t,e){return Object(n[\"default\"])({url:\"/Goods/Goods/editGoods/\"+t,method:\"put\",data:e})}function V(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getAllGoods\",method:\"post\",data:t})}function q(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",data:t})}function K(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getAllGoodsList\",method:\"post\",responseType:\"blob\",data:t})}function Q(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getAllGoods\",method:\"post\",responseType:\"blob\",data:t})}function W(t,e){return Object(n[\"default\"])({url:\"/Goods/Goods/audit/\"+t,method:\"put\",data:e})}function H(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getGoodsByCondition\",method:\"post\",data:t})}function J(t){return Object(n[\"default\"])({url:\"/Goods/Goods/updateEnableStatus\",method:\"post\",data:t})}function Z(t){return Object(n[\"default\"])({url:\"/Goods/Goods/batchGoodsExpress\",method:\"post\",data:t})}function X(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/addBrand\",method:\"post\",data:t})}function Y(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/editBrand/\"+t,method:\"put\",data:e})}function tt(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/getBrandInfoById/\"+t,method:\"put\",data:e})}function et(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/updateBrandStatus/\"+t,method:\"put\",data:e})}function at(t,e){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/delBrand/\"+t,method:\"delete\",data:e})}function nt(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBrand/getAllBrand\",method:\"post\",data:t})}function ot(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/setBrand\",method:\"put\",data:t})}function rt(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/setSku\",method:\"put\",data:t})}function it(t){return Object(n[\"default\"])({url:\"/GoodsManage/GoodsBasic/setNoSalesShop\",method:\"put\",data:t})}function st(t){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/addCategory\",method:\"post\",data:t})}function ut(t,e){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/updateCategoryStatus/\"+t,method:\"put\",data:e})}function dt(t,e){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getCategoryInfoById/\"+t,method:\"get\",data:e})}function ct(t){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getAllCategory\",method:\"get\",data:t})}function lt(t,e){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/delCategory/\"+t,method:\"delete\",data:e})}function pt(t,e){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/editCategory/\"+t,method:\"put\",data:e})}function ft(t){return Object(n[\"default\"])({url:\"/GoodsCategory/GoodsCategory/getAllCategory\",method:\"post\",data:t})}function ht(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getGoodsByBarCode\",method:\"post\",data:t})}function mt(t){return Object(n[\"default\"])({url:\"/Goods/Goods/getRelMap\",method:\"post\",data:t})}function gt(t,e){return Object(n[\"default\"])({url:\"Goods/Goods/getPriceTrend/\"+t,method:\"POST\",data:e})}function _t(t){return Object(n[\"default\"])({url:\"Goods/Goods/batchSetDistribution\",method:\"POST\",data:t})}function yt(t){return Object(n[\"default\"])({url:\"Goods/GoodsSupport/addGoodsSupport\",method:\"post\",data:t})}function bt(t){return Object(n[\"default\"])({url:\"/Goods/GoodsSupport/editGoodsSupport\",method:\"post\",data:t})}function vt(t,e){return Object(n[\"default\"])({url:\"Goods/GoodsSupport/delGoodsSupport/\"+t,method:\"post\",data:e})}function Ct(t){return Object(n[\"default\"])({url:\"Goods/GoodsSupport/getAllGoodsSupport\",method:\"post\",data:t})}function Ot(t,e){return Object(n[\"default\"])({url:\"/Goods/GoodsSupport/getGoodsSupportInfo/\"+t,method:\"post\",data:e})}function St(t){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/getAllGoodsGroups\",method:\"post\",data:t})}function jt(t){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/addGoodsGroups\",method:\"post\",data:t})}function kt(t,e){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/enableGoodsGroups/\"+t,method:\"post\",data:e})}function wt(t,e){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/updateGoodsGroups/\"+t,method:\"post\",data:e})}function xt(t,e){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/getReservoirInfo/\"+t,method:\"post\",data:e})}function At(t,e){return Object(n[\"default\"])({url:\"Goods/GoodsGroups/deleteGoodsGroups/\"+t,method:\"post\",data:e})}function Gt(t){return Object(n[\"default\"])({url:\"Goods/Goods/setSort\",method:\"post\",data:t})}},c8dd:function(t,e,a){\"use strict\";a(\"cdea\")},cdea:function(t,e,a){},d099:function(t,e,a){\"use strict\";a.r(e),a.d(e,\"addFinanceType\",(function(){return o})),a.d(e,\"editFinanceType\",(function(){return r})),a.d(e,\"delFinanceType\",(function(){return i})),a.d(e,\"getAllFinanceType\",(function(){return s})),a.d(e,\"getAllFinanceTypeNoPage\",(function(){return u})),a.d(e,\"updateFinanceTypeStatus\",(function(){return d})),a.d(e,\"updateFinanceTypeDefaultStatus\",(function(){return c})),a.d(e,\"getAllReceive\",(function(){return l})),a.d(e,\"exportGetAllReceive\",(function(){return p})),a.d(e,\"searchAllReceive\",(function(){return f})),a.d(e,\"exportSearchAllReceive\",(function(){return h})),a.d(e,\"getReceiveInfo\",(function(){return m})),a.d(e,\"updateReceiveStatus\",(function(){return g})),a.d(e,\"getReceivedByOrder\",(function(){return _})),a.d(e,\"getAllPay\",(function(){return y})),a.d(e,\"exportGetAllPay\",(function(){return b})),a.d(e,\"searchPay\",(function(){return v})),a.d(e,\"exportSearchPay\",(function(){return C})),a.d(e,\"updatePayStatus\",(function(){return O})),a.d(e,\"getPayInfo\",(function(){return S})),a.d(e,\"addAccount\",(function(){return j})),a.d(e,\"getAllAccount\",(function(){return k})),a.d(e,\"editAccount\",(function(){return w})),a.d(e,\"delAccount\",(function(){return x})),a.d(e,\"updateAccountDefaultStatus\",(function(){return A})),a.d(e,\"updateAccountStatus\",(function(){return G})),a.d(e,\"getAccountInfo\",(function(){return I})),a.d(e,\"getAllAccountDetail\",(function(){return D})),a.d(e,\"addReceived\",(function(){return T})),a.d(e,\"deleteReceived\",(function(){return B})),a.d(e,\"exportsgetAllReceived\",(function(){return N})),a.d(e,\"getAllReceived\",(function(){return R})),a.d(e,\"getReceivedInfo\",(function(){return P})),a.d(e,\"updateReceivedStatus\",(function(){return F})),a.d(e,\"updateReceiptRequisitionStatus\",(function(){return M})),a.d(e,\"getTempReceivedData\",(function(){return $})),a.d(e,\"ReceivedSearch\",(function(){return E})),a.d(e,\"editReceived\",(function(){return L})),a.d(e,\"addPaid\",(function(){return z})),a.d(e,\"searchPaid\",(function(){return U})),a.d(e,\"getAllPaid\",(function(){return V})),a.d(e,\"exportsgetAllPaid\",(function(){return q})),a.d(e,\"getPaidInfo\",(function(){return K})),a.d(e,\"updatePaidStatus\",(function(){return Q})),a.d(e,\"getTempPaidData\",(function(){return W})),a.d(e,\"editPaid\",(function(){return H})),a.d(e,\"getAllCustomerBalance\",(function(){return J})),a.d(e,\"exportgetAllCustomerBalance\",(function(){return Z})),a.d(e,\"getAllCustomerBalanceDetail\",(function(){return X})),a.d(e,\"exportgetAllCustomerBalanceDetail\",(function(){return Y})),a.d(e,\"getAllSupplierBalance\",(function(){return tt})),a.d(e,\"exportGetAllSupplierBalance\",(function(){return et})),a.d(e,\"exportgetAllSupplierBalanceDetail\",(function(){return at})),a.d(e,\"getAllSupplierBalanceDetail\",(function(){return nt})),a.d(e,\"addAccountTransfer\",(function(){return ot})),a.d(e,\"getAccountTransferInfo\",(function(){return rt})),a.d(e,\"editAccountTransfer\",(function(){return it})),a.d(e,\"getAllAccountTransfer\",(function(){return st})),a.d(e,\"updateAccountTransferStatus\",(function(){return ut})),a.d(e,\"getTempAccountTransferData\",(function(){return dt})),a.d(e,\"getTodayStatistics\",(function(){return ct})),a.d(e,\"getAllReceiptRequisition\",(function(){return lt})),a.d(e,\"addReceiptRequisition\",(function(){return pt})),a.d(e,\"editReceiptRequisition\",(function(){return ft})),a.d(e,\"getReceiptRequisitionInfo\",(function(){return ht})),a.d(e,\"getAllAccountType\",(function(){return mt})),a.d(e,\"addAccountType\",(function(){return gt})),a.d(e,\"delAccountType\",(function(){return _t})),a.d(e,\"getAccountTypeInfo\",(function(){return yt})),a.d(e,\"editAccountType\",(function(){return bt})),a.d(e,\"getAllExpenseSingle\",(function(){return vt})),a.d(e,\"addExpenseSingle\",(function(){return Ct})),a.d(e,\"getExpenseSingleInfo\",(function(){return Ot})),a.d(e,\"editExpenseSingle\",(function(){return St})),a.d(e,\"delExpenseSingle\",(function(){return jt})),a.d(e,\"updateExpenseStatus\",(function(){return kt})),a.d(e,\"getAllRefund\",(function(){return wt})),a.d(e,\"addRefund\",(function(){return xt})),a.d(e,\"getRefundInfo\",(function(){return At})),a.d(e,\"editRefund\",(function(){return Gt})),a.d(e,\"updateRefundStatus\",(function(){return It})),a.d(e,\"getAllReceivedOffset\",(function(){return Dt})),a.d(e,\"getAllPaidOffset\",(function(){return Tt}));var n=a(\"b775\");function o(t){return Object(n[\"default\"])({url:\"/Finance/FinanceType/addFinanceType\",method:\"post\",data:t})}function r(t,e){return Object(n[\"default\"])({url:\"/Finance/FinanceType/editFinanceType/\"+t,method:\"put\",data:e})}function i(t,e){return Object(n[\"default\"])({url:\"/Finance/FinanceType/delFinanceType/\"+t,method:\"delete\",data:e})}function s(t){return Object(n[\"default\"])({url:\"/Finance/FinanceType/getAllFinanceType\",method:\"post\",data:t})}function u(t,e){return Object(n[\"default\"])({url:\"/Finance/FinanceType/getAllFinanceTypeNoPage/\"+t,method:\"post\",data:e})}function d(t){return Object(n[\"default\"])({url:\"/Finance/FinanceType/updateFinanceTypeStatus\",method:\"post\",data:t})}function c(t){return Object(n[\"default\"])({url:\"/Finance/FinanceType/updateFinanceTypeDefaultStatus\",method:\"post\",data:t})}function l(t){return Object(n[\"default\"])({url:\"/Finance/Receive/getAllReceive\",method:\"post\",data:t})}function p(t){return Object(n[\"default\"])({url:\"/Finance/Receive/getAllReceive\",responseType:\"blob\",method:\"post\",data:t})}function f(t){return Object(n[\"default\"])({url:\"/Finance/Receive/search\",method:\"post\",data:t})}function h(t){return Object(n[\"default\"])({url:\"/Finance/Receive/search\",responseType:\"blob\",method:\"post\",data:t})}function m(t){return Object(n[\"default\"])({url:\"/Finance/Receive/getReceiveInfo\",method:\"post\",data:t})}function g(t){return Object(n[\"default\"])({url:\"/Finance/Receive/updateReceiveStatus\",method:\"post\",data:t})}function _(t){return Object(n[\"default\"])({url:\"/Finance/Received/getReceivedByOrder\",method:\"post\",data:t})}function y(t){return Object(n[\"default\"])({url:\"/Finance/Pay/getAllPay\",method:\"post\",data:t})}function b(t){return Object(n[\"default\"])({url:\"/Finance/Pay/getAllPay\",responseType:\"blob\",method:\"post\",data:t})}function v(t){return Object(n[\"default\"])({url:\"/Finance/Pay/search\",method:\"post\",data:t})}function C(t){return Object(n[\"default\"])({url:\"/Finance/Pay/search\",responseType:\"blob\",method:\"post\",data:t})}function O(t){return Object(n[\"default\"])({url:\"/Finance/Pay/updatePayStatus\",method:\"post\",data:t})}function S(t){return Object(n[\"default\"])({url:\"/Finance/Pay/getPayInfo\",method:\"post\",data:t})}function j(t){return Object(n[\"default\"])({url:\"/Finance/Account/addAccount\",method:\"post\",data:t})}function k(t){return Object(n[\"default\"])({url:\"/Finance/Account/getAllAccount\",method:\"post\",data:t})}function w(t,e){return Object(n[\"default\"])({url:\"/Finance/Account/editAccount/\"+t,method:\"put\",data:e})}function x(t,e){return Object(n[\"default\"])({url:\"/Finance/Account/delAccount/\"+t,method:\"delete\",data:e})}function A(t){return Object(n[\"default\"])({url:\"/Finance/Account/updateAccountDefaultStatus\",method:\"post\",data:t})}function G(t){return Object(n[\"default\"])({url:\"/Finance/Account/updateAccountStatus\",method:\"post\",data:t})}function I(t,e){return Object(n[\"default\"])({url:\"/Finance/Account/getAccountInfo/\"+t,method:\"get\",data:e})}function D(t){return Object(n[\"default\"])({url:\"/Finance/AccountDetail/getAllAccountDetail\",method:\"post\",data:t})}function T(t){return Object(n[\"default\"])({url:\"/Finance/Received/addReceived\",method:\"post\",data:t})}function B(t,e){return Object(n[\"default\"])({url:\"/Finance/Received/deleteReceived/\"+t,method:\"delete\",data:e})}function N(t){return Object(n[\"default\"])({url:\"/Finance/Received/getAllReceived\",method:\"post\",responseType:\"blob\",data:t})}function R(t){return Object(n[\"default\"])({url:\"Finance/Received/getAllReceived\",method:\"post\",data:t})}function P(t){return Object(n[\"default\"])({url:\"/Finance/Received/getReceivedInfo\",method:\"post\",data:t})}function F(t){return Object(n[\"default\"])({url:\"/Finance/Received/updateReceivedStatus\",method:\"post\",data:t})}function M(t){return Object(n[\"default\"])({url:\"Finance/ReceiptRequisition/updateReceiptRequisitionStatus\",method:\"post\",data:t})}function $(t){return Object(n[\"default\"])({url:\"/Finance/Received/getTempReceivedData\",method:\"get\",data:t})}function E(t){return Object(n[\"default\"])({url:\"/Finance/Received/search\",method:\"post\",data:t})}function L(t,e){return Object(n[\"default\"])({url:\"/Finance/Received/editReceived/\"+t,method:\"post\",data:e})}function z(t){return Object(n[\"default\"])({url:\"/Finance/Paid/addPaid\",method:\"post\",data:t})}function U(t){return Object(n[\"default\"])({url:\"/Finance/Paid/search\",method:\"post\",data:t})}function V(t){return Object(n[\"default\"])({url:\"/Finance/Paid/getAllPaid\",method:\"post\",data:t})}function q(t){return Object(n[\"default\"])({url:\"/Finance/Paid/getAllPaid\",method:\"post\",responseType:\"blob\",data:t})}function K(t){return Object(n[\"default\"])({url:\"/Finance/Paid/getPaidInfo\",method:\"post\",data:t})}function Q(t){return Object(n[\"default\"])({url:\"/Finance/Paid/updatePaidStatus\",method:\"post\",data:t})}function W(t){return Object(n[\"default\"])({url:\"/Finance/Paid/getTempPaidData\",method:\"get\",data:t})}function H(t,e){return Object(n[\"default\"])({url:\"/Finance/Paid/editPaid/\"+t,method:\"post\",data:e})}function J(t){return Object(n[\"default\"])({url:\"/Finance/CustomerBalance/getAllCustomerBalance\",method:\"post\",data:t})}function Z(t){return Object(n[\"default\"])({url:\"Finance/CustomerBalance/getAllCustomerBalance\",method:\"post\",responseType:\"blob\",data:t})}function X(t){return Object(n[\"default\"])({url:\"/Finance/CustomerBalanceDetail/getAllCustomerBalanceDetail\",method:\"post\",data:t})}function Y(t){return Object(n[\"default\"])({url:\"/Finance/CustomerBalanceDetail/getAllCustomerBalanceDetail\",method:\"post\",responseType:\"blob\",data:t})}function tt(t){return Object(n[\"default\"])({url:\"/Finance/SupplierBalance/getAllSupplierBalance\",method:\"post\",data:t})}function et(t){return Object(n[\"default\"])({url:\"/Finance/SupplierBalance/getAllSupplierBalance\",method:\"post\",responseType:\"blob\",data:t})}function at(t){return Object(n[\"default\"])({url:\"/Finance/SupplierBalanceDetail/getAllSupplierBalanceDetail\",method:\"post\",responseType:\"blob\",data:t})}function nt(t){return Object(n[\"default\"])({url:\"/Finance/SupplierBalanceDetail/getAllSupplierBalanceDetail\",method:\"post\",data:t})}function ot(t){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/addAccountTransfer\",method:\"post\",data:t})}function rt(t,e){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/getAccountTransferInfo/\"+t,method:\"get\",data:e})}function it(t,e){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/editAccountTransfer/\"+t,method:\"put\",data:e})}function st(t){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/getAllAccountTransfer\",method:\"post\",data:t})}function ut(t,e){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/updateAccountTransferStatus/\"+t,method:\"put\",data:e})}function dt(t){return Object(n[\"default\"])({url:\"/Finance/AccountTransfer/getTempAccountTransferData\",method:\"post\",data:t})}function ct(t){return Object(n[\"default\"])({url:\"Finance/Account/getTodayStatistics\",method:\"post\",data:t})}function lt(t){return Object(n[\"default\"])({url:\"Finance/ReceiptRequisition/getAllReceiptRequisition\",method:\"post\",data:t})}function pt(t){return Object(n[\"default\"])({url:\"Finance/ReceiptRequisition/addReceiptRequisition\",method:\"post\",data:t})}function ft(t,e){return Object(n[\"default\"])({url:\"Finance/ReceiptRequisition/editReceiptRequisition/\"+t,method:\"post\",data:e})}function ht(t,e){return Object(n[\"default\"])({url:\"Finance/ReceiptRequisition/getReceiptRequisitionInfo/\"+t,method:\"get\",data:e})}function mt(t){return Object(n[\"default\"])({url:\"Finance/AccountType/getAllAccountType\",method:\"post\",data:t})}function gt(t){return Object(n[\"default\"])({url:\"Finance/AccountType/addAccountType\",method:\"post\",data:t})}function _t(t,e){return Object(n[\"default\"])({url:\"Finance/AccountType/delAccountType/\"+t,method:\"delete\",data:e})}function yt(t,e){return Object(n[\"default\"])({url:\"Finance/AccountType/getAccountTypeInfo/\"+t,method:\"post\",data:e})}function bt(t){return Object(n[\"default\"])({url:\"Finance/AccountType/editAccountType\",method:\"post\",data:t})}function vt(t){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/getAllExpenseSingle\",method:\"post\",data:t})}function Ct(t){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/addExpenseSingle\",method:\"post\",data:t})}function Ot(t,e){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/getExpenseSingleInfo/\"+t,method:\"get\",data:e})}function St(t,e){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/editExpenseSingle/\"+t,method:\"post\",data:e})}function jt(t,e){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/delExpenseSingle/\"+t,method:\"delete\",data:e})}function kt(t){return Object(n[\"default\"])({url:\"Finance/ExpenseSingle/updateExpenseStatus\",method:\"post\",data:t})}function wt(t){return Object(n[\"default\"])({url:\"Finance/Refund/getAllRefund\",method:\"post\",data:t})}function xt(t){return Object(n[\"default\"])({url:\"Finance/Refund/addRefund\",method:\"post\",data:t})}function At(t){return Object(n[\"default\"])({url:\"Finance/Refund/getRefundInfo\",method:\"post\",data:t})}function Gt(t,e){return Object(n[\"default\"])({url:\"Finance/Refund/editRefund/\"+t,method:\"post\",data:e})}function It(t){return Object(n[\"default\"])({url:\"Finance/Refund/updateRefundStatus\",method:\"post\",data:t})}function Dt(t){return Object(n[\"default\"])({url:\"Finance/Received/getAllReceivedOffset\",method:\"post\",data:t})}function Tt(t){return Object(n[\"default\"])({url:\"Finance/Paid/getAllPaidOffset\",method:\"post\",data:t})}},dccf: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\",[t.shop_com?a(\"div\",{staticClass:\"right-main\"},[a(\"div\",[a(\"div\",{staticClass:\"head_back\"},[a(\"i\",{staticClass:\"el-icon-back\"}),a(\"span\",{staticStyle:{\"margin-left\":\"6px\"},on:{click:t.goShop}},[t._v(\"返回\")]),a(\"span\",{staticClass:\"head_line\"}),a(\"span\",{staticClass:\"head-back-tit\"},[t._v(\"选择规格\")])]),a(\"div\",{staticClass:\"shop_info clearfix\"},[a(\"div\",{staticClass:\"float_left\"},[a(\"img\",{attrs:{src:t.shop_all.images[0],alt:\"\"}})]),a(\"div\",{staticClass:\"float_right goods-info\"},[a(\"p\",[t._v(\" \"+t._s(t.shop_all.title)+\" \")]),t.now_sku_data.id?a(\"div\",[a(\"span\",{staticClass:\"price-color\",staticStyle:{\"margin-right\":\"10px\"}},[t._v(\" ¥\"+t._s(t.now_sku_data.salePrice)+\" \")]),a(\"span\",{staticStyle:{\"font-size\":\"12px\",color:\"#999\"}},[t._v(\" 库存:\"+t._s(t.now_sku_data.inventory)+\" \")])]):a(\"div\",[a(\"span\",{staticClass:\"price-color\",staticStyle:{\"margin-right\":\"10px\"}},[t._v(\" ¥\"+t._s(t.shop_all.minSalePrice)+\" \")]),a(\"span\",{staticStyle:{\"font-size\":\"12px\",color:\"#999\"}},[t._v(\" 库存:\"+t._s(t.shop_all.inventorTotal)+\" \")])])])]),a(\"div\",{staticStyle:{color:\"#333333\"}},[a(\"p\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\"单位\")]),a(\"ul\",t._l(t.shop_all.unitData,(function(e,n){return a(\"li\",{key:n,staticClass:\"shop_color\",class:parseInt(t.spec_id_group[1])===parseInt(e.unitId)?\"shop_color_li\":\"shop_color\",on:{click:function(a){return t.bindPickerChange(e.unitId,1)}}},[t._v(\" \"+t._s(e.unitName)+\" \")])})),0)]),t._l(t.shop_all.specGroup,(function(e,n){return a(\"div\",{key:n,staticStyle:{color:\"#333333\"}},[a(\"p\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\" \"+t._s(e.groupSpec.specName)+\" \")]),a(\"ul\",t._l(e.params,(function(o,r){return a(\"li\",{key:r,staticClass:\"shop_color\",class:parseInt(t.spec_id_group[n+2])===parseInt(o.specValueId)?\"shop_color_li\":\"shop_color\",on:{click:function(a){return t.bindPickerChange(o.specValueId,n+2,e.groupSpec.specId,o)}}},[t._v(\" \"+t._s(o.specValueName)+\" \")])})),0)])})),a(\"div\",{staticStyle:{color:\"#333333\"}},[a(\"p\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\" \"+t._s([\"KG\",\"kg\"].includes(t.now_sku_data.unitName)?\"重量/kg\":\"数量\")+\" \")]),a(\"el-popover\",{attrs:{placement:\"bottom\"},model:{value:t.keyboard_visible,callback:function(e){t.keyboard_visible=e},expression:\"keyboard_visible\"}},[a(\"keyboard\",{attrs:{\"lb-num\":!1},on:{click:t.numFnThree}}),a(\"div\",{staticStyle:{width:\"200px\"},attrs:{slot:\"reference\"},slot:\"reference\"},[a(\"el-input\",{model:{value:t.num2,callback:function(e){t.num2=e},expression:\"num2\"}})],1)],1)],1),[\"KG\",\"kg\"].includes(t.now_sku_data.unitName)?a(\"div\",{staticStyle:{color:\"#333333\"}},[a(\"p\",{staticStyle:{\"margin-left\":\"10px\"}},[t._v(\"皮重/kg\")]),a(\"el-input\",{staticStyle:{width:\"200px\"},attrs:{readonly:\"\"},model:{value:t.pack_weight,callback:function(e){t.pack_weight=e},expression:\"pack_weight\"}})],1):t._e()],2),a(\"div\",{staticStyle:{\"text-align\":\"right\",\"padding-right\":\"40px\"}},[[\"KG\",\"kg\"].includes(t.now_sku_data.unitName)?a(\"div\",{staticStyle:{display:\"inline-block\",\"padding-right\":\"10px\"}},[a(\"el-button\",{on:{click:t.clearPack}},[t._v(\"去皮\")]),a(\"el-button\",{on:{click:t.plusPack}},[t._v(\"清皮\")])],1):t._e(),a(\"el-button\",{attrs:{type:\"primary\"},on:{click:t.addCart}},[t._v(\"确定\")])],1)]):a(\"div\",{staticClass:\"right-main clearfix\"},[a(\"div\",{staticClass:\"float_left h-goods-div\"},[a(\"el-input\",{ref:\"barCodeInput\",staticClass:\"input-with-select\",staticStyle:{width:\"88%\",\"margin-left\":\"20px\"},attrs:{placeholder:\"请输入\"+t.goods_key_sel,clearable:\"\"},nativeOn:{keyup:function(e){return!e.type.indexOf(\"key\")&&t._k(e.keyCode,\"enter\",13,e.key,\"Enter\")?null:t.searchGoods(e)}},model:{value:t.shop,callback:function(e){t.shop=e},expression:\"shop\"}},[a(\"el-select\",{staticStyle:{width:\"120px\"},attrs:{slot:\"prepend\",placeholder:\"请选择\"},slot:\"prepend\",model:{value:t.goods_key_sel,callback:function(e){t.goods_key_sel=e},expression:\"goods_key_sel\"}},[a(\"el-option\",{attrs:{label:\"条形码\",value:\"商品条形码\"}}),a(\"el-option\",{attrs:{label:\"商品名称\",value:\"商品名称\"}})],1),a(\"el-button\",{attrs:{slot:\"append\",icon:\"el-icon-search\"},on:{click:t.searchGoods},slot:\"append\"})],1),!0===t.allShop?a(\"ul\",t._l(t.shop_shop,(function(e,n){return a(\"li\",{key:n,staticClass:\"shop_info clearfix\",on:{click:function(a){return t.selGoods(e.id)}}},[a(\"div\",{staticClass:\"float_left\"},[a(\"img\",{attrs:{src:e.images[0],alt:\"\"}})]),a(\"div\",{staticClass:\"float_left goods-info\"},[a(\"p\",[t._v(t._s(e.title))]),a(\"div\",[a(\"span\",{staticClass:\"price-color\",staticStyle:{\"margin-right\":\"8px\"}},[t._v(\" ¥\"+t._s(e.minSalePrice)+\" \")]),a(\"span\",{staticStyle:{\"font-size\":\"12px\",color:\"#999\"}},[t._v(\" 库存:\"+t._s(e.inventorTotal)+\" \")])])])])})),0):t._e(),a(\"FooterPage\",{attrs:{\"page-size\":t.pageSize,\"total-page\":t.total,\"current-page\":t.page},on:{\"update:totalPage\":function(e){t.total=e},\"update:total-page\":function(e){t.total=e},\"update:currentPage\":function(e){t.page=e},\"update:current-page\":function(e){t.page=e},pageChange:t.pageChange,sizeChange:t.sizeChange}})],1),a(\"div\",{staticClass:\"cate-div\"},[a(\"p\",{staticClass:\"cate-li\",class:[t.cate_id?\"\":\"cate-on\"],on:{click:function(e){return t.changeCate()}}},[t._v(\" 全部 \")]),t._l(t.classify_list,(function(e,n){return a(\"p\",{key:n,staticClass:\"cate-li\",class:[t.cate_id===e.id?\"cate-on\":\"\"],on:{click:function(a){return t.changeCate(e)}}},[t._v(\" \"+t._s(e.title)+\" \")])}))],2)])])},o=[],r=(a(\"caad\"),a(\"c40e\")),i=a(\"fdd3\"),s=a(\"55f5\"),u={name:\"Goods\",components:{Keyboard:i[\"default\"]},props:{shopCom:{type:Boolean,default:!1},allShop:{type:Boolean,default:!1},userCenterId:{type:[String,Number],default:0},numList:{type:Array,default:()=>[]},nowSelShop:{type:Object,default:()=>({})}},data(){return{shop:\"\",goods_key_sel:\"商品条形码\",shop_shop:[],total:0,page:1,pageSize:10,goodsId:\"\",spec_id_group:[],shop_all:{images:[]},goodsBasicId:\"\",shopId:1,now_sku_data:{},input_key_num:\"\",num2:\"1\",pack_weight:0,keyboard_visible:!1,cate_id:\"\",add_cart_lodaing:!1,discount_list:[],classify_list:[],shop_com:!1}},mounted(){this.shop_com=this.shopCom,this.$nextTick(()=>{this.$refs[\"barCodeInput\"].focus()}),this.getAllCategory(),this.GoodsByCategory()},methods:{pageChange(t){this.page=t,this.GoodsByCategory()},sizeChange(t){this.pageSize=t,this.pageChange(1)},numFnThree(t,e){[\"x\",\"清除\",\"确定\"].includes(e)||this.numList.push(e),\"x\"===e?this.num2=this.num2.substring(0,this.num2.length-1):\"清除\"===e?(this.num2=\"\",this.numList=[]):\"确定\"===e?this.keyboard_visible=!1:this.num2+=e},clearPack(){this.pack_weight=this.num2,this.num2=0},plusPack(){this.num2=this.$NP.plus(this.num2,this.pack_weight),this.pack_weight=0},searchGoods(){\"商品条形码\"===this.goods_key_sel?this.getGoodsByBarCode():this.pageChange(1)},async getGoodsByBarCode(){if(!this.shop)return void this.$message.warning(\"请输入条形码\");const{data:t}=await Object(r[\"getGoodsByBarCode\"])({barCode:this.shop,userCenterId:this.userCenterId});this.goodsId=t.goodsId,this.spec_id_group=t.index.split(\":\"),this.shop_all=t.detail,this.goodsBasicId=t.detail.basicGoodsId,this.shopId=t.detail.shopId,this.now_sku_data=t.detail.specMultiple.find(e=>e.id===t.skuId),this.shop=\"\",this.$refs[\"barCodeInput\"].focus(),[\"KG\"].includes(this.now_sku_data.unitName)?(this.$emit(\"openKeyboard\",\"-2\"),this.input_key_num=t.setNum||1,this.$emit(\"inputKey\",this.input_key_num)):(this.num2=t.setNum||1,await this.addCart())},changeCate(t){this.cate_id=t?t.id:\"\",this.page=1,this.GoodsByCategory()},async GoodsByCategory(){const t=await Object(s[\"GoodsByCategory\"])({page:this.page,pageSize:this.pageSize,categoryId:this.cate_id,keyword:this.shop,userCenterId:this.userCenterId,shopId:this.nowSelShop.id});this.shop_shop=t.data,this.total=t.pageTotal},selGoods(t){this.goodsId=t,this.$emit(\"goodsId\",this.goodsId),this.getGoodsDetail(t)},async getGoodsDetail(t){this.num2=1;const e=await Object(s[\"getGoodsDetail\"])(t,{userCenterId:this.userCenterId});this.spec_id_group[0]=t,this.shop_all=e.data,this.goodsBasicId=e.data.basicGoodsId,this.shopId=e.data.shopId,[\"KG\",\"kg\"].includes(this.shop_all.unitData.unitName)&&(this.num2=0),1===this.shop_all.specMultiple.length?(this.num2=1,this.now_sku_data=this.shop_all.specMultiple[0],this.addCart()):this.shop_com=!0},bindPickerChange(t,e,a){if(this.$set(this.spec_id_group,e,parseInt(t)),this.spec_id_group.every(t=>!!t)){const t=this.spec_id_group.join(\":\"),e=this.shop_all.specMultiple.find(e=>e.index===t);e&&(this.now_sku_data=e)}},async addCart(){if(console.log(),!this.now_sku_data.id)return void this.$message.warning(\"请选择规格\");if(!Number(this.num2)||Number(this.num2)<=0)return void this.$message.warning(\"请输入正确的商品数量\");await Object(s[\"addCartCashier\"])({goodsData:[{skuId:this.now_sku_data.id,goodsId:this.goodsId,buyNum:this.num2,shopId:this.shopId,source:\"4\",goodsBasicId:this.goodsBasicId,warehouseId:this.shop_all.warehouseId}],userCenterId:this.userCenterId});this.$message.success(\"已选择\"),this.goShop(),this.$emit(\"getCartByUser\")},goShop(){this.now_sku_data={},this.spec_id_group=[],this.shop_com=!1},async getAllCategory(){const{data:t}=await Object(r[\"getAllCategory\"])();\"{}\"===JSON.stringify(t)?this.classify_list=[]:this.classify_list=t}}},d=u,c=(a(\"837c\"),a(\"2877\")),l=Object(c[\"a\"])(d,n,o,!1,null,\"f4d746ec\",null);e[\"default\"]=l.exports},e1fc9:function(t,e,a){\"use strict\";a(\"4927\")},f631: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:\"right-main\"},[a(\"p\",{staticClass:\"tip\"},[t._v(\"输入收款金额,金额加入结算清单中进行结算。\")]),a(\"div\",{staticClass:\"input-box\"},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.input_two,expression:\"input_two\"}],staticClass:\"input-input\",attrs:{type:\"text\",placeholder:\"请输入收款金额\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.input_two},on:{input:function(e){e.target.composing||(t.input_two=e.target.value)}}}),a(\"div\",{staticClass:\"input-unit\",staticStyle:{color:\"#333333\"}},[t._v(\"元\")])]),a(\"div\",{staticClass:\"input-box\",staticStyle:{\"margin-top\":\"10px\"}},[a(\"input\",{directives:[{name:\"model\",rawName:\"v-model\",value:t.accountName,expression:\"accountName\"}],staticClass:\"input-input\",attrs:{type:\"text\",readonly:\"\",placeholder:\"请选择结算账户\",autocomplete:\"off\",spellcheck:\"false\"},domProps:{value:t.accountName},on:{input:function(e){e.target.composing||(t.accountName=e.target.value)}}}),a(\"div\",{staticClass:\"input-unit\",staticStyle:{color:\"#666\"},on:{click:function(e){return t.openAccountModel()}}},[a(\"i\",{staticClass:\"el-icon-circle-check\"}),t._v(\" 点击选择 \")])]),a(\"keyboard\",{on:{click:function(e){return t.numFnTwo(e)}}})],1),t.account_show?a(\"AccountType\",{attrs:{id:t.nowSelShop.id,\"is-check\":!1,\"is-show\":t.account_show},on:{cancel:function(e){t.account_show=!1},confirm:t.accountsel}}):t._e()],1)},o=[],r=a(\"fdd3\"),i=a(\"866f\"),s=a(\"d099\"),u={name:\"AccountPrice\",components:{Keyboard:r[\"default\"],AccountType:i[\"default\"]},props:{nowSelShop:{type:Object,default:()=>({})},numList:{type:Array,default:()=>[]},customerName:{type:String,default:\"\"},customerId:{type:[String,Number],default:0},money:{type:[String,Number],default:0},input:{type:String,default:\"\"}},data(){return{input_two:\"\",account_show:!1,pay_account_num:\"\",pay_account_id:\"\",pay_account_name:\"\",account_num:\"\",accountName:\"\",account_id:\"\",activeName:\"second\",target_num:\"\"}},created(){this.num_list=this.numList},methods:{numFnTwo(t){if(this.target_num=t.target.textContent,\"x\"===this.target_num&&\"清除\"===this.target_num&&\"确定\"===this.target_num||this.num_list.push(this.target_num),\"x\"===this.target_num)this.input_two=this.input_two.substring(0,this.input_two.length-1);else if(\"清除\"===this.target_num)this.input_two=\"\",this.num_list=[];else if(\"确定\"===this.target_num){if(!parseInt(this.input_two))return void this.$message.warning(\"请输入收款金额\");this.addReceived()}else this.input_two+=this.target_num},openAccountModel(t){this.pay_account_type=t,this.account_show=!0},accountsel(t){this.pay_account_type?(this.pay_account_id=t[0].id,this.pay_account_num=t[0].accountNumber,this.pay_account_name=t[0].name):(this.account_id=t[0].id,this.account_num=t[0].accountNumber,this.accountName=t[0].name)},addReceived(){this.account_id?this.userCenterId?this.addReceivedTwo():this.$confirm(\"订单未绑定会员,是否需要绑定会员进行结算?\",\"提示\",{confirmButtonText:\"会员登录\",cancelButtonText:\"跳过\",type:\"warning\"}).then(()=>{this.activeName=\"second\",this.$emit(\"activeName\",this.activeName)}).catch(()=>{this.addReceivedTwo()}):this.$message.warning(\"请选择结算账户\")},async addReceivedTwo(){const t=[{accountId:this.account_id,accountNumber:this.account_num,accountName:this.accountName,money:this.input_two,discountMoney:0,finalMoney:this.input_two,payWay:4,remark:\"\"}],e={customerId:this.customerId,customerName:this.customerName,sourceNo:\"\",sourceNoMoney:\"\",currentAccountName:this.userName,financeType:\"销售收款\",financeTypeId:2,shopId:this.nowSelShop.id,money:this.money,shopName:this.nowSelShop.name,receiptTime:parseInt(new Date/1e3),createTime:\"\",accountList:t};await Object(s[\"addReceived\"])(e);this.$message.success(\"收款成功\"),this.input&&this.$emit(\"searchCustomerDetails\"),this.input_two=\"\"}}},d=u,c=(a(\"271d\"),a(\"2877\")),l=Object(c[\"a\"])(d,n,o,!1,null,\"b1afc53c\",null);e[\"default\"]=l.exports},fdd3: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\",{staticClass:\"keyboard-content\",on:{click:function(e){return t.numFnOne(e)}}},[a(\"div\",{staticClass:\"keyboard-left\"},[a(\"div\",[t._v(\"7\")]),a(\"div\",[t._v(\"8\")]),a(\"div\",[t._v(\"9\")]),a(\"div\",[t._v(\"4\")]),a(\"div\",[t._v(\"5\")]),a(\"div\",[t._v(\"6\")]),a(\"div\",[t._v(\"1\")]),a(\"div\",[t._v(\"2\")]),a(\"div\",[t._v(\"3\")]),a(\"div\",[t._v(t._s(t.lbNum?t.lbNum:\"\"))]),a(\"div\",[t._v(\"0\")]),a(\"div\",[t._v(\".\")])]),t._m(0)])},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(\"div\",{staticClass:\"keyboard-right\"},[a(\"div\",{staticStyle:{color:\"#333333\"}},[a(\"span\",[t._v(\"清除\")])]),a(\"div\",{staticClass:\"del\",staticStyle:{\"border-bottom\":\"0\"}},[a(\"span\",{staticStyle:{display:\"block\",color:\"#333333\"}},[t._v(\"x\")])]),a(\"div\",{staticClass:\"flex1\"},[a(\"span\",[t._v(\"确定\")])])])}],r={name:\"Keyboard\",props:{tipNum:{type:[String,Number],default:\"\"},lbNum:{type:[String,Number,Boolean],default:\"-\"}},data(){return{keyboard_key:\"\",input:\"\",target_num:\"\",num_list:[],writeoff_list:[]}},created(){console.log(this.tipNum)},methods:{numFnOne(t){const e=t.target.textContent;\"\"!==e&&(e.length>=3||this.$emit(\"click\",t,e))}}},i=r,s=(a(\"09b0\"),a(\"2877\")),u=Object(s[\"a\"])(i,n,o,!1,null,\"3aedaebe\",null);e[\"default\"]=u.exports}}]);","extractedComments":[]}