(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("99af"),r("d3b7"),r("4d63"),r("ac1f"),r("25f0"),r("466d"),r("5319"),r("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.createUUID=t.formatDate=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;var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy/mm/dd";if(e.constructor===String){e=e.replace(/\D+/gi,"/");var r=e.split("/");if(r.length>3){var n=" ".concat(r[3],":").concat(r[4],":").concat(r[5]);r.length=3,e=r.join("/")+n}}try{e=e?e.constructor===Date?e:new Date(e):new Date}catch(s){throw new Error("不能识别的时间格式")}var a={"m+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"i+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"l+":e.getMilliseconds()};for(var u in/(y+)/i.test(t)&&(t=t.replace(RegExp.$1,e.getFullYear().toString().substr(4-RegExp.$1.length))),a)if(new RegExp("(".concat(u,")"),"i").test(t)){var i=a[u].toString();t=t.replace(RegExp.$1,1===RegExp.$1.length?i:"0".concat(i).substr(i.length-1))}return t};t.formatDate=c;var l=function(e,t){var r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[],a=0;if(t=t||r.length,e)for(a=0;a=200&&u.statusCode<400){if(t.hook.success){var i=t.hook.success(u,e);i&&i.constructor===Promise?i.then((function(e){r(e)}),(function(e){n(e)})):r(i)}else r(u);return!1}n(t.hook.error?t.hook.error(u,e):u)},fail:function(r){n(t.hook.error?t.hook.error(r,e):r)}}))}))}},{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}(),o=s;t.default=o}}]);