|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterApply~pages-order-saleAfter-saleAfterEdit"],{"10b7":function(e,t,a){"use strict";var i=a("b940"),n=a.n(i);n.a},1687:function(e,t,a){"use strict";a.r(t);var i=a("42db"),n=a("3f90");for(var u in n)"default"!==u&&function(e){a.d(t,e,(function(){return n[e]}))}(u);a("10b7");var o,r=a("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"50a85070",null,!1,i["a"],o);t["default"]=s.exports},"1ba6":function(e,t,a){"use strict";a.r(t);var i=a("8b1e"),n=a.n(i);for(var u in i)"default"!==u&&function(e){a.d(t,e,(function(){return i[e]}))}(u);t["default"]=n.a},2247:function(e,t,a){var i=a("24fb");t=i(!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-select--title[data-v-50a85070]{text-align:center;font-size:%?34?%;margin:%?40?% 0 %?30?%}.ui-select--cell[data-v-50a85070]{padding:0 %?40?%}.ui-select--radio[data-v-50a85070]{-webkit-transform:scale(60%);transform:scale(60%)}.ui-select--footer[data-v-50a85070]{padding:%?68?% %?40?%;display:flex;justify-content:space-between}',""]),e.exports=t},"233c":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={watch:{accept:{immediate:!0,handler:function(e){"all"!==e&&"media"!==e||uni.$u.error("只有微信小程序才支持把accept配置为all、media之一")}}}};t.default=i},"2dd5":function(e,t,a){var i=a("24fb");t=i(!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-view[data-v-1f3dedb7], uni-scroll-view[data-v-1f3dedb7], uni-swiper-item[data-v-1f3dedb7]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-upload[data-v-1f3dedb7]{display:flex;flex-direction:column;flex:1}.u-upload__wrap[data-v-1f3dedb7]{display:flex;flex-direction:row;flex-wrap:wrap;flex:1}.u-upload__wrap__preview[data-v-1f3dedb7]{border-radius:2px;margin:0 8px 8px 0;position:relative;overflow:hidden;display:flex;flex-direction:row}.u-upload__wrap__preview__image[data-v-1f3dedb7]{width:80px;height:80px}.u-upload__wrap__preview__other[data-v-1f3dedb7]{width:80px;height:80px;background-color:#f2f2f2;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.u-upload__wrap__preview__other__text[data-v-1f3dedb7]{font-size:11px;color:#909193;margin-top:2px}.u-upload__deletable[data-v-1f3dedb7]{position:absolute;top:0;right:0;background-color:#373737;height:14px;width:14px;display:flex;flex-direction:row;border-bottom-left-radius:100px;align-items:center;justify-content:center;z-index:3}.u-upload__deletable__icon[data-v-1f3dedb7]{position:absolute;-webkit-transform:scale(.7);transform:scale(.7);top:0;right:0;top:1px;right:0}.u-upload__success[data-v-1f3dedb7]{position:absolute;bottom:0;right:0;display:flex;flex-direction:row;border-top-color:transparent;border-left-color:transparent;border-bottom-color:#5ac725;border-right-color:#5ac725;border-width:9px;align-items:center;justify-content:center}.u-upload__success__icon[data-v-1f3dedb7]{position:absolute;-webkit-transform:scale(.7);transform:scale(.7);bottom:-10px;right:-10px}.u-upload__status[data-v-1f3dedb7]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;align-items:center;justify-content:center}.u-upload__status__icon[data-v-1f3dedb7]{position:relative;z-index:1}.u-upload__status__message[data-v-1f3dedb7]{font-size:12px;color:#fff;margin-top:5px}.u-upload__button[data-v-1f3dedb7]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background-color:#f4f5f7;border-radius:2px;margin:0 8px 8px 0;box-sizing:border-box}.u-upload__button__text[data-v-1f3dedb7]{font-size:11px;color:#909193;margin-top:2px}.u-upload__button--hover[data-v-1f3dedb7]{background-color:#e6e7e9}.u-upload__button--disabled[data-v-1f3dedb7]{opacity:.5}',""]),e.exports=t},"3c3c":function(e,t,a){"use strict";var i=a("4ea4");a("7db0"),a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(a("f196")),u=i(a("359f")),o={components:{UiButton:u.default,UiCell:n.default},props:{options:{type:Array,default:[]},title:{type:String,default:""},value:{type:[Object,String,Number],default:function(){return{}}},show:{type:Boolean,default:!1}},data:function(){return{selected:{}}},mounted:function(){},methods:{change:function(e){this.selected=this.options.find((function(t){return e.detail.value===t.value}))},confirm:function(){this.close(),this.$emit("input",this.selected)},close:function(){this.$emit("update:show",!1)}}};t.default=o},"3f3b":function(e,t,a){"use strict";var i=a("f9ea"),n=a.n(i);n.a},"3f90":function(e,t,a){"use strict";a.r(t);var i=a("3c3c"),n=a.n(i);for(var u in i)"default"!==u&&function(e){a.d(t,e,(function(){return i[e]}))}(u);t["default"]=n.a},"42db":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return u})),a.d(t,"a",(function(){return i}));var i={uPopup:a("c98f").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("u-popup",{attrs:{show:e.show,round:"16rpx",closeable:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[e.title?a("v-uni-view",{staticClass:"ui-select--title"},[e._v(e._s(e.title))]):e._e(),a("v-uni-radio-group",{staticClass:"ui-select--cell",on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.change.apply(void 0,arguments)}}},e._l(e.options,(function(t){return a("UiCell",{key:t.value,attrs:{title:t.label}},[a("v-uni-radio",{staticClass:"ui-select--radio",attrs:{slot:"right-icon",color:"#FF875B",value:t.value,checked:t.value===e.selected.value},slot:"right-icon"})],1)})),1),a("v-uni-view",{staticClass:"ui-select--footer"},[a("UiButton",{attrs:{type:"gradual",size:"max"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}}},[e._v("确认")])],1)],1)},u=[]},5070:function(e,t,a){var i=a("2dd5");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("e46fc406",i,!0,{sourceMap:!1,shadowMode:!1})},"59a3":function(e,t,a){"use strict";var i;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return u})),a.d(t,"a",(function(){return i}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"uiCell",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("click")}}},[e._t("icon"),i("v-uni-view",{staticClass:"uiCell--left"},[i("v-uni-text",{staticClass:"uiCell--title"},[e._v(e._s(e.title))]),i("v-uni-text",{staticClass:"uiCell--label"},[e._v(e._s(e.label))])],1),e._t("value",[i("v-uni-text",{staticClass:"uiCell--value"},[e._v(e._s(e.value))])]),e.rightIcon?e._t("right-icon",[i("v-uni-image",{staticClass:"uiCell--rightIcon",attrs:{src:a("6eb6")}})]):e._e()],2)},u=[]},"6b6f":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return u})),a.d(t,"a",(function(){return i}));var i={uIcon:a("a653").default,uLoadingIcon:a("891e").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"u-upload",style:[e.$u.addStyle(e.customStyle)]},[e.previewImage?a("v-uni-view",{staticClass:"u-upload__wrap"},[e._l(e.lists,(function(t,i){return a("v-uni-view",{key:i,staticClass:"u-upload__wrap__preview"},[t.isImage||t.type&&"image"===t.type?a("v-uni-image",{staticClass:"u-upload__wrap__preview__image",style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{src:t.thumb||t.url,mode:e.imageMode},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onPreviewImage(t)}}}):a("v-uni-view",{staticClass:"u-upload__wrap__preview__other"},[a("u-icon",{attrs:{color:"#80CBF9",size:"26",name:t.isVideo||t.type&&"video"===t.type?"movie":"folder"}}),a("v-uni-text",{staticClass:"u-upload__wrap__preview__other__text"},[e._v(e._s(t.isVideo||t.type&&"video"===t.type?"视频":"文件"))])],1),"uploading"===t.status||"failed"===t.status?a("v-uni-view",{staticClass:"u-upload__status"},[a("v-uni-view",{staticClass:"u-upload__status__icon"},["failed"===t.status?a("u-icon",{attrs:{name:"close-circle",color:"#ffffff",size:"25"}}):a("u-loading-icon",{attrs:{size:"22",mode:"circle",color:"#ffffff"}})],1),t.message?a("v-uni-text",{staticClass:"u-upload__status__message"},[e._v(e._s(t.message))]):e._e()],1):e._e(),"uploading"!==t.status&&(e.deletable||t.deletable)?a("v-uni-view",{staticClass:"u-upload__deletable",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.deleteItem(i)}}},[a("v-uni-view",{staticClass:"u-upload__deletable__icon"},[a("u-icon",{attrs:{name:"close",color:"#ffffff",size:"10"}})],1)],1):e._e(),"success"===t.status?a("v-uni-view",{staticClass:"u-upload__success"},[a("v-uni-view",{staticClass:"u-upload__success__icon"},[a("u-icon",{attrs:{name:"checkmark",color:"#ffffff",size:"12"}})],1)],1):e._e()],1)})),e.isInCount?[e.$slots.default||e.$slots.$default?a("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[e._t("default")],2):a("v-uni-view",{staticClass:"u-upload__button",class:[e.disabled&&"u-upload__button--disabled"],style:[{width:e.$u.addUnit(e.width),height:e.$u.addUnit(e.height)}],attrs:{"hover-class":e.disabled?"":"u-upload__button--hover","hover-stay-time":"150"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseFile.apply(void 0,arguments)}}},[a("u-icon",{attrs:{name:e.uploadIcon,size:"26",color:e.uploadIconColor}}),e.uploadText?a("v-uni-text",{staticClass:"u-upload__button__text"},[e._v(e._s(e.uploadText))]):e._e()],1)]:e._e()],2):e._e()],1)},u=[]},"6eb6":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAUCAMAAACDMFxkAAAAAXNSR0IArs4c6QAAAGZQTFRFAAAAv7+/v7+/ysrKxsbGy8vLzMzM0NDQy8vLz8/PzMzMysrKzMzMy8vLzMzMy8vLy8vLzc3Ny8vLzMzMzMzMy8vLzc3Nzc3NzMzMzMzMzMzMy8vLzMzMzMzMzMzMy8vLzMzMzMzMIxnl6wAAACF0Uk5TAAQMGCQnKCssOzxIS09QU1RXWG+Dj4+nv9PX5+fv8/v73LQA2wAAAF9JREFUCNdlz0kWgCAMA1Cc5xEHQCz0/pd0IdH3tKu/SlKh90iEU7yCseYFTgxLOLU8wfnpOrgmquDGUwGP/shgyebPgW1+q3VU3qqI6lBBvg+yPH/nxOYZqXhD9vvQBZbIBgiaTuluAAAAAElFTkSuQmCC"},"8b1e":function(e,t,a){"use strict";var i=a("4ea4");a("4de4"),a("d81d"),a("45fc"),a("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a("d20e"),u=i(a("233c")),o=i(a("f922")),r={name:"u-upload",mixins:[uni.$u.mpMixin,uni.$u.mixin,u.default,o.default],data:function(){return{lists:[],isInCount:!0}},watch:{fileList:{immediate:!0,handler:function(){this.formatFileList()}}},methods:{formatFileList:function(){var e=this,t=this.fileList,a=void 0===t?[]:t,i=this.maxCount,n=a.map((function(t){return Object.assign(Object.assign({},t),{isImage:"image"===e.accept||uni.$u.test.image(t.url||t.thumb),isVideo:"video"===e.accept||uni.$u.test.video(t.url||t.thumb),deletable:"boolean"===typeof t.deletable?t.deletable:e.deletable})}));this.lists=n,this.isInCount=n.length<i},chooseFile:function(){var e=this,t=this.maxCount,a=this.multiple,i=this.lists,u=this.disabled;u||(0,n.chooseFile)(Object.assign({accept:this.accept,multiple:this.multiple,capture:this.capture,compressed:this.compressed,maxDuration:this.maxDuration,sizeType:this.sizeType,camera:this.camera},{maxCount:t-i.length})).then((function(t){e.onBeforeRead(a?t:t[0])})).catch((function(t){e.$emit("error",t)}))},onBeforeRead:function(e){var t=this,a=this.beforeRead,i=this.useBeforeRead,n=!0;uni.$u.test.func(a)&&(n=a(e,this.getDetail())),i&&(n=new Promise((function(a,i){t.$emit("beforeRead",Object.assign(Object.assign({file:e},t.getDetail()),{callback:function(e){e?a():i()}}))}))),n&&(uni.$u.test.promise(n)?n.then((function(a){return t.onAfterRead(a||e)})):this.onAfterRead(e))},getDetail:function(e){return{name:this.name,index:null==e?this.fileList.length:e}},onAfterRead:function(e){var t=this.maxSize,a=this.afterRead,i=Array.isArray(e)?e.some((function(e){return e.size>t})):e.size>t;i?this.$emit("oversize",Object.assign({file:e},this.getDetail())):("function"===typeof a&&a(e,this.getDetail()),this.$emit("afterRead",Object.assign({file:e},this.getDetail())))},deleteItem:function(e){this.$emit("delete",Object.assign(Object.assign({},this.getDetail(e)),{file:this.fileList[e]}))},onPreviewImage:function(e){var t=this;e.isImage&&this.previewFullImage&&uni.previewImage({urls:this.lists.filter((function(e){return"image"===t.accept||uni.$u.test.image(e.url||e.thumb)})).map((function(e){return e.url||e.thumb})),current:e.url||e.thumb,fail:function(){uni.$u.toast("预览图片失败")}})},onPreviewVideo:function(e){if(this.data.previewFullImage){var t=e.currentTarget.dataset.index,a=this.data.lists;wx.previewMedia({sources:a.filter((function(e){return isVideoFile(e)})).map((function(e){return Object.assign(Object.assign({},e),{type:"video"})})),current:t,fail:function(){uni.$u.toast("预览视频失败")}})}},onClickPreview:function(e){var t=e.currentTarget.dataset.index,a=this.data.lists[t];this.$emit("clickPreview",Object.assign(Object.assign({},a),this.getDetail(t)))}}};t.default=r},"8eac":function(e,t,a){"use strict";a.r(t);var i=a("c04a"),n=a.n(i);for(var u in i)"default"!==u&&function(e){a.d(t,e,(function(){return i[e]}))}(u);t["default"]=n.a},ab87:function(e,t,a){"use strict";a.r(t);var i=a("6b6f"),n=a("1ba6");for(var u in n)"default"!==u&&function(e){a.d(t,e,(function(){return n[e]}))}(u);a("bbb9");var o,r=a("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"1f3dedb7",null,!1,i["a"],o);t["default"]=s.exports},abd3:function(e,t,a){var i=a("24fb");t=i(!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/* 垂直间距 */.uiCell[data-v-4ba2f3f6]{min-height:%?100?%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;background:#fff}.uiCell--title[data-v-4ba2f3f6]{color:#333;font-size:%?28?%;display:block}.uiCell--label[data-v-4ba2f3f6]{color:#999;font-size:%?24?%;display:block;margin-top:%?10?%}.uiCell--value[data-v-4ba2f3f6]{flex:1;padding:0 %?10?%;text-align:right;font-size:%?28?%}.uiCell--rightIcon[data-v-4ba2f3f6]{width:%?10?%;height:%?20?%;margin-left:%?18?%}',""]),e.exports=t},b940:function(e,t,a){var i=a("2247");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("1cb913e3",i,!0,{sourceMap:!1,shadowMode:!1})},bbb9:function(e,t,a){"use strict";var i=a("5070"),n=a.n(i);n.a},c04a:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{title:{type:String,default:""},label:{type:String,default:""},value:{type:String,default:""},rightIcon:{type:Boolean,default:!0}}};t.default=i},c0d4:function(e,t,a){"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 i=a("5767"),n="/mall/trade",u=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/tradeOrder/page"),e))};t.ApiGetOrderList=u;var o=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/tradeOrder/buyAdvanceOrder"),e))};t.ApiGetBeforeOrder=o;var r=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/tradeOrder/cartAdvanceOrder"),e))};t.ApiGetBeforeCartOrder=r;var s=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/tradeOrder/").concat(e)))};t.ApiGetOrderDetail=s;var l=function(e){var t=e.orderProductId;return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/tradeOrder/product/").concat(t)))};t.ApiGetOrderProductDetail=l;var c=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.post("".concat(n,"/app/tradeOrder/submitOrder"),e))};t.ApiPostSubmitOrder=c;var d=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.post("".concat(n,"/app/tradeOrder/cancel"),e))};t.ApiPutCancelOrder=d;var p=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.post("".concat(n,"/pay/wxPay/app"),e))};t.ApiPostWxPay=p;var f=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.post("".concat(n,"/app/refundOrder/applyRefund"),e))};t.ApiPostApplySaleAfter=f;var v=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.put("".concat(n,"/app/refundOrder/updateRefund"),e))};t.ApiPostEditSaleAfter=v;var b=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.put("".concat(n,"/app/refundOrder/cancelRefund"),e))};t.ApiPostCancelSaleAfter=b;var m=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/refundOrder/page"),e))};t.ApiGetSaleAfterOrderList=m;var h=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/refundOrder/").concat(e.refundId)))};t.ApiGetSaleAfterOrderDetail=h;var g=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.get("".concat(n,"/app/refundOrder/logisticsCompany")))};t.ApiGetLogisticsCompanylist=g;var _=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.put("".concat(n,"/app/refundOrder/completeRefund"),e))};t.ApiPutLogisticsInfo=_},d20e:function(e,t,a){"use strict";var i=a("4ea4");a("caad"),a("d81d"),a("13d5"),a("b64b"),a("d3b7"),a("25f0"),a("2532"),Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=l;var n=i(a("5530"));function u(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((function(a,i){return t.includes(i)||(a[i]=e[i]),a}),{}):{}}function o(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},u(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size,name:e.name})}))}function r(e){return[(0,n.default)((0,n.default)({},u(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size,name:e.name})]}function s(e){return e.tempFiles.map((function(e){return(0,n.default)((0,n.default)({},u(e,["path"])),{},{url:e.path,size:e.size,name:e.name,type:e.type})}))}function l(e){var t=e.accept,a=e.multiple,i=e.capture,n=e.compressed,u=e.maxDuration,l=e.sizeType,c=e.camera,d=e.maxCount;return new Promise((function(e,p){switch(t){case"image":uni.chooseImage({count:a?Math.min(d,9):1,sourceType:i,sizeType:l,success:function(t){return e(o(t))},fail:p});break;case"video":uni.chooseVideo({sourceType:i,compressed:n,maxDuration:u,camera:c,success:function(t){return e(r(t))},fail:p});break;case"file":uni.chooseFile({count:a?d:1,type:t,success:function(t){return e(s(t))},fail:p});break;default:uni.chooseFile({count:a?d:1,type:"all",success:function(t){return e(s(t))},fail:p})}}))}},ed1e:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiPostGetOssConfig=void 0;var i=a("5767"),n="/oss/oss",u=function(e){return(0,i.ToAsyncAwait)(i.MsbRequestTk.post("".concat(n,"/generateOssSignature"),e))};t.ApiPostGetOssConfig=u},f196:function(e,t,a){"use strict";a.r(t);var i=a("59a3"),n=a("8eac");for(var u in n)"default"!==u&&function(e){a.d(t,e,(function(){return n[e]}))}(u);a("3f3b");var o,r=a("f0c5"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"4ba2f3f6",null,!1,i["a"],o);t["default"]=s.exports},f922:function(e,t,a){"use strict";a("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={props:{accept:{type:String,default:uni.$u.props.upload.accept},capture:{type:[String,Array],default:uni.$u.props.upload.capture},compressed:{type:Boolean,default:uni.$u.props.upload.compressed},camera:{type:String,default:uni.$u.props.upload.camera},maxDuration:{type:Number,default:uni.$u.props.upload.maxDuration},uploadIcon:{type:String,default:uni.$u.props.upload.uploadIcon},uploadIconColor:{type:String,default:uni.$u.props.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:uni.$u.props.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:uni.$u.props.upload.previewFullImage},maxCount:{type:[String,Number],default:uni.$u.props.upload.maxCount},disabled:{type:Boolean,default:uni.$u.props.upload.disabled},imageMode:{type:String,default:uni.$u.props.upload.imageMode},name:{type:String,default:uni.$u.props.upload.name},sizeType:{type:Array,default:uni.$u.props.upload.sizeType},multiple:{type:Boolean,default:uni.$u.props.upload.multiple},deletable:{type:Boolean,default:uni.$u.props.upload.deletable},maxSize:{type:[String,Number],default:uni.$u.props.upload.maxSize},fileList:{type:Array,default:uni.$u.props.upload.fileList},uploadText:{type:String,default:uni.$u.props.upload.uploadText},width:{type:[String,Number],default:uni.$u.props.upload.width},height:{type:[String,Number],default:uni.$u.props.upload.height},previewImage:{type:Boolean,default:uni.$u.props.upload.previewImage}}};t.default=i},f9ea:function(e,t,a){var i=a("abd3");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("d85769a6",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |