chunk-24321169.47ae6748.js 22 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-24321169"],{"2add":function(e,t,i){},"4b04":function(e,t,i){"use strict";var a=i("2add");i.n(a).a},69684:function(e,t,i){"use strict";i.r(t);var a=i("a34a"),n=i.n(a),r=i("f8b7"),s={name:"order_detail",props:{orderId:{type:String|Number,default:""}},data:function(){return{orderDetail:{},orderList:[],columns1:[{title:"商品ID",slot:"id",maxWidth:80},{title:"商品名称",slot:"name",minWidth:160},{title:"商品分类",slot:"className"},{title:"商品售价",slot:"price"},{title:"商品数量",slot:"total_num"}],spinShow:!1}},mounted:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var e=this;this.spinShow=!0,Object(r.y)(this.orderId).then((function(t){e.spinShow=!1,e.orderDetail=t.data,e.orderList=t.data.orderInfo.cartInfo})).catch((function(t){e.spinShow=!1,e.$Message.error(t.msg),e.$emit("detall",!1)}))}}},o=(i("e883"),i("2877")),l=Object(o.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.orderDetail.userInfo?i("div",{staticClass:"order_detail"},[i("div",{staticClass:"msg-box"},[i("div",{staticClass:"box-title"},[e._v("收货信息")]),i("div",{staticClass:"msg-wrapper"},[i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("用户昵称:")]),e._v(e._s(e.orderDetail.userInfo.nickname)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("收货人:")]),e._v(e._s(e.orderDetail.orderInfo.real_name)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("联系电话:")]),e._v(e._s(e.orderDetail.orderInfo.user_phone)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("收货地址:")]),e._v(e._s(e.orderDetail.orderInfo.user_address)+"\n ")])])])]),i("div",{staticClass:"msg-box",staticStyle:{border:"none"}},[i("div",{staticClass:"box-title"},[e._v("订单信息")]),i("div",{staticClass:"msg-wrapper"},[i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("订单ID:")]),e._v(e._s(e.orderDetail.orderInfo.order_id)+"\n ")]),i("div",{staticClass:"item",staticStyle:{color:"red"}},[i("span",{staticStyle:{color:"red"}},[e._v("订单状态:")]),e._v(e._s(e.orderDetail.orderInfo._status._title)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("商品总数:")]),e._v(e._s(e.orderDetail.orderInfo.total_num)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("商品总价:")]),e._v("¥"+e._s(e.orderDetail.orderInfo.total_price)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("交付邮费:")]),e._v("¥"+e._s(e.orderDetail.orderInfo.pay_postage)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("优惠券金额:")]),e._v("¥"+e._s(e.orderDetail.orderInfo.coupon_price)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("会员商品优惠:")]),e._v("¥"+e._s(e.orderDetail.orderInfo.vip_true_price||0)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("积分抵扣:")]),e._v("¥"+e._s(e.orderDetail.orderInfo.deduction_price||0)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("实际支付:")]),e._v(e._s(e.orderDetail.orderInfo.pay_price)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("首单优惠:")]),e._v(e._s(e.orderDetail.orderInfo.first_order_price)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("创建时间:")]),e._v(e._s(e.orderDetail.orderInfo.add_time)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("支付方式:")]),e._v(e._s(e.orderDetail.orderInfo._status._payType)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[e._v("推广人:")]),e._v(e._s(e.orderDetail.userInfo.spread_name)+"\n ")]),i("div",{staticClass:"item"},[i("span",[e._v("商家备注:")]),e._v(e._s(e.orderDetail.orderInfo.mark)+"\n ")])])])]),i("div",{staticClass:"goods-box"},[i("Table",{attrs:{columns:e.columns1,data:e.orderList},scopedSlots:e._u([{key:"id",fn:function(t){var i=t.row;return t.index,[e._v("\n "+e._s(i.productInfo.id)+"\n ")]}},{key:"name",fn:function(t){var a=t.row;return t.index,[i("div",{staticClass:"product_info"},[i("img",{attrs:{src:a.productInfo.image,alt:""}}),i("p",[e._v(e._s(a.productInfo.store_name))])])]}},{key:"className",fn:function(t){var i=t.row;return t.index,[e._v("\n "+e._s(i.class_name)+"\n ")]}},{key:"price",fn:function(t){var i=t.row;return t.index,[e._v("\n "+e._s(i.productInfo.attrInfo.price)+"\n ")]}},{key:"total_num",fn:function(t){return t.row,t.index,[e._v("\n "+e._s(e.orderDetail.orderInfo.total_num)+"\n ")]}}],null,!1,4211245526)})],1),e.spinShow?i("Spin",{attrs:{fix:""}}):e._e()],1):e._e()}),[],!1,null,"4c40a268",null).exports,c=i("2f62"),d=i("2e83");function v(e,t,i,a,n,r,s){try{var o=e[r](s),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(a,n)}function p(e){return function(){var t=this,i=arguments;return new Promise((function(a,n){var r=e.apply(t,i);function s(e){v(r,a,n,s,o,"next",e)}function o(e){v(r,a,n,s,o,"throw",e)}s(void 0)}))}}function u(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function _(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var m={name:"invoice",components:{orderDetall:l},computed:function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?u(i,!0).forEach((function(t){_(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):u(i).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({},Object(c.e)("media",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),data:function(){return{orderShow:!1,invoiceShow:!1,invoiceDetails:{},formInline:{is_invoice:0,invoice_number:"",remark:""},loading:!1,currentTab:"",tablists:null,timeVal:[],options:{shortcuts:[{text:"今天",value:function(){var e=new Date,t=new Date;return t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[t,e]}},{text:"昨天",value:function(){var e=new Date,t=new Date;return t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[t,e]}},{text:"最近7天",value:function(){var e=new Date,t=new Date;return t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[t,e]}},{text:"最近30天",value:function(){var e=new Date,t=new Date;return t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[t,e]}},{text:"上月",value:function(){var e=new Date,t=new Date,i=new Date(t.getFullYear(),t.getMonth(),0).getDate();return t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,i))),[t,e]}},{text:"本月",value:function(){var e=new Date,t=new Date;return t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[t,e]}},{text:"本年",value:function(){var e=new Date,t=new Date;return t.setTime(t.setTime(new Date((new Date).getFullYear(),0,1))),[t,e]}}]},grid:{xl:8,lg:8,md:12,sm:24,xs:24},columns:[{title:"订单号",key:"order_id",minWidth:170},{title:"订单金额",slot:"pay_price",minWidth:100},{title:"发票类型",slot:"type",minWidth:120,filters:[{label:"电子普通发票",value:1},{label:"纸质专用发票",value:2}],filterMultiple:!1,filterMethod:function(e,t){return 1===e?1===t.type:2===e?2===t.type:void 0}},{title:"发票抬头名称",key:"name",minWidth:150},{title:"发票抬头类型",slot:"header_type",minWidth:110,filters:[{label:"个人",value:1},{label:"企业",value:2}],filterMultiple:!1,filterMethod:function(e,t){return 1===e?1===t.header_type:2===e?2===t.header_type:void 0}},{title:"下单时间",key:"add_time",minWidth:150,sortable:!0},{title:"开票状态",slot:"is_invoice",minWidth:80},{title:"订单状态",slot:"status",minWidth:80},{title:"操作",slot:"action",fixed:"right",minWidth:150,align:"center"}],orderList:[],total:0,orderData:{page:1,limit:10,status:"",data:"",real_name:"",field_key:"",type:""},orderId:0}},created:function(){this.getTabs(),this.getList()},mounted:function(){},methods:{detall:function(e){this.orderShow=e},orderInfo:function(e){this.orderId=e,this.orderShow=!0},empty:function(){this.formInline={is_invoice:0,invoice_number:"",remark:""}},cancel:function(){this.invoiceShow=!1,this.empty()},kaiInvoice:function(e){1!==e&&(this.formInline.invoice_number="",this.formInline.remark="")},handleSubmit:function(){var e=this;if(1===this.formInline.is_invoice&&""===this.formInline.invoice_number.trim())return this.$Message.error("请填写发票编号");Object(r.A)(this.invoiceDetails.invoice_id,this.formInline).then((function(t){e.$Message.success(t.msg),e.invoiceShow=!1,e.getList(),e.empty()})).catch((function(t){e.$Message.error(t.msg)}))},edit:function(e){this.invoiceShow=!0,this.invoiceDetails=e,this.formInline.invoice_number=e.invoice_number,this.formInline.invoice_amount=e.invoice_amount,this.formInline.remark=e.invoice_reamrk,this.formInline.is_invoice=e.is_invoice,this.formInline.pay_price=e.pay_price},getList:function(){var e=this;this.loading=!0,Object(r.z)(this.orderData).then(function(){var t=p(n.a.mark((function t(i){var a;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.loading=!1,a=i.data,e.orderList=a.list,e.total=a.count;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},pageChange:function(e){this.orderData.page=e,this.getList()},getTabs:function(){var e=this;Object(r.x)().then((function(t){e.tablists=t.data})).catch((function(t){e.$Message.error(t.msg)}))},orderSearch:function(){this.orderData.page=1,this.getList()},onchangeTime:function(e){this.orderData.page=1,this.timeVal=e,this.orderData.data=this.timeVal[0]?this.timeVal.join("-"):"",this.getList()},selectChange:function(){this.orderData.page=1,this.getList()},onClickTab:function(){this.orderData.page=1,this.orderData.type=this.currentTab,this.getList()},exports:function(){var e=p(n.a.mark((function e(){var t,i,a,r,s;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],i=[],a=[],r="",e.next=3,this.getExcelData(this.orderData);case 3:s=e.sent,r||(r=s.filename),i=s.filekey,t.length||(t=s.header),a=a.concat(s.export),Object(d.a)(t,i,r,a);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),getExcelData:function(e){return new Promise((function(t,i){Object(r.f)(e).then((function(e){return t(e.data)}))}))},inputEnter:function(){if(this.formInline.pay_price=this.formInline.pay_price.replace(/[^\d.]/g,""),this.formInline.pay_price=this.formInline.pay_price.replace(/\.{2,}/g,"."),this.formInline.pay_price=this.formInline.pay_price.replace(".","$#$").replace(/\./g,"").replace("$#$","."),this.formInline.pay_price=this.formInline.pay_price.replace(/^(-)*(\d+)\.(\d\d).*$/,"$1$2.$3"),this.formInline.pay_price&&this.formInline.pay_price.indexOf(".")<0&&""!=this.formInline.pay_price&&(this.formInline.pay_price=parseFloat(this.formInline.pay_price),this.formInline.pay_price=this.formInline.pay_price+""),this.formInline.pay_price.indexOf(".")>0&&this.formInline.pay_price.length-this.formInline.pay_price.indexOf(".")>6){var e=this.formInline.pay_price.slice(this.formInline.pay_price.indexOf("."),this.formInline.pay_price.length);e/1<=0&&(this.formInline.pay_price=this.formInline.pay_price.replace(e,""))}this.formInline.pay_price/1>256&&(this.formInline.pay_price=this.formInline.pay_price+"",this.formInline.pay_price=this.formInline.pay_price.slice(0,this.formInline.pay_price.length-1))},inputBlur:function(){if(this.formInline.pay_price.indexOf(".")>0){var e=this.formInline.pay_price.slice(this.formInline.pay_price.indexOf("."),this.formInline.pay_price.length);e/1<=0&&(this.formInline.pay_price=this.formInline.pay_price.replace(e,""))}}}},f=(i("4b04"),Object(o.a)(m,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[i("div",{staticClass:"new_card_pd"},[i("Form",{ref:"orderData",staticClass:"tabform",attrs:{model:e.orderData,"label-width":e.labelWidth,inline:"","label-position":e.labelPosition},nativeOn:{submit:function(e){e.preventDefault()}}},[i("FormItem",{attrs:{label:"创建时间:"}},[i("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:e.timeVal,format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:e.options},on:{"on-change":e.onchangeTime}})],1),i("FormItem",{attrs:{label:"搜索:",prop:"real_name","label-for":"real_name"}},[i("Input",{staticClass:"input-add",attrs:{placeholder:"请输入","element-id":"name"},model:{value:e.orderData.real_name,callback:function(t){e.$set(e.orderData,"real_name",t)},expression:"orderData.real_name"}},[i("Select",{staticStyle:{width:"80px"},attrs:{slot:"prepend"},slot:"prepend",model:{value:e.orderData.field_key,callback:function(t){e.$set(e.orderData,"field_key",t)},expression:"orderData.field_key"}},[i("Option",{attrs:{value:"all"}},[e._v("全部")]),i("Option",{attrs:{value:"order_id"}},[e._v("订单号")]),i("Option",{attrs:{value:"uid"}},[e._v("UID")]),i("Option",{attrs:{value:"real_name"}},[e._v("用户姓名")]),i("Option",{attrs:{value:"user_phone"}},[e._v("用户电话")])],1)],1)],1),i("FormItem",[i("Button",{staticClass:"btn-add",attrs:{type:"primary"},on:{click:function(t){return e.orderSearch()}}},[e._v("查询")]),i("Button",{on:{click:e.exports}},[e._v("导出")])],1)],1)],1)]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:e.columns,data:e.orderList,loading:e.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:e._u([{key:"pay_price",fn:function(t){var a=t.row;return t.index,[i("div",[e._v("¥ "+e._s(a.pay_price))])]}},{key:"type",fn:function(t){var a=t.row;return t.index,[1===a.type?i("div",[e._v("电子普通发票")]):i("div",[e._v("纸质专用发票")])]}},{key:"is_invoice",fn:function(t){var a=t.row;return t.index,[1===a.is_invoice?i("Tag",{attrs:{color:"orange",size:"medium"}},[e._v("已开票")]):i("Tag",{attrs:{color:"green",size:"medium"}},[e._v("未开票")])]}},{key:"status",fn:function(t){var a=t.row;return t.index,[a.refund_status?[1===a.refund_status?i("div",[e._v("退款中")]):2===a.refund_status?i("div",[e._v("已退款")]):e._e()]:[0===a.status?i("Tag",{attrs:{color:"green",size:"medium"}},[e._v("未发货")]):1===a.status?i("Tag",{attrs:{color:"blue",size:"medium"}},[e._v("待收货")]):2===a.status?i("Tag",{attrs:{color:"orange",size:"medium"}},[e._v("待评价")]):3===a.status?i("Tag",{attrs:{color:"volcano",size:"medium"}},[e._v("已完成")]):e._e()]]}},{key:"header_type",fn:function(t){var a=t.row;return t.index,[1===a.header_type?i("div",[e._v("个人")]):i("div",[e._v("企业")])]}},{key:"action",fn:function(t){var a=t.row;return t.index,[i("a",{attrs:{disabled:0!==a.refund_status},on:{click:function(t){return e.edit(a)}}},[e._v("编辑")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(t){return e.orderInfo(a.id)}}},[e._v("订单信息")])]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:e.total,current:e.orderData.page,"show-elevator":"","show-total":"","page-size":e.orderData.limit},on:{"on-change":e.pageChange}})],1)],1),i("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"发票详情",width:"700","footer-hide":""},on:{"on-cancel":e.cancel},model:{value:e.invoiceShow,callback:function(t){e.invoiceShow=t},expression:"invoiceShow"}},[i("Form",{ref:"formInline",attrs:{model:e.formInline,"label-width":100},nativeOn:{submit:function(e){e.preventDefault()}}},[1===e.invoiceDetails.header_type&&1===e.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[e._v("发票信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票抬头: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.name))])]),i("Col",{attrs:{span:"12"}},[e._v("发票类型: "),i("span",{staticClass:"info"},[e._v("电子普通发票")])])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票抬头类型: 个人")]),1===e.invoiceDetails.is_invoice?i("Col",{attrs:{span:"12"}},[e._v("发票金额: ¥"+e._s(e.invoiceDetails.pay_price))]):e._e()],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[e._v("联系信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("真实姓名: "+e._s(e.invoiceDetails.name))]),i("Col",{attrs:{span:"12"}},[e._v("联系电话: "+e._s(e.invoiceDetails.drawer_phone))])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("联系邮箱: "+e._s(e.invoiceDetails.email))])],1)],1)]):e._e(),2===e.invoiceDetails.header_type&&1===e.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[e._v("发票信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票抬头: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.name))])]),i("Col",{attrs:{span:"12"}},[e._v("企业税号: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.duty_number))])])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票类型: 电子普通发票")]),i("Col",{attrs:{span:"12"}},[e._v("发票抬头类型: 企业")])],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[e._v("联系信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("真实姓名: "+e._s(e.invoiceDetails.name))]),i("Col",{attrs:{span:"12"}},[e._v("联系电话: "+e._s(e.invoiceDetails.drawer_phone))])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("联系邮箱: "+e._s(e.invoiceDetails.email))])],1)],1)]):e._e(),2===e.invoiceDetails.header_type&&2===e.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[e._v("发票信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票抬头: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.name))])]),i("Col",{attrs:{span:"12"}},[e._v("企业税号: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.duty_number))])])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("发票类型: 纸质专用发票")]),i("Col",{attrs:{span:"12"}},[e._v("发票抬头类型: 企业")])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("开户银行: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.bank))])]),i("Col",{attrs:{span:"12"}},[e._v("银行账号: "),i("span",{staticClass:"info"},[e._v(e._s(e.invoiceDetails.card_number))])])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("企业地址: "+e._s(e.invoiceDetails.address))]),i("Col",{attrs:{span:"12"}},[e._v("企业电话: "+e._s(e.invoiceDetails.tell))])],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[e._v("联系信息")]),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("真实姓名: "+e._s(e.invoiceDetails.name))]),i("Col",{attrs:{span:"12"}},[e._v("联系电话: "+e._s(e.invoiceDetails.drawer_phone))])],1),i("Row",{staticClass:"row"},[i("Col",{attrs:{span:"12"}},[e._v("联系邮箱: "+e._s(e.invoiceDetails.email))])],1)],1)]):e._e(),i("FormItem",{staticStyle:{"margin-top":"14px"},attrs:{label:"开票状态:"}},[i("RadioGroup",{on:{"on-change":function(t){return e.kaiInvoice(e.formInline.is_invoice)}},model:{value:e.formInline.is_invoice,callback:function(t){e.$set(e.formInline,"is_invoice",t)},expression:"formInline.is_invoice"}},[i("Radio",{attrs:{label:1}},[e._v("已开票")]),i("Radio",{attrs:{label:0}},[e._v("未开票")])],1)],1),1===e.formInline.is_invoice?i("FormItem",{attrs:{label:"发票编号:"}},[i("Input",{attrs:{placeholder:"请输入发票编号"},model:{value:e.formInline.invoice_number,callback:function(t){e.$set(e.formInline,"invoice_number",t)},expression:"formInline.invoice_number"}})],1):e._e(),1===e.formInline.is_invoice?i("FormItem",{attrs:{label:"发票金额:"}},[i("Input",{attrs:{placeholder:"请输入发票金额"},on:{input:e.inputEnter,blur:e.inputBlur},model:{value:e.formInline.pay_price,callback:function(t){e.$set(e.formInline,"pay_price",t)},expression:"formInline.pay_price"}})],1):e._e(),1===e.formInline.is_invoice?i("FormItem",{attrs:{label:"发票备注:"}},[i("Input",{attrs:{value:"备注",type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入发票备注"},model:{value:e.formInline.remark,callback:function(t){e.$set(e.formInline,"remark",t)},expression:"formInline.remark"}})],1):e._e(),i("Button",{staticClass:"ok-btn",attrs:{type:"primary"},on:{click:function(t){return e.handleSubmit()}}},[e._v("确定")])],1)],1),i("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单详情","footer-hide":"",width:"700"},model:{value:e.orderShow,callback:function(t){e.orderShow=t},expression:"orderShow"}},[e.orderShow?i("orderDetall",{attrs:{orderId:e.orderId},on:{detall:e.detall}}):e._e()],1)],1)}),[],!1,null,"44e771af",null));t.default=f.exports},"817a":function(e,t,i){},e883:function(e,t,i){"use strict";var a=i("817a");i.n(a).a}}]);