(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-fce3e4b8"],{"1dbc":function(e,t,r){"use strict";r.r(t);var a=r("5c01"),o={data:()=>({form:{user_id:"",sn:"",blind_boxe_id:"",order_amount:"",pay_way:"",pay_status:"",pay_time:""}}),methods:{onSubmit(){Object(a.b)(this.form).then(e=>{1==e.code?(this.$message.success("添加成功!"),setTimeout(()=>this.$router.go(-1),500)):this.$message.error(e.msg||"添加失败")})}}},s=r("2877"),i=Object(s.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:{model:e.form,"label-width":"100px"}},[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:"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:"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",{model:{value:e.form.pay_time,callback:function(t){e.$set(e.form,"pay_time",t)},expression:"form.pay_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("取消")]),r("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.onSubmit}},[e._v("保存")])],1)])])}),[],!1,null,null,null);t.default=i.exports},"5c01":function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return i})),r.d(t,"e",(function(){return n})),r.d(t,"a",(function(){return l}));var a=r("6b2d");const o=e=>a.a.post("/match_friend.MatchFriendOrder/create",e),s=e=>a.a.get("/match_friend.MatchFriendOrder/del",{params:e}),i=e=>a.a.get("/match_friend.MatchFriendOrder/detail",{params:e}),n=e=>a.a.post("/match_friend.MatchFriendOrder/update",e),l=e=>a.a.get("/match_friend.MatchFriendOrder/list",{params:e})}}]);