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
18 KiB
1 line
18 KiB
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterEdit"],{"0ca9":function(e,t,r){"use strict";r.r(t);var n=r("9845"),a=r.n(n);for(var u in n)"default"!==u&&function(e){r.d(t,e,(function(){return n[e]}))}(u);t["default"]=a.a},"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 u=function(e){return/^(1[3-9]\d{9})$/.test(e)};t.IsPhone=u;var i=function(e){return!(!isDouble(e)&&!isInteger(e))};t.IsNumber=i;var s=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+$/);return null!=t};t.IsInteger=s;var o=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+(\.\d+)?$/);return null!=t};t.IsDouble=o},5767:function(e,t,r){"use strict";var n=r("dbce"),a=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0});var u={};t.default=void 0;var i=a(r("5530")),s=n(r("41ba"));Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(u,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=n(r("d071"));Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(u,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var c=(0,i.default)((0,i.default)({},s),{},{requset:o});t.default=c},"5f75":function(e,t,r){var n=r("c10d");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=r("4f06").default;a("05faa385",n,!0,{sourceMap:!1,shadowMode:!1})},"72e3":function(e,t,r){"use strict";r.r(t);var n=r("c79a"),a=r("0ca9");for(var u in a)"default"!==u&&function(e){r.d(t,e,(function(){return a[e]}))}(u);r("dacf"),r("d685");var i,s=r("f0c5"),o=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ce247a16",null,!1,n["a"],i);t["default"]=o.exports},9845:function(e,t,r){"use strict";var n=r("4ea4");r("99af"),r("7db0"),r("d81d"),r("a434"),r("ac1f"),r("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r("5530"));r("96cf");var u=n(r("1da1")),i=n(r("359f")),s=n(r("f196")),o=n(r("1687")),c=r("ed1e"),d=r("c0d4"),l={components:{UiCell:s.default,UiButton:i.default,UiRadioPicker:o.default},data:function(){return{fileList:[],params:{receiveStatus:"",refundReason:"",refundType:this.$Route.query.type,refundId:this.$Route.query.id,problemDescribe:"",evidenceImages:null},refundAmount:0,refundShow:!1,refundSelected:{},refundReasonData:[{label:"7天无理由退款",value:"1"},{label:"不喜欢/效果不满意",value:"2"},{label:"商品不符合描述",value:"3"},{label:"其它原因",value:"4"}],receiveSelected:{},receiveShow:!1,receiveStatusData:[{label:"未收到货",value:"1"},{label:"已收到货",value:"2"}]}},onShow:function(){this.getSaleAfterInfo()},methods:{getSaleAfterInfo:function(){var e=this;return(0,u.default)(regeneratorRuntime.mark((function t(){var r,n,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,d.ApiGetSaleAfterOrderDetail)({refundId:e.params.refundId});case 2:if(r=t.sent,n=r.error,u=r.result,!n){t.next=8;break}return uni.$u.toast(n.message),t.abrupt("return",!1);case 8:e.params=(0,a.default)((0,a.default)({},e.params),{},{receiveStatus:u.receiveStatus,refundType:u.refundType,refundReason:u.refundReason,problemDescribe:u.problemDescribe,evidenceImages:u.refundEvidences.map((function(e){return{url:e.fileUrl}}))}),e.refundAmount=u.refundAmount,e.fileList=e.params.evidenceImages,e.receiveSelected=e.receiveStatusData.find((function(t){return t.value==e.params.receiveStatus}))||{},e.refundSelected=e.refundReasonData.find((function(t){return t.value==e.params.re
|