canyin-project/ybcy/views/channel/index/static/js/chunk-e2eb6a56.5287559b.js
2024-11-01 16:07:54 +08:00

1 line
26 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e2eb6a56"],{"07f4":function(e,t,a){},"199c":function(e,t,a){"use strict";var r=a("07f4"),s=a.n(r);s.a},"3bbe":function(e,t,a){var r=a("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7156:function(e,t,a){var r=a("861d"),s=a("d2bb");e.exports=function(e,t,a){var i,l;return s&&"function"==typeof(i=t.constructor)&&i!==a&&r(l=i.prototype)&&l!==a.prototype&&s(e,l),e}},"8cd2":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"outmain ba_f"},[e._m(0),a("div",{staticClass:"orderSeatch mar_t20"},[a("el-form",{staticClass:"demo-form-inline",attrs:{inline:!1,model:e.formInline,"label-width":"100px"}},[[a("el-form-item",{attrs:{label:"订单状态:"}},[a("el-radio-group",{on:{change:e.selectType},model:{value:e.formInline.type,callback:function(t){e.$set(e.formInline,"type",t)},expression:"formInline.type"}},[a("el-radio-button",{attrs:{label:"0"}},[e._v("所有订单")]),a("el-radio-button",{attrs:{label:"1"}},[e._v("已完成")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("已取消")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("进行中")])],1)],1)],a("el-form-item",{staticClass:"mar_t20",attrs:{label:"订单类型:"}},[a("el-radio-group",{on:{change:e.selectType},model:{value:e.formInline.orderType,callback:function(t){e.$set(e.formInline,"orderType",t)},expression:"formInline.orderType"}},[a("el-radio-button",{attrs:{label:"0"}},[e._v("不限")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("外卖")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("当面付")]),a("el-radio-button",{attrs:{label:"1"}},[e._v("堂食")]),a("el-radio-button",{attrs:{label:"4"}},[e._v("快餐")]),a("el-radio-button",{attrs:{label:"5"}},[e._v("其他")])],1)],1),a("el-form-item",{staticClass:"mar_t20",attrs:{label:"订单来源:"}},[a("el-radio-group",{on:{change:e.selectType},model:{value:e.formInline.platform,callback:function(t){e.$set(e.formInline,"platform",t)},expression:"formInline.platform"}},[a("el-radio-button",{attrs:{label:"0"}},[e._v("不限")]),a("el-radio-button",{attrs:{label:"1"}},[e._v("微信小程序")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("支付宝小程序")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("收银台")])],1)],1),a("el-form-item",{staticClass:"mar_t20",attrs:{label:"支付方式:"}},[a("div",{staticClass:"flex-bet"},[a("el-radio-group",{on:{change:e.selectType},model:{value:e.formInline.payMode,callback:function(t){e.$set(e.formInline,"payMode",t)},expression:"formInline.payMode"}},[a("el-radio-button",{attrs:{label:"0"}},[e._v("不限")]),a("el-radio-button",{attrs:{label:"1"}},[e._v("微信支付")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("支付宝支付")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("余额支付")]),a("el-radio-button",{attrs:{label:"4"}},[e._v("现金支付")]),a("el-radio-button",{attrs:{label:"5"}},[e._v("线下支付")])],1),a("span",{staticClass:"mar_l20"},[a("a",{staticClass:"mar_l10",attrs:{href:e.handelExport()}},[a("el-button",{attrs:{size:"medium",type:"primary"}},[e._v("交易导出")])],1)])],1)]),a("el-form-item",{staticClass:"mar_t20",attrs:{label:"查询日期:"}},[a("div",{staticClass:"flex-bet"},[a("div",{staticClass:"flex-center"},[a("el-radio-group",{on:{change:e.selectType},model:{value:e.formInline.timeType,callback:function(t){e.$set(e.formInline,"timeType",t)},expression:"formInline.timeType"}},[a("el-radio-button",{attrs:{label:"0"}},[e._v("全部")]),a("el-radio-button",{attrs:{label:"1"}},[e._v("今天")]),a("el-radio-button",{attrs:{label:"2"}},[e._v("近七天")]),a("el-radio-button",{attrs:{label:"3"}},[e._v("近十五天")]),a("el-radio-button",{attrs:{label:"4"}},[e._v("具体日期")])],1),"4"==e.formInline.timeType?a("span",{staticClass:"mar_l20"},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"yyyy年MM月dd日"},on:{change:e.selectType},model:{value:e.formInline.time,callback:function(t){e.$set(e.formInline,"time",t)},expression:"formInline.time"}})],1):e._e()],1)])])],2)],1),a("div",{staticClass:"mar_t20 tablecenter"},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.list,stripe:""}},[a("el-table-column",{attrs:{prop:"takeNo",label:"订单序号",width:"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex wei flex-center"},[e._v(" #"+e._s(t.row.takeNo)+" ")])]}}])}),a("el-table-column",{attrs:{prop:"outTradeNo",label:"订单编号"}}),a("el-table-column",{attrs:{prop:"createdAt",label:"下单时间"}}),a("el-table-column",{attrs:{prop:"state",label:"订单类型"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-center"},["1"==t.row.origin?a("div",[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("外卖")])],1):e._e(),"4"==t.row.origin?a("div",[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("其他")])],1):e._e(),"5"==t.row.origin?a("div",[a("el-tag",{attrs:{size:"mini"}},[e._v("当面付")])],1):e._e(),"6"==t.row.origin?a("div",[a("el-tag",{attrs:{type:"danger",size:"mini"}},[e._v("快餐")])],1):e._e(),"7"==t.row.origin?a("div",[a("el-tag",{attrs:{type:"warning",size:"mini"}},[e._v("堂食")])],1):e._e()])]}}])}),a("el-table-column",{attrs:{prop:"money",label:"用户实付"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex wei color-green flex-center"},[e._v(" +¥"+e._s(t.row.money)+" ")]),a("div",{staticClass:"fon_12"},[a("span",[e._v(e._s(t.row.payModeName))])])]}}])}),a("el-table-column",{attrs:{prop:"subsidy",label:"补贴(平台)"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex color-green flex-center"},[e._v(" +¥"+e._s(t.row.subsidy)+" ")])]}}])}),a("el-table-column",{attrs:{prop:"serviceMoney",label:"平台服务费"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex color-red flex-center"},[e._v(" -¥"+e._s(t.row.serviceMoney)+" ")])]}}])}),a("el-table-column",{attrs:{prop:"storeActualMoney",label:"实际到账"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex wei color-green flex-center"},[e._v(" ¥"+e._s(t.row.storeActualMoney)+" ")])]}}])}),a("el-table-column",{attrs:{prop:"settlement",label:"订单状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-center"},["1"==t.row.state?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已完成")])],1):e._e(),"2"==t.row.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[e._v("已取消")])],1):e._e(),"3"==t.row.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{size:"mini"}},[e._v("进行中")])],1):e._e()])]}}])}),a("el-table-column",{attrs:{prop:"zc",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticClass:"flex flex-center"},[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.handelDetail(t.row.outTradeNo,t.row.origin)}}},[e._v("查看详情")])],1)]}}])})],1),a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:e.page.total,"page-size":e.page.size,"current-page":e.page.currentPage},on:{"update:currentPage":function(t){return e.$set(e.page,"currentPage",t)},"update:current-page":function(t){return e.$set(e.page,"currentPage",t)},"current-change":e.handleCurrentChange}})],1),a("edit",{ref:"edit"})],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("账户明细")])])])}],i=(a("96cf"),a("1da1")),l=a("5530"),o=a("ed08"),n=a("48fb"),d=a("2f62"),c=a("90ac"),_=a("365c"),v={components:{Edit:c["a"]},created:function(){this.bus.$emit("loading",!0),this.init()},computed:Object(l["a"])({},Object(d["d"])(["storeId"])),data:function(){return{formInline:{time:[new Date,new Date],timeType:"1",type:"0",platform:"0",payMode:"0",orderType:"0",region:""},list:[],listLoading:!0,selectRows:"",elementLoadingText:"正在加载...",page:{total:0,size:20,currentPage:1},options:[{value:"1",label:"全部"}],tableData:[{sj:"2021-04-27 11:16",ddh:"20158296255554655",lx:"1",srzc:"1",zhye:"15.00"},{sj:"2021-04-27 11:16",ddh:"20158296255554655",lx:"2",srzc:"2",zhye:"25.00"}]}},methods:{init:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,r,s,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={page:e.page.currentPage,timeType:e.formInline.timeType,startTime:"4"==e.formInline.timeType&&e.formInline.time?Object(o["a"])(e.formInline.time[0]):"",endTime:"4"==e.formInline.timeType&&e.formInline.time?Object(o["a"])(e.formInline.time[1]):"",type:e.formInline.type,orderType:e.formInline.orderType,platform:e.formInline.platform,payMode:e.formInline.payMode,storeId:e.storeId},t.next=3,Object(n["L"])(a);case 3:r=t.sent,s=r.data,i=r.count,e.list=s,e.page.total=i,e.bus.$emit("loading",!1);case 9:case"end":return t.stop()}}),t)})))()},handleCurrentChange:function(e){this.page.currentPage=e,this.init()},handelDetail:function(e,t){var a=this;return Object(i["a"])(regeneratorRuntime.mark((function r(){var s;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:s="","1"==t?s="1":"4"==t?s="5":"5"==t?s="4":"6"==t?s="3":"7"==t&&(s="2"),e&&s&&a.$refs["edit"].showEdit(e,s);case 3:case"end":return r.stop()}}),r)})))()},selectType:function(){this.init()},handelExport:function(){var e=this.formInline.time?Object(o["a"])(this.formInline.time[0]).substring(0,10):"",t=this.formInline.time?Object(o["a"])(this.formInline.time[1]).substring(0,10):"",a=_["a"].backendPath;return a+"channel/store-bill/transaction?export=1&page="+this.page.currentPage+"&type"+this.formInline.type+"&orderType="+this.formInline.orderType+"&timeType="+this.formInline.timeType+"&platform="+this.formInline.platform+"&storeId="+this.storeId+"&payMode="+this.formInline.payMode+"&startTime="+e+"&endTime="+t}}},p=v,f=a("2877"),u=Object(f["a"])(p,r,s,!1,null,null,null);t["default"]=u.exports},"90ac":function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"ddxq"},[a("el-dialog",{attrs:{title:"订单详情",visible:e.dialogFormVisible,width:"75%","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("div",[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px"}},[a("div",{staticClass:"flex-bet flex-y-top"},[a("div",{staticClass:"bflex-4"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("订单信息")])])]),a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单类型:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v(e._s(e.orderDetail.originName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("下单渠道:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v(e._s(e.orderDetail.platformName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("用户信息:")]),a("div",[e._v(e._s(e.orderDetail.userName)+"UID"+e._s(e.orderDetail.userId)+"")])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("下单时间:")]),a("div",[e._v(e._s(e.orderDetail.createdAt))])]),4!=e.type&&5!=e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单序号:")]),a("div",[e._v("#"+e._s(e.orderDetail.takeNo))])]):e._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单编号:")]),a("div",[e._v(e._s(e.orderDetail.outTradeNo))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("实付金额:")]),a("div",{staticClass:"wei color-red"},[e._v("+¥"+e._s(e.orderDetail.money))])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("支付状态:")]),a("div",{staticClass:"flex flex-center"},[a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已支付")])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("付款方式:")]),a("div",[a("span",[a("el-tag",{attrs:{size:"mini",type:"success"}},[e._v(e._s(e.orderDetail.payModeName))])],1)])]),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("订单状态:")]),a("div",{staticClass:"flex flex-center"},["1"==e.type?a("div",["5"==e.orderDetail.state||"6"==e.orderDetail.state?a("span",{staticStyle:{color:"#489620"}},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已完成")])],1):e._e(),"2"==e.orderDetail.state||"3"==e.orderDetail.state||"4"==e.orderDetail.state?a("span",{staticStyle:{color:"#155BD4"}},[a("el-tag",{attrs:{size:"mini"}},[e._v("待完成")])],1):e._e(),"9"==e.orderDetail.state?a("span",{staticStyle:{color:"#df0029"}},[a("el-tag",{attrs:{type:"danger",size:"mini"}},[e._v("退款待处理")])],1):e._e(),"8"==e.orderDetail.state||"10"==e.orderDetail.state?a("span",{staticStyle:{color:"#df0029"}},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("已退款")])],1):e._e()]):e._e(),"3"==e.type?a("div",["2"==e.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[e._v("待接单")])],1):e._e(),"3"==e.orderDetail.state?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[e._v("制作中")])],1):e._e(),"4"==e.orderDetail.state?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已完成")])],1):e._e(),"5"==e.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("已取消")])],1):e._e(),"6"==e.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[e._v("申请退款")])],1):e._e(),"7"==e.orderDetail.state&&"1"==e.orderDetail.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("用户申请退款通过")])],1):e._e(),"7"==e.orderDetail.state&&"2"==e.orderDetail.refundType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("商家退款")])],1):e._e(),"8"==e.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("拒绝退款")])],1):e._e(),"9"==e.orderDetail.state?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("商户拒单并退款")])],1):e._e()]):e._e(),"2"==e.type?a("div",["3"==e.orderDetail.state&&"1"==e.orderDetail.eatType||"3"==e.orderDetail.state&&"2"==e.orderDetail.eatType?a("div",{staticClass:"color-green"},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已完成")])],1):e._e(),"2"==e.orderDetail.state&&"1"==e.orderDetail.eatType||"2"==e.orderDetail.state&&"2"==e.orderDetail.eatType?a("div",{staticClass:"color-orange"},[a("el-tag",{attrs:{type:"warning",size:"mini"}},[e._v("就餐中")])],1):e._e(),"1"==e.orderDetail.state&&"1"==e.orderDetail.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[e._v("待付款")])],1):e._e(),"1"==e.orderDetail.state&&"2"==e.orderDetail.eatType?a("div",{staticClass:"color-red"},[a("el-tag",{attrs:{type:"dager",size:"mini"}},[e._v("待接单")])],1):e._e(),"4"==e.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("已取消")])],1):e._e(),"5"==e.orderDetail.state?a("div",{staticClass:"color_9"},[a("el-tag",{attrs:{type:"info",size:"mini"}},[e._v("已退款")])],1):e._e()]):e._e(),"4"==e.type||"5"==e.type?a("div",[a("span",{staticStyle:{color:"#489620"}},[a("el-tag",{attrs:{type:"success",size:"mini"}},[e._v("已完成")])],1)]):e._e()])]),"2"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("就餐时间:")]),e.orderDetail.completeAt&&e.orderDetail.payAt?a("div",[e._v(" "+e._s(e.timeStamp(e.orderDetail.completeAt-e.orderDetail.receiptAt))+" ")]):e._e()]):e._e(),"2"==e.type||"3"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("就餐模式:")]),a("div",{staticClass:"flex"},["1"==e.orderDetail.eatType?a("div",[e._v("先结账后用餐")]):e._e(),"2"==e.orderDetail.eatType?a("div",[e._v("先用餐后结账")]):e._e()])]):e._e(),"3"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("消费方式:")]),a("div",["1"==e.orderDetail.isOut?a("div",{staticClass:"type2"},[e._v("店内就餐")]):e._e(),"2"==e.orderDetail.isOut?a("div",{staticClass:"type2"},[e._v("打包带走")]):e._e()])]):e._e(),"1"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("下单人信息:")]),a("div",[e._v(e._s(e.orderDetail.receivedName)+" "+e._s(e.orderDetail.receivedTel))])]):e._e(),"1"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft flex-g-0"},[e._v("配送地址:")]),a("div",{staticClass:"lh25 flex-g-1"},[e._v(e._s(e.orderDetail.receivedAddress))])]):e._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("备注:")]),a("div",[e._v(e._s(e.orderDetail.userNote||"无"))])])]),1==e.type?a("div",{staticClass:"shuju_title mar_t10"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("配送信息")])])]):e._e(),1==e.type?a("div",{staticClass:"formBox"},[a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("配送方式:")]),a("div",{staticClass:"txsq flex"},["1"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("商户配送")]):e._e(),"2"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("达达配送")]):e._e(),"3"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("点我达配送")]):e._e(),"4"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("码科配送")]):e._e(),"5"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("顺丰配送")]):e._e(),"6"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("蜂鸟配送")]):e._e(),"7"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("闪送配送")]):e._e(),"10"==e.orderDetail.deliveryMode?a("div",{staticClass:"pad_r_60"},[e._v("自提")]):e._e()])]),e.orderDetail.deliveryInfo&&e.orderDetail.deliveryInfo.riderName?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("配送员:")]),a("div",{},[e._v(e._s(e.orderDetail.deliveryInfo.riderName))])]):e._e(),e.orderDetail.deliveryInfo&&e.orderDetail.deliveryInfo.riderTel?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("手机号:")]),a("div",{},[e._v(e._s(e.orderDetail.deliveryInfo.riderTel))])]):e._e()]):e._e()]),a("div",{staticClass:"bflex-6 mar_l20"},[a("div",{staticClass:"shuju_title"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("订单费用")])])]),a("div",{staticClass:"formBox"},["4"!=e.type&&"5"!=e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("商品价格:")]),a("div",{staticClass:"wei color-green"},[e._v("+¥"+e._s(e.orderDetail.originMoney)),"1"==e.type?a("span",{staticClass:"color_9"},[e._v("(注:商品折扣:¥"+e._s(e.orderDetail.vipDiscount)+"")]):e._e()])]):e._e(),"1"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("包装费:")]),a("div",{staticClass:"wei color-green"},[e._v("+¥"+e._s(e.orderDetail.boxMoney))])]):e._e(),"1"==e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("配送费:")]),a("div",{staticClass:"wei color-green"},[e._v("+¥"+e._s(e.orderDetail.deliveryMoney))])]):e._e(),"4"!=e.type&&"5"!=e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("优惠:")]),a("div",{staticClass:"wei color-red"},[e._v("-¥"+e._s(e.orderDetail.discountMoney)),a("span",{staticClass:"color_9"},[e._v("(注:满减:¥"+e._s(e.orderDetail.preferentialMoney)+",优惠券:¥"+e._s(e.orderDetail.couponPreferential)+"")])])]):e._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("平台服务费:")]),a("div",{staticClass:"wei color-red"},[e._v("-¥"+e._s(e.orderDetail.serviceMoney)),"1"==e.type?a("span",{staticClass:"color_9"},[e._v("(注:商品:¥"+e._s(e.orderDetail.serviceGoodMoney)+",包装费:¥"+e._s(e.orderDetail.serviceBoxMoney)+",配送费:¥"+e._s(e.orderDetail.serviceDeliveryMoney)+"")]):e._e()])]),"4"!=e.type&&"5"!=e.type?a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("平台补贴:")]),a("div",{staticClass:"wei color-green"},[e._v("+¥"+e._s(e.orderDetail.subsidy))])]):e._e(),a("div",{staticClass:"flex pad_lr_10 bor_b_df5 lh40"},[a("div",{staticClass:"seeLeft"},[e._v("商户实际收入:")]),a("div",{staticClass:"wei color-green"},[e._v("+¥"+e._s(e.orderDetail.storeActualMoney)),a("span",{staticClass:"color-red"},[e._v("(本单顾客实际支付:¥"+e._s(e.orderDetail.money)+"")])])])]),"4"!=e.type&&"5"!=e.type?a("div",{staticClass:"shuju_title mar_t10"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("商品信息")])])]):e._e(),"4"!=e.type&&"5"!=e.type?a("div",{staticClass:"formBox"},[a("el-table",{staticClass:"tablecenter",staticStyle:{width:"100%"},attrs:{data:e.orderDetail.goodsArr,stripe:"",height:"300"}},[a("el-table-column",{attrs:{prop:"name",label:"商品名称"}}),a("el-table-column",{attrs:{prop:"goodsId",label:"商品ID"}}),a("el-table-column",{attrs:{prop:"num",label:"数量"}}),a("el-table-column",{attrs:{prop:"money",label:"小计(元)"}})],1)],1):e._e()])])])],1)])],1)},s=[],i=(a("96cf"),a("1da1")),l=a("48fb"),o={name:"labelSave",created:function(){},data:function(){return{form:{id:"",name:"",sort:"1",color:"#ed4014"},orderDetail:{},title:"",type:"",dialogFormVisible:!1,list:[]}},components:{},methods:{showEdit:function(e,t){var a=this;return Object(i["a"])(regeneratorRuntime.mark((function r(){var s,i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!e){r.next=8;break}return a.title="编辑",a.type=t,r.next=5,Object(l["k"])({outTradeNo:e,type:t});case 5:s=r.sent,i=s.data,a.orderDetail=i;case 8:a.dialogFormVisible=!0;case 9:case"end":return r.stop()}}),r)})))()},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},timeStamp:function(e){var t=parseInt(e)+"秒";if(parseInt(e)>60){var a=parseInt(e)%60,r=parseInt(e/60);if(t=r+"分"+a+"秒",r>60){r=parseInt(e/60)%60;var s=parseInt(parseInt(e/60)/60);if(t=s+"小时"+r+"分"+a+"秒",s>24){s=parseInt(parseInt(e/60)/60)%24;var i=parseInt(parseInt(parseInt(e/60)/60)/24);t=i+"天"+s+"小时"+r+"分"+a+"秒"}}}return t},save:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(a){var r,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!a){t.next=10;break}return t.next=3,labelSave(e.form);case 3:r=t.sent,s=r.msg,e.$baseMessage(s,"success"),e.$emit("fetchData"),e.close(),t.next=11;break;case 10:return t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},n=o,d=(a("199c"),a("2877")),c=Object(d["a"])(n,r,s,!1,null,null,null);t["a"]=c.exports},a9e3:function(e,t,a){"use strict";var r=a("83ab"),s=a("da84"),i=a("94ca"),l=a("6eeb"),o=a("5135"),n=a("c6b6"),d=a("7156"),c=a("c04e"),_=a("d039"),v=a("7c73"),p=a("241c").f,f=a("06cf").f,u=a("9bf2").f,m=a("58a8").trim,b="Number",y=s[b],g=y.prototype,C=n(v(g))==b,h=function(e){var t,a,r,s,i,l,o,n,d=c(e,!1);if("string"==typeof d&&d.length>2)if(d=m(d),t=d.charCodeAt(0),43===t||45===t){if(a=d.charCodeAt(2),88===a||120===a)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:r=2,s=49;break;case 79:case 111:r=8,s=55;break;default:return+d}for(i=d.slice(2),l=i.length,o=0;o<l;o++)if(n=i.charCodeAt(o),n<48||n>s)return NaN;return parseInt(i,r)}return+d};if(i(b,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var D,x=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof x&&(C?_((function(){g.valueOf.call(a)})):n(a)!=b)?d(new y(h(t)),a,x):h(t)},I=r?p(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;I.length>w;w++)o(y,D=I[w])&&!o(x,D)&&u(x,D,f(y,D));x.prototype=g,g.constructor=x,l(s,b,x)}},bf19:function(e,t,a){"use strict";var r=a("23e7");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},d2bb:function(e,t,a){var r=a("825a"),s=a("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,a={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(a,[]),t=a instanceof Array}catch(i){}return function(a,i){return r(a),s(i),t?e.call(a,i):a.__proto__=i,a}}():void 0)},ed08:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return i}));a("a9e3"),a("ac1f"),a("5319"),a("bf19");function r(e){var t=new Date(e).toJSON(),a=new Date(+new Date(t)+288e5).toISOString().replace(/T/g," ").replace(/\.[\d]{3}Z/,"");return a}function s(e){var t=new Date(e),a=t.getFullYear(),r=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,s=t.getDate()<10?"0"+t.getDate():t.getDate(),i=t.getHours()<10?"0"+t.getHours():t.getHours(),l=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return a+"-"+r+"-"+s+" "+i+":"+l+":"+o}function i(e){var t=new Date(1e3*Number(e)),a=t.getFullYear()+"-",r=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",s=(t.getDate()<10?"0"+t.getDate():t.getDate())+" ",i=(t.getHours()<10?"0"+t.getHours():t.getHours())+":",l=(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":",o=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),n=a+r+s+i+l+o;return n}}}]);