(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f9774d2a"],{1283:function(t,e,a){"use strict";var s=a("e76a");a.n(s).a},"14e3":function(t,e,a){},"2dfc":function(t,e,a){"use strict";var s=a("3443");a.n(s).a},"31b4":function(t,e,a){"use strict";var s=a("9860"),i=a.n(s),r=a("b6bd"),n=a("2f62");function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var d={name:"edit",components:{formCreate:i.a.$form()},computed:function(t){for(var e=1;e=2?s("Button",{on:{click:function(e){return t.changeMenu("10")}}},[t._v("小票打印")]):t._e(),t.orderData._status_new>=3&&t.orderData.express_dump?s("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:function(e){return t.changeMenu("11")}}},[t._v("电子面单打印\n ")]):t._e(),t.orderData.kuaidi_label?s("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:function(e){return t.changeMenu("13")}}},[t._v("快递面单打印\n\t\t\t ")]):t._e(),[1,2,5].includes(t.orderData.refund_type)&&(parseFloat(t.orderData.pay_price)>parseFloat(t.orderData.refunded_price)||0==t.orderData.pay_price)&&!t.formType?s("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:function(e){return t.changeMenu("5")}}},[t._v(t._s(2==t.orderData.refund_type?"同意退货":"立即退款")+"\n ")]):t._e(),[1,2,5].includes(t.orderData.refund_type)?s("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:function(e){return t.changeMenu("7")}}},[t._v("不退款\n ")]):t._e(),t.formType?t._e():s("Button",{on:{click:function(e){return t.changeMenu("4")}}},[t._v("售后备注")]),1==t.orderData.is_del?s("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:function(e){return t.changeMenu("9")}}},[t._v("删除订单\n ")]):t._e(),1!==t.orderData._status_new&&t.formType?s("Dropdown",{on:{"on-click":t.changeMenu}},[s("Button",{attrs:{icon:"ios-more"}}),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[1!==t.orderData._status_new||3===t.orderData._status_new&&t.orderData.use_integral>0&&t.orderData.use_integral>=t.orderData.back_integral?s("DropdownItem",{attrs:{name:"4"}},[t._v("订单备注\n ")]):t._e(),0!=t.orderData.refund_type&&1!=t.orderData.refund_type&&4!=t.orderData.refund_type&&6!=t.orderData.refund_type&&5!=t.orderData.refund_type||1!=t.orderData.paid||2===t.orderData.refund_status||!(parseFloat(t.orderData.pay_price)>0)||t.rowActive.split.length&&!t.rowActive.split.length||-1===t.orderData.pid?t._e():s("DropdownItem",{attrs:{disabled:t.openErp,name:"5"}},[t._v("立即退款\n ")]),4===t.orderData._status_new?s("DropdownItem",{attrs:{disabled:t.openErp,name:"8"}},[t._v("已收货")]):t._e(),t.orderData.paid?s("DropdownItem",{attrs:{name:"12"}},[t._v("打印配货单")]):t._e()],1)],1):t._e()],1):t._e()],1),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("订单状态")]),t.formType?s("div",{staticClass:"value1"},[s("span",{domProps:{innerHTML:t._s(t.orderData.status_name.status_name)}}),!t.orderData.is_all_refund&&t.orderData.refund.length?s("span",[t._v(",部分退款中")]):t._e(),t.orderData.is_all_refund&&t.orderData.refund.length&&6!=t.orderData.refund_type?s("span",[t._v(",退款中")]):t._e()]):s("div",[1==t.orderData.refund_type?s("div",{staticClass:"value1"},[t._v("\n 仅退款\n ")]):2==t.orderData.refund_type?s("div",{staticClass:"value1"},[t._v("\n 退货退款\n ")]):3==t.orderData.refund_type?s("div",{staticClass:"value1"},[t._v("\n 拒绝退款\n ")]):4==t.orderData.refund_type?s("div",{staticClass:"value1"},[t._v("\n 商品待退货\n ")]):5==t.orderData.refund_type?s("div",{staticClass:"value1"},[t._v("\n 退货待收货\n ")]):6==t.orderData.refund_type?s("div",{staticClass:"value2"},[t._v("\n 已退款\n ")]):t._e()])]),t.orderData.orderStatus?s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("主订单状态")]),s("div",[s("div",[t._v("\n "+t._s(t.orderData.orderStatus._title)+"\n ")])])]):t._e(),s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("实际支付")]),s("div",[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.paid>0?t.orderDatalist.orderInfo.pay_price:0)+"\n ")])]),t.formType?s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("支付方式")]),s("div",[t._v(t._s(t.orderDatalist.orderInfo._status._payType||"-"))])]):s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("退款件数")]),s("div",[t._v(t._s(t.orderDatalist.orderInfo.total_num||0))])]),t.formType?s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("支付时间")]),s("div",[t._v(t._s(t.orderDatalist.orderInfo._pay_time||"-"))])]):s("li",{staticClass:"item"},[s("div",{staticClass:"title"},[t._v("退款时间")]),s("div",[t._v(t._s(t.orderDatalist.orderInfo._refund_time||"-"))])])])]),s("Tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[s("TabPane",{attrs:{label:"订单信息",name:"detail"}},[t.formType?t._e():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.refund_reason||"-")+"\n ")])]),parseFloat(t.orderDatalist.orderInfo.refund_price)||parseFloat(t.orderDatalist.orderInfo.refunded_price)?s("li",{staticClass:"item"},[s("div",[t._v("退款金额:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(parseFloat(t.orderDatalist.orderInfo.refunded_price)?parseFloat(t.orderDatalist.orderInfo.refunded_price):parseFloat(t.orderDatalist.orderInfo.refund_price)||0)+"\n ")])]):t._e(),parseFloat(t.orderDatalist.orderInfo.back_integral)?s("li",{staticClass:"item"},[s("div",[t._v("退回积分:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(parseFloat(t.orderDatalist.orderInfo.back_integral)||"-")+"\n ")])]):t._e(),s("li",{staticClass:"item"},[s("div",[t._v("退款说明:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.refund_explain||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("退款凭证:")]),s("div",{staticClass:"value"},t._l(t.orderDatalist.orderInfo.refund_img,(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)])])]),!t.formType&&t.orderDatalist.orderInfo.refund_express_name?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.refund_express_name||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("物流单号:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.refund_express||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("联系电话:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.refund_phone||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("退货说明:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.refund_goods_explain||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("退货凭证:")]),s("div",{staticClass:"value"},t._l(t.orderDatalist.orderInfo.refund_goods_img,(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)])])]):t._e(),s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("用户信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",[t._v("用户UID:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.userInfo.uid?t.orderDatalist.userInfo.uid:"游客")+"\n ")])]),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("\n "+t._s(t.orderDatalist.userInfo.phone||"-")+"\n ")])])])]),0==t.orderDatalist.orderInfo.product_type?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("收货信息")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",{staticClass:"value"},[t._v("\n 收货人:"+t._s(t.orderDatalist.orderInfo.real_name||"-")+"\n ")])])]),s("ul",{staticClass:"list"},[s("li",{staticClass:"mt10"},[s("div",{staticClass:"value"},[t._v("\n 收货电话:"+t._s(t.orderDatalist.orderInfo.user_phone||"-")+"\n ")])])]),s("ul",{staticClass:"list"},[s("li",{staticClass:"mt10"},[s("div",{staticClass:"value"},[t._v("\n 收货地址:"+t._s(t.orderDatalist.orderInfo.user_address||"-")+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.fictitious_content&&1!=t.orderDatalist.orderInfo.cartInfo[0].product_type?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("虚拟发货")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.fictitious_content)+"\n ")])])])]):t._e(),1==t.orderDatalist.orderInfo.cartInfo[0].product_type?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("卡密发货")]),t.orderDatalist.orderInfo.virtual.length?s("div",t._l(t.orderDatalist.orderInfo.virtual,(function(e,a){return s("div",{key:a,staticClass:"list"},[s("div",{staticClass:"item"},[s("div",[t._v("卡号"+t._s(a+1)+":")]),s("div",{staticClass:"value"},[t._v(t._s(e.card_no))])]),s("div",{staticClass:"item"},[s("div",[t._v("密码"+t._s(a+1)+":")]),s("div",{staticClass:"value"},[t._v(t._s(e.card_pwd))])])])})),0):s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.virtual_info||"-")+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.supplierInfo?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.supplierInfo.supplier_name?t.orderDatalist.orderInfo.supplierInfo.supplier_name:"游客")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("供应商姓名:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.supplierInfo.name?t.orderDatalist.orderInfo.supplierInfo.name:"游客")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("联系方式:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.supplierInfo.phone||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("供应商邮箱:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.supplierInfo.email||"-")+"\n ")])])])]):t._e(),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._add_time||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("商品总数:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.total_num||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("商品总价:")]),s("div",{staticClass:"value"},[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.total_price||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("优惠券金额:")]),s("div",{staticClass:"value"},[t._v("\n ¥"+t._s(t.orderDatalist.orderInfo.coupon_price||"-")+"\n ")])]),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("\n ¥"+t._s(t.orderDatalist.orderInfo.pay_postage||"-")+"\n ")])]),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("\n "+t._s(t.orderDatalist.orderInfo._store_name||"-")+"\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("\n "+t._s(t.orderDatalist.orderInfo.verify_code||"-")+"\n ")])]):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("\n "+t._s(t.orderDatalist.orderInfo._pay_time||"-")+"\n ")])]),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("\n "+t._s(t.orderDatalist.orderInfo.store_order_sn)+"\n ")])]):t._e(),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("\n ¥"+t._s(parseFloat(e.promotions_price).toFixed(2))+"\n ")])])}))],2)]),"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("\n "+t._s(t.orderDatalist.orderInfo.delivery_id||"-")+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.custom_form.length&&t.isShow?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 e.value&&-1==["uploadPicture","dateranges"].indexOf(e.name)||e.value.length&&-1!=["uploadPicture","dateranges"].indexOf(e.name)?s("li",{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||"-"))])]):t._e()})),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"},[s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.mark||"-")+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.remark?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.remark||"-")+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.refuse_reason?s("div",{staticClass:"section"},[s("div",{staticClass:"title"},[t._v("拒绝退款原因")]),s("ul",{staticClass:"list"},[s("li",{staticClass:"item"},[s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.refuse_reason)+"\n ")])])])]):t._e(),t.orderDatalist.orderInfo.invoice?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._f("invoiceType")(t.orderDatalist.orderInfo.invoice.type))+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("抬头类型:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t._f("invoiceHeaderType")(t.orderDatalist.orderInfo.invoice.header_type))+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("发票抬头:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.name||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("税号:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.duty_number||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("邮箱:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.email||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("开户银行:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.bank||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("企业地址:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.address||"-")+"\n ")])]),s("li",{staticClass:"item"},[s("div",[t._v("企业电话:")]),s("div",{staticClass:"value"},[t._v("\n "+t._s(t.orderDatalist.orderInfo.invoice.drawer_phone||"-")+"\n ")])])])]):t._e()]),s("TabPane",{attrs:{label:"商品信息",name:"product"}},[s("Table",{attrs:{columns:t.columns1,data:t.orderDatalist.orderInfo.cartInfo,"highlight-row":""},scopedSlots:t._u([{key:"product",fn:function(e){var a=e.row;return[s("Tooltip",{attrs:{theme:"dark","max-width":"300",delay:600}},[s("div",{staticClass:"product"},[s("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"image"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.productInfo.attrInfo?a.productInfo.attrInfo.image:a.productInfo.image,expression:"row.productInfo.attrInfo ? row.productInfo.attrInfo.image : row.productInfo.image"}]})]),s("div",{staticClass:"title"},[s("div",{staticClass:"line2"},[a.is_gift?s("span",{staticClass:"font-color-red"},[t._v("[赠品]")]):t._e(),t._v("\n "+t._s(a.productInfo.store_name)+" | "+t._s(a.productInfo.attrInfo?a.productInfo.attrInfo.suk:"")+"\n ")])])]),s("div",{attrs:{slot:"content"},slot:"content"},[s("div",[a.is_gift?s("p",{staticClass:"font-color-red"},[t._v("[赠品]")]):t._e(),s("p",[t._v(t._s(a.productInfo.store_name))]),s("p",[t._v(t._s(a.productInfo.attrInfo?a.productInfo.attrInfo.suk:""))])])])])]}}],null,!1,983416924)})],1),s("TabPane",{attrs:{label:"订单记录",name:"record"}},[s("Table",{attrs:{columns:t.columns2,data:t.recordData,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"}})],1),t.splitList.length?s("TabPane",{attrs:{label:"发货记录",name:"recordList"}},[s("Table",{attrs:{columns:t.columnSplit,data:t.splitList,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"order_id",fn:function(e){var a=e.row;return[s("div",[t._v(t._s(a.order_id))]),a.supplier_name?s("span",{staticClass:"supplierName"},[t._v("["+t._s(a.supplier_name)+"]")]):t._e(),a.store_name?s("span",{staticClass:"supplierName"},[t._v("["+t._s(a.store_name)+"]")]):t._e()]}},{key:"product",fn:function(e){var a=e.row;return[s("Tooltip",{attrs:{theme:"dark","max-width":"300",delay:600}},[t._l(a._info,(function(e,a){return s("div",{key:a,staticClass:"product productTime"},[s("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"image"},[s("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.cart_info.productInfo.attrInfo?e.cart_info.productInfo.attrInfo.image:e.cart_info.productInfo.image,expression:"j.cart_info.productInfo.attrInfo ? j.cart_info.productInfo.attrInfo.image : j.cart_info.productInfo.image"}]})]),s("div",{staticClass:"title"},[s("div",{staticClass:"line2"},[e.cart_info.is_gift?s("span",{staticClass:"font-color-red"},[t._v("[赠品]")]):t._e(),t._v("\n "+t._s(e.cart_info.productInfo.store_name)+" | "+t._s(e.cart_info.productInfo.attrInfo?e.cart_info.productInfo.attrInfo.suk:"")+"\n ")])])])})),s("div",{attrs:{slot:"content"},slot:"content"},t._l(a._info,(function(e,a){return s("div",{key:a},[e.cart_info.is_gift?s("p",{staticClass:"font-color-red"},[t._v("[赠品]")]):t._e(),s("p",[t._v(t._s(e.cart_info.productInfo.store_name))]),s("p",[t._v(t._s(e.cart_info.productInfo.attrInfo?e.cart_info.productInfo.attrInfo.suk:""))]),s("p",{staticClass:"tabBox_pice"},[t._v(t._s("¥"+e.cart_info.sum_price+" x "+e.cart_info.cart_num))])])})),0)],2)]}},{key:"deliveryInfo",fn:function(e){var a=e.row;return[a.add_time?s("div",[s("span",[t._v("创建时间:")]),t._v(t._s(a.add_time))]):t._e(),a.delivery_time?s("div",[s("span",[t._v("发货时间:")]),t._v(t._s(a.delivery_time))]):t._e(),"express"==a.delivery_type||"send"==a.delivery_type||"fictitious"==a.delivery_type?s("div",[t._v("\n 发货方式:\n "),"express"==a.delivery_type?s("span",[t._v("物流发货")]):t._e(),"send"==a.delivery_type?s("span",[t._v("送货")]):t._e(),"fictitious"==a.delivery_type?s("span",[t._v("虚拟发货")]):t._e()]):t._e(),a.delivery_name?s("div",[t._v("\n 快递公司:"+t._s(a.delivery_name)+"\n ")]):t._e(),a.delivery_id?["express"==a.delivery_type?s("div",{on:{click:function(e){return t.openItemLogistics(a)}}},[t._v("\n 快递单号:"),s("span",{staticStyle:{color:"#1890ff",cursor:"pointer"}},[t._v(t._s(a.delivery_id))])]):t._e(),"send"==a.delivery_type?s("div",[t._v("\n 快递单号:"),s("span",{staticStyle:{color:"#1890ff"}},[t._v(t._s(a.delivery_id))])]):t._e()]:t._e()]}},{key:"action",fn:function(e){var a=e.row;return e.index,[2!==a._status||a.supplier_name?t._e():s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.distribution(a,1)}}},[t._v("分配")]),2!==a._status||a.supplier_name||0!=a.store_id?t._e():s("Divider",{attrs:{type:"vertical"}}),1===a._status?s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.edit(a,1)}}},[t._v("编辑")]):t._e(),2!==a._status&&8!==a._status&&4!==a.status||1!==a.shipping_type||null!==a.pinkStatus&&2!==a.pinkStatus||a.supplier_name||0!=a.store_id?t._e():s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.sendOrder(a,1)}}},[t._v("发送货")]),4!==a._status||a.split.length?t._e():s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.delivery(a,1)}}},[t._v("配送信息")]),4===a._status&&!a.split.length&&a.supplier_name&&0==a.store_id?s("Divider",{attrs:{type:"vertical"}}):t._e(),2==a.shipping_type&&0==a.status&&1==a.paid&&0===a.refund_status?s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.bindWrite(a,1)}}},[t._v("立即核销")]):t._e(),a.supplier_name&&"未发货"==a.status_name.status_name?s("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.btnClick(a)}}},[t._v("提醒发货")]):t._e(),1===a._status||(2===a._status||a.split.length)&&1===a.shipping_type&&(null===a.pinkStatus||2===a.pinkStatus)||4===a._status||2==a.shipping_type&&0==a.status&&1==a.paid&&0===a.refund_status||a.supplier_name&&a.supplier_name&&"未发货"==a.status_name.status_name?s("Divider",{attrs:{type:"vertical"}}):t._e(),[s("Dropdown",{attrs:{transfer:!0},on:{"on-click":function(e){return t.changeMenu("",a,e,1)}}},[s("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n 更多\n "),s("Icon",{attrs:{type:"ios-arrow-down"}})],1),s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1===a._status&&0===a.paid&&"offline"===a.pay_type,expression:"\n row._status === 1 &&\n row.paid === 0 &&\n row.pay_type === 'offline'\n "}],ref:"ones",attrs:{disabled:t.openErp,name:"1"}},[t._v("立即支付")]),s("DropdownItem",{attrs:{disabled:t.openErp,name:"3"}},[t._v("订单记录")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:a._status>=3&&a.express_dump,expression:"row._status >= 3 && row.express_dump"}],attrs:{disabled:t.openErp,name:"11"}},[t._v("电子面单打印")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:a._status>=2,expression:"row._status >= 2"}],attrs:{name:"10"}},[t._v("小票打印")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1!==a._status||3===a._status&&a.use_integral>0&&a.use_integral>=a.back_integral,expression:"\n row._status !== 1 ||\n (row._status === 3 &&\n row.use_integral > 0 &&\n row.use_integral >= row.back_integral)\n "}],attrs:{name:"4"}},[t._v("订单备注")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:2!=a.refund_type&&4!=a.refund_type&&6!=a.refund_type&&1==a.paid&&2!==a.refund_status&&parseFloat(a.pay_price)>0&&(null==a.split||0==a.split.length),expression:"\n row.refund_type != 2 &&\n row.refund_type != 4 &&\n row.refund_type != 6 &&\n row.paid == 1 &&\n row.refund_status !== 2 &&\n parseFloat(row.pay_price) > 0 &&\n (row.split == null || row.split.length == 0)\n "}],attrs:{disabled:t.openErp,name:"5"}},[t._v("立即退款")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:2==a.refund_type,expression:"row.refund_type == 2"}],attrs:{disabled:t.openErp,name:"55"}},[t._v("同意退货")]),s("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:4===a._status&&!a.split.length,expression:"row._status === 4 && !row.split.length"}],attrs:{disabled:t.openErp,name:"8"}},[t._v("已收货")]),1==a.is_del?s("DropdownItem",{attrs:{disabled:t.openErp,name:"9"}},[t._v("删除订单")]):t._e()],1)],1)]]}}],null,!1,3569045510)})],1):t._e()],1)],1):t._e()]),s("Modal",{staticClass:"order_box2",attrs:{scrollable:"",title:"物流查询",width:"350"},model:{value:t.modal2,callback:function(e){t.modal2=e},expression:"modal2"}},[s("div",{staticClass:"logistics acea-row row-top"},[s("div",{staticClass:"logistics_img"},[s("img",{attrs:{src:a("bd9b")}})]),s("div",{staticClass:"logistics_cent"},[s("span",[t._v("物流公司:"+t._s(t.logisticsChecked.delivery_name))]),s("span",[t._v("物流单号:"+t._s(t.logisticsChecked.delivery_id))])])]),s("div",{staticClass:"acea-row row-column-around trees-coadd"},[s("div",{staticClass:"scollhide"},[s("Timeline",t._l(t.result,(function(e,a){return s("TimelineItem",{key:a},[s("p",{staticClass:"time",domProps:{textContent:t._s(e.time)}}),s("p",{staticClass:"content",domProps:{textContent:t._s(e.status)}})])})),1)],1)])])],1)}),[],!1,null,"1b6933c6",null);e.a=c.exports}}]);