(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4e32b530"],{ec2d:function(e,t,r){"use strict";r.r(t);var a=r("f19e"),o={data:()=>({form:{id:""}}),methods:{formatPayTime(e){if(null==e||""===e)return"";const t=Number(e);if(!t)return"";const r=new Date(t<1e12?1e3*t:t),a=e=>String(e).padStart(2,"0");return`${r.getFullYear()}-${a(r.getMonth()+1)}-${a(r.getDate())} ${a(r.getHours())}:${a(r.getMinutes())}:${a(r.getSeconds())}`},getDetail(){Object(a.f)({id:this.form.id}).then(e=>{1==e.code?this.form=e.data:this.$message.error(e.msg||"查询失败")})}},mounted(){this.getDetail()},created(){const e=this.$route.query;this.form.id=e.id}},i=r("2877"),l=Object(i.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"ls-card"},[r("el-page-header",{attrs:{content:"订单详情"},on:{back:function(t){return e.$router.go(-1)}}})],1),r("div",{staticClass:"ls-card m-t-16"},[r("div",{staticClass:"card-title"},[e._v("订单详情")]),r("div",{staticClass:"card-content m-t-24"},[r("el-form",{ref:"form",attrs:{disabled:"",model:e.form,"label-width":"100px"}},[r("el-form-item",{attrs:{prop:"id",label:"订单ID"}},[r("el-input",{model:{value:e.form.id,callback:function(t){e.$set(e.form,"id",t)},expression:"form.id"}})],1),r("el-form-item",{attrs:{prop:"sn",label:"订单编号"}},[r("el-input",{model:{value:e.form.sn,callback:function(t){e.$set(e.form,"sn",t)},expression:"form.sn"}})],1),r("el-form-item",{attrs:{prop:"user_id",label:"用户ID"}},[r("el-input",{model:{value:e.form.user_id,callback:function(t){e.$set(e.form,"user_id",t)},expression:"form.user_id"}})],1),r("el-form-item",{attrs:{prop:"blind_boxe_id",label:"盲盒ID"}},[r("el-input",{model:{value:e.form.blind_boxe_id,callback:function(t){e.$set(e.form,"blind_boxe_id",t)},expression:"form.blind_boxe_id"}})],1),r("el-form-item",{attrs:{prop:"order_amount",label:"支付金额"}},[r("el-input",{model:{value:e.form.order_amount,callback:function(t){e.$set(e.form,"order_amount",t)},expression:"form.order_amount"}})],1),r("el-form-item",{attrs:{prop:"pay_way",label:"支付方式"}},[r("el-input",{model:{value:e.form.pay_way,callback:function(t){e.$set(e.form,"pay_way",t)},expression:"form.pay_way"}})],1),r("el-form-item",{attrs:{prop:"pay_status",label:"支付状态"}},[r("el-input",{model:{value:e.form.pay_status,callback:function(t){e.$set(e.form,"pay_status",t)},expression:"form.pay_status"}})],1),r("el-form-item",{attrs:{prop:"pay_time",label:"支付时间"}},[r("el-input",{attrs:{value:e.formatPayTime(e.form.pay_time)}})],1),r("el-form-item",{attrs:{prop:"transaction_id",label:"流水号"}},[r("el-input",{model:{value:e.form.transaction_id,callback:function(t){e.$set(e.form,"transaction_id",t)},expression:"form.transaction_id"}})],1),r("el-form-item",{attrs:{prop:"create_time",label:"创建时间"}},[r("el-input",{model:{value:e.form.create_time,callback:function(t){e.$set(e.form,"create_time",t)},expression:"form.create_time"}})],1),r("el-form-item",{attrs:{prop:"update_time",label:"更新时间"}},[r("el-input",{model:{value:e.form.update_time,callback:function(t){e.$set(e.form,"update_time",t)},expression:"form.update_time"}})],1)],1)],1)]),r("div",{staticClass:"bg-white ls-fixed-footer"},[r("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[r("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("返回")])],1)])])}),[],!1,null,null,null);t.default=l.exports},f19e:function(e,t,r){"use strict";r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"h",(function(){return l})),r.d(t,"b",(function(){return n})),r.d(t,"e",(function(){return s})),r.d(t,"f",(function(){return d})),r.d(t,"g",(function(){return m})),r.d(t,"a",(function(){return u}));var a=r("6b2d");const o=e=>a.a.get("/blind_boxe.BlindBoxe/list",{params:e}),i=e=>a.a.get("/blind_boxe.BlindBoxe/detail",{params:e}),l=e=>a.a.post("/blind_boxe.BlindBoxe/update",e),n=e=>a.a.get("/blind_boxe.BlindBoxe/detail",{params:e}),s=e=>a.a.get("/blind_boxe.BlindBoxeOrder/list",{params:e}),d=e=>a.a.get("/blind_boxe.BlindBoxeOrder/detail",{params:e}),m=e=>a.a.post("/blind_boxe.BlindBoxeOrder/update",e),u=e=>a.a.get("/blind_boxe.BlindBoxeRecord/detail",{params:e})}}]);