| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[52],{599:function(t,e,r){},690:function(t,e,r){"use strict";r(599)},781:function(t,e,r){"use strict";r.r(e);r(25),r(24),r(23),r(29),r(30);var o=r(4),n=(r(8),r(17),r(76),r(150),r(202)),d=r(12);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var l={name:"account_edit",components:{},data:function(){return{yes:!0,order_id:0,orderData:[],checked:!1,order_goods_ids:[]}},created:function(){this.order_id=this.$route.query.order_id,this.getOrderInfo()},mounted:function(){},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(d.b)(["defaultGoodsImage"])),layout:"member",methods:{getOrderInfo:function(){var t=this;Object(n.b)({order_id:this.order_id}).then((function(e){e.code>=0&&(t.orderData=[],e.data.order_goods.forEach((function(e){0==e.refund_status&&t.orderData.push(e)})))}))},handleSelectionChange:function(t){this.order_goods_ids=t.map((function(t,e){return t.order_goods_id}))},next:function(){this.$router.push({path:"/order/orderbatch_refund",query:{order_goods_id:this.order_goods_ids.join(","),order_id:this.order_id}})}}},_=l,f=(r(690),r(7)),component=Object(f.a)(_,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"box"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.yes,expression:"yes"}],staticClass:"null-page"}),t._v(" "),e("el-card",{staticClass:"box-card"},[e("div",{staticClass:"title clearfix",attrs:{slot:"header"},slot:"header"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/member/order_list"}}},[t._v("我的订单")]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:"/member/order_detail?order_id="+t.order_id}}},[t._v("订单详情")]),t._v(" "),e("el-breadcrumb-item",[t._v("批量退款")])],1)],1),t._v(" "),e("div",{staticClass:"shopings clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("选择退款商品")])]),t._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.orderData,"tooltip-effect":"dark"},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),e("el-table-column",{attrs:{label:"商品图片",width:"100",prop:"goods_image"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("img",{staticClass:"box-img",attrs:{src:t.$img(r.row.sku_image,{size:"mid"}),alt:""},on:{error:function(e){r.row.sku_image=t.defaultGoodsImage}}})]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"商品名称",prop:"goods_name"}}),t._v(" "),e("el-table-column",{attrs:{label:"价格",width:"180",prop:"price"}})],1),t._v(" "),e("div",{staticClass:"flooter"},[e("div",{staticClass:"flooter-left"}),t._v(" "),e("div",{staticClass:"flooter-right"},[t._v("\n 共计选中"+t._s(t.order_goods_ids.length)+"件商品\n "),t.order_goods_ids.length?e("el-button",{staticClass:"but",attrs:{type:"primary"},on:{click:t.next}},[t._v("下一步")]):e("el-button",{staticClass:"but",attrs:{type:"info"}},[t._v("请选择退款商品")])],1)])],1)],1)}),[],!1,null,"b702c1a2",null);e.default=component.exports}}]);
|