1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageC/applicationRefund/applicationRefund"],{"069a":function(t,o,e){},3212:function(t,o,e){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n={components:{reasonPopupVue:function(){e.e("pageC/applicationRefund/component/reasonPopup").then(function(){return resolve(e("8006"))}.bind(null,e)).catch(e.oe)}},data:function(){return{show:!1,value1:"",refundText:"请选择退款原因",orderId:"",goodsDetail:{},imgList:[]}},onLoad:function(t){this.orderId=t.orderId},methods:{openReason:function(){this.show=!0},close:function(t){this.refundText=t,this.show=!1},afterRead:function(t){console.log(t),this.imgList.push(t.file[0].url)},getDetail:function(){var o=this;t.$u.http.post("/api/order/order_goods_details",{order_goods_id:this.orderId}).then((function(t){o.goodsDetail=t}))},submitApplication:function(){t.$u.http.post("/api/order/refund",{order_id:this.goodsDetail.id,order_goods_id:this.orderId,refund_reason:this.refundText,refund_illustrate:this.value1,images:this.imgList.join(",")}).then((function(o){t.showToast({title:"已申请,请等待审核",icon:"none"}),t.navigateBack({delta:1})}))}},mounted:function(){this.getDetail(),t.setNavigationBarTitle({title:"申请退款"})}};o.default=n}).call(this,e("df3c")["default"])},"5d43":function(t,o,e){"use strict";e.d(o,"b",(function(){return i})),e.d(o,"c",(function(){return u})),e.d(o,"a",(function(){return n}));var n={"u-Textarea":function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u--textarea/u--textarea")]).then(e.bind(null,"2a30"))},uUpload:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-upload/u-upload")]).then(e.bind(null,"1e9f"))}},i=function(){var t=this,o=t.$createElement,e=(t._self._c,t.goodsDetail.goods?t.goodsDetail.goods.unit_price.split("."):null),n=t.goodsDetail.goods?t.goodsDetail.goods.unit_price.split("."):null,i=t.goodsDetail.goods?t.goodsDetail.goods.amount.split("."):null,u=t.goodsDetail.goods?t.goodsDetail.goods.amount.split("."):null;t.$mp.data=Object.assign({},{$root:{g0:e,g1:n,g2:i,g3:u}})},u=[]},"85bf":function(t,o,e){"use strict";e.r(o);var n=e("5d43"),i=e("c868");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(o,t,(function(){return i[t]}))}(u);e("9ed0");var a=e("828b"),d=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"4d936cb8",null,!1,n["a"],void 0);o["default"]=d.exports},"9ed0":function(t,o,e){"use strict";var n=e("069a"),i=e.n(n);i.a},c868:function(t,o,e){"use strict";e.r(o);var n=e("3212"),i=e.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){e.d(o,t,(function(){return n[t]}))}(u);o["default"]=i.a},dfeb:function(t,o,e){"use strict";(function(t,o){var n=e("47a9");e("abeb");n(e("3240"));var i=n(e("85bf"));t.__webpack_require_UNI_MP_PLUGIN__=e,o(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["dfeb","common/runtime","common/vendor"]]]);
|