|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterSelect"],{"14b1":function(e,t,r){"use strict";var n=r("34d3"),a=r.n(n);a.a},2548: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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-goods[data-v-c847ad5a]{padding:%?30?%;border-bottom:1px solid #eee}.ui-goods-item[data-v-c847ad5a]{display:flex;justify-content:space-between}.ui-goods-item--image[data-v-c847ad5a]{width:%?140?%;height:%?140?%}.ui-goods-item--right[data-v-c847ad5a]{width:%?474?%}.ui-goods-item--con[data-v-c847ad5a]{display:flex;justify-content:space-between;font-size:%?28?%;color:#333;line-height:%?39?%}.ui-goods-item--title[data-v-c847ad5a]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ui-goods-item--pirce[data-v-c847ad5a]{font-size:%?22?%;margin-left:%?60?%}.ui-goods-item--desc[data-v-c847ad5a]{margin-top:%?20?%;line-height:%?39?%;display:flex;justify-content:space-between}.ui-goods-item--desc uni-text[data-v-c847ad5a]{font-size:%?24?%;color:#999}.ui-goods-item--desc uni-text.ui-goods-item--num[data-v-c847ad5a]{font-size:%?28?%;margin-left:%?60?%}',""]),e.exports=t},"34d3":function(e,t,r){var n=r("2548");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("4f06").default;a("5aec1f58",n,!0,{sourceMap:!1,shadowMode:!1})},"35d3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{data:{type:Object,default:{}}}};t.default=n},"3d3d":function(e,t,r){"use strict";r.r(t);var n=r("daa3"),a=r("c9da");for(var o in a)"default"!==o&&function(e){r.d(t,e,(function(){return a[e]}))}(o);r("c773");var i,u=r("f0c5"),s=Object(u["a"])(a["default"],n["b"],n["c"],!1,null,"18a8134d",null,!1,n["a"],i);t["default"]=s.exports},"41ba":function(e,t,r){"use strict";r("ac1f"),r("466d"),Object.defineProperty(t,"__esModule",{value:!0}),t.IsDouble=t.IsInteger=t.IsNumber=t.IsPhone=t.Debounce=t.ToAsyncAwait=void 0;var n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?e.then((function(e){return{error:null,result:e}})).catch((function(e){return{error:e,result:null}})):e};t.ToAsyncAwait=n;var a=function(e,t){var r;return function(){var n=this,a=arguments;r&&clearTimeout(r),r=setTimeout((function(){e.apply(n,a)}),t)}};t.Debounce=a;var o=function(e){return/^(1[3-9]\d{9})$/.test(e)};t.IsPhone=o;var i=function(e){return!(!isDouble(e)&&!isInteger(e))};t.IsNumber=i;var u=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+$/);return null!=t};t.IsInteger=u;var s=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+(\.\d+)?$/);return null!=t};t.IsDouble=s},5767:function(e,t,r){"use strict";var n=r("dbce"),a=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=a(r("5530")),u=n(r("41ba"));Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=n(r("d071"));Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=(0,i.default)((0,i.default)({},u),{},{requset:s});t.default=c},"5a25":function(e,t,r){"use strict";var n;r.r(t);var a,o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"uiWhiteBox"},[e._t("default")],2)},i=[],u=(r("f888"),r("f0c5")),s={},c=Object(u["a"])(s,o,i,!1,null,"13fd782a",null,!1,n,a);t["default"]=c.exports},7932:function(e,t,r){"use strict";r.r(t);var n=r("fb9e"),a=r("99dd");for(var o in a)"default"!==o&&function(e){r.d(t,e,(function(){return a[e]}))}(o);r("14b1");var i,u=r("f0c5"),s=Object(u["a"])(a["default"],n["b"],n["c"],!1,null,"c847ad5a",null,!1,n["a"],i);t["default"]=s.exports},"99dd":function(e,t,r){"use strict";r.r(t);var n=r("35d3"),a=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},c0d4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiPutLogisticsInfo=t.ApiGetLogisticsCompanylist=t.ApiGetSaleAfterOrderDetail=t.ApiGetSaleAfterOrderList=t.ApiPostCancelSaleAfter=t.ApiPostEditSaleAfter=t.ApiPostApplySaleAfter=t.ApiPostWxPay=t.ApiPutCancelOrder=t.ApiPostSubmitOrder=t.ApiGetOrderProductDetail=t.ApiGetOrderDetail=t.ApiGetBeforeCartOrder=t.ApiGetBeforeOrder=t.ApiGetOrderList=void 0;var n=r("5767"),a="/mall/trade",o=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/tradeOrder/page"),e))};t.ApiGetOrderList=o;var i=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/tradeOrder/buyAdvanceOrder"),e))};t.ApiGetBeforeOrder=i;var u=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/tradeOrder/cartAdvanceOrder"),e))};t.ApiGetBeforeCartOrder=u;var s=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/tradeOrder/").concat(e)))};t.ApiGetOrderDetail=s;var c=function(e){var t=e.orderProductId;return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/tradeOrder/product/").concat(t)))};t.ApiGetOrderProductDetail=c;var d=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(a,"/app/tradeOrder/submitOrder"),e))};t.ApiPostSubmitOrder=d;var f=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(a,"/app/tradeOrder/cancel"),e))};t.ApiPutCancelOrder=f;var l=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(a,"/pay/wxPay/app"),e))};t.ApiPostWxPay=l;var p=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(a,"/app/refundOrder/applyRefund"),e))};t.ApiPostApplySaleAfter=p;var v=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.put("".concat(a,"/app/refundOrder/updateRefund"),e))};t.ApiPostEditSaleAfter=v;var h=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.put("".concat(a,"/app/refundOrder/cancelRefund"),e))};t.ApiPostCancelSaleAfter=h;var b=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/refundOrder/page"),e))};t.ApiGetSaleAfterOrderList=b;var A=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/refundOrder/").concat(e.refundId)))};t.ApiGetSaleAfterOrderDetail=A;var m=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(a,"/app/refundOrder/logisticsCompany")))};t.ApiGetLogisticsCompanylist=m;var g=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.put("".concat(a,"/app/refundOrder/completeRefund"),e))};t.ApiPutLogisticsInfo=g},c773:function(e,t,r){"use strict";var n=r("ea11"),a=r.n(n);a.a},c9da:function(e,t,r){"use strict";r.r(t);var n=r("ef58"),a=r.n(n);for(var o in n)"default"!==o&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},d071:function(e,t,r){"use strict";var n=r("4ea4");r("d3b7"),r("ac1f"),r("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.MsbRequestTk=t.MsbRequest=void 0;var a=n(r("5530")),o=n(r("fda4")),i=n(r("4308")),u="test",s={test:"http://k8s-horse-gateway.mashibing.cn",release:"",prod:""},c=function(e){if(200===e.statusCode){var t=e.data;return"SUCCESS"===t.code?t.data:"TOKEN_EXPIRE"===t.code?(uni.navigateTo({url:"/login"}),t):Promise.reject(t)}return e},d=function(e){return{message:e.errMsg,code:e.statusCode}},f=new o.default;t.MsbRequest=f,f.baseUrl=s[u],f.use("request",(function(e){return e})),f.use("success",c),f.use("error",d);var l=new o.default;t.MsbRequestTk=l,l.baseUrl=s[u],l.use("request",(function(e){var t=i.default.state.token;if(t)return e.header=(0,a.default)((0,a.default)({},e.header),{},{Authorization:i.default.state.token}),e;var r=getCurrentPages(),n=r[r.length-1];return n.$Router.replace({path:"/login",query:{h:n.__page__.path}}),Promise.reject({message:"要先登录才能操作哦~"})})),l.use("success",c),l.use("error",d)},daa3:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",[r("UiWhiteBox",[r("UiGoodsInfo",{staticClass:"goods-info",attrs:{data:e.orderInfo.orderProduct}})],1),r("UiWhiteBox",[r("v-uni-view",{staticClass:"title"},[e._v("选择售后类型")]),r("v-uni-view",{staticClass:"item item__first",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push("/saleAfterApply?type=1")}}},[r("v-uni-view",[e._v("申请退款")]),r("v-uni-text",[e._v("没有收到货,或已协商同意不退货只退款")])],1),r("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push("/saleAfterApply?type=2&status=2")}}},[r("v-uni-view",[e._v("申请退货退款")]),r("v-uni-text",[e._v("已收到货,需要退还收到的货物")])],1)],1)],1)},o=[]},ea11:function(e,t,r){var n=r("ef26");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("4f06").default;a("cb6935bc",n,!0,{sourceMap:!1,shadowMode:!1})},ef26: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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-18a8134d]{background:#f8f8f8}.title[data-v-18a8134d]{height:%?98?%;line-height:%?98?%;border-bottom:%?2?% solid #eee;padding:0 %?30?%;color:#666}.item[data-v-18a8134d]{padding:%?40?% 0;margin:0 %?40?%}.item__first[data-v-18a8134d]{border-bottom:%?2?% solid #eee}.item uni-view[data-v-18a8134d]{font-weight:700;margin-bottom:%?20?%}.item uni-text[data-v-18a8134d]{color:#999;font-size:%?24?%}.goods-info[data-v-18a8134d]{border:0}body.?%PAGE?%[data-v-18a8134d]{background:#f8f8f8}',""]),e.exports=t},ef58:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("96cf");var a=n(r("1da1")),o=n(r("7932")),i=n(r("5a25")),u=r("c0d4"),s={components:{UiWhiteBox:i.default,UiGoodsInfo:o.default},data:function(){return{orderInfo:{}}},mounted:function(){this.getOrderProductInfo()},methods:{getOrderProductInfo:function(){var e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){var r,n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,u.ApiGetOrderProductDetail)({orderProductId:e.$Route.query.id});case 2:if(r=t.sent,n=r.error,a=r.result,!n){t.next=8;break}return uni.$u.toast(n.message),t.abrupt("return",!1);case 8:e.orderInfo=a;case 9:case"end":return t.stop()}}),t)})))()}}};t.default=s},efb3:function(e,t,r){var n=r("f3d1");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("4f06").default;a("75acc0be",n,!0,{sourceMap:!1,shadowMode:!1})},f3d1: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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.uiWhiteBox[data-v-13fd782a]{margin:%?20?% %?30?%;background:#fff;border-radius:%?20?%}',""]),e.exports=t},f888:function(e,t,r){"use strict";var n=r("efb3"),a=r.n(n);a.a},fb9e:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return n}));var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"ui-goods"},[r("v-uni-view",{staticClass:"ui-goods-item"},[r("v-uni-image",{staticClass:"ui-goods-item--image",attrs:{mode:"widthFix",src:e.data.productImageUrl}}),r("v-uni-view",{staticClass:"ui-goods-item--right"},[r("v-uni-view",{staticClass:"ui-goods-item--con"},[r("v-uni-text",{staticClass:"ui-goods-item--title"},[e._v(e._s(e.data.productName))]),r("v-uni-text",{staticClass:"ui-goods-item--pirce"},[e._v("¥"+e._s(e.data.realAmount))])],1),r("v-uni-view",{staticClass:"ui-goods-item--desc"},[r("v-uni-text",[e._v(e._s(e.data.skuDescribe))]),r("v-uni-text",{staticClass:"ui-goods-item--num"},[e._v("x"+e._s(e.data.quantity))])],1)],1)],1),e._t("operation")],2)},o=[]},fda4:function(e,t,r){"use strict";var n=r("4ea4");r("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r("d4ec")),o=n(r("bee2")),i=function(){function e(t){(0,a.default)(this,e),this.baseUrl="",this.hook={request:null,success:null,error:null}}return(0,o.default)(e,[{key:"method",value:function(e){var t=this;if(e.url=this.baseUrl+e.url,this.hook.request&&!e.header&&(e=this.hook.request(e)),!e)throw new Error("没有请求配置,或是request拦截未做return");return e.constructor===Promise?e:new Promise((function(r,n){uni.request(e).then((function(e){var a=e[1];if(a.statusCode>=200&&a.statusCode<400)return r(t.hook.success?t.hook.success(a):a),!1;n(t.hook.error?t.hook.error(a):a)})).catch((function(e){n(t.hook.error?t.hook.error(e):e)}))}))}},{key:"use",value:function(e,t){this.hook[e]=t}},{key:"get",value:function(e,t,r){return this.method({method:"GET",url:e,data:t,header:r})}},{key:"post",value:function(e,t,r){return this.method({method:"POST",url:e,data:t,header:r})}},{key:"put",value:function(e,t,r){return this.method({method:"PUT",url:e,data:t,header:r})}},{key:"delete",value:function(e,t,r){return this.method({method:"DELETE",url:e,data:t,header:r})}}]),e}(),u=i;t.default=u}}]); |