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 line
13 KiB
1 line
13 KiB
10 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-order_refund_goods-index"],{"19f1":function(e,t,n){"use strict";n.r(t);var r=n("b432"),i=n("b52e");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("3ff8");var o=n("f0c5"),u=Object(o["a"])(i["default"],r["b"],r["c"],!1,null,"662f6429",null,!1,r["a"],void 0);t["default"]=u.exports},"1d4c":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("ac1f"),n("00b4"),n("a434"),n("14d9");var i=n("451d"),a=n("666f"),o=n("26cb"),u=r(n("66ca")),s={mixins:[u.default],data:function(){return{expressList:[],orderInfo:{},seIndex:0,refund_reason_wap_img:[],refundInfo:{refund_express:"",refund_phone:"",refund_explain:"",id:"",refund_express_name:"",refund_img:""}}},computed:(0,o.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(e,t){e&&this.getOrderInfo()},deep:!0}},onLoad:function(e){this.orderId=e.orderId,this.isLogin?this.getOrderInfo():(0,a.toLogin)()},methods:{subRefund:function(e){var t=this;return this.refundInfo.refund_express?this.refundInfo.refund_phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.refundInfo.refund_phone)?(this.refundInfo.refund_express_name=this.expressList[this.seIndex].name,this.refundInfo.refund_img=this.refund_reason_wap_img.join(","),void(0,i.refundExpress)(this.refundInfo).then((function(e){return t.$util.Tips({title:e.msg,icon:"success"},{tab:5,url:"/pages/users/user_return_list/index?isT=1"})})).catch((function(e){return t.$util.Tips({title:e})}))):this.$util.Tips({title:this.$t("请输入正确的手机号码")}):this.$util.Tips({title:this.$t("请输入手机号")}):this.$util.Tips({title:this.$t("填写快递单号")})},DelPic:function(e){var t=e;this.refund_reason_wap_img[t];this.refund_reason_wap_img.splice(t,1),this.$set(this,"refund_reason_wap_img",this.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)}))},getOrderInfo:function(){var e=this;(0,i.refundOrderDetail)(e.orderId).then((function(t){e.$set(e,"orderInfo",t.data),e.expressList=t.data.express_list,e.refundInfo.id=t.data.id}))},bindPickerChange:function(e){this.$set(this,"seIndex",e.detail.value)}}};t.default=s},"3ff8":function(e,t,n){"use strict";var r=n("f773"),i=n.n(r);i.a},"451d":function(e,t,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.adminExpress=function(e,t){return a.default.get("admin/order/express/"+e+"".concat(t?"/refund":""))},t.aliPay=function(e,t){return a.default.get("ali_pay",{key:e,quitUrl:t},{noAuth:!0})},t.cancelRefundOrder=function(e){return a.default.post("order/refund/cancel/"+e)},t.cartDel=function(e){"object"===(0,i.default)(e)&&(e=e.join(","));return a.default.post("cart/del",{ids:e})},t.changeCartNum=function(e,t){return a.default.post("cart/num",{id:e,number:t})},t.checkShipping=function(e,t){return a.default.post("order/check_shipping",{cartId:e,new:t})},t.express=function(e,t){return a.default.get("order/express/"+e+"".concat(t?"/refund":""))},t.getCartCounts=function(e){return a.default.get("cart/count",{numType:void 0===e?0:e})},t.getCartList=function(e){return a.default.get("cart/list",e)},t.getCashierOrder=function(e,t){return a.default.get("order/cashier/".concat(e,"/").concat(t))},t.getCouponsOrderPrice=function(e,t){return a.default.get("coupons/order/"+e,t)},t.getNewOrderList=function(e){return a.default.get("order/refund/list",e)},t.getOrderDetail=function(e,t){return a.default.get("order/detail/"+e+"".concat(t?"/".concat(t):""))},t.getOrderList=function(e){return a.default.get("order/list",e)},t.getRefundOrderDetail=function(e,t){return a.default.get("order/refund_detail/"+e+"".concat(t?"/".concat(t):""))},t.getResetCart=function(e){return a.default.post("v2/reset_cart",e)},t.offlineCheckPrice=function(e){return a.default.post("order/offline/check/price",e)},t.offlineCreate=function(e){return a.defaul
|