(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-d8daf56c"],{"0c3f":function(t,e,r){},"0fc4":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"c",(function(){return n})),r.d(e,"b",(function(){return o}));var a=r("b6bd");function i(){return Object(a.a)({url:"erp/config",method:"get"})}function n(t){return Object(a.a)({url:"store/erp/shop",method:"get",params:t})}function o(t){return Object(a.a)({url:"product/import_erp_product",method:"post",data:t})}},2937:function(t,e,r){"use strict";r("4972")},"31b4":function(t,e,r){"use strict";var a=r("9860"),i=r.n(a),n=r("b6bd"),o=r("2f62");function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=s(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={name:"edit",components:{formCreate:i.a.$form()},computed:function(t){for(var e=1;e=0;--n){var o=this.tryEntries[n],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var i=a.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:F(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),_}},e}function v(t,e,r,a,i,n,o){try{var s=t[n](o),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,i)}function m(t){return function(){var e=this,r=arguments;return new Promise((function(a,i){var n=t.apply(e,r);function o(t){v(n,a,i,o,s,"next",t)}function s(t){v(n,a,i,o,s,"throw",t)}o(void 0)}))}}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function _(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=h(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==h(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var g={name:"orderSend",props:{orderId:Number,status:Number,pay_type:String},data:function(){var t=this;return{orderStatus:0,splitSwitch:!0,formItem:{type:"1",express_record_type:"1",delivery_name:"",delivery_id:"",express_temp_id:"",to_name:"",to_tel:"",to_addr:"",sh_delivery:"",fictitious_content:""},modals:!1,express:[],expressTemp:[],deliveryList:[],temp:{},export_open:!0,manyFormValidate:[],header:[{type:"selection",width:60,align:"center"},{title:"商品信息",slot:"image",width:200,align:"center"},{title:"规格",slot:"value",align:"center",minWidth:120},{title:"价格",slot:"price",align:"center",minWidth:120},{title:"总数",key:"cart_num",align:"center",minWidth:120},{title:"待发数量",key:"surplus_num",align:"center",width:180,render:function(e,r){return e("div",[e("InputNumber",{props:{min:1,max:r.row.surplus_num,value:r.row.surplus_num},on:{"on-change":function(e){r.row.surplus_num=e||1,t.manyFormValidate[r.index]=r.row,t.selectData.forEach((function(e,a){e.cart_id===r.row.cart_id&&t.selectData.splice(a,1,r.row)}))}}})])}}],selectData:[]}},computed:function(t){for(var e=1;e1?e("div",[e("FormItem",{attrs:{label:"分单发货:"}},[e("i-switch",{attrs:{size:"large",disabled:8===t.orderStatus||"offline"===t.pay_type},on:{"on-change":t.changeSplitStatus},model:{value:t.splitSwitch,callback:function(e){t.splitSwitch=e},expression:"splitSwitch"}},[e("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),e("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])]),e("div",{staticClass:"trips"},[e("p",[t._v("\n\t\t\t\t\t\t可选择表格中的商品单独发货,发货后会生成新的订单且不能撤回,请谨慎操作!\n\t\t\t\t\t")])]),t.splitSwitch&&t.manyFormValidate.length?e("Table",{attrs:{data:t.manyFormValidate,columns:t.header,border:""},on:{"on-selection-change":t.selectOne},scopedSlots:t._u([{key:"image",fn:function(r){var a=r.row;return r.index,[e("div",{staticClass:"product-data"},[e("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),e("div",{staticClass:"line2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.cart_info.productInfo.store_name)+"\n\t\t\t\t\t\t\t")])])]}},{key:"value",fn:function(r){var a=r.row;return r.index,[e("div",{staticClass:"product-data"},[e("div",[t._v(t._s(a.cart_info.productInfo.attrInfo.suk))])])]}},{key:"price",fn:function(r){var a=r.row;return r.index,[e("div",{staticClass:"product-data"},[e("div",[t._v(t._s(a.cart_info.truePrice))])])]}}],null,!1,3197150676)}):t._e()],1)],1):t._e()],1):t._e(),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{on:{click:t.cancel}},[t._v("取消")]),e("Button",{attrs:{type:"primary"},on:{click:t.putSend}},[t._v("提交")])],1),e("div",{directives:[{name:"viewer",rawName:"v-viewer"},{name:"show",rawName:"v-show",value:t.temp,expression:"temp"}],ref:"viewer"},[e("img",{staticStyle:{display:"none"},attrs:{src:t.temp.pic}})])],1)}),[],!1,null,"70ec9c10",null).exports);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */x=function(){return e};var t,e={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,a){var n=e&&e.prototype instanceof y?e:y,o=Object.create(n.prototype),s=new S(a||[]);return i(o,"_invoke",{value:L(t,r,s)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function y(){}function _(){}function g(){}var b={};l(b,o,(function(){return this}));var I=Object.getPrototypeOf,C=I&&I(I(F([])));C&&C!==r&&a.call(C,o)&&(b=C);var D=g.prototype=y.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,n,o,s){var c=d(t[i],t,n);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==w(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function i(){return new e((function(e,i){r(t,a,e,i)}))}return n=n?n.then(i,i):i()}})}function L(e,r,a){var i=f;return function(n,o){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===n)throw o;return{value:t,done:!0}}for(a.method=n,a.arg=o;;){var s=a.delegate;if(s){var c=j(s,a);if(c){if(c===m)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===f)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=p;var l=d(e,r,a);if("normal"===l.type){if(i=a.done?v:h,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i=v,a.method="throw",a.arg=l.arg)}}}function j(e,r){var a=r.method,i=e.iterator[a];if(i===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var n=d(i,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function E(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function F(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function r(){for(;++i=0;--n){var o=this.tryEntries[n],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var i=a.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:F(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}function I(t,e,r,a,i,n,o){try{var s=t[n](o),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,i)}function C(t){return function(){var e=this,r=arguments;return new Promise((function(a,i){var n=t.apply(e,r);function o(t){I(n,a,i,o,s,"next",t)}function s(t){I(n,a,i,o,s,"throw",t)}o(void 0)}))}}var D={name:"orderDetails",filters:{invoiceType:function(t){return 1==t?"电子普通发票":"纸质专用发票"},invoiceHeaderType:function(t){return 1==t?"个人":"企业"}},data:function(){return{modal2:!1,modals:!1,grid:{xl:8,lg:8,md:12,sm:24,xs:24},result:[],columns1:[{title:"商品信息",slot:"product",align:"center",minWidth:400},{title:"价格",key:"truePrice",align:"center"},{title:"数量",key:"cart_num",align:"center"},{title:"小计",align:"center",render:function(t,e){return t("div",e.row.truePrice*e.row.cart_num)}}],columns2:[{title:"订单ID",key:"oid",align:"center",minWidth:40},{title:"操作记录",key:"change_message",align:"center",minWidth:280},{title:"操作时间",key:"change_time",align:"center",minWidth:100}],recordData:[],loading:!1,page:{page:1,limit:10},activeName:"detail"}},props:{orderDatalist:Object,orderId:Number,rowActive:Object,currentTab:String,openErp:{type:Boolean,default:!1}},watch:{orderId:function(t){this.getList(t)}},methods:{openLogistics:function(){this.getOrderData(),this.modal2=!0},getOrderData:function(){var t=this;Object(f.i)(this.orderId).then(function(){var e=C(x().mark((function e(r){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.result=r.data.result;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},getList:function(t){var e=this,r={id:t,datas:this.page};this.loading=!0,Object(f.l)(r).then(function(){var t=C(x().mark((function t(r){return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.recordData=r.data,e.loading=!1;case 2: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)}))},distribution:function(){this.$parent.distribution(this.rowActive)},remark:function(){this.$parent.remark(this.rowActive)}},computed:{}},O=(r("bc98"),r("2937"),Object(o.a)(D,(function(){var t=this,e=t._self._c;return e("div",[e("Drawer",{attrs:{closable:!1,width:"1000","class-name":"order_box",styles:{padding:0}},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[t.orderDatalist?e("div",[e("div",{staticClass:"head"},[e("div",{staticClass:"full"},[e("Icon",{attrs:{custom:"iconfont icondingdan",size:"60"}}),e("div",{staticClass:"text"},[e("div",{staticClass:"title"},[t._v(t._s(6==t.currentTab?"收银台订单":7==t.currentTab?"配送订单":"核销订单"))]),e("div",[t._v("订单编号:"+t._s(t.orderDatalist.orderInfo.order_id))])]),e("div",[2==t.rowActive._status||11==t.rowActive._status?e("Button",{class:t.openErp?"on":"",attrs:{disabled:t.openErp},on:{click:t.distribution}},[t._v("分配")]):t._e(),e("Button",{on:{click:t.remark}},[t._v("订单备注")])],1)],1),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",{staticClass:"title"},[t._v("订单状态")]),e("div",{staticClass:"value1"},[e("span",{domProps:{innerHTML:t._s(t.orderDatalist.orderInfo.status_name.status_name)}}),!t.orderDatalist.orderInfo.is_all_refund&&t.orderDatalist.orderInfo.refund.length?e("span",[t._v(",部分退款中")]):t._e(),t.orderDatalist.orderInfo.is_all_refund&&t.orderDatalist.orderInfo.refund.length&&6!=t.orderDatalist.orderInfo.refund_type?e("span",[t._v(",退款中")]):t._e()])]),e("li",{staticClass:"item"},[e("div",{staticClass:"title"},[t._v("实际支付")]),e("div",[t._v("¥"+t._s(t.orderDatalist.orderInfo.paid>0?t.orderDatalist.orderInfo.pay_price:0))])]),e("li",{staticClass:"item"},[e("div",{staticClass:"title"},[t._v("支付方式")]),e("div",[t._v(t._s(t.orderDatalist.orderInfo._status._payType||"-"))])]),e("li",{staticClass:"item"},[e("div",{staticClass:"title"},[t._v("支付时间")]),e("div",[t._v(t._s(t.orderDatalist.orderInfo._pay_time||"-"))])])])]),e("Tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("TabPane",{attrs:{label:"订单信息",name:"detail"}},[t.orderDatalist.orderInfo.refund_status?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("退款信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("退款原因:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_reason||"-"))])]),parseFloat(t.orderDatalist.orderInfo.refund_price)?e("li",{staticClass:"item"},[e("div",[t._v("退款金额:")]),e("div",{staticClass:"value"},[t._v(t._s(parseFloat(t.orderDatalist.orderInfo.refund_price)||0))])]):t._e(),parseFloat(t.orderDatalist.orderInfo.back_integral)?e("li",{staticClass:"item"},[e("div",[t._v("退回积分:")]),e("div",{staticClass:"value"},[t._v(t._s(parseFloat(t.orderDatalist.orderInfo.back_integral)||"-"))])]):t._e(),e("li",{staticClass:"item"},[e("div",[t._v("退款说明:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_explain||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("退款凭证:")]),e("div",{staticClass:"value"},t._l(t.orderDatalist.orderInfo.refund_img,(function(t,r){return e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:r,staticClass:"image"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t,expression:"img"}]})])})),0)])])]):t._e(),t.orderDatalist.orderInfo.refund_status&&t.orderDatalist.orderInfo.refund_express_name?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("退货物流信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("物流公司:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_express_name||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("物流单号:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_express||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("联系电话:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_phone||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("退货说明:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refund_goods_explain||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("退货凭证:")]),e("div",{staticClass:"value"},t._l(t.orderDatalist.orderInfo.refund_goods_img,(function(t,r){return e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:r,staticClass:"image"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t,expression:"img"}]})])})),0)])])]):t._e(),e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("用户信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("用户昵称:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.userInfo.uid?t.orderDatalist.userInfo.nickname:"游客"))])]),e("li",{staticClass:"item"},[e("div",[t._v("绑定电话:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.userInfo.phone||"-"))])])])]),e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("收货信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("收货人:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.real_name||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("收货电话:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.user_phone||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("收货地址:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.user_address||"-"))])])])]),t.orderDatalist.orderInfo.fictitious_content&&1!=t.orderDatalist.orderInfo.cartInfo[0].product_type?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("虚拟发货")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.fictitious_content))])])])]):t._e(),1==t.orderDatalist.orderInfo.cartInfo[0].product_type?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("卡密发货")]),t.orderDatalist.orderInfo.virtual.length?e("div",t._l(t.orderDatalist.orderInfo.virtual,(function(r,a){return e("div",{key:a,staticClass:"list"},[e("div",{staticClass:"item"},[e("div",[t._v("卡号"+t._s(a+1)+":")]),e("div",{staticClass:"value"},[t._v(t._s(r.card_no))])]),e("div",{staticClass:"item"},[e("div",[t._v("密码"+t._s(a+1)+":")]),e("div",{staticClass:"value"},[t._v(t._s(r.card_pwd))])])])})),0):e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.virtual_info||"-"))])])])]):t._e(),e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("订单信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("创建时间:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo._add_time||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("商品总数:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.total_num||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("商品总价:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.total_price))])]),e("li",{staticClass:"item"},[e("div",[t._v("优惠券金额:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.coupon_price||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("积分抵扣:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.deduction_price||0))])]),parseFloat(t.orderDatalist.orderInfo.use_integral)?e("li",{staticClass:"item"},[e("div",[t._v("使用积分:")]),e("div",{staticClass:"value"},[t._v(t._s(parseFloat(t.orderDatalist.orderInfo.use_integral)))])]):t._e(),e("li",{staticClass:"item"},[e("div",[t._v("支付邮费:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.pay_postage))])]),e("li",{staticClass:"item"},[e("div",[t._v("会员商品优惠:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.vip_true_price||0))])]),0!=t.orderDatalist.orderInfo.first_order_price?e("li",{staticClass:"item"},[e("div",[t._v("新人首单优惠:")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(t.orderDatalist.orderInfo.first_order_price))])]):t._e(),2===t.orderDatalist.orderInfo.shipping_type&&0===t.orderDatalist.orderInfo.refund_status&&1===t.orderDatalist.orderInfo.paid?e("li",{staticClass:"item"},[e("div",[t._v("门店名称:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo._store_name||"-"))])]):t._e(),2===t.orderDatalist.orderInfo.shipping_type&&0===t.orderDatalist.orderInfo.refund_status&&1===t.orderDatalist.orderInfo.paid?e("li",{staticClass:"item"},[e("div",[t._v("核销码:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.verify_code||"-"))])]):t._e(),e("li",{staticClass:"item"},[e("div",[t._v("推广人:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.userInfo.spread_name)+"/ID:"+t._s(t.orderDatalist.userInfo.spread_uid))])]),t.orderDatalist.orderInfo.store_order_sn?e("li",{staticClass:"item"},[e("div",[t._v("原订单号:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.store_order_sn))])]):t._e(),t._l(t.orderDatalist.orderInfo.promotions_detail,(function(r,a){return e("li",{key:a,staticClass:"item"},[e("div",[t._v(t._s(r.title)+":")]),e("div",{staticClass:"value"},[t._v("¥"+t._s(parseFloat(r.promotions_price).toFixed(2)))])])}))],2)]),"express"===t.orderDatalist.orderInfo.delivery_type?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("物流信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("快递公司:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.delivery_name||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("快递单号:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.delivery_id)),e("span",{staticClass:"logisticsLook",on:{click:t.openLogistics}},[t._v("查询")])])])])]):t._e(),"send"===t.orderDatalist.orderInfo.delivery_type?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("配送信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("送货人姓名:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.delivery_name||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("送货人电话:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.delivery_id||"-"))])])])]):t._e(),t.orderDatalist.orderInfo.custom_form.length?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("自定义留言")]),e("ul",{staticClass:"list"},t._l(t.orderDatalist.orderInfo.custom_form,(function(r,a){return r.value&&-1==["uploadPicture","dateranges"].indexOf(r.name)||r.value.length&&-1!=["uploadPicture","dateranges"].indexOf(r.name)?e("li",{key:a,staticClass:"item"},[e("div",{staticClass:"txtVal"},[t._v(t._s(r.titleConfig.value)+":")]),"dateranges"===r.name?e("div",{staticClass:"value"},[t._v(t._s(r.value[0]+"/"+r.value[1]))]):"uploadPicture"===r.name?e("div",{staticClass:"value"},t._l(r.value,(function(t,r){return e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:r,staticClass:"image"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t,expression:"img"}]})])})),0):e("div",{staticClass:"value"},[t._v(t._s(r.value||"-"))])]):t._e()})),0)]):t._e(),t.orderDatalist.orderInfo.mark?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("买家备注")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.mark))])])])]):t._e(),t.orderDatalist.orderInfo.remark?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("订单备注")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("备注:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.remark||"-"))])])])]):t._e(),t.orderDatalist.orderInfo.refuse_reason?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("拒绝退款原因")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.refuse_reason))])])])]):t._e(),t.orderDatalist.orderInfo.invoice?e("div",{staticClass:"section"},[e("div",{staticClass:"title"},[t._v("发票信息")]),e("ul",{staticClass:"list"},[e("li",{staticClass:"item"},[e("div",[t._v("发票类型:")]),e("div",{staticClass:"value"},[t._v(t._s(t._f("invoiceType")(t.orderDatalist.orderInfo.invoice.type)))])]),e("li",{staticClass:"item"},[e("div",[t._v("抬头类型:")]),e("div",{staticClass:"value"},[t._v(t._s(t._f("invoiceHeaderType")(t.orderDatalist.orderInfo.invoice.header_type)))])]),e("li",{staticClass:"item"},[e("div",[t._v("发票抬头:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.name||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("税号:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.duty_number||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("邮箱:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.email||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("开户银行:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.bank||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("企业地址:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.address||"-"))])]),e("li",{staticClass:"item"},[e("div",[t._v("企业电话:")]),e("div",{staticClass:"value"},[t._v(t._s(t.orderDatalist.orderInfo.invoice.drawer_phone||"-"))])])])]):t._e()]),e("TabPane",{attrs:{label:"商品信息",name:"product"}},[e("Table",{attrs:{columns:t.columns1,data:t.orderDatalist.orderInfo.cartInfo,border:"","highlight-row":""},scopedSlots:t._u([{key:"product",fn:function(r){var a=r.row;return[e("div",{staticClass:"product"},[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"image"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.productInfo.attrInfo?a.productInfo.attrInfo.image:a.productInfo.image,expression:"row.productInfo.attrInfo ? row.productInfo.attrInfo.image : row.productInfo.image"}]})]),e("div",{staticClass:"title"},[a.is_gift?e("span",{staticClass:"font-color-red"},[t._v("[赠品]")]):t._e(),t._v(t._s(a.productInfo.store_name)+" | "+t._s(a.productInfo.attrInfo?a.productInfo.attrInfo.suk:""))])])]}}],null,!1,517014031)})],1),e("TabPane",{attrs:{label:"订单记录",name:"record"}},[e("Table",{attrs:{columns:t.columns2,border:"",data:t.recordData,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"}})],1)],1)],1):t._e()]),e("Modal",{staticClass:"order_box2",attrs:{scrollable:"",title:"物流查询",width:"350"},model:{value:t.modal2,callback:function(e){t.modal2=e},expression:"modal2"}},[t.orderDatalist?e("div",{staticClass:"logistics acea-row row-top"},[e("div",{staticClass:"logistics_img"},[e("img",{attrs:{src:r("bd9b")}})]),e("div",{staticClass:"logistics_cent"},[e("span",[t._v("物流公司:"+t._s(t.orderDatalist.orderInfo.delivery_name))]),e("span",[t._v("物流单号:"+t._s(t.orderDatalist.orderInfo.delivery_id))])])]):t._e(),e("div",{staticClass:"acea-row row-column-around trees-coadd"},[e("div",{staticClass:"scollhide"},[e("Timeline",t._l(t.result,(function(r,a){return e("TimelineItem",{key:a},[e("p",{staticClass:"time",domProps:{textContent:t._s(r.time)}}),e("p",{staticClass:"content",domProps:{textContent:t._s(r.status)}})])})),1)],1)])])],1)}),[],!1,null,"0e1407ac",null).exports);function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */L=function(){return e};var t,e={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,a){var n=e&&e.prototype instanceof y?e:y,o=Object.create(n.prototype),s=new S(a||[]);return i(o,"_invoke",{value:O(t,r,s)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function y(){}function _(){}function g(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(F([])));x&&x!==r&&a.call(x,o)&&(b=x);var I=g.prototype=y.prototype=Object.create(b);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(i,n,o,s){var c=d(t[i],t,n);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==k(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function i(){return new e((function(e,i){r(t,a,e,i)}))}return n=n?n.then(i,i):i()}})}function O(e,r,a){var i=f;return function(n,o){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===n)throw o;return{value:t,done:!0}}for(a.method=n,a.arg=o;;){var s=a.delegate;if(s){var c=j(s,a);if(c){if(c===m)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===f)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=p;var l=d(e,r,a);if("normal"===l.type){if(i=a.done?v:h,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i=v,a.method="throw",a.arg=l.arg)}}}function j(e,r){var a=r.method,i=e.iterator[a];if(i===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var n=d(i,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function E(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function F(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function r(){for(;++i=0;--n){var o=this.tryEntries[n],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var i=a.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:F(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}function j(t,e,r,a,i,n,o){try{var s=t[n](o),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,i)}var E={name:"orderRecord",data:function(){return{modals:!1,loading:!1,recordData:[],page:{page:1,limit:10},columns:[{title:"订单ID",key:"oid",align:"center",minWidth:40},{title:"操作记录",key:"change_message",align:"center",minWidth:280},{title:"操作时间",key:"change_time",align:"center",minWidth:100}]}},methods:{pageChange:function(t){this.page.pageNum=t,this.getList()},getList:function(t){var e=this,r={id:t,datas:this.page};this.loading=!0,Object(f.l)(r).then(function(){var t,r=(t=L().mark((function t(r){return L().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.recordData=r.data,e.loading=!1;case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(a,i){var n=t.apply(e,r);function o(t){j(n,a,i,o,s,"next",t)}function s(t){j(n,a,i,o,s,"throw",t)}o(void 0)}))});return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))}}},T=(r("fd23"),Object(o.a)(E,(function(){var t=this,e=t._self._c;return e("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单记录",width:"700","footer-hide":""},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[e("Card",{attrs:{bordered:!1,"dis-hover":""}},[e("Table",{attrs:{columns:t.columns,border:"",data:t.recordData,loading:t.loading,"no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"}})],1)],1)}),[],!1,null,"111ee459",null).exports);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */F=function(){return e};var t,e={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,a){var n=e&&e.prototype instanceof y?e:y,o=Object.create(n.prototype),s=new E(a||[]);return i(o,"_invoke",{value:O(t,r,s)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function y(){}function _(){}function g(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==r&&a.call(x,o)&&(b=x);var I=g.prototype=y.prototype=Object.create(b);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(i,n,o,s){var c=d(t[i],t,n);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==S(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function i(){return new e((function(e,i){r(t,a,e,i)}))}return n=n?n.then(i,i):i()}})}function O(e,r,a){var i=f;return function(n,o){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===n)throw o;return{value:t,done:!0}}for(a.method=n,a.arg=o;;){var s=a.delegate;if(s){var c=k(s,a);if(c){if(c===m)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===f)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=p;var l=d(e,r,a);if("normal"===l.type){if(i=a.done?v:h,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i=v,a.method="throw",a.arg=l.arg)}}}function k(e,r){var a=r.method,i=e.iterator[a];if(i===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var n=d(i,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function r(){for(;++i=0;--n){var o=this.tryEntries[n],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var i=a.arg;j(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:T(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}function P(t,e,r,a,i,n,o){try{var s=t[n](o),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,i)}function N(t){return function(){var e=this,r=arguments;return new Promise((function(a,i){var n=t.apply(e,r);function o(t){P(n,a,i,o,s,"next",t)}function s(t){P(n,a,i,o,s,"throw",t)}o(void 0)}))}}var A,M={name:"orderMark",data:function(){return{tabs:"",formValidate:{remark:""},modals:!1,ruleValidate:{remark:[{required:!0,message:"请输入备注信息",trigger:"blur"}]}}},props:{orderId:Number,tab:Number},methods:{currentTab:function(t,e){this.tabs=t,this.formValidate.remark=e},cancel:function(t){this.modals=!1},putRemark:function(t){var e=this,r={id:this.orderId,remark:this.formValidate};this.$refs[t].validate((function(a){a?3==e.tabs?Object(i.y)(r).then(function(){var r=N(F().mark((function r(a){return F().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.$Message.success(a.msg),e.modals=!1,e.$refs[t].resetFields(),e.$emit("submitFail");case 4:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)})):4==e.tabs?Object(i.A)(r).then(function(){var r=N(F().mark((function r(a){return F().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.$Message.success(a.msg),e.modals=!1,e.$refs[t].resetFields(),e.$emit("submitFail");case 4:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)})):Object(i.z)(r).then(function(){var r=N(F().mark((function r(a){return F().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.$Message.success(a.msg),e.modals=!1,e.$refs[t].resetFields(),e.$emit("submitFail");case 4:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)})):e.$Message.warning("请填写备注信息")}))}}},$=Object(o.a)(M,(function(){var t=this,e=t._self._c;return e("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"请修改内容",closable:!1},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[e("Form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"备注:",prop:"remark"}},[e("Input",{staticStyle:{width:"100%"},attrs:{maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"订单备注"},model:{value:t.formValidate.remark,callback:function(e){t.$set(t.formValidate,"remark",e)},expression:"formValidate.remark"}})],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary"},on:{click:function(e){return t.putRemark("formValidate")}}},[t._v("提交")]),e("Button",{on:{click:function(e){return t.cancel("formValidate")}}},[t._v("取消")])],1)],1)}),[],!1,null,"1a5f7936",null).exports,G=r("0fc4"),W=r("0b65"),V=r("d708");function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */B=function(){return e};var t,e={},r=Object.prototype,a=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,a){var n=e&&e.prototype instanceof y?e:y,o=Object.create(n.prototype),s=new E(a||[]);return i(o,"_invoke",{value:O(t,r,s)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function y(){}function _(){}function g(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==r&&a.call(x,o)&&(b=x);var I=g.prototype=y.prototype=Object.create(b);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function r(i,n,o,s){var c=d(t[i],t,n);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==R(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}var n;i(this,"_invoke",{value:function(t,a){function i(){return new e((function(e,i){r(t,a,e,i)}))}return n=n?n.then(i,i):i()}})}function O(e,r,a){var i=f;return function(n,o){if(i===p)throw Error("Generator is already running");if(i===v){if("throw"===n)throw o;return{value:t,done:!0}}for(a.method=n,a.arg=o;;){var s=a.delegate;if(s){var c=k(s,a);if(c){if(c===m)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===f)throw i=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=p;var l=d(e,r,a);if("normal"===l.type){if(i=a.done?v:h,l.arg===m)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i=v,a.method="throw",a.arg=l.arg)}}}function k(e,r){var a=r.method,i=e.iterator[a];if(i===t)return r.delegate=null,"throw"===a&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),m;var n=d(i,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function L(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function r(){for(;++i=0;--n){var o=this.tryEntries[n],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var a=r.completion;if("throw"===a.type){var i=a.arg;j(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:T(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),m}},e}function z(t,e,r,a,i,n,o){try{var s=t[n](o),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(a,i)}function Y(t){return function(){var e=this,r=arguments;return new Promise((function(a,i){var n=t.apply(e,r);function o(t){z(n,a,i,o,s,"next",t)}function s(t){z(n,a,i,o,s,"throw",t)}o(void 0)}))}}function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function Q(t){for(var e=1;e您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!

"})},getData:function(t,e){var r=this;Object(i.h)(t).then(function(){var t=Y(B().mark((function t(a){return B().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e||(r.$refs.detailss.modals=!0),r.$refs.detailss.activeName="detail",r.orderDatalist=a.data,r.orderDatalist.orderInfo.refund_reason_wap_img)try{r.orderDatalist.orderInfo.refund_reason_wap_img=JSON.parse(r.orderDatalist.orderInfo.refund_reason_wap_img)}catch(t){r.orderDatalist.orderInfo.refund_reason_wap_img=[]}case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){r.$Message.error(t.msg)}))},bindWrite:function(t){var e=this;this.$Modal.confirm({title:"提示",content:"确定要核销该订单吗?",cancelText:"取消",closable:!0,maskClosable:!0,onOk:function(){Object(i.U)(t.order_id).then((function(t){e.$Message.success(t.msg),e.getList()}))},onCancel:function(){}})},delivery:function(t){var e=this;Object(i.i)(t.id).then(function(){var t=Y(B().mark((function t(r){return B().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.FromData=r.data,e.$refs.edits.modals=!0;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},edit:function(t){this.getOrderData(t.id)},getOrderData:function(t){var e=this;Object(i.j)(t).then(function(){var t=Y(B().mark((function t(r){return B().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==r.data.status){t.next=2;break}return t.abrupt("return",e.$authLapse(r.data));case 2:e.$authLapse(r.data),e.FromData=r.data,e.$refs.edits.modals=!0;case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},submitFail:function(){this.status=0,3==this.currentTab?this.getRecharge():4==this.currentTab?this.getVipOrder():(this.getList(),this.getData(this.orderId,1))},sendOrder:function(t){var e=this;this.$store.commit("admin/order/setSplitOrder",t.total_num),this.$refs.send.modals=!0,this.orderId=t.id,this.status=t._status,this.pay_type=t.pay_type,this.$refs.send.getList(),this.$refs.send.getDeliveryList(),this.$nextTick((function(r){e.$refs.send.getCartInfo(t._status,t.id)}))},showUserInfo:function(t){this.$refs.userDetails.modals=!0,this.$refs.userDetails.activeName="info",this.$refs.userDetails.getDetails(t.uid)},clearData:function(){this.orderData={page:1,limit:15,type:"",status:"",time:"",real_name:"",store_id:"",order_type:6},this.rechargeData={nickname:"",limit:15},this.vipData={member_type:"",limit:15}},staffList:function(){var t=this;Object(i.D)().then((function(e){t.staffData=e.data})).catch((function(e){t.$Message.error(e.msg)}))},getTabs:function(){var t=this;Object(i.t)().then((function(e){t.tablists=e.data})).catch((function(e){t.$Message.error(e.msg)}))},getChart:function(){var t=this;Object(i.q)({type:this.currentTab}).then((function(e){t.orderChartType=e.data})).catch((function(e){t.$Message.error(e.msg)}))}},H(H(H(H(H(H(H(H(H(H(A,"edit",(function(t){this.getOrderData(t.id)})),"onClickTab",(function(){this.clearData(),this.orderData.order_type=this.currentTab,this.orderData.page=1,this.timeVal=[],this.getChart(),this.searchList()})),"searchList",(function(){3==this.currentTab?this.getRecharge():4==this.currentTab?this.getVipOrder():this.getList()})),"userSearchs",(function(){this.orderData.page=1,this.searchList()})),"selectStatus",(function(){this.orderData.page=1,this.getList()})),"getVipOrder",(function(){var t=this;this.loading=!0,this.tableList=[],this.vipData.name=this.rechargeData.nickname,this.vipData.add_time=this.orderData.time,this.vipData.store_id=this.orderData.store_id,this.vipData.page=this.orderData.page,Object(i.x)(this.vipData).then((function(e){var r=e.data;t.tableList=r.list,t.total=r.count,t.loading=!1})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))})),"getRecharge",(function(){var t=this;this.loading=!0,this.tableList=[],this.rechargeData.data=this.orderData.time,this.rechargeData.store_id=this.orderData.store_id,this.rechargeData.page=this.orderData.page,Object(i.v)(this.rechargeData).then((function(e){var r=e.data;t.tableList=r.list,t.total=r.count,t.loading=!1})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))})),"getList",(function(){var t=this;this.loading=!0,this.tableList=[],Object(i.u)(this.orderData).then((function(e){var r=e.data;r.data.forEach((function(e){e.id==t.orderId&&(t.rowActive=e)})),t.tableList=r.data,t.total=r.count,t.loading=!1})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))})),"pageChange",(function(t){this.orderData.page=t,this.searchList()})),"orderSearch",(function(){this.orderData.page=1,this.searchList()})),H(H(H(A,"onchangeTime",(function(t){this.timeVal=t,this.orderData.time=this.timeVal[0]?this.timeVal.join("-"):"",this.orderData.page=1,t[0]||(this.orderData.time=""),this.searchList()})),"selectChange",(function(){this.orderData.page=1,this.timeVal=[],this.searchList()})),"getExcelData",(function(t){var e=this;return new Promise((function(r,a){var n=1;n=6==e.currentTab||7==e.currentTab||5==e.currentTab?1:3==e.currentTab?2:3,Object(i.s)(t,n).then((function(t){return r(t.data)}))}))})))},U=(r("f88a"),Object(o.a)(J,(function(){var t=this,e=t._self._c;return e("div",[e("Card",{staticClass:"mt15 ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[e("div",{staticClass:"new_card_pd"},[e("Form",{ref:"orderData",staticClass:"tabform",attrs:{model:t.orderData,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"选择门店:"}},[e("Select",{staticClass:"input-add",attrs:{clearable:"",filterable:""},on:{"on-change":t.userSearchs},model:{value:t.orderData.store_id,callback:function(e){t.$set(t.orderData,"store_id",e)},expression:"orderData.store_id"}},t._l(t.staffData,(function(r){return e("Option",{key:r.id,attrs:{value:r.id}},[t._v(t._s(r.name)+"\n ")])})),1)],1),e("FormItem",{attrs:{label:"创建时间:"}},[e("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),4==t.currentTab?e("FormItem",{attrs:{label:"会员类型:"}},[e("Select",{staticClass:"input-add",attrs:{clearable:""},on:{"on-change":t.userSearchs},model:{value:t.vipData.member_type,callback:function(e){t.$set(t.vipData,"member_type",e)},expression:"vipData.member_type"}},t._l(t.treeSelect,(function(r){return e("Option",{key:r.id,attrs:{value:r.id}},[t._v(t._s(r.label))])})),1)],1):t._e(),4!=t.currentTab?e("FormItem",{attrs:{label:"活动类型:"}},[e("Select",{staticClass:"input-add",attrs:{clearable:"",placeholder:"全部"},on:{"on-change":t.orderSearch},model:{value:t.orderData.type,callback:function(e){t.$set(t.orderData,"type",e)},expression:"orderData.type"}},[e("Option",{attrs:{value:"0"}},[t._v("普通订单")]),e("Option",{attrs:{value:"1"}},[t._v("秒杀订单")]),e("Option",{attrs:{value:"2"}},[t._v("砍价订单")]),e("Option",{attrs:{value:"3"}},[t._v("拼团订单")]),e("Option",{attrs:{value:"4"}},[t._v("积分订单")]),e("Option",{attrs:{value:"5"}},[t._v("套餐订单")]),e("Option",{attrs:{value:"6"}},[t._v("预售订单")]),e("Option",{attrs:{value:"7"}},[t._v("新人订单")]),e("Option",{attrs:{value:"8"}},[t._v("抽奖订单")]),e("Option",{attrs:{value:"9"}},[t._v("拼单订单")]),e("Option",{attrs:{value:"10"}},[t._v("桌码订单")])],1)],1):t._e(),e("FormItem",{attrs:{label:"订单状态:"}},[e("Select",{staticClass:"input-add",on:{"on-change":t.orderSearch},model:{value:t.orderData.status,callback:function(e){t.$set(t.orderData,"status",e)},expression:"orderData.status"}},[e("Option",{attrs:{value:""}},[t._v("全部")]),e("Option",{attrs:{value:"0"}},[t._v("未支付")]),e("Option",{attrs:{value:"1"}},[t._v("待配送")]),e("Option",{attrs:{value:"2"}},[t._v("配送中")]),e("Option",{attrs:{value:"3"}},[t._v("待评价")]),e("Option",{attrs:{value:"5"}},[t._v("待核销")]),e("Option",{attrs:{value:"6"}},[t._v("已核销")]),e("Option",{attrs:{value:"4"}},[t._v("已完成")]),e("Option",{attrs:{value:"-4"}},[t._v("已删除")])],1)],1),6==t.currentTab||7==t.currentTab||5==t.currentTab?e("FormItem",{attrs:{label:"订单搜索:","label-for":"real_name"}},[e("Input",{staticClass:"input-add",attrs:{placeholder:"订单号/商品名称"},model:{value:t.orderData.real_name,callback:function(e){t.$set(t.orderData,"real_name",e)},expression:"orderData.real_name"}})],1):t._e(),3==t.currentTab||4==t.currentTab?e("FormItem",{attrs:{label:"用户搜索:","label-for":"nickname"}},[e("Input",{staticClass:"input-add",attrs:{placeholder:"请输入用户名"},model:{value:t.rechargeData.nickname,callback:function(e){t.$set(t.rechargeData,"nickname",e)},expression:"rechargeData.nickname"}})],1):t._e(),e("FormItem",[e("Button",{staticClass:"ml75",attrs:{type:"primary"},on:{click:function(e){return t.orderSearch()}}},[t._v("查询")])],1)],1)],1)]),e("Card",{staticClass:"mt15 ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"new_tab"},[e("Tabs",{on:{"on-click":t.onClickTab},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},[e("TabPane",{attrs:{label:"收银台订单",name:"6"}}),e("TabPane",{attrs:{label:"配送订单",name:"7"}}),e("TabPane",{attrs:{label:"核销订单",name:"5"}}),e("TabPane",{attrs:{label:"充值订单",name:"3"}}),e("TabPane",{attrs:{label:"付费会员订单",name:"4"}})],1)],1),e("Table",{ref:"table",attrs:{columns:6==t.currentTab||7==t.currentTab||5==t.currentTab?t.columns:3==t.currentTab?t.rechargeColumns:t.vipColumns,data:t.tableList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"order_id",fn:function(r){var a=r.row;return[e("span",{staticStyle:{display:"block"},domProps:{textContent:t._s(a.order_id)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:1===a.is_del,expression:"row.is_del === 1"}],staticClass:"span-del"},[t._v("用户已删除")])]}},{key:"userInfo",fn:function(r){var a=r.row;return[6==t.currentTab||7==t.currentTab||5==t.currentTab?e("div",[a.uid?e("a",{on:{click:function(e){return t.showUserInfo(a)}}},[t._v("\n "+t._s(a.nickname)+"\n "),e("span",{staticClass:"ml5"},[t._v("/"+t._s(a.uid))])]):e("span",[t._v("游客"),e("span",{staticClass:"ml5"},[t._v("/"+t._s(a.uid))])])]):t._e(),3==t.currentTab?e("div",{staticClass:"tabBox"},[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.avatar,expression:"row.avatar"}]})]),e("span",{staticClass:"tabBox_tit"},[t._v(t._s(a.nickname))])]):t._e(),4==t.currentTab&&a.user?e("div",{staticClass:"tabBox"},[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.user.avatar,expression:"row.user.avatar"}]})]),e("span",{staticClass:"tabBox_tit"},[t._v(t._s(a.user.nickname))])]):t._e()]}},{key:"info",fn:function(r){var a=r.row;return[e("Tooltip",{attrs:{theme:"dark","max-width":"300",delay:600}},[t._l(a._info,(function(r,a){return e("div",{key:a,staticClass:"tabBox"},[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.cart_info.productInfo.attrInfo?r.cart_info.productInfo.attrInfo.image:r.cart_info.productInfo.image,expression:"\n val.cart_info.productInfo.attrInfo\n ? val.cart_info.productInfo.attrInfo.image\n : val.cart_info.productInfo.image\n "}]})]),e("span",{staticClass:"info_title line1"},[r.cart_info.is_gift?e("span",{staticClass:"font-color-red"},[t._v("赠品")]):t._e(),t._v("\n "+t._s(r.cart_info.productInfo.store_name+" | ")+"\n "+t._s(r.cart_info.productInfo.attrInfo?r.cart_info.productInfo.attrInfo.suk:"")+"\n ")])])})),e("div",{attrs:{slot:"content"},slot:"content"},t._l(a._info,(function(r,a){return e("div",{key:a},[r.cart_info.is_gift?e("p",{staticClass:"font-color-red"},[t._v("赠品")]):t._e(),e("p",[t._v(t._s(r.cart_info.productInfo.store_name))]),e("p",[t._v(" "+t._s(r.cart_info.productInfo.attrInfo?r.cart_info.productInfo.attrInfo.suk:""))]),e("p",{staticClass:"tabBox_pice"},[t._v(t._s("¥"+r.cart_info.truePrice+" x "+r.cart_info.cart_num))])])})),0)],2)]}},{key:"statusName",fn:function(r){var a=r.row;return[a.status_name&&0==a.status?e("Tag",{attrs:{color:"red",size:"medium"}},[t._v(t._s(a.status_name.status_name))]):t._e(),a.status_name&&0!==a.status?e("Tag",{attrs:{color:"green",size:"medium"}},[t._v(t._s(a.status_name.status_name))]):t._e(),e("br"),!a.is_all_refund&&a.refund.length?e("Tag",{attrs:{color:"orange",size:"medium"}},[t._v("部分退款中")]):t._e(),a.is_all_refund&&a.refund.length&&6!=a.refund_type?e("Tag",{attrs:{color:"orange",size:"medium"}},[t._v("退款中")]):t._e()]}},{key:"pay_price",fn:function(e){var r=e.row;return[t._v("\n "+t._s(r.paid>0?r.pay_price:0)+"\n ")]}},{key:"action",fn:function(r){var a=r.row;return[6==t.currentTab?e("span",[e("a",{on:{click:function(e){return t.detail(a)}}},[t._v("订单详情")])]):t._e(),7==t.currentTab?e("span",[2==a._status?e("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.distribution(a)}}},[t._v("分配")]):t._e(),2==a._status?e("Divider",{attrs:{type:"vertical"}}):t._e(),e("a",{on:{click:function(e){return t.detail(a)}}},[t._v("详情")])],1):t._e(),5==t.currentTab?e("span",[11==a._status?e("a",{attrs:{disabled:t.openErp},on:{click:function(e){return t.distribution(a)}}},[t._v("分配")]):t._e(),11==a._status?e("Divider",{attrs:{type:"vertical"}}):t._e(),e("a",{on:{click:function(e){return t.detail(a)}}},[t._v("详情")])],1):t._e(),3==t.currentTab||4==t.currentTab?e("a",{on:{click:function(e){return t.remark(a)}}},[t._v("备注")]):t._e()]}}])}),e("div",{staticClass:"acea-row row-right page"},[e("Page",{attrs:{total:t.total,current:t.orderData.page,"show-elevator":"","show-total":"","page-size":t.orderData.limit},on:{"on-change":t.pageChange}})],1)],1),e("Distribution",{ref:"distshow"}),e("user-details",{ref:"userDetails",attrs:{fromType:"order"}}),e("edit-from",{ref:"edits",attrs:{FromData:t.FromData},on:{submitFail:t.submitFail}}),e("details-from",{ref:"detailss",attrs:{orderDatalist:t.orderDatalist,orderId:t.orderId,"row-active":t.rowActive,currentTab:t.currentTab,openErp:t.openErp}}),e("order-remark",{ref:"remarks",attrs:{orderId:t.orderId},on:{submitFail:t.submitFail}}),e("order-record",{ref:"record"}),e("order-send",{ref:"send",attrs:{orderId:t.orderId,status:t.status,pay_type:t.pay_type},on:{submitFail:t.submitFail}})],1)}),[],!1,null,"d8a38f52",null));e.default=U.exports},f88a:function(t,e,r){"use strict";r("acfa")},fd23:function(t,e,r){"use strict";r("7c43")}}]);