You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
13 KiB
1 lines
13 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-list"],{2994:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"refund-list",style:t.viewColor},[n("v-uni-view",{staticClass:"tab-box"},t._l(t.tabList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item",class:{active:i==t.tabIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTab(i)}}},[t._v(t._s(e.title))])})),1),n("v-uni-view",{staticClass:"goods-wrapper"},[t.goodsList.length>0?n("v-uni-view",t._l(t.goodsList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"info-box"},[n("v-uni-view",{staticClass:"title",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goStore(e)}}},[n("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),e.merchant?n("v-uni-text",{staticClass:"txt"},[t._v(t._s(e.merchant.mer_name))]):t._e(),n("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),n("v-uni-view",{staticClass:"product-box"},t._l(e.refundProduct,(function(e){return n("v-uni-view",{key:e.order_product_id,staticClass:"product-item"},[n("v-uni-image",{staticClass:"img-box",attrs:{src:e.product.cart_info.product.image,mode:""}}),n("v-uni-view",{staticClass:"msg"},[n("v-uni-view",{staticClass:"name line1"},[2===e.product.cart_info.product_type?n("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]):t._e(),t._v(t._s(e.product.cart_info.product.store_name))],1),n("v-uni-view",{staticClass:"des"},[t._v(t._s(e.product.cart_info.productAttr.sku))]),n("v-uni-view",{staticClass:"price"},[t._v("退款:"+t._s(e.refund_price))]),n("v-uni-view",{staticClass:"num"},[t._v("x "+t._s(e.refund_num))])],1)],1)})),1),1==e.status?n("v-uni-view",{staticClass:"btn-box"},[n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")]),n("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPage(e.refund_order_id)}}},[t._v("退回商品")])],1):-1==e.status?n("v-uni-view",{staticClass:"btn-box"},[n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")])],1):n("v-uni-view",{staticClass:"btn-box"},[3==e.status?n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.bindDetele(e,i)}}},[t._v("删除订单")]):t._e(),n("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")])],1),n("v-uni-view",{staticClass:"status"},[0==e.status?[n("v-uni-text",{staticClass:"iconfont icon-shenhezhong1 p-color"})]:t._e(),1==e.status?[n("v-uni-text",{staticClass:"iconfont icon-daituihuo"})]:t._e(),2==e.status?[n("v-uni-text",{staticClass:"iconfont icon-tuihuozhong"})]:t._e(),3==e.status?[n("v-uni-text",{staticClass:"iconfont icon-yituikuan"})]:t._e(),-1==e.status?[n("v-uni-text",{staticClass:"iconfont icon-yijujue1"})]:t._e(),-2==e.status?[n("v-uni-text",{staticClass:"iconfont icon-yiquxiao"})]:t._e()],2)],1)})),1):n("v-uni-view",{staticClass:"nothing"},[n("v-uni-image",{attrs:{src:"/static/images/no_thing.png",mode:"widthFix"}}),n("v-uni-view",{staticClass:"nothing_text"},[t._v("暂无订单~")])],1)],1)],1)},o=[]},"308b":function(t,e,n){"use strict";var i=n("3ec6"),o=n.n(i);o.a},"3ec6":function(t,e,n){var i=n("f729");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("8506a90c",i,!0,{sourceMap:!1,shadowMode:!1})},a60b:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return o.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return o.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return o.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return o.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return o.default.get("order/delivery/".concat(t))},e.express=function(t){return o.default.post("order/express/"+t)},e.expressList=function(){return o.default.get("common/express")},e.getCallBackUrlApi=function(t){return o.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(){return o.default.get("user/cart/count")},e.getCartList=function(){return o.default.get("user/cart/lst")},e.getCouponsOrderPrice=function(t,e){return o.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return o.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return o.default.get("order/detail/"+t)},e.getOrderList=function(t){return o.default.get("order/list",t)},e.getPayOrder=function(t){return o.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return o.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t){return o.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return o.default.get("order/group_order_list",t,{noAuth:!0})},e.ordeRefundReason=function(){return o.default.get("order/refund/reason")},e.orderAgain=function(t){return o.default.post("user/cart/again",t)},e.orderComment=function(t,e){return o.default.post("reply/"+t,e)},e.orderConfirm=function(t){return o.default.post("order/check",t)},e.orderCreate=function(t){return o.default.post("order/create",t,{noAuth:!0})},e.orderData=function(){return o.default.get("order/number")},e.orderDel=function(t){return o.default.post("order/del/"+t)},e.orderPay=function(t,e){return o.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return o.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return o.default.post("order/refund/verify",t)},e.orderTake=function(t){return o.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return o.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return o.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return o.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return o.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return o.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return o.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return o.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return o.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return o.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return o.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return o.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return o.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return o.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return o.default.get("refund/product/"+t,e,{noAuth:!0})},e.unOrderCancel=function(t){return o.default.post("order/cancel/"+t)},e.verifyCode=function(t){return o.default.get("order/verify_code/"+t)},n("99af");var o=i(n("b5ef"))},b79d:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("a434");var o=i(n("5530")),r=n("a60b"),a=n("26cb"),u=n("4f1b"),s=(getApp(),{computed:(0,o.default)((0,o.default)({},(0,a.mapGetters)(["viewColor"])),(0,u.configMap)(["hide_mer_status"])),data:function(){return{tabIndex:0,tabList:[{title:"全部"},{title:"处理中"},{title:"已处理"}],goodsList:[],isScroll:!0,page:1,limit:15}},onLoad:function(){this.getList()},onReady:function(){},mounted:function(){},methods:{goStore:function(t){0==this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t.merchant.mer_id)})},goPage:function(t){uni.navigateTo({url:"/pages/users/refund/goods/index?id="+t})},applyAgain:function(t){uni.navigateTo({url:"/pages/order_details/index?order_id=".concat(t.refundProduct[0].product.order_id)})},bindTab:function(t){this.tabIndex=t,this.page=1,this.isScroll=!0,this.goodsList=[],this.getList()},getList:function(){var t=this;this.isScroll&&(0,r.refundList)({type:this.tabIndex,page:this.page,limit:this.limit}).then((function(e){var n=e.data;t.isScroll=n.list.length>=t.limit,t.goodsList=t.goodsList.concat(n.list),t.page+=1}))},goDetail:function(t){uni.navigateTo({url:"/pages/users/refund/detail?id="+t.refund_order_id})},bindDetele:function(t,e){var n=this;uni.showModal({title:"提示",content:"确定删除该记录吗?",success:function(i){i.confirm?((0,r.refundDel)(t.refund_order_id).then((function(t){n.goodsList.splice(e,1)})),uni.showToast({title:"删除成功",icon:"none"})):i.cancel}})}},onReachBottom:function(){this.getList()}});e.default=s},bb67:function(t,e,n){"use strict";n.r(e);var i=n("b79d"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},e70a:function(t,e,n){"use strict";n.r(e);var i=n("2994"),o=n("bb67");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("308b");var a=n("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"939743f2",null,!1,i["a"],void 0);e["default"]=u.exports},f729:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.refund-list .tab-box[data-v-939743f2]{z-index:50;position:fixed;left:0;top:0;width:100%;display:flex}.refund-list .tab-box .item[data-v-939743f2]{flex:1;display:flex;justify-content:center;align-items:center;height:%?90?%;background-color:#fff;border-bottom:1px solid transparent}.refund-list .tab-box .item.active[data-v-939743f2]{color:var(--view-theme);border-color:var(--view-theme)}.refund-list .goods-wrapper[data-v-939743f2]{margin-top:%?102?%}.refund-list .info-box[data-v-939743f2]{position:relative;margin-top:%?12?%;background-color:#fff}.refund-list .info-box .title[data-v-939743f2]{display:flex;align-items:center;padding:0 %?32?%;height:%?86?%;border-bottom:1px solid #f0f0f0;color:#282828}.refund-list .info-box .title .icon-shangjiadingdan[data-v-939743f2]{font-size:%?32?%}.refund-list .info-box .title .txt[data-v-939743f2]{margin:0 %?5?%}.refund-list .info-box .title .icon-xiangyou[data-v-939743f2]{color:#999;font-size:%?20?%;margin-top:%?6?%}.refund-list .info-box .product-box .product-item[data-v-939743f2]{display:flex;padding:%?25?% %?30?%}.refund-list .info-box .product-box .product-item .img-box[data-v-939743f2]{width:%?130?%;height:%?130?%;border-radius:%?16?%}.refund-list .info-box .product-box .product-item .msg[data-v-939743f2]{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:%?440?%;margin-left:%?26?%}.refund-list .info-box .product-box .product-item .msg .name[data-v-939743f2]{font-size:%?28?%;color:#282828}.refund-list .info-box .product-box .product-item .msg .des[data-v-939743f2]{font-size:%?20?%;color:#868686}.refund-list .info-box .product-box .product-item .msg .price[data-v-939743f2]{font-size:%?26?%}.refund-list .info-box .product-box .product-item .msg .num[data-v-939743f2]{position:absolute;right:%?-80?%;top:%?4?%;color:#868686;font-size:%?26?%}.refund-list .info-box .product-box .event_name[data-v-939743f2]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;border-radius:%?6?%}.refund-list .info-box .btn-box[data-v-939743f2]{display:flex;justify-content:flex-end;padding:0 %?20?% %?20?%}.refund-list .info-box .btn-box .btn[data-v-939743f2]{width:%?176?%;height:%?60?%;line-height:%?60?%;margin-left:%?18?%;text-align:center;background:var(--view-theme);border-radius:%?30?%;color:#fff;font-size:%?27?%}.refund-list .info-box .btn-box .btn.gray[data-v-939743f2]{border:1px solid #ddd;background:transparent;color:#aaa}.refund-list .info-box .status[data-v-939743f2]{position:absolute;right:%?30?%;top:0}.refund-list .info-box .status .iconfont[data-v-939743f2]{font-size:%?120?%;opacity:.3}.refund-list .info-box .status .p-color[data-v-939743f2]{color:var(--view-theme)}.event_bg[data-v-939743f2]{background:#ff7f00}.nothing[data-v-939743f2]{margin-top:%?200?%;text-align:center}.nothing_text[data-v-939743f2]{margin-top:%?20?%;color:#999}',""]),t.exports=e}}]); |