(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesS/common/vendor"],{"0f5c":function(e,t,i){"use strict";(function(e){var s=i("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(i("a28b")),r={components:{deliverGoods:o.default},data:function(){return{dialogDeliverVisible:!1}},methods:{isDeliver:function(e){return 1==e.is_pay&&(-1==e.refund_status||2==e.refund_status)&&1!=e.is_hexiao},isWaitDeliver:function(e){return 2==e.order_type&&1==e.status},isShowHeixao:function(e){return(2==e.order_type||4==e.order_type)&&1==e.is_hexiao&&(1==e.status||2==e.status)&&(-1==e.refund_status||2==e.refund_status)},isVirtueDeliver:function(e){return(1==e.order_type||4==e.order_type)&&1==e.status},showDialogDeliver:function(e){this.order=e,this.dialogDeliverVisible=!0},closeDialogDeliver:function(){this.order={},this.dialogDeliverVisible=!1},onSend:function(t){var i=this;e.showModal({title:"提示",content:"订单商品为虚拟商品，确定发货吗？",success:function(e){e.confirm&&i.$util.post("store/order/send",{id:t}).then((function(e){1==e.code?(i.$util.toast(e.message),i.refresh()):i.$util.toast(e.message)}))}})}}};t.default=r}).call(this,i("df3c")["default"])}}]);