pages-users-goods_return-index.6934db51.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_return-index"],{"527f":function(e,t,r){"use strict";r.r(t);var n=r("a23f"),i=r.n(n);for(var a in n)"default"!==a&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"5bb1":function(e,t,r){"use strict";r.r(t);var n=r("8edb"),i=r("527f");for(var a in i)"default"!==a&&function(e){r.d(t,e,(function(){return i[e]}))}(a);r("9b85");var u,o=r("f0c5"),d=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"17e46d7c",null,!1,n["a"],u);t["default"]=d.exports},"7d4f":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getCartCounts=a,t.getCartList=u,t.changeCartNum=o,t.cartDel=d,t.getOrderList=s,t.orderProduct=c,t.orderComment=l,t.orderPay=f,t.orderData=p,t.unOrderCancel=v,t.orderDel=g,t.getOrderDetail=w,t.groupOrderDetail=_,t.getPayOrder=m,t.orderAgain=h,t.orderTake=b,t.express=y,t.ordeRefundReason=C,t.orderRefundVerify=x,t.orderConfirm=A,t.getCouponsOrderPrice=k,t.postOrderComputed=I,t.orderCreate=R,t.groupOrderList=O,t.refundBatch=$,t.refundProduct=P,t.refundApply=z,t.refundMessage=D,t.refundList=L,t.refundDetail=E,t.expressList=T,t.refundBackGoods=B,t.refundDel=j,t.refundExpress=M,t.verifyCode=S,t.presellOrderPay=F,t.receiptOrder=G,t.getReceiptOrder=J,t.getCallBackUrlApi=U;var i=n(r("112d"));function a(){return i.default.get("user/cart/count")}function u(){return i.default.get("user/cart/lst")}function o(e,t){return i.default.post("user/cart/change/"+e,t)}function d(e){return i.default.post("user/cart/delete",e)}function s(e){return i.default.get("order/list",e)}function c(e){return i.default.get("reply/product/"+e)}function l(e,t){return i.default.post("reply/"+e,t)}function f(e,t){return i.default.post("order/pay/"+e,t)}function p(){return i.default.get("order/number")}function v(e){return i.default.post("order/cancel/"+e)}function g(e){return i.default.post("order/del/"+e)}function w(e){return i.default.get("order/detail/"+e)}function _(e){return i.default.get("order/group_order_detail/"+e)}function m(e){return i.default.get("order/status/"+e)}function h(e){return i.default.post("user/cart/again",e)}function b(e){return i.default.post("order/take/"+e)}function y(e){return i.default.post("order/express/"+e)}function C(){return i.default.get("order/refund/reason")}function x(e){return i.default.post("order/refund/verify",e)}function A(e){return i.default.post("order/check",e)}function k(e,t){return i.default.get("coupons/order/"+e,t)}function I(e,t){return i.default.post("/order/computed/"+e,t)}function R(e){return i.default.post("order/create",e,{noAuth:!0})}function O(e){return i.default.get("order/group_order_list",e,{noAuth:!0})}function $(e){return i.default.get("refund/batch_product/"+e,{noAuth:!0})}function P(e,t){return i.default.get("refund/product/"+e,t,{noAuth:!0})}function z(e,t){return i.default.post("refund/apply/"+e,t,{noAuth:!0})}function D(){return i.default.get("common/refund_message",{noAuth:!0})}function L(e){return i.default.get("refund/list",e,{noAuth:!0})}function E(e){return i.default.get("refund/detail/"+e,{noAuth:!0})}function T(){return i.default.get("common/express")}function B(e,t){return i.default.post("refund/back_goods/"+e,t,{noAuth:!0})}function j(e){return i.default.post("refund/del/"+e,{noAuth:!0})}function M(e){return i.default.get("refund/express/"+e,{noAuth:!0})}function S(e){return i.default.get("order/verify_code/"+e)}function F(e,t){return i.default.post("presell/pay/"+e,t)}function G(e){return i.default.get("user/receipt/order",e)}function J(e){return i.default.get("user/receipt/order/"+e)}function U(e){return i.default.get("common/pay_key/"+e,{},{noAuth:!0})}},"862f":function(e,t,r){var n=r("df7b");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("4f06").default;i("3f85bf4c",n,!0,{sourceMap:!1,shadowMode:!1})},"8edb":function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",[r("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(t){arguments[0]=t=e.$handleEvent(t),e.subRefund.apply(void 0,arguments)}}},[r("v-uni-view",{staticClass:"apply-return"},[e._l(e.orderInfo.cartInfo,(function(t,n){return r("v-uni-view",{key:n,staticClass:"goodsStyle acea-row row-between"},[r("v-uni-view",{staticClass:"pictrue"},[r("v-uni-image",{attrs:{src:t.productInfo.image}})],1),r("v-uni-view",{staticClass:"text acea-row row-between"},[r("v-uni-view",{staticClass:"name line2"},[e._v(e._s(t.productInfo.store_name))]),t.productInfo.attrInfo?r("v-uni-view",{staticClass:"money"},[r("v-uni-view",[e._v("¥"+e._s(t.productInfo.attrInfo.price))]),r("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.cart_num))])],1):r("v-uni-view",{staticClass:"money"},[r("v-uni-view",[e._v("¥"+e._s(t.productInfo.price))]),r("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.cart_num))])],1)],1)],1)})),r("v-uni-view",{staticClass:"list"},[r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("退货件数")]),r("v-uni-view",{staticClass:"num"},[e._v(e._s(e.orderInfo.total_num))])],1),r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("退款金额")]),r("v-uni-view",{staticClass:"num"},[e._v("¥"+e._s(e.orderInfo.pay_price))])],1),r("v-uni-view",{staticClass:"item acea-row row-between-wrapper",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toggleTab("region")}}},[r("v-uni-view",[e._v("退款原因")]),r("v-uni-picker",{staticClass:"num",attrs:{value:e.index,range:e.RefundArray},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindPickerChange.apply(void 0,arguments)}}},[r("v-uni-view",{staticClass:"picker acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"reason"},[e._v(e._s(e.RefundArray[e.index]))]),r("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1)],1),r("v-uni-view",{staticClass:"item textarea acea-row row-between"},[r("v-uni-view",[e._v("备注说明")]),r("v-uni-textarea",{staticClass:"num",attrs:{placeholder:"填写备注信息,100字以内",name:"refund_reason_wap_explain","placeholder-class":"填写备注信息,100字以内"}})],1),r("v-uni-view",{staticClass:"item acea-row row-between"},[r("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[r("v-uni-view",[e._v("上传凭证")]),r("v-uni-view",{staticClass:"tip"},[e._v("( 最多可上传3张 )")])],1),r("v-uni-view",{staticClass:"upload acea-row row-middle"},[e._l(e.refund_reason_wap_img,(function(t,n){return r("v-uni-view",{key:n,staticClass:"pictrue"},[r("v-uni-image",{attrs:{src:t}}),r("v-uni-view",{staticClass:"iconfont icon-guanbi1 font-color",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.DelPic(n)}}})],1)})),e.refund_reason_wap_img.length<3?r("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.uploadpic.apply(void 0,arguments)}}},[r("v-uni-text",{staticClass:"iconfont icon-icon25201"}),r("v-uni-view",[e._v("上传凭证")])],1):e._e()],2)],1)],1),r("v-uni-button",{staticClass:"returnBnt bg-color",attrs:{"form-type":"submit"}},[e._v("申请退款")])],2)],1)],1)},a=[]},"9b85":function(e,t,r){"use strict";var n=r("862f"),i=r.n(n);i.a},a23f:function(e,t,r){"use strict";r("a15b"),r("a434"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("7d4f"),i=r("c496"),a=r("2f62"),u={components:{},data:function(){return{refund_reason_wap_img:[],orderInfo:{},RefundArray:[],index:0,orderId:0,isAuto:!1,isShowAuth:!1}},computed:(0,a.mapGetters)(["isLogin"]),onLoad:function(e){if(!e.orderId)return this.$util.Tips({title:"缺少订单id,无法退款"},{tab:3,url:1});this.orderId=e.orderId,this.isLogin?(this.getOrderInfo(),this.getRefundReason()):(0,i.toLogin)()},methods:{onLoadFun:function(){this.isShowAuth=!1,this.getOrderInfo(),this.getRefundReason()},getOrderInfo:function(){var e=this;(0,n.getOrderDetail)(e.orderId).then((function(t){e.$set(e,"orderInfo",t.data)}))},getRefundReason:function(){var e=this;(0,n.ordeRefundReason)().then((function(t){e.$set(e,"RefundArray",t.data)}))},DelPic:function(e){var t=e,r=this;this.refund_reason_wap_img[t];r.refund_reason_wap_img.splice(t,1),r.$set(r,"refund_reason_wap_img",r.refund_reason_wap_img)},uploadpic:function(){var e=this;this.$util.uploadImageOne("upload/image",(function(t){e.refund_reason_wap_img.push(t.data.url),e.$set(e,"refund_reason_wap_img",e.refund_reason_wap_img)}))},subRefund:function(e){var t=this,r=this,i=e.detail.value;(0,n.orderRefundVerify)({text:r.RefundArray[r.index]||"",refund_reason_wap_explain:i.refund_reason_wap_explain,refund_reason_wap_img:r.refund_reason_wap_img.join(","),uni:r.orderId}).then((function(e){return t.$util.Tips({title:"申请成功",icon:"success"},{tab:5,url:"/pages/users/user_return_list/index?isT=1"})})).catch((function(e){return t.$util.Tips({title:e})}))},bindPickerChange:function(e){this.$set(this,"index",e.detail.value)}}};t.default=u},df7b:function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.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/* 文章场景相关 */.apply-return .list[data-v-17e46d7c]{background-color:#fff;margin-top:%?18?%}.apply-return .list .item[data-v-17e46d7c]{margin-left:%?30?%;padding-right:%?30?%;min-height:%?90?%;border-bottom:%?1?% solid #eee;font-size:%?30?%;color:#333}.apply-return .list .item .num[data-v-17e46d7c]{color:#282828;width:%?427?%;text-align:right}.apply-return .list .item .num .picker .reason[data-v-17e46d7c]{width:%?385?%}.apply-return .list .item .num .picker .iconfont[data-v-17e46d7c]{color:#666;font-size:%?30?%;margin-top:%?2?%}.apply-return .list .item.textarea[data-v-17e46d7c]{padding:%?30?% %?30?% %?30?% 0}.apply-return .list .item uni-textarea[data-v-17e46d7c]{height:%?100?%;font-size:%?30?%}.apply-return .list .item .placeholder[data-v-17e46d7c]{color:#bbb}.apply-return .list .item .title[data-v-17e46d7c]{height:%?95?%;width:100%}.apply-return .list .item .title .tip[data-v-17e46d7c]{font-size:%?30?%;color:#bbb}.apply-return .list .item .upload[data-v-17e46d7c]{padding-bottom:%?36?%}.apply-return .list .item .upload .pictrue[data-v-17e46d7c]{margin:%?22?% %?23?% 0 0;width:%?156?%;height:%?156?%;position:relative;font-size:%?24?%;color:#bbb}.apply-return .list .item .upload .pictrue[data-v-17e46d7c]:nth-of-type(4n){margin-right:0}.apply-return .list .item .upload .pictrue uni-image[data-v-17e46d7c]{width:100%;height:100%;-webkit-border-radius:%?3?%;border-radius:%?3?%}.apply-return .list .item .upload .pictrue .icon-guanbi1[data-v-17e46d7c]{position:absolute;font-size:%?45?%;top:%?-10?%;right:%?-10?%}.apply-return .list .item .upload .pictrue .icon-icon25201[data-v-17e46d7c]{color:#bfbfbf;font-size:%?50?%}.apply-return .list .item .upload .pictrue[data-v-17e46d7c]:nth-last-child(1){border:%?1?% solid #ddd;-webkit-box-sizing:border-box;box-sizing:border-box}.apply-return .returnBnt[data-v-17e46d7c]{font-size:%?32?%;color:#fff;width:%?690?%;height:%?86?%;-webkit-border-radius:%?50?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;margin:%?43?% auto}',""]),e.exports=t}}]);