| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-orderList-index"],{"0dcc":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"base-nav-bar",class:{"light-text":t.lightText}},[n("v-uni-view",{staticClass:"nav-bar-wrapper"},[t.showBack?n("v-uni-button",{staticClass:"nav-bar-back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBack.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"iconfont icon-ic_leftarrow"})],1):t._e(),n("v-uni-view",{staticClass:"base-nav-bar-title overflow-text"},[t._v(t._s(t.title))])],1)],1)},a=[]},"13f0":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:this.noImage}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},a=[]},1555:function(t,e,n){var i=n("6b503");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("230f259e",i,!0,{sourceMap:!1,shadowMode:!1})},"18e6":function(t,e,n){"use strict";n.r(e);var i=n("393b"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},2143:function(t,e,n){"use strict";var i=n("4f6c"),a=n.n(i);a.a},"23b1":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.checkinStaffOrder=function(t,e){return a.default.post("staffs/order/".concat(t,"/check"),e,{login:!0})},e.geocoding=function(t){return a.default.get("lbs/address",{address:t},{login:!0})},e.getMerStaffCheckinConfig=function(t){return a.default.get("staffs/reservation/config",{mer_id:t},{login:!0})},e.getStaffOrderDetail=function(t){return a.default.get("staffs/order/".concat(t),null,{login:!0})},e.getStaffOrderList=function(t){return a.default.get("staffs/order_lst",t,{login:!0})},e.rushStaffOrder=function(t){return a.default.post("staffs/order/".concat(t,"/dispatch"),null,{login:!0})},e.saveStaffOrderRemark=function(t,e){return a.default.post("staffs/order/".concat(t,"/mark"),e,{login:!0})},e.saveStaffOrderServiceRecord=function(t,e){return a.default.post("staffs/order/".concat(t,"/trace"),e,{login:!0})},e.verifyStaffOrder=function(t,e){return a.default.post("staffs/order/".concat(t,"/verifier"),e,{login:!0})};var a=i(n("fea3"))},"26d3":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.base-container[data-v-d8f5a430]{font-family:PingFang SC;--nav-padding-y-gap:%?10?%;--nav-content-height:%?58?%;--nav-bar-height:calc(var(--safe-area-inset-top) + var(--nav-padding-y-gap) + var(--nav-content-height))}.base-container.has-min-height[data-v-d8f5a430]{min-height:var(--screen-height)}',""]),t.exports=e},"2aaf":function(t,e,n){"use strict";var i=n("1555"),a=n.n(i);a.a},3471:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,i.default)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var a=0,r=function(){};return{s:r,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){c=!0,o=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(c)throw o}}}},n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("7a76"),n("c9b5");var i=function(t){return t&&t.__esModule?t:{default:t}}(n("5d6b"))},"393b":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"BaseNavBar",props:{title:{type:String,default:""},lightText:{type:Boolean,default:!1},showBack:{type:Boolean,default:!0}},methods:{handleBack:function(){var t=getCurrentPages();t.length>1?uni.navigateBack():uni.reLaunch({url:"/pages/index/index"})}}};e.default=i},"440c":function(t,e,n){"use strict";var i=n("ee6d"),a=n.n(i);a.a},"49de":function(t,e,n){"use strict";n.r(e);var i=n("dfba"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"4f6c":function(t,e,n){var i=n("591b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("c196cba0",i,!0,{sourceMap:!1,shadowMode:!1})},5818:function(t,e,n){"use strict";n.r(e);var i=n("0dcc"),a=n("18e6");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("e686");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"59d785c9",null,!1,i["a"],void 0);e["default"]=s.exports},"591b":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,".priceChange .listChange[data-v-1a497770]{padding:0 %?40?%}.priceChange .listChange uni-textarea[data-v-1a497770]{box-sizing:border-box}.priceChange .listChange .item[data-v-1a497770]{height:%?103?%;border-bottom:1px solid #eee;font-size:%?28?%}.priceChange .listChange .item .money[data-v-1a497770]{color:#ccc;width:%?200?%;text-align:right}.priceChange .listChange .item .money .color_black[data-v-1a497770]{color:#333}.priceChange .listChange .item .money .iconfont[data-v-1a497770]{font-size:%?32?%;margin-left:%?20?%}.priceChange .listChange .item .money uni-input[data-v-1a497770]{width:100%;height:100%;text-align:right;color:#ccc}.priceChange .listChange .item .money uni-input.on[data-v-1a497770]{color:#666}.priceChange .modify1[data-v-1a497770]{font-size:%?28?%;color:#312b2b;width:%?440?%;height:%?88?%;text-align:center;line-height:%?88?%;border-radius:%?50?%;background-color:#eee;margin:%?30?% auto 0 auto}",""]),t.exports=e},6730:function(t,e,n){"use strict";var i=n("8bdb"),a=n("71e9");i({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return a(URL.prototype.toString,this)}})},6834:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"base-container",class:{"has-min-height":this.hasMinHeight},style:this.cssVars},[this._t("default")],2)},a=[]},"690b":function(t,e,n){"use strict";n.r(e);var i=n("6834"),a=n("49de");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("c054");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"d8f5a430",null,!1,i["a"],void 0);e["default"]=s.exports},"6b503":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.pos-order-list .top-header[data-v-b0fe2276]{position:fixed;top:0;left:0;z-index:99;width:100%;background-color:#fff}.pos-order-list .nav[data-v-b0fe2276]{height:%?92?%;font-size:%?26?%;color:#282828;width:%?690?%;margin:0 %?30?%}.pos-order-list .nav .item[data-v-b0fe2276]{display:inline-block;text-align:center;color:#333;max-width:%?160?%;margin-right:%?50?%;line-height:%?92?%}.pos-order-list .nav .item[data-v-b0fe2276]:last-child{margin-right:0}.pos-order-list .nav .item.on[data-v-b0fe2276]{color:#2291f8;font-weight:700}.pos-order-list .list[data-v-b0fe2276]{margin-top:%?186?%}.pos-order-list .list .item[data-v-b0fe2276]{background-color:#fff;width:100%;position:relative;padding:%?30?%}.pos-order-list .list .item .item-status[data-v-b0fe2276]{position:absolute;top:%?12?%;right:%?20?%}.pos-order-list .list .item .item-status .iconfont[data-v-b0fe2276]{font-size:%?98?%;color:#ccc}.pos-order-list .list .item .item-status .iconfont.on[data-v-b0fe2276]{color:#ffe3bc}.pos-order-list .list .item ~ .item[data-v-b0fe2276]{margin-top:%?24?%}.pos-order-list .list .activity_type[data-v-b0fe2276]{display:inline-block;color:#e93323;font-size:%?20?%;text-align:center;border-radius:%?5?%;padding:0 %?4?%;line-height:%?28?%;margin-right:%?8?%;border:%?1?% solid #e93323}.pos-order-list .list .item .order-num[data-v-b0fe2276]{font-size:%?28?%;color:#282828;position:relative;padding-bottom:%?30?%;border-bottom:%?2?% solid #eee}.pos-order-list .list .item .order-num.order-num-refund[data-v-b0fe2276]{border:none}.pos-order-list .list .item .order-status[data-v-b0fe2276]{color:#2291f8;top:%?30?%;right:%?20?%;text-align:right;width:%?100?%;font-weight:400;font-size:%?26?%}.pos-order-list .list .item .order-num .time[data-v-b0fe2276]{font-size:%?24?%;font-weight:400;color:#999;margin-top:%?10?%}.pos-order-list .list .item .operation[data-v-b0fe2276]{margin-top:%?56?%}.pos-order-list .list .item .operation .more[data-v-b0fe2276]{position:relative}.pos-order-list .list .item .operation .order .arrow[data-v-b0fe2276]{width:0;height:0;border-left:%?11?% solid transparent;border-right:%?11?% solid transparent;border-top:%?20?% solid #e5e5e5;position:absolute;left:%?15?%;bottom:%?-18?%}.pos-order-list .list .item .operation .order .arrow[data-v-b0fe2276]:before{content:"";width:0;height:0;border-left:%?7?% solid transparent;border-right:%?7?% solid transparent;border-top:%?20?% solid #fff;position:absolute;left:%?-7?%;bottom:0}.pos-order-list .list .item .operation .order[data-v-b0fe2276]{width:%?200?%;background-color:#fff;border:1px solid #eee;border-radius:%?10?%;position:absolute;top:%?-100?%;z-index:9}.pos-order-list .list .item .operation .order .items[data-v-b0fe2276]{height:%?77?%;line-height:%?77?%;text-align:center}.pos-order-list .list .item .operation .order .items ~ .items[data-v-b0fe2276]{border-top:1px solid #f5f5f5}.pos-order-list .list .item .operation .bnt[data-v-b0fe2276]{font-size:%?24?%;color:#666;height:%?64?%;padding-inline:%?32?%;border-radius:%?50?%;border:1px solid #ddd;text-align:center;line-height:%?60?%}.pos-order-list .list .item .operation .bnt_color[data-v-b0fe2276]{border:none;color:#fff;background:linear-gradient(90deg,#2291f8,#1cd1dc)}.pos-order-list .list .item .operation .bnt ~ .bnt[data-v-b0fe2276]{margin-left:%?14?%}.pos-order-goods[data-v-b0fe2276]{background-color:#fff;margin-top:%?40?%}.pos-order-goods.order-refund[data-v-b0fe2276]{margin-top:%?20?%}.pos-order-goods .goods[data-v-b0fe2276]{overflow:hidden}.pos-order-goods .goods .picTxt[data-v-b0fe2276]{width:%?500?%;align-items:flex-start}.pos-order-goods .goods .picTxt.pixTxt-refund[data-v-b0fe2276]{width:%?560?%}.pos-order-goods .goods .picTxt .pictrue[data-v-b0fe2276]{width:%?120?%;height:%?120?%}.pos-order-goods .goods .picTxt .pictrue.pictrue-refund[data-v-b0fe2276]{width:%?130?%;height:%?130?%}.pos-order-goods .goods .picTxt .pictrue uni-image[data-v-b0fe2276]{width:100%;height:100%;border-radius:%?16?%}.pos-order-goods .goods .picTxt .text[data-v-b0fe2276]{flex-direction:column;width:%?360?%}.pos-order-goods .goods .picTxt .text.refund-text[data-v-b0fe2276]{width:%?410?%}.pos-order-goods .goods .picTxt .text .info.refund-info[data-v-b0fe2276]{width:%?410?%}.refund-y-money[data-v-b0fe2276]{margin-top:%?20?%;font-size:%?26?%}.pos-order-goods .goods .picTxt .text .attr[data-v-b0fe2276]{margin-top:%?16?%;font-size:%?20?%;color:#999}.pos-order-goods .goods .money[data-v-b0fe2276]{width:%?148?%;text-align:right;font-size:%?28?%}.pos-order-goods .goods .money.refund-money[data-v-b0fe2276]{width:auto;position:relative}.pos-order-goods .goods .money.refund-money .num[data-v-b0fe2276]{color:#ff9600}.pos-order-goods .goods .money .refund-num[data-v-b0fe2276]{font-size:%?24?%}.pos-order-goods .goods .money .x-money[data-v-b0fe2276]{color:#282828}.pos-order-goods .goods .money .num[data-v-b0fe2276]{color:#ff9600;margin:%?5?% 0}.pos-order-goods .goods .money .y-money[data-v-b0fe2276]{color:#999;text-decoration:line-through}.pos-order-goods .goods .refund_num[data-v-b0fe2276]{display:inline-block;margin-left:%?10?%}.public-total[data-v-b0fe2276]{font-size:%?28?%;color:#282828;text-align:right;background-color:#fff;margin-top:%?38?%}.public-total .money[data-v-b0fe2276]{color:#ff9600;margin:0 %?8?%}.nothing[data-v-b0fe2276]{margin-top:%?200?%;text-align:center}.nothing .picture[data-v-b0fe2276]{height:%?305?%}.search[data-v-b0fe2276]{padding:%?17?% %?30?% 0}.search .search-content[data-v-b0fe2276]{width:100%;height:%?60?%;padding:0 %?30?%;border-radius:%?30?%;background-color:#f5f5f5;font-size:%?26?%}.search .iconfont[data-v-b0fe2276]{margin-right:%?10?%;font-size:%?30?%;color:#999}.search .input-placeholder[data-v-b0fe2276]{font-size:%?26?%;color:#ccc}.search .input[data-v-b0fe2276]{flex:1}',""]),t.exports=e},8329:function(t,e,n){"use strict";n.r(e);var i=n("13f0"),a=n("c4bf");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("ad31");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"07efc1fe",null,!1,i["a"],void 0);e["default"]=s.exports},"85aa":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,".Loads[data-v-6be7644b]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-6be7644b]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b 3s linear 1s infinite;animation:load-data-v-6be7644b 3s linear 1s infinite}.loading[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b linear 1s infinite;animation:load-data-v-6be7644b linear 1s infinite}",""]),t.exports=e},9370:function(t,e,n){"use strict";var i=n("8bdb"),a=n("af9e"),r=n("1099"),o=n("c215"),s=a((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));i({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(t){var e=r(this),n=o(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9cba":function(t,e,n){"use strict";n.r(e);var i=n("fc42"),a=n("fd18");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("2143");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"1a497770",null,!1,i["a"],void 0);e["default"]=s.exports},"9e26":function(t,e,n){var i=n("26d3");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("6726af70",i,!0,{sourceMap:!1,shadowMode:!1})},a058:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.Debounce=void 0,e.checkPhone=function(t){return/^1(3|4|5|6|7|8|9)\d{9}$/.test(t)},e.isEmailAvailable=function(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},e.isMoney=function(t){return/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(t)},n("5c47"),n("0506");e.Debounce=function(t,e){var n,i=e||500;return function(){var e=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){n=null,t.apply(e,a)}),i)}}},a8f1:function(t,e,n){var i=n("e5a0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("329e295d",i,!0,{sourceMap:!1,shadowMode:!1})},ad31:function(t,e,n){"use strict";var i=n("fb63"),a=n.n(i);a.a},af69:function(t,e,n){"use strict";n.r(e);var i=n("f69f"),a=n("c216");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("440c");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"6be7644b",null,!1,i["a"],void 0);e["default"]=s.exports},b7b2:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("aa10"),a={props:{title:{type:String,default:"暂无记录"},noImage:{type:String,default:i.HTTP_REQUEST_URL+"/static/images/empty-box.png"}}};e.default=a},ba71:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=i},c054:function(t,e,n){"use strict";var i=n("9e26"),a=n.n(i);a.a},c216:function(t,e,n){"use strict";n.r(e);var i=n("ba71"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},c4bf:function(t,e,n){"use strict";n.r(e);var i=n("b7b2"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},c68a:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("BaseContainer",[n("v-uni-view",{ref:"container",staticClass:"pos-order-list"},[n("v-uni-view",{staticClass:"top-header"},[n("v-uni-view",{staticClass:"search"},[n("v-uni-view",{staticClass:"search-content acea-row row-middle"},[n("v-uni-text",{staticClass:"iconfont icon-ic_search"}),n("v-uni-input",{staticClass:"input",attrs:{"confirm-type":"search",placeholder:"请输收货人手机号或退款订单号搜索"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSearch.apply(void 0,arguments)}},model:{value:t.where.store_name,callback:function(e){t.$set(t.where,"store_name",e)},expression:"where.store_name"}})],1)],1),n("v-uni-view",[n("v-uni-scroll-view",{staticClass:"nav acea-row",staticStyle:{"white-space":"nowrap",display:"flex"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"show-scrollbar":"true"}},[n("v-uni-view",{staticClass:"item",class:1==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(1)}}},[t._v("待付款")]),n("v-uni-view",{staticClass:"item",class:1==t.where.is_verify?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus("verify")}}},[t._v("待核销")]),n("v-uni-view",{staticClass:"item",class:2==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(2)}}},[t._v("待发货")]),n("v-uni-view",{staticClass:"item",class:3==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(3)}}},[t._v("待收货")]),n("v-uni-view",{staticClass:"item",class:4==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(4)}}},[t._v("待评价")]),n("v-uni-view",{staticClass:"item",class:5==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(5)}}},[t._v("已完成")]),n("v-uni-view",{staticClass:"item",class:6==t.where.status?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeStatus(6)}}},[t._v("退款")])],1)],1)],1),n("v-uni-view",{staticClass:"pad20"},[6==t.where.status?n("v-uni-view",{staticClass:"list"},t._l(t.list,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item bg-f boder-24"},[n("v-uni-view",{staticClass:"order-num order-num-refund acea-row row-middle"},[e.order&&0!=e.order.activity_type?n("v-uni-view",{staticClass:"activity_type"},[t._v(t._s(1==e.order.activity_type?"秒杀":2==e.order.activity_type?"预售":3==e.order.activity_type?"助力":4==e.order.activity_type?"拼团":10==e.order.activity_type?"套餐":""))]):t._e(),t._v("退款单号:"+t._s(e.refund_order_sn)),n("v-uni-view",{staticClass:"time"},[t._v("申请时间:"+t._s(e.create_time))])],1),t._l(e.refundProduct,(function(i,a){return n("v-uni-view",{key:a,staticClass:"pos-order-goods order-refund",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toRefundDetail(e)}}},[n("v-uni-view",{staticClass:"goods acea-row row-between"},[i.product.cart_info?n("v-uni-view",{staticClass:"picTxt pixTxt-refund acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"pictrue pictrue-refund"},[n("v-uni-image",{attrs:{src:i.product.cart_info.product.image}})],1),n("v-uni-view",{staticClass:"text refund-text acea-row row-between row-column"},[n("v-uni-view",{staticClass:"info line1 refund-info"},[t._v(t._s(i.product.cart_info.product&&i.product.cart_info.product.store_name))]),n("v-uni-view",{staticClass:"attr"},[t._v(t._s(i.product.cart_info.productAttr&&i.product.cart_info.productAttr.sku||"默认"))]),n("v-uni-view",{staticClass:"y-money refund-y-money"},[t._v("退款:"),n("priceFormat",{attrs:{price:i.refund_price,weight:!0,intSize:"28",floatSize:"20",labelSize:"20"}})],1)],1)],1):t._e(),n("v-uni-view",{staticClass:"money refund-money"},[n("v-uni-view",{staticClass:"num"},[t._v("x"+t._s(i.refund_num))])],1)],1)],1)})),n("v-uni-view",{staticClass:"item-status"},[-1==e.status?n("v-uni-text",{staticClass:"iconfont icon-yijujue"}):t._e(),0==e.status?n("v-uni-text",{staticClass:"iconfont icon-tuikuanzhong11 on"}):t._e(),1==e.status||2==e.status?n("v-uni-text",{staticClass:"iconfont icon-tuihuozhong on"}):t._e(),3==e.status?n("v-uni-text",{staticClass:"iconfont icon-yituikuan11"}):t._e(),-2==e.status?n("v-uni-text",{staticClass:"iconfont icon-yiquxiao"}):t._e()],1),n("v-uni-view",{staticClass:"operation acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"more"}),n("v-uni-view",{staticClass:"acea-row row-middle"},[n("v-uni-view",{staticClass:"bnt",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.refundModify(e,1)}}},[t._v("订单备注")]),0==e.status?n("v-uni-navigator",{staticClass:"bnt bnt_color",attrs:{url:"/pages/admin/orderRefund/index?id="+e.refund_order_id+"&merId="+t.merId}},[t._v("立即退款")]):t._e(),2==e.status?n("v-uni-navigator",{staticClass:"bnt",attrs:{url:"/pages/users/goods_logistics/index?refundId="+e.refund_order_id+"&merId="+t.merId}},[t._v("查看物流")]):t._e(),2==e.status?n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.confirmOrder(e)}}},[t._v("确认收货")]):t._e()],1)],1)],2)})),1):n("v-uni-view",{staticClass:"list"},t._l(t.list,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item bg-f boder-24"},[n("v-uni-view",{staticClass:"order-num acea-row row-between"},[n("v-uni-view",[n("v-uni-view",{staticClass:"acea-row row-middle"},[0!=e.activity_type?n("v-uni-view",{staticClass:"activity_type"},[t._v(t._s(1==e.activity_type?"秒杀":2==e.activity_type?"预售":3==e.activity_type?"助力":4==e.activity_type?"拼团":10==e.activity_type?"套餐":""))]):t._e(),t._v("订单号:"+t._s(e.order_sn))],1),n("v-uni-view",{staticClass:"time"},[t._v("下单时间:"+t._s(e.create_time))])],1),n("v-uni-text",{staticClass:"order-status"},[t._v(t._s(t.getOrderStatus(e)))])],1),t._l(e.orderProduct,(function(i,a){return n("v-uni-view",{key:a,staticClass:"pos-order-goods",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toDetail(e)}}},[n("v-uni-view",{staticClass:"goods"},[n("v-uni-view",{staticClass:"acea-row row-between"},[n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:i.cart_info.product.image}})],1),n("v-uni-view",{staticClass:"text acea-row row-between row-column"},[n("v-uni-view",{staticClass:"info line2"},[t._v(t._s(i.cart_info.product.store_name))]),n("v-uni-view",{staticClass:"attr"},[t._v(t._s(i.cart_info.productAttr&&i.cart_info.productAttr.sku||"默认"))])],1)],1),n("v-uni-view",{staticClass:"money"},[n("v-uni-view",{staticClass:"x-money"},[n("priceFormat",{attrs:{price:i.cart_info.productAttr.price,weight:!0,intSize:"32",floatSize:"22",labelSize:"20"}})],1),n("v-uni-view",{staticClass:"num"},[t._v("x"+t._s(i.product_num))]),i.product_num-i.refund_num>0?n("v-uni-view",{staticClass:"refund-num"},[t._v(t._s(i.product_num-i.refund_num)+"件"+t._s(1==i.is_refund?"退款中":2==i.is_refund?"已退款":3==i.is_refund?"全部退款":""))]):t._e()],1)],1)],1)],1)})),n("v-uni-view",{staticClass:"public-total acea-row row-right"},[t._v("共"+t._s(e.total_num)+"件商品,"),t.where.status<=1?n("v-uni-text",[t._v("应")]):n("v-uni-text",[t._v("已")]),t._v("支付"),n("v-uni-view",{staticClass:"money"},[n("priceFormat",{attrs:{price:e.pay_price,weight:!0,intSize:"32",floatSize:"22",labelSize:"20"}})],1),t._v("( 运费 ¥"+t._s(e.pay_postage)+" )")],1),n("v-uni-view",{staticClass:"operation acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"more"}),n("v-uni-view",{staticClass:"acea-row row-middle"},[1==t.where.status&&2!=e.activity_type?n("v-uni-view",{staticClass:"bnt",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.modify(e,0)}}},[t._v("一键改价")]):t._e(),n("v-uni-view",{staticClass:"bnt",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.modify(e,1)}}},[t._v("订单备注")]),2!=t.where.status||0!=e.order_type||e.is_booking_order?t._e():n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toPostage(e)}}},[t._v("去发货")]),(2!=t.where.status||1!=e.order_type)&&1!=t.where.is_verify||e.is_booking_order?t._e():n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toDetail(e)}}},[t._v("核销")]),e.paid&&e.is_booking_order?[e.is_instore_order||0!==e.status?t._e():[e.staffs_id?n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleOpenAssignPage(e.order_id,!0)}}},[t._v("改派")]):n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleOpenAssignPage(e.order_id)}}},[t._v("派单")])],e.is_instore_order&&0===e.status?n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleReedeemBookingOrder(e)}}},[t._v("核销")]):e.is_instore_order||20!==e.status?t._e():n("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleReedeemBookingOrder.apply(void 0,arguments)}}},[t._v("核销")])]:t._e()],2)],1)],2)})),1),n("Loading",{attrs:{loaded:t.loaded,loading:t.loading}}),!t.loading&&t.list.length<=0?n("v-uni-view",{staticClass:"nothing"},[n("emptyPage",{attrs:{title:"暂无订单~",noImage:t.domain+"/static/images/noRecord.png"}})],1):t._e()],1),n("PriceChange",{attrs:{change:t.change,orderInfo:t.orderInfo,status:t.status},on:{closechange:function(e){arguments[0]=e=t.$handleEvent(e),t.changeclose(e)},savePrice:function(e){arguments[0]=e=t.$handleEvent(e),t.savePrice.apply(void 0,arguments)}}}),n("v-uni-view",[n("v-uni-view",{staticClass:"priceChange",class:!0===t.refundMark?"on":""},[n("v-uni-view",{staticClass:"change-count bg-f"},[n("v-uni-view",{staticClass:"priceTitle",style:{"background-image":"url("+t.domain+"/static/images/pricetitle.jpg)"}},[t._v("订单备注")]),n("v-uni-view",{staticClass:"listChange"},[n("v-uni-textarea",{attrs:{placeholder:"请填写备注信息..."},model:{value:t.refundInfo.mer_mark,callback:function(e){t.$set(t.refundInfo,"mer_mark",e)},expression:"refundInfo.mer_mark"}})],1),n("v-uni-view",{staticClass:"modify",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.save.apply(void 0,arguments)}}},[t._v("确认提交")])],1),n("v-uni-view",{staticClass:"close"},[n("v-uni-text",{staticClass:"iconfont icon-ic_close1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.refundMark=!1}}})],1)],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!0===t.refundMark,expression:"refundMark === true"}],staticClass:"mask",on:{touchmove:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}}),t.merId?n("OrderAssign",{ref:"orderAssign",attrs:{merId:t.merId},on:{refresh:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAssignSuccess.apply(void 0,arguments)}}}):t._e()],1)],1)],1)},a=[]},c6d0:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.getSystemInfo=void 0;var i=null;e.getSystemInfo=function(){return i||(i=uni.getSystemInfoSync()),i}},cec3:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.handleOpenLocation=e.handleMakeCallPhone=e.getTableList=e.getSignList=e.getServiceProcessList=e.getBookingOrderStatus=e.buildFormList=e.addBookingOrderType=e.BtnUtil=void 0,n("64aa"),n("dd2b"),n("fd3c"),n("0829"),n("aa9c"),n("4626");var a=i(n("3471")),r=i(n("5de6")),o=i(n("2634")),s=i(n("2fdc")),c=n("23b1"),u=i(n("ea2b"));e.getBookingOrderStatus=function(t){return-1===t.status?"已取消":t.paid?t.is_instore_order?0===t.status?"待核销":2===t.status?"待评价":"交易完成":0===t.status?"派单中":1===t.status?"待服务":20===t.status?"服务中":2===t.status?"待评价":"交易完成":"待支付"};e.addBookingOrderType=function(t){t.is_booking_order=4===t.is_virtual,t.is_instore_order=t.is_booking_order&&1===t.order_type};e.handleMakeCallPhone=function(t){uni.makePhoneCall({phoneNumber:t})};var d=function(){var t=(0,s.default)((0,o.default)().mark((function t(e){var n,i,a,r;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return uni.showLoading({mask:!0}),t.prev=1,t.next=4,(0,c.geocoding)(e);case 4:n=t.sent,i=n.data.location,a=i.lng,r=i.lat,uni.hideLoading(),uni.openLocation({latitude:Number(r),longitude:Number(a),address:e}),t.next=14;break;case 10:t.prev=10,t.t0=t["catch"](1),uni.hideLoading(),uni.showToast({title:t.t0,icon:"none"});case 14:case"end":return t.stop()}}),t,null,[[1,10]])})));return function(e){return t.apply(this,arguments)}}();e.handleOpenLocation=d;var l=function(t){var e=Array.isArray(t.clock_in_info)||!t.clock_in_info?null:t.clock_in_info;return e},f=function(t){var e,n,i=l(t),a=[{label:"服务人员",value:(null===(e=t.staffs)||void 0===e?void 0:e.name)||"-"},{label:"联系电话",value:(null===(n=t.staffs)||void 0===n?void 0:n.phone)||"",isPhone:!0},{label:"开始服务时间",value:i?i.clock_time:"-",isDate:!0},{label:"结束服务时间",value:t.verify_time||"-",isDate:!0},{label:"服务时长",value:function(){if(!i)return"-";var e=t.verify_time;if(!i.clock_time||!e)return"-";var n=(0,u.default)(i.clock_time),a=(0,u.default)(e),r=a.diff(n,"minutes");return(r<1?1:r)+"分钟"}()}];return 0!=t.enable_assigned&&0!=t.enable_checkin||a.splice(2,1),a},v=function(t){var e=l(t);return[{label:"打卡时间",value:(null===e||void 0===e?void 0:e.clock_time)||"-"},{label:"打卡备注",value:(null===e||void 0===e?void 0:e.remark)||"-"},{label:"打卡照片",isImage:!0,value:(null===e||void 0===e?void 0:e.images)||[]}]};e.getSignList=v;var h=function(t){var e=Array.isArray(t.reservation_service_voucher)||!t.reservation_service_voucher?null:t.reservation_service_voucher;if(e)return Object.entries(e).map((function(t){var e=(0,r.default)(t,2),n=e[0],i=e[1];return{label:n,value:i,isImage:Array.isArray(i)}}))};e.getServiceProcessList=h;var p=function(t){for(var e=[],n=0,i=Object.entries(t);n<i.length;n++){var a=(0,r.default)(i[n],2),o=a[0],s=a[1],c={label:o,value:s};Array.isArray(s)&&(c.isImage=!0),e.push(c)}return e};e.buildFormList=p;e.getTableList=function(t,e){var n;if(!t)return[];var i=[];if(!t.is_instore_order&&(i.push({title:"服务信息",list:f(t)}),t.status>1)){i.push({title:"打卡信息",list:v(t)});var r=h(t);r&&r.length&&i.push({title:"服务过程留凭",list:r})}if(null!==(n=t.order_extend)&&void 0!==n&&n.length){var o,s=(0,a.default)(t.order_extend);try{for(s.s();!(o=s.n()).done;){var c=o.value;i.push({title:e?e.name:"表单信息",list:p(c)})}}catch(u){s.e(u)}finally{s.f()}}return i};e.BtnUtil={getReedemStatus:function(t,e){if(20===t.status)return!0;if(1===t.status){var n=this.getCheckinStatus(t,e);if(!n)return!0}return!1},getServiceRecordStatus:function(t,e){if(![1,20].includes(t.status))return!1;var n=e.enable_trace,i=e.trace_form_id,a=1==n&&!!i;return a&&(20===t.status||!this.getCheckinStatus(t,e))},getCheckinStatus:function(t,e){var n=e.enable_checkin;return 1==n&&1===t.status}}},d22a:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("aa77"),n("bf0f"),n("aa9c"),n("2797"),n("c9b5"),n("ab80"),n("c223"),n("64aa");var a=i(n("2634")),r=i(n("5de6")),o=i(n("2fdc")),s=n("d542"),c=i(n("af69")),u=i(n("9cba")),d=n("a058"),l=n("aa10"),f=i(n("8329")),v=i(n("328c")),h=i(n("690b")),p=n("cec3"),g={name:"AdminOrderList",components:{Loading:c.default,PriceChange:u.default,emptyPage:f.default,OrderAssign:v.default,BaseContainer:h.default},data:function(){return{domain:l.HTTP_REQUEST_URL,current:"",change:!1,refundMark:!1,types:1,where:{page:1,limit:10,status:1,store_name:""},list:[],loaded:!1,loading:!1,refundInfo:{},orderInfo:{},status:"",merId:""}},watch:{"$route.params.types":function(t){void 0!=t&&(this.where.status=t,this.init())},types:function(){this.getIndex()}},onLoad:function(t){this.where.status=t.types,this.current="",this.merId=t.merId,this.getIndex()},methods:{handleReedeemBookingOrder:function(t){var e=this;return(0,o.default)((0,a.default)().mark((function n(){var i,o,c,u,d;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,uni.showModal({title:"提示",content:"确定要核销该订单吗?"});case 2:if(i=n.sent,o=(0,r.default)(i,2),c=o[0],u=o[1].confirm,!c&&u){n.next=8;break}return n.abrupt("return");case 8:return uni.showLoading({mask:!0}),n.prev=9,n.next=12,(0,s.redeemBookingOrder)(e.merId,t.order_id);case 12:d=n.sent,uni.hideLoading(),e.$util.Tips({title:d.message,icon:"success"}),e.init(),n.next=22;break;case 18:n.prev=18,n.t0=n["catch"](9),uni.hideLoading(),e.$util.Tips({title:n.t0,icon:"none"});case 22:case"end":return n.stop()}}),n,null,[[9,18]])})))()},handleAssignSuccess:function(t){var e=this.list.find((function(e){return e.order_id===t}));e&&e.is_booking_order&&!e.is_instore_order&&0===e.status&&(e.status=1)},handleOpenAssignPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$refs.orderAssign.openPanel(t,e)},getOrderStatus:function(t){return t.paid?t.is_booking_order?(0,p.getBookingOrderStatus)(t):0!=t.refunding&&1!=this.where.status?1==t.refunding?"退款中":2==t.refunding?"部分退款":"全部退款":"":""},handleSearch:function(){this.loaded=!1,this.where.page=1,this.list=[],this.getIndex()},getIndex:function(){var t=this;t.loading||t.loaded||(t.loading=!0,6==t.where.status?(0,s.getRefundOrderList)(t.where,t.merId).then((function(e){t.loading=!1,t.loaded=e.data.list.length<t.where.limit,t.list.push.apply(t.list,e.data.list),t.where.page=t.where.page+1}),(function(e){t.$util.Tips({title:e})})):(0,s.getOrderList)(t.where,t.merId).then((function(e){t.loading=!1,t.loaded=e.data.list.length<t.where.limit,e.data.list.forEach((function(t){(0,p.addBookingOrderType)(t)})),t.list.push.apply(t.list,e.data.list),t.where.page=t.where.page+1}),(function(e){t.$util.Tips({title:e})})))},init:function(){this.list=[],this.where.page=1,this.loaded=!1,this.loading=!1,this.getIndex(),this.current=""},changeStatus:function(t){"verify"!=t?this.where.status!=t&&(this.where.status=t,delete this.where.is_verify,this.init()):(this.where.is_verify=1,delete this.where.status,this.init())},modify:function(t,e){var n=e.toString();this.change=!0,this.orderInfo=t,this.status=n},refundModify:function(t){this.refundInfo=t,this.refundMark=!0},save:function(t){var e=this,n=this;if(!n.refundInfo.mer_mark)return this.$util.Tips({title:"请输入备注"});(0,s.setRefundMark)(n.merId,n.refundInfo.refund_order_id,{mer_mark:n.refundInfo.mer_mark}).then((function(t){n.refundMark=!1,e.$util.Tips({title:t.message,icon:"success"})}),(function(t){n.refundMark=!1,n.$util.Tips({title:t})}))},changeclose:function(t){this.change=t},confirmOrder:function(t){var e=this;uni.showModal({title:"确认收货",content:"为保障权益,请收到货确认无误后,再确认收货",success:function(n){n.confirm&&(0,s.refundOrderReceive)(e.merId,t.refund_order_id).then((function(n){return e.$util.Tips({title:"操作成功",icon:"success"},(function(){t.status=3}))})).catch((function(t){return e.$util.Tips({title:t})}))}})},toPostage:function(t){var e=this;0!=t.refunding?uni.showModal({title:"标题",content:"该订单有售后申请,请确认已处理!",success:function(n){n.confirm&&uni.navigateTo({url:"/pages/admin/delivery/index?id=".concat(t.order_id,"&merId=").concat(e.merId)})}}):uni.navigateTo({url:"/pages/admin/delivery/index?id=".concat(t.order_id,"&merId=").concat(e.merId)})},savePrice:function(t){var e=this;return(0,o.default)((0,a.default)().mark((function n(){var i,r,o,c,u,l;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=e,r={},o=t.orderInfo.pay_postage,t.refund_price,i.orderInfo.refund_status,c=t.remark,u={pay_postage:t.orderInfo.pay_postage,coupon_price:t.orderInfo.coupon_price,total_price:Number(t.orderInfo.total_price)},l=i.orderInfo.order_id,0!=i.status){n.next=10;break}if((0,d.isMoney)(t.orderInfo.pay_postage||t.orderInfo.total_price)){n.next=6;break}return n.abrupt("return",i.$util.Tips({title:"请输入正确的金额"}));case 6:r.pay_price=o,(0,s.setAdminOrderPrice)(e.merId,l,u).then((function(){i.change=!1,i.$util.Tips({title:"改价成功",icon:"success"}),i.init()}),(function(t){i.change=!1,i.$util.Tips({title:t,icon:"none"})})),n.next=13;break;case 10:if(c){n.next=12;break}return n.abrupt("return",e.$util.Tips({title:"请输入备注"}));case 12:(0,s.setAdminOrderRemark)(e.merId,l,{remark:c}).then((function(t){i.change=!1,e.$util.Tips({title:t.message,icon:"success"}),i.init()}),(function(t){i.change=!1,i.$util.Tips({title:t})}));case 13:case"end":return n.stop()}}),n)})))()},toDetail:function(t){var e=t.is_booking_order?"/pages/admin/booking/detail":"/pages/admin/orderDetail/index";uni.navigateTo({url:"".concat(e,"?id=").concat(t.order_id,"&mer_id=").concat(t.mer_id)})},toRefundDetail:function(t){uni.navigateTo({url:"/pages/admin/refundDetail/index?id=".concat(t.refund_order_id,"&mer_id=").concat(t.mer_id)})}},onReachBottom:function(){this.getIndex()}};e.default=g},dfba:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("fd3c"),n("0829"),n("c223"),n("aa9c");var a=i(n("5de6")),r=i(n("9b1b")),o=n("c6d0"),s=n("8f59"),c={name:"BaseContainer",props:{hasMinHeight:{type:Boolean,default:!0}},data:function(){var t=(0,o.getSystemInfo)();return{safeArea:t.safeArea,safeAreaBottomSize:t.safeAreaInsets.bottom,statusBarHeight:t.statusBarHeight,screenWidth:t.screenWidth,screenHeight:t.screenHeight}},computed:(0,r.default)((0,r.default)({},(0,s.mapGetters)(["viewColor"])),{},{cssVars:function(){var t={"--safe-area-inset-top":"".concat(this.statusBarHeight,"px"),"--safe-area-inset-bottom":"".concat(this.safeAreaBottomSize,"px"),"--screen-width":"".concat(this.safeArea.width,"px"),"--screen-height":"".concat(this.safeArea.height,"px")},e=Object.entries(t).map((function(t){var e=(0,a.default)(t,2),n=e[0],i=e[1];return"".concat(n,": ").concat(i)}));return e.push(this.viewColor),e.join(";")}}),methods:{}};e.default=c},e135:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("aa10"),a={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{domain:i.HTTP_REQUEST_URL,focus:!1,price:0,actual_price:0,refund_price:0,remark:""}},watch:{orderInfo:function(t){this.price=this.orderInfo.pay_price,this.actual_price=this.orderInfo.total_price+this.orderInfo.pay_postage-this.orderInfo.coupon_price,this.refund_price=this.orderInfo.pay_price,this.remark=this.orderInfo.remark}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},setValue:function(){this.price=this.orderInfo.total_price+this.orderInfo.pay_postage-this.orderInfo.coupon_price},save:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:1,remark:this.remark,orderInfo:this.orderInfo})},refuse:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:2,remark:this.remark})}}};e.default=a},e1b4:function(t,e,n){"use strict";n.r(e);var i=n("c68a"),a=n("e825");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("2aaf");var o=n("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"b0fe2276",null,!1,i["a"],void 0);e["default"]=s.exports},e5a0:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.base-nav-bar[data-v-59d785c9]{padding-top:calc(var(--safe-area-inset-top) + var(--nav-padding-y-gap));padding-bottom:var(--nav-padding-y-gap)}.base-nav-bar.light-text[data-v-59d785c9]{color:#fff}.base-nav-bar .nav-bar-wrapper[data-v-59d785c9]{display:flex;align-items:center;justify-content:center;position:relative;height:var(--nav-content-height)}.base-nav-bar .base-nav-bar-title[data-v-59d785c9]{flex:1;font-size:%?34?%;font-weight:500;text-align:center;max-width:80%}.base-nav-bar .nav-bar-back[data-v-59d785c9]{position:absolute;left:%?20?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:%?40?%;height:%?40?%;display:flex;align-items:center;justify-content:center;background-color:initial;color:inherit}.base-nav-bar .nav-bar-back .iconfont[data-v-59d785c9]{font-size:%?40?%;color:inherit}',""]),t.exports=e},e686:function(t,e,n){"use strict";var i=n("a8f1"),a=n.n(i);a.a},e825:function(t,e,n){"use strict";n.r(e);var i=n("d22a"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},ea2b:function(t,e,n){var i,a,r=n("bdbb").default;n("64aa"),n("5c47"),n("a1c1"),n("0506"),n("2c10"),n("c9b5"),n("bf0f"),n("ab80"),n("f7a5"),n("9370"),n("6730"),function(o,s){"object"==r(e)&&"undefined"!=typeof t?t.exports=s():(i=s,a="function"===typeof i?i.call(e,n,e,t):i,void 0===a||(t.exports=a))}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",i="hour",a="day",o="week",s="month",c="quarter",u="year",d=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,l=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},v={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+f(i,2,"0")+":"+f(a,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,s),a=e-i<0,r=t.clone().add(n+(a?-1:1),s);return Number(-(n+(e-i)/(a?i-r:r-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(r){return{M:s,y:u,w:o,d:a,D:"date",h:i,m:n,s:e,ms:t,Q:c}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},p="en",g={};g[p]=h;var m=function(t){return t instanceof y},b=function(t,e,n){var i;if(!t)return p;if("string"==typeof t)g[t]&&(i=t),e&&(g[t]=e,i=t);else{var a=t.name;g[a]=t,i=a}return!n&&i&&(p=i),i||!n&&p},_=function(t,e){if(m(t))return t.clone();var n="object"==r(e)?e:{};return n.date=t,n.args=arguments,new y(n)},w=v;w.l=b,w.i=m,w.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var y=function(){function r(t){this.$L=this.$L||b(t.locale,null,!0),this.parse(t)}var f=r.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(w.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(d);if(i)return n?new Date(Date.UTC(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)):new Date(i[1],i[2]-1,i[3]||1,i[4]||0,i[5]||0,i[6]||0,i[7]||0)}return new Date(e)}(t),this.init()},f.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},f.$utils=function(){return w},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},f.isAfter=function(t,e){return _(t)<this.startOf(e)},f.isBefore=function(t,e){return this.endOf(e)<_(t)},f.$g=function(t,e,n){return w.u(t)?this[e]:this.set(n,t)},f.year=function(t){return this.$g(t,"$y",u)},f.month=function(t){return this.$g(t,"$M",s)},f.day=function(t){return this.$g(t,"$W",a)},f.date=function(t){return this.$g(t,"$D","date")},f.hour=function(t){return this.$g(t,"$H",i)},f.minute=function(t){return this.$g(t,"$m",n)},f.second=function(t){return this.$g(t,"$s",e)},f.millisecond=function(e){return this.$g(e,"$ms",t)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,r){var c=this,d=!!w.u(r)||r,l=w.p(t),f=function(t,e){var n=w.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return d?n:n.endOf(a)},v=function(t,e){return w.w(c.toDate()[t].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},h=this.$W,p=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case u:return d?f(1,0):f(31,11);case s:return d?f(1,p):f(0,p+1);case o:var b=this.$locale().weekStart||0,_=(h<b?h+7:h)-b;return f(d?g-_:g+(6-_),p);case a:case"date":return v(m+"Hours",0);case i:return v(m+"Minutes",1);case n:return v(m+"Seconds",2);case e:return v(m+"Milliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(r,o){var c,d=w.p(r),l="set"+(this.$u?"UTC":""),f=(c={},c[a]=l+"Date",c.date=l+"Date",c[s]=l+"Month",c[u]=l+"FullYear",c[i]=l+"Hours",c[n]=l+"Minutes",c[e]=l+"Seconds",c[t]=l+"Milliseconds",c)[d],v=d===a?this.$D+(o-this.$W):o;if(d===s||d===u){var h=this.clone().set("date",1);h.$d[f](v),h.init(),this.$d=h.set("date",Math.min(this.$D,h.daysInMonth())).toDate()}else f&&this.$d[f](v);return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.get=function(t){return this[w.p(t)]()},f.add=function(t,r){var c,d=this;t=Number(t);var l=w.p(r),f=function(e){var n=_(d);return w.w(n.date(n.date()+Math.round(e*t)),d)};if(l===s)return this.set(s,this.$M+t);if(l===u)return this.set(u,this.$y+t);if(l===a)return f(1);if(l===o)return f(7);var v=(c={},c[n]=6e4,c[i]=36e5,c[e]=1e3,c)[l]||1,h=this.$d.getTime()+t*v;return w.w(h,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),a=this.$locale(),r=this.$H,o=this.$m,s=this.$M,c=a.weekdays,u=a.months,d=function(t,i,a,r){return t&&(t[i]||t(e,n))||a[i].substr(0,r)},f=function(t){return w.s(r%12||12,t,"0")},v=a.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:w.s(s+1,2,"0"),MMM:d(a.monthsShort,s,u,3),MMMM:u[s]||u(this,n),D:this.$D,DD:w.s(this.$D,2,"0"),d:String(this.$W),dd:d(a.weekdaysMin,this.$W,c,2),ddd:d(a.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(r),HH:w.s(r,2,"0"),h:f(1),hh:f(2),a:v(r,o,!0),A:v(r,o,!1),m:String(o),mm:w.s(o,2,"0"),s:String(this.$s),ss:w.s(this.$s,2,"0"),SSS:w.s(this.$ms,3,"0"),Z:i};return n.replace(l,(function(t,e){return e||h[t]||i.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(t,r,d){var l,f=w.p(r),v=_(t),h=6e4*(v.utcOffset()-this.utcOffset()),p=this-v,g=w.m(this,v);return g=(l={},l[u]=g/12,l[s]=g,l[c]=g/3,l[o]=(p-h)/6048e5,l[a]=(p-h)/864e5,l[i]=p/36e5,l[n]=p/6e4,l[e]=p/1e3,l)[f]||p,d?g:w.a(g)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return g[this.$L]},f.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=b(t,e,!0);return i&&(n.$L=i),n},f.clone=function(){return w.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},r}();return _.prototype=y.prototype,_.extend=function(t,e){return t(e,y,_),_},_.locale=b,_.isDayjs=m,_.unix=function(t){return _(1e3*t)},_.en=g[p],_.Ls=g,_}))},eb2d:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-07efc1fe]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?120?%}.empty-box uni-image[data-v-07efc1fe]{width:%?414?%;height:%?305?%}.empty-box .txt[data-v-07efc1fe]{font-size:%?26?%;color:#999}',""]),t.exports=e},ee6d:function(t,e,n){var i=n("85aa");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("31a45329",i,!0,{sourceMap:!1,shadowMode:!1})},f69f:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},a=[]},fb63:function(t,e,n){var i=n("eb2d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("c382cd32",i,!0,{sourceMap:!1,shadowMode:!1})},fc42:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"priceChange",class:!0===t.change?"on":""},[n("v-uni-view",{staticClass:"change-count bg-f"},[n("v-uni-view",{staticClass:"priceTitle",style:{"background-image":"url("+t.domain+"/static/images/pricetitle.jpg)"}},[t._v(t._s(0==t.status?"一键改价":1==t.status?"订单备注":"立即退款"))]),0==t.status?n("v-uni-view",{staticClass:"listChange"},[n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("商品总价(元)")]),n("v-uni-view",{staticClass:"money"},[n("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.setValue.apply(void 0,arguments)}},model:{value:t.orderInfo.total_price,callback:function(e){t.$set(t.orderInfo,"total_price",e)},expression:"orderInfo.total_price"}})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("实际支付邮费(元)")]),n("v-uni-view",{staticClass:"money"},[n("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.setValue.apply(void 0,arguments)}},model:{value:t.orderInfo.pay_postage,callback:function(e){t.$set(t.orderInfo,"pay_postage",e)},expression:"orderInfo.pay_postage"}})],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("实际支付金额(元)")]),n("v-uni-view",{staticClass:"money"},[t._v(t._s(Number(t.orderInfo.total_price)+Number(t.orderInfo.pay_postage)-Number(t.orderInfo.coupon_price)-Number(t.orderInfo.integral_price)-Number(t.orderInfo.svip_discount))),n("span",{staticClass:"iconfont icon-ic_lock"})])],1),t.orderInfo.coupon_price>0||t.orderInfo.svip_discount>0?n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("优惠金额(元)")]),n("v-uni-view",{staticClass:"money"},[t._v(t._s(Number(t.orderInfo.coupon_price)+Number(t.orderInfo.svip_discount))),n("span",{staticClass:"iconfont icon-ic_lock"})])],1):t._e(),t.orderInfo.integral_price>0?n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v("积分抵扣(元)")]),n("v-uni-view",{staticClass:"money"},[t._v(t._s(t.orderInfo.integral_price)),n("span",{staticClass:"iconfont icon-ic_lock"})])],1):t._e()],1):n("v-uni-view",{staticClass:"listChange"},[n("v-uni-textarea",{attrs:{placeholder:t.orderInfo.remark?t.orderInfo.remark:"请填写备注信息..."},model:{value:t.remark,callback:function(e){t.remark=e},expression:"remark"}})],1),n("v-uni-view",{staticClass:"modify",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.save.apply(void 0,arguments)}}},[t._v(t._s(0==t.status?"立即修改":"确认提交"))])],1),n("v-uni-view",{staticClass:"close"},[n("v-uni-text",{staticClass:"iconfont icon-ic_close1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!0===t.change,expression:"change === true"}],staticClass:"mask",on:{touchmove:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}})],1)},a=[]},fd18:function(t,e,n){"use strict";n.r(e);var i=n("e135"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a}}]);
|