mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-14 20:42:49 +00:00
1 line
24 KiB
JavaScript
1 line
24 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-40b0f315"],{4771:function(t,e,i){},5278:function(t,e,i){},6968:function(t,e,i){"use strict";i.r(e),i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("b636"),i("944a"),i("0c47"),i("23dc"),i("3410"),i("d9e2"),i("159b"),i("b0c0"),i("131a"),i("fb6a");var r=i("0122"),a=i("c964"),n=i("f3f3"),o=(i("498a"),i("a15b"),i("a9e3"),i("f8b7")),s={name:"order_detail",props:{orderId:{type:String|Number,default:""}},data:function(){return{orderDetail:{},orderList:[],spinShow:!1}},mounted:function(){this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this;this.spinShow=!0,Object(o.z)(this.orderId).then((function(e){t.spinShow=!1,t.orderDetail=e.data,t.orderList=e.data.orderInfo.cartInfo})).catch((function(e){t.spinShow=!1,t.$message.error(e.msg),t.$emit("detall",!1)}))}}},l=(i("dea2"),i("2877")),c=(s=Object(l.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.orderDetail.userInfo?i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.spinShow,expression:"spinShow"}],staticClass:"order_detail"},[i("div",{staticClass:"msg-box"},[i("div",{staticClass:"box-title"},[t._v("收货信息")]),i("div",{staticClass:"msg-wrapper"},[i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("用户昵称:")]),t._v(t._s(t.orderDetail.userInfo.nickname))]),i("div",{staticClass:"item"},[i("span",[t._v("收货人:")]),t._v(t._s(t.orderDetail.orderInfo.real_name))])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("联系电话:")]),t._v(t._s(t.orderDetail.orderInfo.user_phone))]),i("div",{staticClass:"item"},[i("span",[t._v("收货地址:")]),t._v(t._s(t.orderDetail.orderInfo.user_address))])])])]),i("div",{staticClass:"msg-box",staticStyle:{border:"none"}},[i("div",{staticClass:"box-title"},[t._v("订单信息")]),i("div",{staticClass:"msg-wrapper"},[i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("订单ID:")]),t._v(t._s(t.orderDetail.orderInfo.order_id))]),i("div",{staticClass:"item",staticStyle:{color:"red"}},[i("span",{staticStyle:{color:"red"}},[t._v("订单状态:")]),t._v(t._s(t.orderDetail.orderInfo._status._title)+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("商品总数:")]),t._v(t._s(t.orderDetail.orderInfo.total_num))]),i("div",{staticClass:"item"},[i("span",[t._v("商品总价:")]),t._v(t._s(parseFloat(t.orderDetail.orderInfo.total_price)+parseFloat(t.orderDetail.orderInfo.vip_true_price||0))+"\n ")])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("交付邮费:")]),t._v(t._s(t.orderDetail.orderInfo.pay_postage))]),i("div",{staticClass:"item"},[i("span",[t._v("优惠券金额:")]),t._v(t._s(t.orderDetail.orderInfo.coupon_price))])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("会员商品优惠:")]),t._v(t._s(t.orderDetail.orderInfo.vip_true_price||0))]),i("div",{staticClass:"item"},[i("span",[t._v("积分抵扣:")]),t._v(t._s(t.orderDetail.orderInfo.deduction_price||0))])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("实际支付:")]),t._v(t._s(t.orderDetail.orderInfo.pay_price))]),i("div",{staticClass:"item"},[i("span",[t._v("创建时间:")]),t._v(t._s(t.orderDetail.orderInfo.add_time))])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("支付方式:")]),t._v(t._s(t.orderDetail.orderInfo._status._payType))]),i("div",{staticClass:"item"},[i("span",[t._v("推广人:")]),t._v(t._s(t.orderDetail.userInfo.spread_name))])]),i("div",{staticClass:"msg-item"},[i("div",{staticClass:"item"},[i("span",[t._v("商家备注:")]),t._v(t._s(t.orderDetail.orderInfo.mark))])])])]),i("div",{staticClass:"goods-box"},[i("el-table",{attrs:{data:t.orderList}},[i("el-table-column",{attrs:{label:"商品ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.productInfo.id))])]}}],null,!1,4208280192)}),i("el-table-column",{attrs:{label:"商品名称","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",{staticClass:"product_info"},[i("img",{attrs:{src:e.row.productInfo.image,alt:""}}),i("p",[t._v(t._s(e.row.productInfo.store_name))])])]}}],null,!1,1206101081)}),i("el-table-column",{attrs:{label:"商品分类","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[t._v(t._s(e.row.class_name))])]}}],null,!1,3276443943)}),i("el-table-column",{attrs:{label:"商品售价","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[t._v(t._s(e.row.productInfo.price))])]}}],null,!1,203743095)}),i("el-table-column",{attrs:{label:"商品数量","min-width":"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[t._v(t._s(e.row.cart_num))])]}}],null,!1,1546150460)})],1)],1)]):t._e()}),[],!1,null,"77416480",null).exports,i("2f62"));function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,a=Object.defineProperty||function(t,e,i){t[e]=i.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(e){c=function(t,e,i){return t[e]=i}}function u(t,e,i,r){var n,o,s,l;e=e&&e.prototype instanceof p?e:p,e=Object.create(e.prototype),r=new D(r||[]);return a(e,"_invoke",{value:(n=t,o=i,s=r,l="suspendedStart",function(t,e){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===t)throw e;return k()}for(s.method=t,s.arg=e;;){var i=s.delegate;if(i&&(i=function t(e,i){var r=i.method,a=e.iterator[r];return void 0===a?(i.delegate=null,"throw"===r&&e.iterator.return&&(i.method="return",i.arg=void 0,t(e,i),"throw"===i.method)||"return"!==r&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f):(r=v(a,e.iterator,i.arg),"throw"===r.type?(i.method="throw",i.arg=r.arg,i.delegate=null,f):(a=r.arg,a?a.done?(i[e.resultName]=a.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=void 0),i.delegate=null,f):a:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,f)))}(i,s),i)){if(i===f)continue;return i}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===l)throw l="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(l="executing",i=v(n,o,s),"normal"===i.type){if(l=s.done?"completed":"suspendedYield",i.arg===f)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(l="completed",s.method="throw",s.arg=i.arg)}})}),e}function v(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function p(){}function m(){}function h(){}n={};var _=(c(n,o,(function(){return this})),Object.getPrototypeOf),b=(_=_&&_(_(I([]))),_&&_!==e&&i.call(_,o)&&(n=_),h.prototype=p.prototype=Object.create(n));function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){var n;a(this,"_invoke",{value:function(a,o){function s(){return new e((function(n,s){!function a(n,o,s,l){var c;n=v(t[n],t,o);if("throw"!==n.type)return(o=(c=n.arg).value)&&"object"==Object(r.a)(o)&&i.call(o,"__await")?e.resolve(o.__await).then((function(t){a("next",t,s,l)}),(function(t){a("throw",t,s,l)})):e.resolve(o).then((function(t){c.value=t,s(c)}),(function(t){return a("throw",t,s,l)}));l(n.arg)}(a,o,n,s)}))}return n=n?n.then(s,s):s()}})}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function I(t){if(t){var e,r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(r=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r}).next=r}return{next:k}}function k(){return{value:void 0,done:!0}}return a(b,"constructor",{value:m.prototype=h,configurable:!0}),a(h,"constructor",{value:m,configurable:!0}),m.displayName=c(h,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,l,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(g.prototype),c(g.prototype,s,(function(){return this})),t.AsyncIterator=g,t.async=function(e,i,r,a,n){void 0===n&&(n=Promise);var o=new g(u(e,i,r,a),n);return t.isGeneratorFunction(i)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(b),c(b,l,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,i=Object(t),r=[];for(e in i)r.push(e);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in i)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=I,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(i,r){return o.type="throw",o.arg=t,e.next=i,r&&(e.method="next",e.arg=void 0),!!r}for(var a=this.tryEntries.length-1;0<=a;--a){var n=this.tryEntries[a],o=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var s=i.call(n,"catchLoc"),l=i.call(n,"finallyLoc");if(s&&l){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(s){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var n=a;break}}var o=(n=n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc?null:n)?n.completion:{};return o.type=t,o.arg=e,n?(this.method="next",this.next=n.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),C(i),f}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i,r,a=this.tryEntries[e];if(a.tryLoc===t)return"throw"===(i=a.completion).type&&(r=i.arg,C(a)),r}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:I(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),f}},t}s={name:"invoice",components:{orderDetall:s},computed:Object(n.a)(Object(n.a)({},Object(c.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},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:[],pickerOptions:this.$timeOptions,orderList:[],total:0,orderData:{page:1,limit:15,status:"",data:"",real_name:"",field_key:"",type:""},orderId:0}},created:function(){this.getTabs(),this.getList()},mounted:function(){},methods:{detall:function(t){this.orderShow=t},orderInfo:function(t){this.orderId=t,this.orderShow=!0},empty:function(){this.formInline={is_invoice:1,invoice_number:"",remark:""}},cancel:function(){this.invoiceShow=!1,this.empty()},kaiInvoice:function(t){1!==t&&(this.formInline.invoice_number="",this.formInline.remark="")},handleSubmit:function(){var t=this;if(1===this.formInline.is_invoice&&""===this.formInline.invoice_number.trim())return this.$message.error("请填写发票编号");Object(o.B)(this.invoiceDetails.invoice_id,this.formInline).then((function(e){t.$message.success(e.msg),t.invoiceShow=!1,t.getList(),t.empty(),t.getTabs()})).catch((function(e){t.$message.error(e.msg)}))},edit:function(t){this.invoiceShow=!0,this.invoiceDetails=t,this.formInline.invoice_number=t.invoice_number,this.formInline.remark=t.invoice_reamrk,this.formInline.is_invoice=t.is_invoice},getList:function(){var t=this;this.loading=!0,Object(o.A)(this.orderData).then(function(){var e=Object(a.a)(d().mark((function e(i){var r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loading=!1,r=i.data,t.orderList=r.list,t.total=r.count;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},getTabs:function(){var t=this;Object(o.y)(this.orderData).then((function(e){t.tablists=e.data})).catch((function(e){t.$message.error(e.msg)}))},orderSearch:function(){this.orderData.page=1,this.getTabs(),this.getList()},onchangeTime:function(t){this.orderData.page=1,this.timeVal=t||[],this.orderData.data=this.timeVal[0]&&this.timeVal?this.timeVal.join("-"):"",this.getList(),this.getTabs()},selectChange:function(){this.orderData.page=1,this.getList()},onClickTab:function(){this.orderData.page=1,this.orderData.type=this.currentTab,this.getList()}}},i("8e6b"),n=Object(l.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("el-card",{staticClass:"ivu-mb-16",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[i("div",{staticClass:"padding-add"},[i("el-form",{ref:"orderData",attrs:{model:t.orderData,"label-width":"80px","label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[i("el-form-item",{attrs:{label:"创建时间:"}},[i("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",editable:!1,format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),i("el-form-item",{attrs:{label:"搜索:",prop:"real_name","label-for":"real_name"}},[i("el-input",{staticClass:"form_content_width",attrs:{clearable:"",placeholder:"请输入"},model:{value:t.orderData.real_name,callback:function(e){t.$set(t.orderData,"real_name",e)},expression:"orderData.real_name"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{slot:"prepend"},slot:"prepend",model:{value:t.orderData.field_key,callback:function(e){t.$set(t.orderData,"field_key",e)},expression:"orderData.field_key"}},[i("el-option",{attrs:{value:"all",label:"全部"}}),i("el-option",{attrs:{value:"order_id",label:"订单号"}}),i("el-option",{attrs:{value:"uid",label:"UID"}}),i("el-option",{attrs:{value:"real_name",label:"用户姓名"}}),i("el-option",{attrs:{value:"user_phone",label:"用户电话"}})],1)],1)],1),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.orderSearch}},[t._v("查询")])],1)],1)],1)]),i("el-card",{attrs:{bordered:!1,shadow:"never","body-style":{padding:"0 20px 20px"}}},[t.tablists?i("el-tabs",{on:{"tab-click":t.onClickTab},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},[i("el-tab-pane",{attrs:{label:"全部发票("+t.tablists.all+")",name:" "}}),i("el-tab-pane",{attrs:{label:"待开发票("+t.tablists.noOpened+")",name:"1"}}),i("el-tab-pane",{attrs:{label:"已开发票("+t.tablists.opened+")",name:"2"}}),i("el-tab-pane",{attrs:{label:"退款发票("+t.tablists.refund+")",name:"3"}})],1):t._e(),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",attrs:{data:t.orderList,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[i("el-table-column",{attrs:{label:"订单号","min-width":"140"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.order_id))])]}}])}),i("el-table-column",{attrs:{label:"订单金额","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("div",[t._v("¥ "+t._s(e.row.pay_price))])]}}])}),i("el-table-column",{attrs:{label:"发票类型","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.type?i("div",[t._v("电子普通发票")]):i("div",[t._v("纸质专用发票")])]}}])}),i("el-table-column",{attrs:{label:"发票抬头类型","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.header_type?i("div",[t._v("个人")]):i("div",[t._v("企业")])]}}])}),i("el-table-column",{attrs:{label:"下单时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("span",[t._v(t._s(e.row.add_time))])]}}])}),i("el-table-column",{attrs:{label:"开票状态","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[1===e.row.is_invoice?i("div",[t._v("已开票")]):i("div",[t._v("未开票")])]}}])}),i("el-table-column",{attrs:{label:"订单状态","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.status?i("div",[t._v("未发货")]):1===e.row.status?i("div",[t._v("待收货")]):2===e.row.status?i("div",[t._v("待评价")]):3===e.row.status?i("div",[t._v("已完成")]):-2===e.row.status?i("div",[t._v("已退款")]):t._e()]}}])}),i("el-table-column",{attrs:{label:"操作",fixed:"right",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[-2!=e.row.status?i("a",{on:{click:function(i){return t.edit(e.row)}}},[t._v("编辑")]):t._e(),-2!=e.row.status?i("el-divider",{attrs:{direction:"vertical"}}):t._e(),i("a",{on:{click:function(i){return t.orderInfo(e.row.id)}}},[t._v("订单信息")])]}}])})],1),i("div",{staticClass:"acea-row row-right page"},[t.total?i("pagination",{attrs:{total:t.total,page:t.orderData.page,limit:t.orderData.limit},on:{"update:page":function(e){return t.$set(t.orderData,"page",e)},"update:limit":function(e){return t.$set(t.orderData,"limit",e)},pagination:t.getList}}):t._e()],1)],1),i("el-dialog",{staticClass:"order_box",attrs:{visible:t.invoiceShow,title:"发票详情",width:"720px"},on:{"update:visible":function(e){t.invoiceShow=e},closed:t.cancel}},[i("el-form",{ref:"formInline",attrs:{model:t.formInline,"label-width":"80px"},nativeOn:{submit:function(t){t.preventDefault()}}},[1===t.invoiceDetails.header_type&&1===t.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[t._v("发票信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票抬头: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.name))])]),i("el-col",{attrs:{span:12}},[t._v("发票类型: "),i("span",{staticClass:"info"},[t._v("电子普通发票")])])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票抬头类型: 个人")]),i("el-col",{attrs:{span:12}},[t._v("订单金额: "+t._s(t.invoiceDetails.pay_price))])],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[t._v("联系信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("真实姓名: "+t._s(t.invoiceDetails.name))]),i("el-col",{attrs:{span:12}},[t._v("联系电话: "+t._s(t.invoiceDetails.drawer_phone))])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("联系邮箱: "+t._s(t.invoiceDetails.email))])],1)],1)]):t._e(),2===t.invoiceDetails.header_type&&1===t.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[t._v("发票信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票抬头: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.name))])]),i("el-col",{attrs:{span:12}},[t._v("企业税号: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.duty_number))])])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票类型: 电子普通发票")]),i("el-col",{attrs:{span:12}},[t._v("发票抬头类型: 企业")])],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[t._v("联系信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("真实姓名: "+t._s(t.invoiceDetails.name))]),i("el-col",{attrs:{span:12}},[t._v("联系电话: "+t._s(t.invoiceDetails.user_phone))])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("联系邮箱: "+t._s(t.invoiceDetails.email))])],1)],1)]):t._e(),2===t.invoiceDetails.header_type&&2===t.invoiceDetails.type?i("div",[i("div",{staticClass:"list"},[i("div",{staticClass:"title"},[t._v("发票信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票抬头: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.name))])]),i("el-col",{attrs:{span:12}},[t._v("企业税号: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.duty_number))])])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("发票类型: 纸质专用发票")]),i("el-col",{attrs:{span:12}},[t._v("发票抬头类型: 企业")])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("开户银行: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.bank))])]),i("el-col",{attrs:{span:12}},[t._v("银行账号: "),i("span",{staticClass:"info"},[t._v(t._s(t.invoiceDetails.card_number))])])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("企业地址: "+t._s(t.invoiceDetails.address))]),i("el-col",{attrs:{span:12}},[t._v("企业电话: "+t._s(t.invoiceDetails.tell))])],1)],1),i("div",{staticClass:"list"},[i("div",{staticClass:"title row"},[t._v("联系信息")]),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("真实姓名: "+t._s(t.invoiceDetails.real_name))]),i("el-col",{attrs:{span:12}},[t._v("联系电话: "+t._s(t.invoiceDetails.user_phone))])],1),i("el-row",{staticClass:"row"},[i("el-col",{attrs:{span:12}},[t._v("联系邮箱: "+t._s(t.invoiceDetails.email))])],1)],1)]):t._e(),i("el-form-item",{staticStyle:{"margin-top":"14px"},attrs:{label:"开票状态:"}},[i("el-radio-group",{on:{input:function(e){return t.kaiInvoice(t.formInline.is_invoice)}},model:{value:t.formInline.is_invoice,callback:function(e){t.$set(t.formInline,"is_invoice",e)},expression:"formInline.is_invoice"}},[i("el-radio",{attrs:{label:1}},[t._v("已开票")]),i("el-radio",{attrs:{label:0}},[t._v("未开票")])],1)],1),1===t.formInline.is_invoice?i("el-form-item",{attrs:{label:"发票编号:"}},[i("el-input",{attrs:{placeholder:"请输入发票编号"},model:{value:t.formInline.invoice_number,callback:function(e){t.$set(t.formInline,"invoice_number",e)},expression:"formInline.invoice_number"}})],1):t._e(),1===t.formInline.is_invoice?i("el-form-item",{attrs:{label:"发票备注:"}},[i("el-input",{attrs:{value:"备注",type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"请输入发票备注"},model:{value:t.formInline.remark,callback:function(e){t.$set(t.formInline,"remark",e)},expression:"formInline.remark"}})],1):t._e(),i("div",{staticClass:"acea-row row-right"},[i("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleSubmit()}}},[t._v("确定")])],1)],1)],1),i("el-dialog",{staticClass:"order_box",attrs:{visible:t.orderShow,title:"订单详情",width:"720px"},on:{"update:visible":function(e){t.orderShow=e}}},[t.orderShow?i("orderDetall",{attrs:{orderId:t.orderId},on:{detall:t.detall}}):t._e()],1)],1)}),[],!1,null,"34800f75",null),e.default=n.exports},"8e6b":function(t,e,i){"use strict";var r=i("4771");i.n(r).a},dea2:function(t,e,i){"use strict";var r=i("5278");i.n(r).a}}]); |