chunk-13476cb6.c4c3c481.js 35 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-13476cb6"],{"0b3b":function(t,e,s){"use strict";var a=s("cda7"),r=s.n(a);r.a},"16f5":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAAH4YWdbAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAbKADAAQAAAABAAAAbAAAAADaE/gkAAAL1UlEQVR4Ae1deZAdRRn/Zua9nX27C1ilnIFNOCoKIRQoQYpEKuagYghRSIwIxlLZPxKhhCiGgBBigiBoQdAg11KKihI5LDBcuSpQgSpBjUnMRlNGYIGUGlE0+3b3XTP2N5seZubNPT3Tsy89VbvTx3f/uvv1zOvuJwG5yuWyjvewV2dnpyRFZaLCZZqIeo/NWHDTNHD+Gbbirg2vAaiqrczVR/2/79mIMCMd8QFbWZNGpzZkQEFdL+2wMTb5iASlux40iDCtDw81MWFlEyNqVD728felVyrgtMKVEQuHV15nMLoxGBXkn2twaKXfvclUP2JrXWxGCaXEaa9SpVKZUK/X/2Q1wy8tSdJArMDE8i0WU1PbrKz5HtR+9TObW8522eRTrF5Qvuh8QwtKLy+YBfrf95l5qr7JJ2XimUbd0JVfBPnIo5oYsKDJPLeGK33wSOj89SZDAP5r0mTWWBL6u/stORdNtlqPTChNTt7smCK3cqepUfJNUEVhjkobK4ZRlVD6TJU19WJqhfXu1gus9TTt7O20nN4DPaOKggShQEpLhTvvgcq61r86wlOtmrzyqROh68XtTR+NQQYFKoP2dkPJwIyzTWUd9z9CBgLjQwWMaQOp6bjv52a9VyKw6QeFxinYz7tAZU5hSfLBYUwi3cGbrTL8RHcYkFqWzlN2EQ2npaWFOLS6o6NjSWYNhCjUMsNM13U5M2UIkVDGpKFmGkYmH57O6aRXGAI90/b0efGa5c5pqFnhSAR3ak0D/cD/HGzNWecTbTMFgG8Yy3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wx01DxIMiB5j1bSso826U+Sb8fw571HxSUnkN/g86lKE32Ii7JAAAAABJRU5ErkJggg=="},3220:function(t,e,s){},"42e9":function(t,e,s){},4742:function(t,e,s){"use strict";var a=s("42e9"),r=s.n(a);r.a},6107:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{directives:[{name:"show",rawName:"v-show",value:1===t.currentPage,expression:"currentPage === 1"}],staticClass:"page1"},[a("div",{staticClass:"title"},[t._v("订单核销")]),a("div",[a("Input",{attrs:{search:"",autofocus:"","enter-button":"查询",placeholder:"输入/扫描核销码进行核销"},on:{"on-search":t.onSearch}})],1),a("div",{staticClass:"btn"},[a("Button",{attrs:{type:"text"},on:{click:function(e){t.currentPage=2}}},[t._v("查看核销订单")])],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:2===t.currentPage,expression:"currentPage === 2"}],staticClass:"order"},[a("div",{staticClass:"left"},[a("div",{staticClass:"left-top"},[a("div",{staticClass:"title"},[a("Button",{attrs:{type:"text",icon:"ios-arrow-back"},on:{click:function(e){t.currentPage=1}}},[t._v("返回")]),a("span",{staticClass:"line"},[t._v("丨")]),t._v("\n 核销订单\n ")],1),a("div",{staticClass:"sx",on:{click:function(e){t.filterModal=!t.filterModal}}},[t._v("\n "+t._s(t.filterModal?"关闭":"筛选")+"\n "),t.filterModal?t._e():a("Icon",{staticClass:"ios-funnel-outline",attrs:{color:"#666",type:"ios-funnel-outline"}})],1)]),a("div",{staticClass:"order-box"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.filterModal,expression:"!filterModal"}],staticClass:"search"},[a("Input",{attrs:{"enter-button":"搜索",placeholder:"搜索订单编号",search:"",size:"large"},on:{"on-search":t.search},model:{value:t.orderData.keyword,callback:function(e){t.$set(t.orderData,"keyword",e)},expression:"orderData.keyword"}})],1),t.orderListData.length?a("orderList",{directives:[{name:"show",rawName:"v-show",value:!t.filterModal,expression:"!filterModal"}],staticClass:"order-list",attrs:{orderData:t.orderListData,total:t.count,orderType:"verify"},on:{addPage:t.addPage,selectOrder:t.selectOrder}}):t.orderListData.length||t.filterModal?t._e():a("div",{staticClass:"no-order"},[a("img",{attrs:{alt:"",src:s("66c9")}}),a("span",{staticClass:"trip"},[t._v("噢~目前暂无订单")])]),a("filter-modal",{directives:[{name:"show",rawName:"v-show",value:t.filterModal,expression:"filterModal"}],attrs:{"order-type":"verify"},on:{search:t.searchList}})],1)]),a("div",{staticClass:"order-data"},[a("div",{staticClass:"header"},[t._l(t.tabs,(function(e,s){return a("div",{key:s,staticClass:"item",class:t.sle===s?"sel":s===t.sle-1?"neighbor-left":s===t.sle+1?"neighbor-right":"def",on:{click:function(e){return t.tabClick(s)}}},[a("div",{staticClass:"item-wrap"},[t._v("\n "+t._s(e)+"\n ")])])})),a("div",{staticClass:"box",class:2===t.sle?"neighbor-right":""})],2),a("div",{staticClass:"content",class:{"border-radius":t.sle}},[0===t.sle&&t.selectOrderData.order_id?a("userOrder",{staticClass:"orders",attrs:{orderNumId:t.selectOrderData.order_id,selectData:t.selectOrderData},on:{remarks:t.remarks,selectData:t.selectData}}):t.selectOrderData.order_id?t._e():a("div",{staticClass:"no-order"},[a("img",{attrs:{alt:"",src:s("0493")}}),a("span",{staticClass:"trip"},[t._v("噢~目前暂无订单")])]),1===t.sle&&t.selectOrderData.order_id?a("orderDetails",{staticClass:"orders",attrs:{id:t.selectOrderData.id}}):t._e(),2===t.sle&&t.selectOrderData.order_id?a("orderRecord",{attrs:{id:t.selectOrderData.id}}):t._e()],1),t.selectOrderData.order_id?a("div",{staticClass:"footer"},[a("div",{staticClass:"footer-left"},[t.selectOrderData.clerk_name?a("span",{staticClass:"clerk"},[t._v("收银员:"+t._s(t.selectOrderData.clerk_name))]):t._e(),a("span",{staticClass:"pay"},[t._v("实付:")]),a("span",{staticClass:"num"},[t._v("¥"+t._s(t.selectOrderData.pay_price||0))])]),a("div",{staticClass:"footer-right"},[a("div",{staticClass:"btn",on:{click:t.remarks}},[t._v("订单备注")]),a("div",{staticClass:"btn",on:{click:t.point}},[t._v("小票打印")]),t.selectOrderData.status&&5!==t.selectOrderData.status||6===t.selectOrderData.refund_type||1!==t.selectOrderData.paid?t._e():a("div",{staticClass:"btn pay",on:{click:t.getVerifyData}},[t._v("\n 立即核销\n ")])])]):t._e()]),a("order-remark",{ref:"remarks",attrs:{orderId:t.selectOrderData.id},on:{submitFail:t.submitFail}}),a("orderWriteOff",{ref:"writeOff",attrs:{orderNumId:t.selectOrderData.order_id}})],1)])},r=[],i=s("d487"),n=s("9568"),o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"order-user"},[s("div",{staticClass:"sel-user"},[s("div",{staticClass:"avatar"},[s("img",{attrs:{src:t.selectData.avatar,alt:"头像"}})]),s("div",{staticClass:"item-right"},[s("div",{staticClass:"user"},[s("div",[t._v(t._s(t.selectData.nickname))])]),s("div",{staticClass:"money"},[s("div",[t.selectData.phone?s("span",{staticClass:"pr20"},[t._v(t._s(t.selectData.phone))]):t._e(),t._v("余额 "),s("span",{staticClass:"num"},[t._v(t._s(t.selectData.now_money||0))])]),s("div",[t._v("\n 积分 "),s("span",{staticClass:"num"},[t._v(t._s(t.selectData.integral||0))])])])])]),s("div",{staticClass:"cart-num"},[s("div",{staticClass:"cart-num-left"},[s("span",[t._v("共")]),s("span",{staticClass:"num"},[t._v(t._s(t.selectData.total_num))]),s("span",[t._v("件商品")])])]),s("div",{staticClass:"goods-list"},[s("Table",{ref:"selection",attrs:{columns:t.columns,border:!1,data:t.writeOffData,loading:t.loading,"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},on:{"on-selection-change":t.selectOne},scopedSlots:t._u([{key:"image",fn:function(e){var a=e.row;return[s("div",{staticClass:"product-data"},[s("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),s("div",{staticClass:"name line2"},[a.is_gift?s("span",{staticClass:"is-gift"},[t._v("赠品")]):t._e(),t._v("\n "+t._s(a.cart_info.productInfo.store_name)+"\n ")])])]}},{key:"value",fn:function(e){var a=e.row;return[s("div",[t._v(t._s(a.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(e){var a=e.row;return[s("div",[t._v("\n "+t._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.price:a.cart_info.productInfo.price)+"\n ")])]}},{key:"price",fn:function(e){var a=e.row;return[s("div",[t._v(t._s(a.cart_info.truePrice))])]}},{key:"writeOff",fn:function(e){var a=e.row;return[null!==a.is_writeoff?s("div",[a.is_writeoff?s("div",[t._v("已核销")]):a.write_surplus_times!==a.write_times&&a.waite_num?s("div",{staticStyle:{color:"#1890ff"}},[t._v("\n 已核销 "+t._s(a.waite_num)+" 件\n ")]):s("div",{staticStyle:{color:"#F5222D"}},[t._v("待核销")])]):t._e()]}},{key:"cartNum",fn:function(e){var a=e.row;return[s("div",[t._v(t._s(a.write_times))])]}},{key:"surplus_num",fn:function(e){var a=e.row,r=e.index;return[s("div",{staticClass:"surplus-num"},[s("div",{staticClass:"operation reduce",class:a.write_surplus_times<=1?"off":"",on:{click:function(e){return t.reduce(a,r)}}},[s("Icon",{attrs:{type:"md-remove-circle"}})],1),s("InputNumber",{attrs:{min:1,disabled:0==a.write_surplus_times,max:a.numShow},model:{value:a.write_surplus_times,callback:function(e){t.$set(a,"write_surplus_times",e)},expression:"row.write_surplus_times"}}),s("div",{staticClass:"operation add",class:a.write_surplus_times===a.numShow||a.write_surplus_times<1?"off":"",on:{click:function(e){return t.add(a,r)}}},[s("Icon",{attrs:{type:"md-add-circle"}})],1)],1)]}}])})],1)])},l=[],c=s("f8b7"),d={name:"userOrder",props:["selectData","orderNumId"],components:{goodsList:n["a"]},data:function(){return{writeOffData:[],writeOffItem:[],columns:[{type:"selection",width:50,align:"center"},{title:"商品",slot:"image",align:"left",minWidth:150},{title:"规格",slot:"value",align:"left",minWidth:90},{title:"商品售价",slot:"sellPrice",align:"left",minWidth:60},{title:"商品优惠价",slot:"price",align:"left",minWidth:60},{title:"状态",slot:"writeOff",align:"left",minWidth:30},{title:"总数",slot:"cartNum",align:"left",minWidth:30},{title:"待核销数量",slot:"surplus_num",align:"left",minWidth:130}],selectDataList:[],loading:!1,give_integral_img:s("29ba"),give_coupon_img:s("16f5")}},watch:{selectData:{handler:function(t,e){if(t){var s={oid:t.id};t.id&&this.getWriteOff(s)}},deep:!0}},mounted:function(){var t={oid:this.selectData.id};this.selectData.id&&this.getWriteOff(t)},methods:{reduce:function(t,e){t.write_surplus_times>1&&(t.write_surplus_times--,this.writeOffData[e].write_surplus_times=t.write_surplus_times,this.selectDataList.forEach((function(e){e.id===t.id&&(e.write_surplus_times=t.write_surplus_times)})))},add:function(t,e){t.numShow>t.write_surplus_times&&(t.write_surplus_times++,this.writeOffData[e].write_surplus_times=t.write_surplus_times,this.selectDataList.forEach((function(e){e.id===t.id&&(e.write_surplus_times=t.write_surplus_times)})))},getVerifyData:function(){if(!this.selectDataList.length)return this.$Message.error("请选择要核销的商品");var t=[];this.selectDataList.forEach((function(e){t.push({cart_id:e.cart_id,cart_num:e.surplus_num})}))},remarks:function(){this.$emit("remarks")},cancel:function(){this.$refs.selection.selectAll(!1)},selectOne:function(t){var e=this;t.forEach((function(t){e.writeOffData.forEach((function(e){t.id==e.id&&(t.surplus_num=e.surplus_num)}))})),this.selectDataList=t,this.$emit("selectData",t)},getWriteOff:function(t){var e=this;Object(c["gb"])(t).then((function(t){var s=t.data.cart_info;s.forEach((function(t){t.numShow=t.surplus_num,t.waite_num=t.write_times-t.write_surplus_times,t.is_writeoff&&(t._disabled=!0)})),e.writeOffData=s,e.selectData.give_integral&&e.writeOffData.push({image:{},is_gift:!0,cart_info:{productInfo:{image:e.give_integral_img,store_name:"赠送".concat(e.selectData.give_integral,"积分"),attrInfo:{price:"-",suk:"-"}},truePrice:"-",cart_num:"-"},is_writeoff:null,value:"",sellPrice:"",price:"",writeOff:"",sum_price:"-",cart_num:"-",surplus_num:null}),e.selectData.give_coupon.length&&e.selectData.give_coupon.forEach((function(t){var s={image:{},is_gift:!0,cart_info:{productInfo:{image:e.give_coupon_img,store_name:t.coupon_title,attrInfo:{price:"-",suk:"-"}},truePrice:"-",cart_num:"-"},is_writeoff:null,value:"",sellPrice:"",price:"",writeOff:"",sum_price:"-",cart_num:"-",surplus_num:null};e.writeOffData.push(s)}))})).catch((function(t){e.$Message.error(t.msg)}))}}},u=d,f=(s("0b3b"),s("2877")),v=Object(f["a"])(u,o,l,!1,null,"b31aa37e",null),m=v.exports,_=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"detail"},[s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("收货信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("收货人:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.real_name))])]),s("li",{staticClass:"item"},[s("div",[t._v("收货电话:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.user_phone))])])])]),s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("用户信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("用户昵称:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.userInfo.uid?t.orderDatalist.userInfo.nickname:"游客")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("绑定电话:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.userInfo.phone))])])])]),s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("订单信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("创建时间:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo._add_time))])]),s("li",{staticClass:"item"},[s("div",[t._v("商品总数:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.total_num))])]),s("li",{staticClass:"item"},[s("div",[t._v("商品总价:")]),s("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.total_price))])]),s("li",{staticClass:"item"},[s("div",[t._v("优惠券金额:")]),s("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.coupon_price))])]),s("li",{staticClass:"item"},[s("div",[t._v("积分抵扣:")]),s("div",{staticClass:"value"},[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.deduction_price||0)+"\n ")])]),parseFloat(t.orderDatalist.orderInfo.use_integral)?s("li",{staticClass:"item"},[s("div",[t._v("使用积分:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(parseFloat(t.orderDatalist.orderInfo.use_integral))+"\n ")])]):t._e(),s("li",{staticClass:"item"},[s("div",[t._v("支付邮费:")]),s("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.pay_postage))])]),s("li",{staticClass:"item"},[s("div",[t._v("会员商品优惠:")]),s("div",{staticClass:"value"},[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.vip_true_price||0)+"\n ")])]),0!=t.orderDatalist.orderInfo.first_order_price?s("li",{staticClass:"item"},[s("div",[t._v("新人首单优惠:")]),s("div",{staticClass:"value"},[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.first_order_price)+"\n ")])]):t._e(),2===t.orderDatalist.orderInfo.shipping_type&&0===t.orderDatalist.orderInfo.refund_status&&1===t.orderDatalist.orderInfo.paid?s("li",{staticClass:"item"},[s("div",[t._v("门店名称:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo._store_name))])]):t._e(),2===t.orderDatalist.orderInfo.shipping_type&&0===t.orderDatalist.orderInfo.refund_status&&1===t.orderDatalist.orderInfo.paid?s("li",{staticClass:"item"},[s("div",[t._v("核销码:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.verify_code))])]):t._e(),s("li",{staticClass:"item"},[s("div",[t._v("推广人:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.userInfo.spread_name)+"/ID:"+t._s(t.orderDatalist.userInfo.spread_uid)+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("支付时间:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo._pay_time))])]),s("li",{staticClass:"item"},[s("div",[t._v("支付方式:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo._status._payType)+"\n ")])]),t.orderDatalist.orderInfo.store_order_sn?s("li",{staticClass:"item"},[s("div",[t._v("原订单号:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.store_order_sn))])]):t._e()])]),t.orderDatalist.orderInfo.promotions_detail.length?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("活动信息")]),s("ul",{staticClass:"list"},t._l(t.orderDatalist.orderInfo.promotions_detail,(function(e,a){return s("li",{key:a,staticClass:"item"},[s("div",[t._v(t._s(e.title)+":")]),s("div",{staticClass:"value"},[t._v("¥"+t._s(e.promotions_price))])])})),0)]):t._e(),t.orderDatalist.orderInfo.custom_form.length?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("自定义留言")]),s("ul",{staticClass:"list"},t._l(t.orderDatalist.orderInfo.custom_form,(function(e,a){return s("li",{directives:[{name:"show",rawName:"v-show",value:e.value&&-1==["uploadPicture","dateranges"].indexOf(e.name)||e.value.length&&-1!=["uploadPicture","dateranges"].indexOf(e.name),expression:"(item.value && ['uploadPicture','dateranges'].indexOf(item.name) == -1) || (item.value.length && ['uploadPicture','dateranges'].indexOf(item.name) != -1)"}],key:a,staticClass:"item"},[s("div",{staticClass:"txtVal"},[t._v(t._s(e.titleConfig.value)+":")]),"dateranges"===e.name?s("div",{staticClass:"value"},[t._v(t._s(e.value[0]+"/"+e.value[1]))]):"uploadPicture"===e.name?s("div",{staticClass:"value"},t._l(e.value,(function(t,e){return s("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e,staticClass:"image"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t,expression:"img"}]})])})),0):s("div",{staticClass:"value"},[t._v(t._s(e.value||"-"))])])})),0)]):t._e(),t.orderDatalist.orderInfo.mark?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("买家留言")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item mark"},[s("div",[t._v("备注:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.mark||"-"))])])])]):t._e(),t.orderDatalist.orderInfo.remark?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("订单备注")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item mark"},[s("div",{staticClass:"item1"},[t._v("备注:")]),s("Tooltip",{attrs:{"max-width":"300",placement:"top-start"}},[s("span",{},[t._v(t._s(t.orderDatalist.orderInfo.remark))]),s("p",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.orderDatalist.orderInfo.remark||"-"))])])],1)])]):t._e(),"express"===t.orderDatalist.orderInfo.delivery_type?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("物流信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("快递公司:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.delivery_name||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("快递单号:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.delivery_id)),s("span",{staticClass:"logisticsLook",on:{click:t.openLogistics}},[t._v("查询")])])])])]):t._e(),"send"===t.orderDatalist.orderInfo.delivery_type?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("配送信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("送货人姓名:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.delivery_name||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("送货人电话:")]),s("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.delivery_id))])])])]):t._e()])},p=[],h={name:"orderDetails",props:{id:{type:Number}},data:function(){return{orderDatalist:[]}},watch:{id:function(t){this.getOrderInfo()}},mounted:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this;Object(c["A"])(this.id).then((function(e){t.orderDatalist=e.data}))}}},g=h,D=(s("dc2c"),Object(f["a"])(g,_,p,!1,null,"3db4e156",null)),C=D.exports,A=s("6dc2"),w=s("22f89"),b=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单核销",width:"1000","footer-hide":""},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[s("Card",{attrs:{bordered:!1,"dis-hover":""}},[s("Table",{ref:"selection",attrs:{columns:t.columns,border:"",data:t.writeOffData,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},on:{"on-selection-change":t.selectOne},scopedSlots:t._u([{key:"image",fn:function(e){var a=e.row;e.index;return[s("div",{staticClass:"product-data"},[s("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),s("div",{staticClass:"name line2"},[t._v("\n "+t._s(a.cart_info.productInfo.store_name)+"\n ")])])]}},{key:"value",fn:function(e){var a=e.row;e.index;return[s("div",[t._v(t._s(a.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(e){var a=e.row;e.index;return[s("div",[t._v(t._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.price:a.cart_info.productInfo.price)+"\n ")])]}},{key:"price",fn:function(e){var a=e.row;e.index;return[s("div",[t._v(t._s(a.cart_info.truePrice))])]}},{key:"writeOff",fn:function(e){var a=e.row;e.index;return[a.is_writeoff?s("div",[t._v("已核销")]):s("div",{staticStyle:{color:"#F5222D"}},[t._v("待核销")])]}},{key:"cartNum",fn:function(e){var a=e.row;e.index;return[s("div",[t._v(t._s(a.cart_info.cart_num))])]}}])}),s("Button",{attrs:{type:"primary"},on:{click:t.submitWriteOff}},[t._v("确认核销")])],1)],1)},I=[],O={name:"orderRecord",props:{orderNumId:String},data:function(){var t=this;return{modals:!1,loading:!1,writeOffData:[],writeOffItem:[],columns:[{type:"selection",width:50,align:"center"},{title:"商品信息",slot:"image",align:"center",minWidth:150},{title:"规格",slot:"value",align:"center",minWidth:90},{title:"商品售价",slot:"sellPrice",align:"center",minWidth:60},{title:"商品优惠价",slot:"price",align:"center",minWidth:60},{title:"状态",slot:"writeOff",align:"center",minWidth:30},{title:"总数",slot:"cartNum",align:"center",minWidth:30},{title:"待核销数量",slot:"surplus_num",align:"center",minWidth:130,render:function(e,s){return e("div",[e("InputNumber",{props:{min:1,max:s.row.numShow,value:s.row.surplus_num||1,disabled:!!s.row.is_writeoff},on:{"on-change":function(e){s.row.surplus_num=e||1,t.writeOffItem.length?t.writeOffItem.forEach((function(e){e.id==s.row.id?e.surplus_num=s.row.surplus_num:t.writeOffItem.push(s.row)})):t.writeOffItem.push(s.row),t.selectData.forEach((function(e,a){e.cart_id===s.row.cart_id&&t.selectData.splice(a,1,s.row)}))}}})])}}],selectData:[]}},mounted:function(){},methods:{cancel:function(){this.$refs.selection.selectAll(!1)},selectOne:function(t){var e=this;t.forEach((function(t){e.writeOffItem.forEach((function(e){t.id==e.id&&(t.surplus_num=e.surplus_num)}))})),this.selectData=t},getWriteOff:function(t){var e=this;Object(c["gb"])(t).then((function(t){var s=t.data.cart_info;s.forEach((function(t){t.numShow=t.surplus_num,t.is_writeoff&&(t._disabled=!0)})),e.writeOffData=s})).catch((function(t){e.$Message.error(t.msg)}))},submitWriteOff:function(){var t=this;if(!this.selectData.length)return this.$Message.error("请选择要核销的商品");var e=[];this.selectData.forEach((function(t){e.push({cart_id:t.cart_id,cart_num:t.surplus_num})})),Object(c["Z"])(this.orderNumId,{cart_ids:e}).then((function(e){t.$Message.success(e.msg),t.modals=!1,t.$refs.selection.selectAll(!1),t.$emit("submitSuccess")})).catch((function(e){t.$Message.error(e.msg)}))}}},k=O,y=(s("4742"),Object(f["a"])(k,b,I,!1,null,"03381d6f",null)),x=y.exports,N=s("a464");function P(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function G(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?P(s,!0).forEach((function(e){M(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):P(s).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function M(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var L={components:{orderList:i["a"],goodsList:n["a"],userOrder:m,orderDetails:C,orderRemark:w["a"],orderRecord:A["a"],orderWriteOff:x,filterModal:N["a"]},data:function(){return{orderId:0,orderListData:[],tabs:["商品信息","订单详情","订单记录"],sle:0,filterModal:!1,userFrom:{keyword:"",page:1,limit:9},dataList:[],orderData:{type:"",status:"",time:"",staff_id:"",real_name:"",page:1,limit:10},selectOrderData:{},orderInfoData:{},count:0,orderStatusList:[],selectOrderDatas:[],currentPage:1}},created:function(){this.getVerifyList()},methods:{addPage:function(){this.orderListData.length<this.count&&this.orderData.page++,this.getVerifyList()},search:function(){this.orderListData=[],this.selectOrderData={},this.orderData.page=1,this.sle=0,this.getVerifyList()},searchList:function(t){this.filterModal=!1,this.orderData.page=1,this.orderData=G({},this.orderData,{},t),this.orderListData=[],this.search()},remarks:function(){this.$refs.remarks.modals=!0,this.$refs.remarks.formValidate.remark=this.selectOrderData.remark},submitFail:function(){},point:function(){var t=this;this.delfromData={title:"立即打印订单",info:"您确认打印此订单吗?",url:"/order/print/".concat(this.selectOrderData.id),method:"get",ids:""},this.$modalSure(this.delfromData).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)}))},selectData:function(t){this.selectOrderDatas=t},getVerifyData:function(){var t=this;if(!this.selectOrderDatas.length)return this.$Message.error("请选择要核销的商品");if(4==this.selectOrderData.product_type)this.$modalForm(Object(c["P"])(this.selectOrderData.id,{cart_num:this.selectOrderDatas[0].write_surplus_times})).then((function(e){t.$Message.success(e.msg),t.orderListData=[],t.getVerifyList(),t.selectOrderData.status=2}));else{var e=[];this.selectOrderDatas.forEach((function(t){e.push({cart_id:t.cart_id,cart_num:t.write_surplus_times})})),Object(c["Z"])(this.selectOrderData.id,{cart_ids:e}).then((function(e){t.$Message.success(e.msg),t.orderListData=[],t.getVerifyList(),t.selectOrderData.status=2})).catch((function(e){t.$Message.error(e.msg)}))}},selectOrder:function(t){this.selectOrderData=t},tabClick:function(t){switch(this.sle=t,t){case 1:break}},getVerifyList:function(){var t=this;Object(c["J"])(this.orderData).then((function(e){e.data.data=e.data.data.map((function(e){var s=[];for(var a in e._info){var r=e._info[a];s.push(r)}return t.$set(e,"_infoData",s),e})),t.selectOrderData=e.data.data.length&&1==t.orderData.page?e.data.data[0]:t.selectOrderData,t.orderListData=t.orderListData.concat(e.data.data),t.count=e.data.count})).catch((function(e){t.$Message.error(e.msg)}))},onSearch:function(t){t=t.trim(),t&&(this.currentPage=2,this.orderData.keyword=t,this.search())}}},T=L,W=(s("d2ef"),Object(f["a"])(T,a,r,!1,null,"0e497c34",null));e["default"]=W.exports},cda7:function(t,e,s){},d2ef:function(t,e,s){"use strict";var a=s("3220"),r=s.n(a);r.a},dc2c:function(t,e,s){"use strict";var a=s("facf"),r=s.n(a);r.a},facf:function(t,e,s){}}]);