1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-180c2caa"],{"094a":function(e,t,r){"use strict";var a=r("8ed7"),s=r.n(a);s.a},"1a84":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单发送货",closable:!1,width:"1000"},on:{"on-visible-change":e.changeModal},model:{value:e.modals,callback:function(t){e.modals=t},expression:"modals"}},[e.modals?r("Form",{ref:"formItem",attrs:{model:e.formItem,"label-width":100},nativeOn:{submit:function(e){e.preventDefault()}}},[r("FormItem",{attrs:{label:"选择类型:"}},[r("RadioGroup",{on:{"on-change":e.changeRadio},model:{value:e.formItem.type,callback:function(t){e.$set(e.formItem,"type",t)},expression:"formItem.type"}},[e.productType?e._e():r("Radio",{attrs:{label:"1"}},[e._v("发货")]),!e.productType&&e.sheetInfo.city_delivery_status?r("Radio",{attrs:{label:"2"}},[e._v("送货")]):e._e(),r("Radio",{attrs:{label:"3"}},[e._v("无需配送")])],1)],1),1==e.formItem.type?r("FormItem",{directives:[{name:"show",rawName:"v-show",value:e.export_open,expression:"export_open"}],attrs:{label:"发货类型:"}},[r("RadioGroup",{on:{"on-change":e.changeExpress},model:{value:e.formItem.express_record_type,callback:function(t){e.$set(e.formItem,"express_record_type",t)},expression:"formItem.express_record_type"}},[r("Radio",{attrs:{label:"1"}},[e._v("手动填写")]),r("Radio",{attrs:{label:"2"}},[e._v("电子面单打印")])],1)],1):e._e(),r("div",[1==e.formItem.type?r("FormItem",{attrs:{label:"快递公司:"}},[r("Select",{staticClass:"input-add",attrs:{filterable:"",placeholder:"请选择快递公司"},on:{"on-change":e.expressChange},model:{value:e.formItem.delivery_name,callback:function(t){e.$set(e.formItem,"delivery_name",t)},expression:"formItem.delivery_name"}},e._l(e.express,(function(t,a){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.value)+"\n\t\t\t\t\t")])})),1)],1):e._e(),"1"===e.formItem.express_record_type&&1==e.formItem.type?r("FormItem",{attrs:{label:"快递单号:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入快递单号"},model:{value:e.formItem.delivery_id,callback:function(t){e.$set(e.formItem,"delivery_id",t)},expression:"formItem.delivery_id"}}),"顺丰速运"==e.formItem.delivery_name?r("div",{staticClass:"trips"},[r("p",[e._v("顺丰请输入单号 :收件人或寄件人手机号后四位,")]),r("p",[e._v("例如:SF000000000000:3941")])]):e._e()],1):e._e(),"2"===e.formItem.express_record_type?[r("FormItem",{staticClass:"express_temp_id",attrs:{label:"电子面单:"}},[r("Select",{staticClass:"input-add",attrs:{placeholder:"请选择电子面单"},on:{"on-change":e.expressTempChange},model:{value:e.formItem.express_temp_id,callback:function(t){e.$set(e.formItem,"express_temp_id",t)},expression:"formItem.express_temp_id"}},e._l(e.expressTemp,(function(t,a){return r("Option",{key:a,attrs:{value:t.temp_id}},[e._v(e._s(t.title)+"\n\t\t\t\t\t\t")])})),1),e.formItem.express_temp_id?r("Button",{attrs:{type:"text"},on:{click:e.preview}},[e._v("预览")]):e._e()],1),r("FormItem",{attrs:{label:"寄件人姓名:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人姓名"},model:{value:e.formItem.to_name,callback:function(t){e.$set(e.formItem,"to_name",t)},expression:"formItem.to_name"}})],1),r("FormItem",{attrs:{label:"寄件人电话:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人电话"},model:{value:e.formItem.to_tel,callback:function(t){e.$set(e.formItem,"to_tel",t)},expression:"formItem.to_tel"}})],1),r("FormItem",{attrs:{label:"寄件人地址:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人地址"},model:{value:e.formItem.to_addr,callback:function(t){e.$set(e.formItem,"to_addr",t)},expression:"formItem.to_addr"}})],1)]:e._e()],2),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"===e.formItem.type,expression:"formItem.type === '2'"}]},[r("FormItem",{attrs:{label:"配送类型:"}},[r("RadioGroup",{model:{value:e.formItem.delivery_type,callback:function(t){e.$set(e.formItem,"delivery_type",t)},expression:"formItem.delivery_type"}},[e.sheetInfo.self_delivery_status?r("Radio",{attrs:{label:1}},[e._v("商家配送")]):e._e(),e.sheetInfo.dada_delivery_status||e.sheetInfo.uu_delivery_status?r("Radio",{attrs:{label:2}},[e._v("第三方配送")]):e._e()],1)],1),1===e.formItem.delivery_type?r("FormItem",{attrs:{label:"送货人:",required:""}},[r("Select",{staticClass:"input-add",attrs:{placeholder:"请选择送货人"},on:{"on-change":e.shDeliveryChange},model:{value:e.formItem.sh_delivery,callback:function(t){e.$set(e.formItem,"sh_delivery",t)},expression:"formItem.sh_delivery"}},e._l(e.deliveryList,(function(t,a){return r("Option",{key:a,attrs:{value:t.id}},[e._v("\n\t\t\t\t\t\t"+e._s(t.wx_name)+"("+e._s(t.phone)+")")])})),1)],1):e._e(),2===e.formItem.delivery_type?r("div",[r("FormItem",{attrs:{label:"配送平台:"}},[r("RadioGroup",{model:{value:e.formItem.station_type,callback:function(t){e.$set(e.formItem,"station_type",t)},expression:"formItem.station_type"}},[e.sheetInfo.dada_delivery_status?r("Radio",{attrs:{label:1}},[e._v("达达")]):e._e(),e.sheetInfo.uu_delivery_status?r("Radio",{attrs:{label:2}},[e._v("uu跑腿")]):e._e()],1)],1),r("FormItem",{attrs:{label:"包裹重量:",required:""}},[r("InputNumber",{staticClass:"input-add",attrs:{min:0},model:{value:e.formItem.cargo_weight,callback:function(t){e.$set(e.formItem,"cargo_weight",t)},expression:"formItem.cargo_weight"}}),r("span",{staticStyle:{"margin-left":"10px"}},[e._v("kg")])],1),r("FormItem",{attrs:{label:"配送备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"配送备注"},model:{value:e.formItem.remark,callback:function(t){e.$set(e.formItem,"remark",t)},expression:"formItem.remark"}})],1),r("FormItem",{attrs:{label:"备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"备注"},model:{value:e.formItem.mark,callback:function(t){e.$set(e.formItem,"mark",t)},expression:"formItem.mark"}})],1)],1):e._e()],1),r("div",{directives:[{name:"show",rawName:"v-show",value:"3"===e.formItem.type,expression:"formItem.type === '3'"}]},[r("FormItem",{attrs:{label:"备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"备注"},model:{value:e.formItem.fictitious_content,callback:function(t){e.$set(e.formItem,"fictitious_content",t)},expression:"formItem.fictitious_content"}})],1)],1),e.splitOrder>1&&"3"!==e.formItem.type?r("div",[r("FormItem",{attrs:{label:"分单发货:"}},[r("i-switch",{attrs:{size:"large",disabled:8===e.orderStatus},on:{"on-change":e.changeSplitStatus},model:{value:e.splitSwitch,callback:function(t){e.splitSwitch=t},expression:"splitSwitch"}},[r("span",{attrs:{slot:"open"},slot:"open"},[e._v("开启")]),r("span",{attrs:{slot:"close"},slot:"close"},[e._v("关闭")])]),r("div",{staticClass:"trips"},[r("p",[e._v("\n\t\t\t\t\t\t可选择表格中的商品单独发货,发货后会生成新的订单且不能撤回,请谨慎操作!\n\t\t\t\t\t")])]),e.splitSwitch&&e.manyFormValidate.length?r("Table",{attrs:{data:e.manyFormValidate,columns:e.header,border:""},on:{"on-selection-change":e.selectOne},scopedSlots:e._u([{key:"image",fn:function(t){var a=t.row;t.index;return[r("div",{staticClass:"product-data"},[r("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),r("div",{staticClass:"name line2"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(a.cart_info.productInfo.store_name)+"\n\t\t\t\t\t\t\t")])])]}},{key:"value",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.price:a.cart_info.productInfo.price))])]}},{key:"price",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.truePrice))])]}}],null,!1,2985513488)}):e._e()],1)],1):e._e()],1):e._e(),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{on:{click:e.cancel}},[e._v("取消")]),r("Button",{attrs:{type:"primary"},on:{click:e.putSend}},[e._v("提交")])],1),r("div",{directives:[{name:"viewer",rawName:"v-viewer"},{name:"show",rawName:"v-show",value:e.temp,expression:"temp"}],ref:"viewer"},[r("img",{staticStyle:{display:"none"},attrs:{src:e.temp.pic}})])],1)},s=[],n=r("a34a"),i=r.n(n),o=r("2f62"),c=r("f8b7");function l(e,t,r,a,s,n,i){try{var o=e[n](i),c=o.value}catch(l){return void r(l)}o.done?t(c):Promise.resolve(c).then(a,s)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(a,s){var n=e.apply(t,r);function i(e){l(n,a,s,i,o,"next",e)}function o(e){l(n,a,s,i,o,"throw",e)}i(void 0)}))}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(r,!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f={name:"orderSend",props:{orderId:Number,status:Number,pay_type:String},data:function(){var e=this;return{productType:0,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:"",station_type:1,cargo_weight:0,mark:"",remark:"",delivery_type:1},modals:!1,express:[],expressTemp:[],deliveryList:[],temp:{},export_open:!0,manyFormValidate:[],header:[{type:"selection",width:60,align:"center"},{title:"商品信息",slot:"image",align:"center",width:200},{title:"规格",slot:"value",align:"center",minWidth:120},{title:"商品售价",slot:"sellPrice",align:"center",minWidth:100},{title:"商品优惠价",slot:"price",align:"center",minWidth:100},{title:"总数",key:"cart_num",align:"center",minWidth:80},{title:"待发数量",key:"surplus_num",align:"center",width:180,render:function(t,r){return t("div",[t("InputNumber",{props:{min:1,max:r.row.numShow,value:r.row.surplus_num||1},on:{"on-change":function(t){r.row.surplus_num=t||1,e.manyFormValidate[r.index]=r.row,e.selectData.forEach((function(t,a){t.cart_id===r.row.cart_id&&e.selectData.splice(a,1,r.row)}))}}})])}}],selectData:[],sheetInfo:{}}},computed:d({},Object(o["e"])("store/order",["splitOrder"])),methods:{selectOne:function(e){this.selectData=e},changeModal:function(e){e||this.cancel()},changeSplitStatus:function(e){var t=this;e&&Object(c["bb"])(this.orderId).then((function(e){var r=e.data;r.forEach((function(e){e.numShow=e.surplus_num})),t.manyFormValidate=r}))},changeRadio:function(e){switch(this.$refs.formItem.resetFields(),e){case"1":this.formItem.delivery_name="",this.formItem.delivery_id="",this.formItem.express_temp_id="",this.formItem.express_record_type="1",this.expressTemp=[];break;case"2":this.formItem.sh_delivery="",this.sheetInfo.self_delivery_status?this.formItem.delivery_type=1:this.formItem.delivery_type=2,this.sheetInfo.dada_delivery_status?this.formItem.station_type=1:this.formItem.station_type=2;break;case"3":this.formItem.fictitious_content="";break;default:break}},changeExpress:function(e){switch(e){case"2":this.formItem.delivery_name="",this.formItem.express_temp_id="",this.expressTemp=[],this.getList(2);break;case"1":this.formItem.delivery_name="",this.formItem.delivery_id="",this.getList(1);break;default:break}},reset:function(){this.formItem={type:"1",express_record_type:"1",delivery_name:"",delivery_id:"",express_temp_id:"",expressTemp:[],to_name:"",to_tel:"",to_addr:"",sh_delivery:"",fictitious_content:"",station_type:1,delivery_type:"1",cargo_weight:0,remark:"",mark:""}},getList:function(e){var t=this,r=2===e?1:"";Object(c["v"])(r).then(function(){var e=m(i.a.mark((function e(r){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.express=r.data,t.getSheetInfo();case 2: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)}))},putSend:function(e){var t=this,r={id:this.orderId,datas:this.formItem};if("1"===this.formItem.type&&"2"===this.formItem.express_record_type){if(""===this.formItem.delivery_name)return this.$Message.error("快递公司不能为空");if(""===this.formItem.express_temp_id)return this.$Message.error("电子面单不能为空");if(""===this.formItem.to_name)return this.$Message.error("寄件人姓名不能为空");if(""===this.formItem.to_tel)return this.$Message.error("寄件人电话不能为空");if(!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.formItem.to_tel))return this.$Message.error("请输入正确的手机号码");if(""===this.formItem.to_addr)return this.$Message.error("寄件人地址不能为空")}if("1"===this.formItem.type&&"1"===this.formItem.express_record_type){if(""===this.formItem.delivery_name)return this.$Message.error("快递公司不能为空");if(""===this.formItem.delivery_id)return this.$Message.error("快递单号不能为空")}if("2"===this.formItem.type){if(1===this.formItem.delivery_type&&""===this.formItem.sh_delivery)return this.$Message.error("送货人不能为空");if(2===this.formItem.delivery_type&&this.formItem.cargo_weight<=0)return this.$Message.error("请输入有效的重量")}this.splitSwitch?(r.datas.cart_ids=[],this.selectData.forEach((function(e){r.datas.cart_ids.push({cart_id:e.cart_id,cart_num:e.surplus_num})})),Object(c["cb"])(r).then((function(e){t.modals=!1,t.$Message.success(e.msg),t.$emit("submitFail"),t.reset(),t.splitSwitch=!1})).catch((function(e){t.$Message.error(e.msg)}))):Object(c["T"])(r).then(function(){var e=m(i.a.mark((function e(r){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.modals=!1,t.$Message.success(r.msg),t.splitSwitch=!1,t.$emit("submitFail"),t.reset();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},cancel:function(e){this.modals=!1,this.orderStatus=0,this.splitSwitch=!1,this.selectData=[],this.reset()},expressChange:function(e){var t=this,r=this.express.find((function(t){return t.value===e}));void 0!==r&&(this.formItem.delivery_code=r.code,"2"===this.formItem.express_record_type&&(this.expressTemp=[],this.formItem.express_temp_id="",Object(c["H"])({com:this.formItem.delivery_code}).then((function(e){t.expressTemp=e.data,e.data.length||t.$Message.error("请配置你所选快递公司的电子面单")})).catch((function(e){t.$Message.error(e.msg)}))))},getCartInfo:function(e,t){var r=this;this.$set(this,"orderStatus",e),this.$set(this,"splitSwitch",8===e),Object(c["bb"])(this.orderId).then((function(e){var t=e.data;t.forEach((function(e){e.numShow=e.surplus_num})),r.manyFormValidate=t,r.productType=t[0].product_type,3==r.productType&&(r.formItem.type="3",r.formItem.fictitious_content="")}))},getDeliveryList:function(){var e=this;Object(c["F"])().then((function(t){e.deliveryList=t.data.list})).catch((function(t){e.$Message.error(t.msg)}))},getSheetInfo:function(){var e=this;Object(c["M"])().then((function(t){var r=t.data;for(var a in r)r.hasOwnProperty(a)&&(e.formItem[a]=r[a]);e.export_open=void 0===r.export_open||r.export_open,e.export_open||(e.formItem.express_record_type="1"),e.formItem.to_addr=r.to_add,e.sheetInfo=r})).catch((function(t){e.$Message.error(t.msg)}))},shDeliveryChange:function(e){if(e){var t=this.deliveryList.find((function(t){return t.id===e}));this.formItem.sh_delivery_name=t.wx_name,this.formItem.sh_delivery_id=t.phone,this.formItem.sh_delivery_uid=t.uid}},expressTempChange:function(e){this.temp=this.expressTemp.find((function(t){return e===t.temp_id})),void 0===this.temp&&(this.temp={})},preview:function(){this.$refs.viewer.$viewer.show()}}},h=f,_=(r("094a"),r("2877")),v=Object(_["a"])(h,a,s,!1,null,"6fca695e",null);t["a"]=v.exports},"277a":function(e,t,r){},"565f":function(e,t,r){},"6f5c":function(e,t,r){"use strict";var a=r("c5bb"),s=r.n(a);s.a},"759d":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{width:"100%"}},[r("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:"用户详情","mask-closable":!1,width:"900"},model:{value:e.modals,callback:function(t){e.modals=t},expression:"modals"}},[e.spinShow?r("Spin",{attrs:{size:"large",fix:""}}):e._e(),r("div",{staticClass:"acea-row"},[r("div",{staticClass:"avatar mr15"},[r("img",{attrs:{src:e.psInfo.avatar}})]),r("div",{staticClass:"dashboard-workplace-header-tip"},[r("p",{staticClass:"dashboard-workplace-header-tip-title",domProps:{textContent:e._s(e.psInfo.nickname||"-")}}),r("div",{staticClass:"dashboard-workplace-header-tip-desc"},e._l(e.detailsData,(function(t,a){return r("span",{key:a,staticClass:"dashboard-workplace-header-tip-desc-sp"},[e._v(e._s(t.title+":"+t.value))])})),0)])]),r("Row",{staticClass:"mt25",attrs:{type:"flex",justify:"space-between"}},[r("Col",{staticClass:"user_menu",attrs:{span:"4"}},[r("Menu",{attrs:{theme:e.theme2,"active-name":e.activeName},on:{"on-select":e.changeType}},e._l(e.list,(function(t,a){return r("MenuItem",{key:a,attrs:{name:t.val}},[e._v("\n "+e._s(t.label)+"\n ")])})),1)],1),r("Col",{attrs:{span:"20"}},[r("Table",{ref:"table",attrs:{columns:e.columns,data:e.userLists,"max-height":"400",loading:e.loading,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:e._u([{key:"coupon_price",fn:function(t){var a=t.row;return[1==a.coupon_type?r("span",[e._v(e._s(a.coupon_price)+"元")]):e._e(),2==a.coupon_type?r("span",[e._v(e._s(parseFloat(a.coupon_price)/10)+"折("+e._s(a.coupon_price.toString().split(".")[0])+"%)")]):e._e()]}}])}),r("div",{staticClass:"acea-row row-right page"},[r("Page",{attrs:{total:e.total,current:e.userFrom.page,"show-elevator":"","show-total":"","page-size":e.userFrom.limit},on:{"on-change":e.pageChange}})],1)],1)],1)],1)],1)},s=[],n=r("a34a"),i=r.n(n),o=r("c24f");function c(e,t,r,a,s,n,i){try{var o=e[n](i),c=o.value}catch(l){return void r(l)}o.done?t(c):Promise.resolve(c).then(a,s)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(a,s){var n=e.apply(t,r);function i(e){c(n,a,s,i,o,"next",e)}function o(e){c(n,a,s,i,o,"throw",e)}i(void 0)}))}}var m={name:"userDetails",data:function(){return{theme2:"light",list:[{val:"order",label:"消费记录"},{val:"integral",label:"积分明细"},{val:"sign",label:"签到记录"},{val:"coupon",label:"持有优惠券"},{val:"balance_change",label:"余额变动"},{val:"spread",label:"好友关系"}],modals:!1,spinShow:!1,detailsData:[],userId:0,loading:!1,userFrom:{type:"order",page:1,limit:20},total:0,columns:[],userLists:[],psInfo:{},activeName:"order"}},created:function(){},methods:{getDetails:function(e){var t=this;this.activeName="order",this.userId=e,this.spinShow=!0,Object(o["c"])(e).then(function(){var e=l(i.a.mark((function e(r){var a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:200===r.status?(a=r.data,t.detailsData=a.headerList,t.psInfo=a.ps_info,t.changeType(t.activeName,1),t.spinShow=!1):(t.spinShow=!1,t.$Message.error(r.msg));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.spinShow=!1,t.$Message.error(e.msg)}))},pageChange:function(e){this.userFrom.page=e,this.changeType(this.userFrom.type,e)},changeType:function(e,t){var r=this;this.loading=!0,this.userFrom.type=e,this.activeName=e,""===this.userFrom.type&&(this.userFrom.type="order");var a={id:this.userId,datas:this.userFrom};t||(t=1),this.userFrom.page=t,Object(o["e"])(a).then(function(){var e=l(i.a.mark((function e(t){var a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(200!==t.status){e.next=22;break}a=t.data,r.userLists=a.list,r.total=a.count,r.loading=!1,e.t0=r.userFrom.type,e.next="order"===e.t0?8:"integral"===e.t0?10:"sign"===e.t0?12:"coupon"===e.t0?14:"balance_change"===e.t0?16:18;break;case 8:return r.columns=[{title:"订单ID",key:"order_id",minWidth:160},{title:"收货人",key:"real_name",minWidth:100},{title:"商品数量",key:"total_num",minWidth:90},{title:"商品总价",key:"total_price",minWidth:110},{title:"实付金额",key:"pay_price",minWidth:120},{title:"交易完成时间",key:"pay_time",minWidth:120}],e.abrupt("break",19);case 10:return r.columns=[{title:"来源/用途",key:"title",minWidth:120},{title:"积分变化",key:"number",minWidth:120},{title:"变化前积分",key:"balance",minWidth:120},{title:"日期",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],e.abrupt("break",19);case 12:return r.columns=[{title:"动作",key:"title",minWidth:120},{title:"获得积分",key:"number",minWidth:120},{title:"签到时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],e.abrupt("break",19);case 14:return r.columns=[{title:"优惠券名称",key:"coupon_title",minWidth:120},{title:"面值",slot:"coupon_price",minWidth:120},{title:"有效期(天)",key:"coupon_time",minWidth:120},{title:"领取时间",key:"_add_time",minWidth:120}],e.abrupt("break",19);case 16:return r.columns=[{title:"动作",key:"title",minWidth:120},{title:"变动金额",key:"number",minWidth:120},{title:"变动后",key:"balance",minWidth:120},{title:"创建时间",key:"add_time",minWidth:120},{title:"备注",key:"mark",minWidth:120}],e.abrupt("break",19);case 18:r.columns=[{title:"ID",key:"uid",minWidth:120},{title:"昵称",key:"nickname",minWidth:120},{title:"等级",key:"type",minWidth:120},{title:"加入时间",key:"add_time",minWidth:120}];case 19:r.loading=!1,e.next=24;break;case 22:r.loading=!1,r.$Message.error(t.msg);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){r.loading=!1,r.$Message.error(e.msg)}))}}},u=m,d=(r("9a35"),r("d09b"),r("2877")),p=Object(d["a"])(u,a,s,!1,null,"2a0c4376",null);t["a"]=p.exports},"8ed7":function(e,t,r){},"9a35":function(e,t,r){"use strict";var a=r("565f"),s=r.n(a);s.a},a464:function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("Row",{staticClass:"expand-row"},[r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[e._v("商品总价:")]),r("span",{staticClass:"expand-value",domProps:{textContent:e._s(e.row.total_price)}})]),r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[e._v("下单时间:")]),r("span",{staticClass:"expand-value",domProps:{textContent:e._s(e.row.add_time)}})]),r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[e._v("推广人:")]),r("span",{staticClass:"expand-value",domProps:{textContent:e._s(e.row.spread_nickname?e.row.spread_nickname:"无")}})])],1),r("Row",[r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[e._v("用户备注:")]),r("Tooltip",{attrs:{"max-width":"300",placement:"bottom",transfer:""}},[r("span",{staticClass:"line2"},[e._v(e._s(e.row.mark?e.row.mark:"无"))]),r("p",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.row.mark?e.row.mark:"无"))])])],1),r("Col",{attrs:{span:"8"}},[r("span",{staticClass:"expand-key"},[e._v("商家备注:")]),r("span",{staticClass:"expand-value"},[r("Tooltip",{attrs:{"max-width":"300",placement:"bottom",transfer:""}},[r("span",{staticClass:"line2"},[e._v(e._s(e.row.remark))]),r("p",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.row.remark))])])],1)])],1)],1)},s=[],n={name:"table-expand",props:{row:Object}},i=n,o=(r("6f5c"),r("2877")),c=Object(o["a"])(i,a,s,!1,null,"c5120440",null);t["a"]=c.exports},c24f:function(e,t,r){"use strict";r.d(t,"r",(function(){return s})),r.d(t,"k",(function(){return n})),r.d(t,"l",(function(){return i})),r.d(t,"a",(function(){return o})),r.d(t,"q",(function(){return c})),r.d(t,"j",(function(){return l})),r.d(t,"m",(function(){return m})),r.d(t,"u",(function(){return u})),r.d(t,"d",(function(){return d})),r.d(t,"f",(function(){return p})),r.d(t,"c",(function(){return f})),r.d(t,"e",(function(){return h})),r.d(t,"p",(function(){return _})),r.d(t,"n",(function(){return v})),r.d(t,"t",(function(){return y})),r.d(t,"o",(function(){return b})),r.d(t,"s",(function(){return I})),r.d(t,"g",(function(){return g})),r.d(t,"i",(function(){return w})),r.d(t,"b",(function(){return x})),r.d(t,"h",(function(){return k}));var a=r("b6bd");function s(){return Object(a["a"])({url:"user/user_label_cate",method:"get"})}function n(){return Object(a["a"])({url:"user/user_label_cate/create",method:"get"})}function i(e){return Object(a["a"])({url:"user/user_label_cate/".concat(e,"/edit"),method:"get"})}function o(e){return Object(a["a"])({url:"user/user_label",method:"get",params:e})}function c(){return Object(a["a"])({url:"user/user_label/create",method:"get"})}function l(e){return Object(a["a"])({url:"user/user_label/".concat(e,"/edit"),method:"get"})}function m(e){return Object(a["a"])({url:"user/user",method:"get",params:e})}function u(e){return Object(a["a"])({url:"user/search",method:"get",params:e})}function d(e){return Object(a["a"])({url:"user/label/".concat(e),method:"get"})}function p(e,t){return Object(a["a"])({url:"user/label/".concat(e),method:"post",data:t})}function f(e){return Object(a["a"])({url:"user/user/".concat(e),method:"get"})}function h(e){return Object(a["a"])({url:"user/one_info/".concat(e.id),method:"get",params:e.datas})}function _(e){return Object(a["a"])({url:"user/set_label",method:"post",data:e})}function v(){return Object(a["a"])({url:"user/recharge/meal",method:"get"})}function y(){return Object(a["a"])({url:"user/member/ship",method:"get"})}function b(e){return Object(a["a"])({url:"user/recharge",method:"post",data:e})}function I(e){return Object(a["a"])({url:"/user/member",method:"post",data:e})}function g(e){return Object(a["a"])({url:"staff/binding/user",method:"post",data:e})}function w(e){return Object(a["a"])({url:"updatePwd",method:"PUT",data:e})}function x(e,t){return Object(a["a"])({url:"check_order_status/".concat(e),method:"post",data:t})}function k(){return Object(a["a"])({url:"staff/staff_info",method:"get"})}},c5bb:function(e,t,r){},d09b:function(e,t,r){"use strict";var a=r("277a"),s=r.n(a);s.a}}]);
|