chunk-f645c2e2.6f0782d7.js 40 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f645c2e2"],{"078f":function(e,t,r){e.exports={primary:"#4073fa",white:"#fff",asideMenuWidth:"150px",headerHeight:"64px"}},"192a":function(e,t,r){"use strict";r.d(t,"A",(function(){return a})),r.d(t,"v",(function(){return i})),r.d(t,"x",(function(){return l})),r.d(t,"z",(function(){return o})),r.d(t,"n",(function(){return n})),r.d(t,"u",(function(){return d})),r.d(t,"t",(function(){return c})),r.d(t,"y",(function(){return _})),r.d(t,"m",(function(){return f})),r.d(t,"r",(function(){return m})),r.d(t,"s",(function(){return p})),r.d(t,"p",(function(){return h})),r.d(t,"q",(function(){return u})),r.d(t,"o",(function(){return v})),r.d(t,"f",(function(){return b})),r.d(t,"e",(function(){return y})),r.d(t,"a",(function(){return g})),r.d(t,"g",(function(){return x})),r.d(t,"c",(function(){return C})),r.d(t,"h",(function(){return w})),r.d(t,"b",(function(){return D})),r.d(t,"i",(function(){return k})),r.d(t,"d",(function(){return O})),r.d(t,"w",(function(){return S})),r.d(t,"j",(function(){return $})),r.d(t,"k",(function(){return j})),r.d(t,"l",(function(){return z}));var s=r("f175");const a=()=>s.a.get("/order.order/otherLists"),i=e=>s.a.get("/order.order/detail",{params:e}),l=e=>s.a.get("/order.order/lists",{params:e}),o=e=>s.a.post("/order.order/orderRemarks",e),n=e=>s.a.post("/order.order/cancel",e),d=e=>s.a.get("/order.order/deliveryInfo",{params:e}),c=e=>s.a.post("/order.order/delivery",e),_=e=>s.a.get("/order.order/logistics",{params:e}),f=e=>s.a.post("/order.order/addressEdit",e),m=e=>s.a.post("/order.order/confirm",e),p=e=>s.a.post("/order.order/confirmOfflinePay",e),h=e=>s.a.post("/order.order/changeExpressPrice",e),u=e=>s.a.post("/order.order/changePrice",e),v=e=>s.a.post("/order.order/changeDelivery",e),b=e=>s.a.get("/after_sale.after_sale/lists",{params:e}),y=e=>s.a.get("/after_sale.after_sale/detail",{params:e}),g=e=>s.a.post("/after_sale.after_sale/agree",e),x=e=>s.a.post("/after_sale.after_sale/refuse",e),C=e=>s.a.post("/after_sale.after_sale/confirmGoods",e),w=e=>s.a.post("/after_sale.after_sale/refuseGoods",e),D=e=>s.a.post("/after_sale.after_sale/agreeRefund",e),k=e=>s.a.post("/after_sale.after_sale/refuseRefund",e),O=e=>s.a.post("/after_sale.after_sale/confirmRefund",e),S=e=>s.a.post("/order.DeliveryBatch/delivery",e),$=e=>s.a.get("/order.DeliveryBatch/index",{params:e}),j=e=>s.a.get("/order.DeliveryBatch/down",{params:e}),z=e=>s.a.get("/order.DeliveryBatch/down2",{params:e})},"23f7":function(e,t,r){"use strict";r("e9dd")},5016:function(e,t,r){"use strict";r("078f")},"5cf7":function(e,t,r){"use strict";var s=r("9ab4"),a=r("0463"),i=r("1b40");let l=class extends i.e{constructor(){super(...arguments),this.options=a.a}get areaValue(){return[this.province,this.city,this.district]}set areaValue(e){this.$emit("update:province",e[0]),this.$emit("update:city",e[1]),this.$emit("update:district",e[2])}};Object(s.a)([Object(i.c)()],l.prototype,"province",void 0),Object(s.a)([Object(i.c)()],l.prototype,"city",void 0),Object(s.a)([Object(i.c)()],l.prototype,"district",void 0),Object(s.a)([Object(i.c)({default:"380px"})],l.prototype,"width",void 0),l=Object(s.a)([i.a],l);var o=l,n=r("2877"),d=Object(n.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"area-select"},[r("el-cascader",{style:{width:e.width},attrs:{options:e.options},model:{value:e.areaValue,callback:function(t){e.areaValue=t},expression:"areaValue"}})],1)}),[],!1,null,null,null);t.a=d.exports},"82fc":function(e,t,r){"use strict";r.d(t,"f",(function(){return a})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return l})),r.d(t,"e",(function(){return o})),r.d(t,"g",(function(){return n})),r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return c})),r.d(t,"o",(function(){return _})),r.d(t,"k",(function(){return f})),r.d(t,"m",(function(){return m})),r.d(t,"n",(function(){return p})),r.d(t,"p",(function(){return h})),r.d(t,"l",(function(){return u})),r.d(t,"h",(function(){return v})),r.d(t,"i",(function(){return b})),r.d(t,"j",(function(){return y}));var s=r("f175");const a=e=>s.a.get("/selffetch_shop.selffetch_shop/lists",{params:e}),i=e=>s.a.post("/selffetch_shop.selffetch_shop/add",e),l=e=>s.a.get("/selffetch_shop.selffetch_shop/detail",{params:e}),o=e=>s.a.post("/selffetch_shop.selffetch_shop/edit",e),n=e=>s.a.post("/selffetch_shop.selffetch_shop/status",e),d=e=>s.a.post("/selffetch_shop.selffetch_shop/del",e),c=e=>s.a.get("/selffetch_shop.selffetch_shop/regionSearch",{params:e}),_=e=>s.a.get("/selffetch_shop.selffetch_verifier/lists",{params:e}),f=e=>s.a.post("/selffetch_shop.selffetch_verifier/add",e),m=e=>s.a.get("/selffetch_shop.selffetch_verifier/detail",{params:e}),p=e=>s.a.post("/selffetch_shop.selffetch_verifier/edit",e),h=e=>s.a.post("/selffetch_shop.selffetch_verifier/status",e),u=e=>s.a.post("/selffetch_shop.selffetch_verifier/del",e),v=e=>s.a.post("/selffetch_shop.verification/verification",e),b=e=>s.a.get("selffetch_shop.verification/lists",{params:e}),y=e=>s.a.get("selffetch_shop.verification/verificationQuery",{params:e})},"995c":function(e,t,r){"use strict";r.r(t);r("14d9"),r("13d5"),r("0643"),r("76d6"),r("4e3e"),r("a573"),r("9d4a");var s=r("9ab4"),a=r("1b40"),i=r("0a6d"),l=r("5cf7"),o=r("ffae"),n=r("192a"),d=r("82fc");let c=class extends a.e{constructor(){super(...arguments),this.id=0,this.orderData={delivery_content:[],express_parcel:[],admin_order_btn:{remark_btn:1,cancel_btn:0,confirm_btn:0,logistics_btn:0,refund_btn:0,address_btn:1,price_btn:1}},this.address={province_id:"",city_id:"",district_id:"",address:"",contact:"",mobile:""},this.remarks="",this.verifyTips="",this.express={},this.express_price="",this.goods_price="",this.express_id="",this.invoice_no="",this.expressInfo=[]}getOrderDetail(){Object(n.v)({id:this.id}).then(e=>{this.orderData=e,this.getOrderDeliveryInfo()})}orderCancel(){Object(n.n)({id:this.id}).then(e=>{this.getOrderDetail()})}selffetch(e=0){Object(d.h)({id:this.id,confirm:e}).then(e=>{if(10===e.code)return this.verifyTips=e.msg,void this.$nextTick(()=>{var e;null===(e=this.$refs.verifyDialogRef)||void 0===e||e.open()});this.getOrderDetail()})}orderAddressSet(){Object(n.m)({id:this.id,...this.address}).then(e=>{this.getOrderDetail()})}toqueryDelivery(){this.$router.push({path:"/order/query_delivery",query:{id:this.id}})}toDelivery(){this.$router.push({path:"/order/order_delivery",query:{id:this.id}})}orderConfirm(){Object(n.r)({id:this.id}).then(e=>{this.getOrderDetail()})}orderConfirmpay(){Object(n.s)({id:this.id}).then(e=>{this.getOrderDetail()})}postOrderRemarks(){Object(n.z)({id:[this.id],order_remarks:this.remarks}).then(e=>{this.getOrderDetail()})}orderChangeGoodsPrice(e){if(""==this.goods_price)return this.$message.error("请输入价格");Object(n.q)({order_goods_id:e,change_price:this.goods_price}).then(e=>{this.getOrderDetail(),this.goods_price=""})}orderChangeExpress(e){if(""==this.express_price)return this.$message.error("请输入运费!");Object(n.p)({order_goods_id:e,express_price:this.express_price}).then(e=>{this.getOrderDetail()})}orderChangeLogistics(){if(""==this.express_id)return this.$message.error("请输入物流公司名称!");Object(n.o)({id:this.id,express_id:this.express_id}).then(e=>{this.getOrderDetail(),this.express_id=""})}orderChangeCourierNumber(){if(""==this.invoice_no)return this.$message.error("请输入快递单号!");Object(n.o)({id:this.id,invoice_no:this.invoice_no}).then(e=>{this.getOrderDetail(),this.invoice_no=""})}getSummaries(e){const{columns:t,data:r}=e,s=[];return t.forEach((e,t)=>{if(0===t)return void(s[0]="总价");const a=r.map(t=>Number(t[e.property]));if(!a.every(e=>isNaN(e))){if(1==t)return;s[t]=a.reduce((e,t)=>{const r=Number(t);return isNaN(r)?e:e+t},0),3!==t&&("number"==typeof s[t]&&(s[t]=s[t].toFixed(2)),s[t]="¥"+s[t]),5==t&&("number"==typeof s[t]&&(s[t]=s[t].toFixed(2)),s[t]="-"+s[t]),6==t&&(s[t]="-¥"+(this.orderData.change_price||"0.00"))}}),s}toUserDetail(){this.$router.push({path:"/user/user_details",query:{id:this.orderData.user_id}})}getOrderDeliveryInfo(){Object(n.u)({id:this.id}).then(e=>{this.expressInfo=e,this.address.contact=e.contact,this.address.mobile=e.mobile})}getDiscountPrice(e){const{integral_discount:t,member_discount:r,coupon_discount:s}=e;return(Number(t)+Number(r)+Number(s)).toFixed(2)}created(){this.id=this.$route.query.id,this.id&&this.getOrderDetail()}get goods_total_price(){let e=0;return 0==this.orderData.order_type||4==this.orderData.order_type?this.orderData.order_goods.forEach(t=>e+=Number(t.total_amount)):1!=this.orderData.order_type&&2!=this.orderData.order_type&&3!=this.orderData.order_type&&5!=this.orderData.order_type||this.orderData.order_goods.forEach(t=>e+=Number(t.total_price)),e.toFixed(2)}};c=Object(s.a)([Object(a.a)({components:{LsDialog:i.a,AreaSelect:l.a,OrderLogistics:o.a}})],c);var _=c,f=(r("23f7"),r("2877")),m=Object(f.a)(_,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("header",[r("div",{staticClass:"ls-card"},[r("el-page-header",{attrs:{content:"订单详情"},on:{back:function(t){return e.$router.go(-1)}}})],1),r("div",{staticClass:"flex m-t-24"},[r("div",{staticClass:"ls-card flex flex-wrap col-stretch",staticStyle:{"min-height":"450px"}},[r("div",{staticStyle:{width:"100%"}},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("订单信息")]),r("div",{staticClass:"flex col-top"},[r("el-form",{ref:"form",attrs:{model:e.orderData,"label-width":"120px",size:"small"}},[r("el-form-item",{attrs:{label:"订单状态"}},[e._v(" "+e._s(e.orderData.order_status_desc)+" ")]),r("el-form-item",{attrs:{label:"订单编号"}},[e._v(" "+e._s(e.orderData.sn)+" ")]),r("el-form-item",{attrs:{label:"订单类型"}},[e._v(" "+e._s(e.orderData.order_type_desc)+" ")]),r("el-form-item",{attrs:{label:"下单时间"}},[e._v(" "+e._s(e.orderData.create_time)+" ")]),r("el-form-item",{attrs:{label:"完成时间"}},[e._v(" "+e._s(e.orderData.confirm_take_time)+" ")])],1),r("el-form",{ref:"form",staticStyle:{"margin-left":"20vw"},attrs:{model:e.orderData,"label-width":"120px",size:"small"}},[r("el-form-item",{attrs:{label:"支付状态"}},[e._v(" "+e._s(e.orderData.pay_status_desc)+" ")]),r("el-form-item",{attrs:{label:"支付方式"}},[e._v(" "+e._s(e.orderData.pay_way_desc)+" ")]),r("el-form-item",{attrs:{label:"订单来源"}},[e._v(" "+e._s(e.orderData.order_terminal_desc)+" ")]),r("el-form-item",{attrs:{label:"支付时间"}},[e._v(" "+e._s(e.orderData.pay_time)+" ")]),r("el-form-item",{attrs:{label:"用户备注"}},[e._v(" "+e._s(e.orderData.user_remark)+" ")])],1)],1),r("el-form",{ref:"form",attrs:{model:e.orderData,"label-width":"120px",size:"small"}},[r("el-form-item",{staticStyle:{"word-break":"break-all"},attrs:{label:"商家备注"}},[e._v(" "+e._s(e.orderData.order_remarks)+" ")])],1)],1),r("div",{staticClass:"flex col-bottom",staticStyle:{width:"100%"}},[r("div",{staticClass:"border-top flex col-bottom row-left p-t-24",staticStyle:{width:"100%",height:"57px"}},[e.orderData.admin_order_btn.cancel_btn?r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"取消订单",content:"确定取消订单("+e.orderData.sn+")吗?请谨慎操作"},on:{confirm:e.orderCancel}},[r("el-button",{staticStyle:{},attrs:{slot:"trigger",size:"small"},slot:"trigger"},[e._v("取消订单")])],1):e._e(),e.orderData.admin_order_btn.verification_btn?r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"提货核销",content:"确定核销订单("+e.orderData.sn+")吗?请谨慎操作"},on:{confirm:e.selffetch}},[r("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("提货核销")])],1):e._e(),e.orderData.admin_order_btn.verification_btn?r("ls-dialog",{ref:"verifyDialogRef",attrs:{title:"温馨提示",content:e.verifyTips},on:{confirm:function(t){return e.selffetch(1)}}}):e._e(),e.orderData.admin_order_btn.remark_btn?r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"商家备注"},on:{confirm:e.postOrderRemarks}},[r("el-button",{staticStyle:{},attrs:{slot:"trigger",size:"small"},slot:"trigger"},[e._v("商家备注")]),r("div",[r("span",{staticClass:"m-b-10"},[e._v("商家备注")]),r("el-input",{staticClass:"m-t-10",attrs:{type:"textarea",rows:5,placeholder:"请输入内容"},model:{value:e.remarks,callback:function(t){e.remarks=t},expression:"remarks"}})],1)],1):e._e(),r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"收货地址修改",width:"20vw"},on:{confirm:function(t){return e.orderAddressSet()}}},[e.orderData.admin_order_btn.address_btn?r("el-button",{staticStyle:{},attrs:{slot:"trigger",size:"small"},slot:"trigger"},[e._v("修改地址")]):e._e(),[r("div",[r("span",[e._v("订单编号")]),r("span",{staticClass:"m-l-30"},[e._v(e._s(e.orderData.sn))])]),r("div",{staticClass:"flex m-t-24"},[r("el-form",{ref:"address",attrs:{model:e.address,"label-width":"80px"}},[r("el-form-item",{attrs:{label:"收货人",prop:"return_address"}},[r("el-input",{staticClass:"ls-input",attrs:{"show-word-limit":""},model:{value:e.address.contact,callback:function(t){e.$set(e.address,"contact",t)},expression:"address.contact"}})],1),r("el-form-item",{attrs:{label:"收货电话",prop:"return_address"}},[r("el-input",{staticClass:"ls-input",attrs:{"show-word-limit":""},model:{value:e.address.mobile,callback:function(t){e.$set(e.address,"mobile",t)},expression:"address.mobile"}})],1),r("el-form-item",{attrs:{label:"地区",prop:"return_district"}},[r("area-select",{attrs:{width:"280px",province:e.address.province_id,city:e.address.city_id,district:e.address.district_id},on:{"update:province":function(t){return e.$set(e.address,"province_id",t)},"update:city":function(t){return e.$set(e.address,"city_id",t)},"update:district":function(t){return e.$set(e.address,"district_id",t)}}})],1),r("el-form-item",{attrs:{label:"详细地址",prop:"return_address"}},[r("el-input",{staticClass:"ls-input",attrs:{"show-word-limit":""},model:{value:e.address.address,callback:function(t){e.$set(e.address,"address",t)},expression:"address.address"}})],1)],1)],1)]],2),e.orderData.admin_order_btn.logistics_btn?r("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.toqueryDelivery()}}},[e._v("物流查询")]):e._e(),e.orderData.admin_order_btn.deliver_btn?r("el-button",{staticStyle:{"margin-left":"24px"},attrs:{size:"small m-l-24",type:"primary"},on:{click:function(t){return e.toDelivery()}}},[e._v("发货")]):e._e(),e.orderData.admin_order_btn.confirm_pay_btn?r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"确认付款",content:"确定确认付款吗?请谨慎操作"},on:{confirm:e.orderConfirmpay}},[r("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("确认付款")])],1):e._e(),e.orderData.admin_order_btn.confirm_btn?r("ls-dialog",{staticClass:"inline m-l-24",attrs:{title:"确认收货",content:"确定确认收货吗?请谨慎操作"},on:{confirm:e.orderConfirm}},[r("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("确认收货")])],1):e._e()],1)])])])]),r("section",[1==e.orderData.delivery_type?r("div",{staticClass:"ls-card m-t-24 flex flex-wrap col-stretch"},[r("div",{staticStyle:{width:"100%"}},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("物流信息")]),r("div",{staticClass:"flex col-top"},[r("div",{staticClass:"bold"},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"收货信息"}}),r("el-form-item",{attrs:{label:"收货人"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.contact))])]),r("el-form-item",{attrs:{label:"手机号码"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.mobile))])]),r("el-form-item",{attrs:{label:"收货地址"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.delivery_address))])])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"物流信息"}}),r("el-form-item",{attrs:{label:"配送方式"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.delivery_type_desc))])])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"买家信息"}}),r("el-form-item",{attrs:{label:"买家昵称"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.nickname)+" ("+e._s(e.orderData.user_sn)+")")])]),r("el-form-item",{attrs:{label:"联系电话"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.mobile))])])],1)],1)])])]):e._e(),2==e.orderData.delivery_type?r("div",{staticClass:"ls-card m-t-24 flex flex-wrap col-stretch",staticStyle:{height:"auto"}},[r("div",{staticStyle:{width:"100%"}},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("提货信息")]),r("div",{staticClass:"flex col-top"},[r("div",{staticClass:"bold"},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"门店信息"}}),r("el-form-item",{attrs:{label:"门店名称"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.selffetch_shop.name))])]),r("el-form-item",{attrs:{label:"联系人"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.selffetch_shop.contact))])]),r("el-form-item",{attrs:{label:"联系电话"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.selffetch_shop.mobile))])]),r("el-form-item",{attrs:{label:"门店地址"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.selffetch_shop.detailed_address))])])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"配送方式"}},[e._v("提货信息")]),r("el-form-item",{attrs:{label:"配送方式"}},[e._v("门店自提")]),r("el-form-item",{attrs:{label:"提货状态"}},[e._v(" "+e._s(0==e.orderData.verification_status?"待核销":"已核销"))]),r("el-form-item",{attrs:{label:"核销码"}},[e._v(e._s(e.orderData.pickup_code))]),r("el-form-item",{attrs:{label:"自提门店"}},[e._v(e._s(e.orderData.selffetch_shop.name))]),r("el-form-item",{attrs:{label:"提货时间"}},[e._v(e._s(e.orderData.verification_time||"-"))])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"买家信息"}}),r("el-form-item",{attrs:{label:"买家昵称"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.nickname)+" ("+e._s(e.orderData.user_sn)+")")])]),r("el-form-item",{attrs:{label:"联系电话"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.mobile))])])],1)],1)])])]):e._e(),4==e.orderData.delivery_type?r("div",{staticClass:"ls-card m-t-24 flex flex-wrap col-stretch"},[r("div",{staticStyle:{width:"100%"}},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("物流信息")]),r("div",{staticClass:"flex col-top"},[r("div",{staticClass:"bold"},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"收货信息"}}),r("el-form-item",{attrs:{label:"收货人"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.contact))])]),r("el-form-item",{attrs:{label:"手机号码"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.mobile))])]),r("el-form-item",{attrs:{label:"收货地址"}},[r("div",{staticClass:" "},[e._v(e._s(e.expressInfo.delivery_address))])])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"物流信息"}}),r("el-form-item",{attrs:{label:"配送方式"}},[e._v(" 虚拟发货")]),e.orderData.delivery_content||e.orderData.delivery_content1.length?r("el-form-item",{attrs:{label:"发货内容"}},[r("ls-dialog",{staticClass:"inline",attrs:{title:"发货内容",width:"20vw"}},[r("template",{slot:"trigger"},[r("el-button",{attrs:{type:"text"}},[e._v("查看详情")])],1),r("div",[0==e.orderData.delivery_content_type?r("div",{staticStyle:{"word-break":"break-all"}},[e._v(" "+e._s(e.orderData.delivery_content)+" ")]):e._e(),1==e.orderData.delivery_content_type?r("div",{staticStyle:{"word-break":"break-all"}},e._l(e.orderData.delivery_content1,(function(t){return r("div",{key:t.name},[r("span",[e._v(e._s(t.name)+" : ")]),r("span",{staticClass:"m-l-15"},[e._v(e._s(t.content))])])})),0):e._e()])],2)],1):e._e(),r("el-form-item",{attrs:{label:"发货时间"}},[e._v(" "+e._s(e.orderData.express_time||"-"))])],1)],1),r("div",{staticClass:"bold",staticStyle:{"margin-left":"20vw"}},[r("el-form",{ref:"form",staticClass:"flex-col m-t-24",attrs:{model:e.orderData,size:"small",inline:"","label-width":"120px"}},[r("el-form-item",{attrs:{label:"买家信息"}}),r("el-form-item",{attrs:{label:"买家昵称"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.nickname)+" ("+e._s(e.orderData.user_sn)+")")])]),r("el-form-item",{attrs:{label:"联系电话"}},[r("div",{staticClass:" "},[e._v(e._s(e.orderData.mobile))])])],1)],1)])])]):e._e(),e.orderData.express_parcel.length?r("div",{staticClass:"ls-card m-t-24 flex flex-wrap col-stretch",staticStyle:{height:"auto"}},[r("div",{staticStyle:{width:"100%"}},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("包裹信息")]),e._l(e.orderData.express_parcel,(function(t,s){return r("div",{key:t.id},[1==t.send_type?r("div",{staticClass:"parcel-header"},[r("span",[e._v(" 包裹"+e._s(s+1)+" ")]),r("span",{staticClass:"m-l-44"},[e._v(" "+e._s(t.express_name))]),r("span",{staticClass:"m-l-44"},[e._v(" 运单号码:"+e._s(t.invoice_no))]),r("span",{staticClass:"m-l-44"},[e._v(" 发货时间:"+e._s(t.create_time)+" ")])]):e._e(),2==t.send_type?r("div",{staticClass:"parcel-header"},[r("span",[e._v(" 无需物流 ")]),r("span",{staticClass:"m-l-44"},[e._v(" 发货时间:"+e._s(t.create_time))])]):e._e(),r("div",{staticClass:"p-14 flex"},e._l(t.order_goods_info,(function(t,s){return r("div",{key:s,staticClass:"flex",staticStyle:{width:"30%"}},[r("el-image",{staticClass:"flex-none",staticStyle:{width:"78px",height:"78px"},attrs:{src:t.goods_image}}),r("div",{staticClass:"flex-col row-around m-l-10",staticStyle:{height:"78px"}},[r("div",{staticClass:"line-2"},[e._v(" "+e._s(t.goods_name)+" ")]),r("div",{staticClass:"flex row-between"},[r("div",[e._v(" "+e._s(t.goods_price)+" ")]),r("div",[e._v("x"+e._s(t.delivery_num))])])])],1)})),0)])}))],2)]):e._e(),r("div",{staticClass:"ls-card m-t-24"},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("商品信息")]),r("el-table",{ref:"paneTable",staticStyle:{width:"100%"},attrs:{data:e.orderData.order_goods,"header-cell-style":{background:"#f5f8ff",border:"none",color:"#666666",height:"60px",width:"100%"},size:"mini","summary-method":e.getSummaries}},[r("el-table-column",{attrs:{prop:"code",label:"商品编码","min-width":"120"}}),r("el-table-column",{attrs:{label:"商品信息","min-width":"240"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"flex m-t-10"},[r("el-image",{staticClass:"flex-none",staticStyle:{width:"58px",height:"58px"},attrs:{src:t.row.goods_image}}),r("div",{staticClass:"m-l-8 flex-1"},[r("div",{staticClass:"line-2"},[e._v(e._s(t.row.goods_name))]),t.row.supplier_name?r("div",{staticClass:"line-2 muted"},[e._v(" 供应商:"+e._s(t.row.supplier_name)+" ")]):e._e(),r("div",{staticClass:"xs muted"},[e._v(" "+e._s(t.row.spec_value_str)+" "),t.row.goods_snap.bar_code?r("span",[e._v(" ("+e._s(t.row.goods_snap.bar_code)+") ")]):e._e()])])],1)]}}])}),r("el-table-column",{attrs:{prop:"original_price",label:"商品价格","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==e.orderData.order_type||2==e.orderData.order_type||3==e.orderData.order_type||5==e.orderData.order_type?r("span",[e._v("¥"+e._s(t.row.goods_price))]):e._e(),0==e.orderData.order_type||4==e.orderData.order_type?r("span",[e._v("¥"+e._s(t.row.original_price))]):e._e()]}}])}),r("el-table-column",{attrs:{prop:"goods_num",label:"购买数量","min-width":"80"}}),r("el-table-column",{attrs:{label:"商品总额",prop:"total_amount","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==e.orderData.order_type||4==e.orderData.order_type?r("span",[e._v("¥"+e._s(t.row.total_amount))]):e._e(),1==e.orderData.order_type||2==e.orderData.order_type||3==e.orderData.order_type||5==e.orderData.order_type?r("span",[e._v("¥"+e._s(t.row.total_price))]):e._e()]}}])}),r("el-table-column",{attrs:{prop:"change_price","min-width":"120"},scopedSlots:e._u([{key:"header",fn:function(t){return[r("span",{staticClass:"m-r-5"},[e._v(" 商品改价")]),e.orderData.admin_order_btn.price_btn?r("el-popover",{attrs:{placement:"top",trigger:"hover"}},[r("div",[e._v("负数代表扣减金额")]),r("i",{staticClass:"el-icon-question pointer muted",attrs:{slot:"reference"},slot:"reference"})]):e._e()]}},{key:"default",fn:function(t){return[r("span",[e._v("¥"+e._s(t.row.change_price))]),e.orderData.admin_order_btn.price_btn?r("el-popover",{attrs:{placement:"top",title:"",width:"300",trigger:"hover"}},[r("i",{staticClass:"el-icon-edit primary m-l-30 lg",attrs:{slot:"reference"},slot:"reference"}),r("div",{staticClass:"flex"},[r("el-input",{staticClass:"m-r-24",staticStyle:{width:"188px"},attrs:{placeholder:"请输入要调整金额"},model:{value:e.goods_price,callback:function(t){e.goods_price=t},expression:"goods_price"}}),r("el-button",{staticClass:"m-l-24",attrs:{size:"small",type:"primary"},on:{click:function(r){return e.orderChangeGoodsPrice(t.row.id)}}},[e._v("修改价格")])],1)]):e._e()]}}])}),r("el-table-column",{attrs:{label:"商品实付总额",prop:"total_pay_price","min-width":"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v("¥"+e._s(t.row.total_pay_price))]),r("div",{staticClass:"xs muted"},[e._v(" (含运费:"+e._s(t.row.express_price)+") "),e.orderData.admin_order_btn.express_btn?r("el-popover",{attrs:{placement:"top",title:"",width:"300",trigger:"hover"}},[r("i",{staticClass:"el-icon-edit primary lg",attrs:{slot:"reference"},slot:"reference"}),r("div",{staticClass:"flex"},[r("el-input",{staticClass:"m-r-24",staticStyle:{width:"188px"},attrs:{placeholder:"请输入要调整的运费"},model:{value:e.express_price,callback:function(t){e.express_price=t},expression:"express_price"}}),r("el-button",{staticClass:"m-l-24",attrs:{size:"small",type:"primary"},on:{click:function(r){return e.orderChangeExpress(t.row.id)}}},[e._v("修改运费")])],1)]):e._e()],1),r("div",{staticClass:"xs muted"},[e._v(" (含优惠:"+e._s(e.getDiscountPrice(t.row))+") "),r("el-popover",{attrs:{placement:"top",trigger:"hover"}},[r("div",[e._v("优惠券抵扣:-¥"+e._s(t.row.coupon_discount))]),r("div",[e._v("会员折扣:-¥"+e._s(t.row.member_discount))]),r("i",{staticClass:"el-icon-question pointer",attrs:{slot:"reference"},slot:"reference"})])],1)]}}])}),r("el-table-column",{attrs:{label:"售后状态",prop:"after_sale_status_desc","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{color:"#f2a626"}},[e._v(e._s(t.row.after_sale_status_desc))])]}}])})],1),r("div",{staticClass:"flex col-bottom flex-col"},[r("div",{staticClass:"item"},[r("span",{},[e._v("商品总额:")]),r("span",[e._v("¥"+e._s(e.goods_total_price))])]),r("div",{staticClass:"item"},[r("span",{staticClass:"m-r-25"},[e._v("运费金额:")]),r("div",[r("span",[e._v("¥"+e._s(e.orderData.express_price))])])]),r("div",{staticClass:"item"},[r("span",[e._v("优惠金额:")]),r("span",{staticStyle:{color:"red"}},[e._v("-¥"+e._s(e.orderData.total_discount))])]),r("div",{staticClass:"item"},[r("span",[e._v("商品改价:")]),r("span",[e._v("¥"+e._s(e.orderData.change_price||"0.00"))])]),r("div",{staticClass:"item"},[r("span",[e._v("订单实付金额:")]),r("span",{staticClass:"xl"},[e._v("¥"+e._s(e.orderData.order_amount))])])])],1)]),r("footer",{staticClass:"flex col-top"},[r("div",{staticClass:"ls-card m-t-24"},[r("div",{staticClass:"nr weight-500 m-b-20 title"},[e._v("订单日志")]),r("el-table",{ref:"paneTable",staticStyle:{width:"100%"},attrs:{data:e.orderData.order_log,size:"mini"}},[r("el-table-column",{attrs:{label:"操作人",prop:"operator",width:"155"}}),r("el-table-column",{attrs:{prop:"channel_desc",label:"操作事件","min-width":"220"}}),r("el-table-column",{attrs:{prop:"create_time",label:"操作时间","min-width":"180"}})],1)],1)])])}),[],!1,null,"e866fe50",null);t.default=m.exports},a573:function(e,t,r){"use strict";r("ab43")},ab43:function(e,t,r){"use strict";var s=r("23e7"),a=r("d024");s({target:"Iterator",proto:!0,real:!0,forced:r("c430")},{map:a})},d024:function(e,t,r){"use strict";var s=r("c65b"),a=r("59ed"),i=r("825a"),l=r("46c4"),o=r("c5cc"),n=r("9bdd"),d=o((function(){var e=this.iterator,t=i(s(this.next,e));if(!(this.done=!!t.done))return n(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return i(this),a(e),new d(l(this),{mapper:e})}},e9dd:function(e,t,r){},ffae:function(e,t,r){"use strict";r("14d9"),r("0643"),r("2382"),r("fffc"),r("9a9a");var s=r("9ab4"),a=r("1b40"),i=r("192a");let l=class extends a.e{constructor(){super(...arguments),this.visible=!1,this.fullscreenLoading=!1,this.orderData={traces:{}},this.form={send_type:1,express_id:"",invoice_no:"",remark:"",delivery_content:"",delivery_content_type:"0",delivery_content1:[],pay_way:""}}getOrderDeliveryInfo(){Object(i.u)({id:this.id}).then(e=>{this.orderData=e,this.form.delivery_content=e.delivery_content,this.fullscreenLoading=!1})}getOrderLogistics(){Object(i.y)({id:this.id}).then(e=>{this.orderData=e,this.fullscreenLoading=!1})}handleAdd(){this.form.delivery_content1.push({name:"",content:""})}handleDel(e){this.form.delivery_content1=this.form.delivery_content1.filter((t,r)=>r!=e)}orderDelivery(){4==this.orderData.order_type&&(this.form={delivery_content_type:this.form.delivery_content_type,delivery_content:this.form.delivery_content,delivery_content1:this.form.delivery_content1}),Object(i.t)({id:this.id,...this.form}).then(e=>{this.$emit("update","")})}handleEvent(e){if("cancel"===e&&this.close(),"confirm"===e){if(this.hasInAfterSalesGoods())return;if(this.flag)if(4==this.orderData.order_type){const e=this.form.delivery_content1.some(e=>""==e.name||""==e.content);if(""==this.form.delivery_content.trim()&&e)return this.$message.error("请输入发货内容")}else if(1==this.form.send_type){if(""==this.form.express_id)return this.$message.error("请选择快递公司");if(""==this.form.invoice_no)return this.$message.error("请填写快递单号")}if(2==this.orderData.pay_way&&1==this.form.send_type&&4!=this.orderData.order_type&&this.checkExpress())return;this.orderDelivery(),this.close()}}async handlesendChange(){try{if(1==this.form.send_type){if(""==this.form.express_id)return this.$message.error("请选择快递公司");if(""==this.form.invoice_no)return this.$message.error("请填写快递单号");const e=this.orderData.express.find(e=>e.id==this.form.express_id);await this.$confirm("仅允许修改一次发货信息,请确认快递信息:"+e.name+"-"+this.form.invoice_no),await Object(i.o)({id:this.id,...this.form})}else 2==this.form.send_type&&(await this.$confirm("仅允许修改一次发货信息,是否修改为无需快递"),this.form={express_id:"",invoice_no:"",delivery_content:this.form.delivery_content},await Object(i.o)({id:this.id,...this.form}))}catch(e){}this.close(),this.$emit("update","")}onTrigger(){this.fullscreenLoading=!0,1==this.flag?this.getOrderDeliveryInfo():this.getOrderLogistics(),this.visible=!0}close(){this.visible=!1}handleChange(e){this.form.delivery_content=e.trim()}checkExpress(){let e=this.orderData.express.find(e=>e.id==this.form.express_id);return""==e.code&&(this.$alert('<div>所选的物流公司未填写:<span style="color: red">快递编码</span>,将会影响同步微信小程序发货信息的录入,是否继续发货?</div>',"温馨提示",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!1,showCancelButton:!0,cancelButtonText:"继续发货",confirmButtonText:"前往设置",showClose:!1}).then(()=>{this.toexpress(e.id)}).catch(()=>{this.orderDelivery(),this.close()}),!0)}hasInAfterSalesGoods(){let e=this.orderData.order_goods.filter(e=>1===e.after_sale_status);return!!e.length&&(this.$alert(`<div>商品:<span style="color: red">${e[0].goods_name} </span>当前处于售后中,请前往处理</div>`,"温馨提示",{dangerouslyUseHTMLString:!0,distinguishCancelAndClose:!0,showCancelButton:!0,confirmButtonText:"前往处理"}).then(()=>{this.toAfterSalesDetail(e[0].after_sale_id)}).catch(()=>{}),!0)}toAfterSalesDetail(e){this.close(),this.$router.push({path:"/order/after_sales_detail",query:{id:e}})}toexpress(e){this.close(),this.$router.push({path:"/setting/delivery/express_edit",query:{id:e}})}};Object(s.a)([Object(a.c)({default:"5vh"})],l.prototype,"top",void 0),Object(s.a)([Object(a.c)({default:"0"})],l.prototype,"id",void 0),Object(s.a)([Object(a.c)({default:!0})],l.prototype,"flag",void 0),Object(s.a)([Object(a.c)({default:""})],l.prototype,"isShow",void 0),Object(s.a)([Object(a.c)()],l.prototype,"orderType",void 0),Object(s.a)([Object(a.c)({default:0})],l.prototype,"express_again",void 0),l=Object(s.a)([a.a],l);var o=l,n=(r("5016"),r("2877")),d=Object(n.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"ls-dialog__trigger",on:{click:e.onTrigger}},[e._t("trigger")],2),r("el-dialog",{attrs:{"coustom-class":"ls-dialog__content",title:1==e.flag?"发货":"物流查询",visible:e.visible,width:"60vw",top:e.top,"append-to-body":!0,center:"","before-close":e.close,"close-on-click-modal":!1}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:0==e.orderData.length,expression:"orderData.length == 0"}],staticStyle:{height:"70vh","overflow-x":"hidden"}},[r("div",[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("商品信息")]),r("el-table",{ref:"paneTable1",attrs:{data:e.orderData.order_goods,size:"mini"}},[r("el-table-column",{attrs:{label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"flex m-t-10"},[r("el-image",{staticClass:"flex-none",staticStyle:{width:"58px",height:"58px"},attrs:{src:t.row.goods_image}}),r("div",{staticClass:"m-l-8 flex-1"},[r("div",{staticClass:"line-2"},[e._v(e._s(t.row.goods_name))])])],1)]}}])}),r("el-table-column",{attrs:{prop:"spec_value_str",label:"商品规格","min-width":"150"}}),r("el-table-column",{attrs:{prop:"goods_num",label:"购买数量","min-width":"120"}}),r("el-table-column",{attrs:{prop:"after_sale_status_desc",label:"售后状态","min-width":"120"}})],1)],1),1==e.flag?r("div",{staticClass:"m-t-30"},[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("收货信息")]),r("div",{staticClass:"flex"},[r("div",{staticClass:"m-r-24"},[e._v("收货人: "+e._s(e.orderData.contact))]),r("div",{staticClass:"m-r-24"},[e._v("收货人手机号码: "+e._s(e.orderData.mobile))]),r("div",{staticClass:"m-r-24"},[e._v("收货人地址: "+e._s(e.orderData.delivery_address))])])]):e._e(),1==e.flag?r("div",{staticClass:"m-t-30"},[4==e.orderType?[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("商品发货")]),r("el-form",{ref:"form",attrs:{model:e.form,size:"small","label-width":"80px"}},[r("el-form-item",{attrs:{label:"发货类型"}},[r("el-radio-group",{model:{value:e.form.delivery_content_type,callback:function(t){e.$set(e.form,"delivery_content_type",t)},expression:"form.delivery_content_type"}},[r("el-radio",{attrs:{label:"0"}},[e._v("固定内容")]),r("el-radio",{attrs:{label:"1"}},[e._v("自定义内容")])],1)],1),r("el-form-item",{attrs:{label:"发货内容"}},[0==e.form.delivery_content_type?r("el-input",{staticClass:"m-t-10",staticStyle:{"max-width":"520px",width:"100%"},attrs:{type:"textarea",rows:7,placeholder:"请输入内容"},on:{change:e.handleChange},model:{value:e.form.delivery_content,callback:function(t){e.$set(e.form,"delivery_content",t)},expression:"form.delivery_content"}}):r("div",[r("el-table",{ref:"table",attrs:{size:"mini",data:e.form.delivery_content1}},[r("el-table-column",{attrs:{label:"名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-input",{attrs:{placeholder:"请输入"},model:{value:t.row.name,callback:function(r){e.$set(t.row,"name",r)},expression:"scope.row.name"}})]}}],null,!1,3954185638)}),r("el-table-column",{attrs:{label:"内容"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-input",{attrs:{placeholder:"请输入"},model:{value:t.row.content,callback:function(r){e.$set(t.row,"content",r)},expression:"scope.row.content"}})]}}],null,!1,185179560)}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"danger"},on:{click:function(r){return e.handleDel(t.$index)}}},[e._v("删除")])]}}],null,!1,3531492676)})],1),r("el-button",{attrs:{type:"text"},on:{click:e.handleAdd}},[e._v("添加字段")])],1)],1)],1)]:[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("物流配送")]),r("el-form",{ref:"form",attrs:{model:e.form,"label-width":"80px",size:"small"}},[r("el-form-item",{attrs:{label:"配送方式"}},[r("el-radio",{attrs:{label:1},model:{value:e.form.send_type,callback:function(t){e.$set(e.form,"send_type",t)},expression:"form.send_type"}},[e._v("需要物流")]),r("el-radio",{attrs:{label:2},model:{value:e.form.send_type,callback:function(t){e.$set(e.form,"send_type",t)},expression:"form.send_type"}},[e._v("无需物流")])],1),1==e.form.send_type?r("el-form-item",{attrs:{label:"物流公司"}},[r("el-input",{staticStyle:{"max-width":"520px",width:"100%"},attrs:{placeholder:"请输入快递单号"},model:{value:e.form.invoice_no,callback:function(t){e.$set(e.form,"invoice_no",t)},expression:"form.invoice_no"}},[r("template",{slot:"prepend"},[r("div",[r("el-select",{staticStyle:{width:"120px"},attrs:{placeholder:"请选择"},model:{value:e.form.express_id,callback:function(t){e.$set(e.form,"express_id",t)},expression:"form.express_id"}},e._l(e.orderData.express,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)])],2)],1):e._e(),r("el-form-item",{attrs:{label:"发货备注"}},[r("el-input",{staticClass:"m-t-10",staticStyle:{"max-width":"520px",width:"100%"},attrs:{type:"textarea",rows:7,placeholder:"请输入内容"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)]],2):e._e(),0==e.flag?r("div",{staticClass:"m-t-30"},[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("物流信息")]),r("div",{staticClass:"flex"},[r("div",{staticClass:"m-r-24"},[e._v("发货时间: "+e._s(e.orderData.express_time))]),r("div",{staticClass:"m-r-24"},[e._v("物流公司: "+e._s(e.orderData.express_name||"无"))]),r("div",{staticClass:"m-r-24"},[e._v("物流单号 "+e._s(e.orderData.invoice_no||"无"))])])]):e._e(),0==e.flag?r("div",{staticClass:"m-t-30"},[r("div",{staticClass:"nr weight-500 m-b-20"},[e._v("物流轨迹")]),1==e.orderData.send_type?r("div",[r("el-table",{ref:"paneTable",staticStyle:{width:"100%"},attrs:{data:e.orderData.traces,size:"mini"}},[r("el-table-column",{attrs:{label:"日期",prop:"0","min-width":"205"}}),r("el-table-column",{attrs:{label:"轨迹",prop:"1","min-width":"405"}})],1)],1):r("div",{staticClass:"nr weight-500 m-t-60 flex row-center"},[e._v("无需物流")])]):e._e()]),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{size:"small"},on:{click:function(t){return e.handleEvent("cancel")}}},[e._v("取消")]),1==e.flag&&0==e.express_again?r("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.handleEvent("confirm")}}},[e._v("发货")]):e._e(),1==e.flag&&1==e.express_again?r("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.handlesendChange}},[e._v("重新发货")]):e._e(),0==e.flag&&0==e.express_again?r("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.handleEvent("cancel")}}},[e._v("确认")]):e._e()],1)])],1)}),[],!1,null,null,null);t.a=d.exports}}]);