启程易购后端代码
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.
qicheng_shop_backend/public/static/js/pages-users-refund-index.7f...

1 line
9.1 KiB

8 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-index"],{"3bba":function(e,t,r){"use strict";r("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("d3b7"),r("159b"),r("4de4"),r("d81d"),r("14d9");var n=r("59c6"),u=r("26cb"),o={computed:(0,u.mapGetters)(["viewColor"]),data:function(){return{order_id:"",refund_type:2,type:2,orderDetail:[],activeId:[]}},onLoad:function(e){this.order_id=e.order_id,this.refund_type=e.refund_type,this.type=e.type,this.getList()},methods:{getList:function(){var e=this;(0,n.refundBatch)(this.order_id).then((function(t){var r=t.data;r.forEach((function(e){e.check=!1})),e.orderDetail=r})).catch((function(t){e.$util.Tips({title:t},{tab:3})}))},bindCheck:function(e){e.check=!e.check,this.arrFilter()},arrFilter:function(){var e=this,t=this.orderDetail.filter((function(e){return 1==e.check}));this.activeId=[],t.map((function(t){e.activeId.push(t.order_product_id)}))},confirm:function(){0==this.activeId.length?uni.showToast({title:"请选择商品",icon:"none"}):uni.redirectTo({url:"/pages/users/refund/confirm?ids="+this.activeId.join(",")+"&refund_type="+this.refund_type+"&type="+this.type+"&order_id="+this.order_id})}}};t.default=o},"489c":function(e,t,r){"use strict";r.r(t);var n=r("3bba"),u=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=u.a},"59c6":function(e,t,r){"use strict";r("7a82");var n=r("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.applyInvoiceApi=function(e,t){return u.default.post("order/receipt/".concat(e),t)},t.cartDel=function(e){return u.default.post("user/cart/delete",e)},t.cartProductAttr=function(e){return u.default.get("store/product/get_attr_value/".concat(e))},t.changeCartNum=function(e,t){return u.default.post("user/cart/change/"+e,t)},t.createOrder=function(e){return u.default.post("v2/order/create",e,{noAuth:!0})},t.develiveryDetail=function(e){return u.default.get("order/delivery/".concat(e))},t.express=function(e){return u.default.post("order/express/"+e)},t.expressList=function(){return u.default.get("common/express")},t.getCallBackUrlApi=function(e){return u.default.get("common/pay_key/"+e,{},{noAuth:!0})},t.getCartCounts=function(){return u.default.get("user/cart/count")},t.getCartList=function(){return u.default.get("user/cart/lst")},t.getCouponsOrderPrice=function(e,t){return u.default.get("coupons/order/"+e,t)},t.getOrderConfirm=function(e){return u.default.post("v2/order/check",e)},t.getOrderDetail=function(e){return u.default.get("order/detail/"+e)},t.getOrderList=function(e){return u.default.get("order/list",e)},t.getPayOrder=function(e){return u.default.get("order/status/"+e)},t.getReceiptOrder=function(e){return u.default.get("user/receipt/order/"+e)},t.groupOrderDetail=function(e){return u.default.get("order/group_order_detail/"+e)},t.groupOrderList=function(e){return u.default.get("order/group_order_list",e,{noAuth:!0})},t.integralOrderPay=function(e,t){return u.default.post("order/points/pay/"+e,t)},t.ordeRefundReason=function(){return u.default.get("order/refund/reason")},t.orderAgain=function(e){return u.default.post("user/cart/again",e)},t.orderComment=function(e,t){return u.default.post("reply/"+e,t)},t.orderConfirm=function(e){return u.default.post("order/check",e)},t.orderCreate=function(e){return u.default.post("order/create",e,{noAuth:!0})},t.orderData=function(){return u.default.get("order/number")},t.orderDel=function(e){return u.default.post("order/del/"+e)},t.orderPay=function(e,t){return u.default.post("order/pay/"+e,t)},t.orderProduct=function(e){return u.default.get("reply/product/"+e)},t.orderRefundVerify=function(e){return u.default.post("order/refund/verify",e)},t.orderTake=function(e){return u.default.post("order/take/"+e)},t.postOrderComputed=function(e,t){return u.default.post("/order/computed/"+e,t)},t.presellOrderPay=function(e,t){return u.default.post("presell/pay/"+e,t)},t.receiptOrder=function(e){return u.default.get("user/receipt/order",e)},t.refundApply=function(e,t){return u.default.post("refu