1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-orderList-index"],{"1a51":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,".Loads[data-v-71b32b65]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-71b32b65]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-71b32b65{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-71b32b65{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-71b32b65]{-webkit-animation:load-data-v-71b32b65 3s linear 1s infinite;animation:load-data-v-71b32b65 3s linear 1s infinite}.loading[data-v-71b32b65]{-webkit-animation:load-data-v-71b32b65 linear 1s infinite;animation:load-data-v-71b32b65 linear 1s infinite}",""]),e.exports=t},"1d12":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"priceChange",class:!0===e.change?"on":""},[i("v-uni-view",{staticClass:"priceTitle"},[e._v(e._s(0==e.status?e.$t("一键改价"):1==e.status?e.$t("订单备注"):e.$t("立即退款"))),i("span",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})]),0==e.status||2==e.status?i("v-uni-view",{staticClass:"listChange"},[0===e.orderInfo.refund_status?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v(e._s(e.$t("商品总价"))+"("+e._s(e.$t("¥"))+")")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.total_price)),i("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),0===e.orderInfo.refund_status?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v(e._s(e.$t("原始邮费"))+"("+e._s(e.$t("¥"))+")")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.pay_postage)),i("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),0===e.orderInfo.refund_status?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v(e._s(e.$t("实际支付"))+"("+e._s(e.$t("¥"))+")")]),i("v-uni-view",{staticClass:"money"},[i("v-uni-input",{class:!0===e.focus?"on":"",attrs:{type:"text"},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.priceChange.apply(void 0,arguments)}},model:{value:e.price,callback:function(t){e.price=t},expression:"price"}})],1)],1):e._e(),1===e.orderInfo.refund_status?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v(e._s(e.$t("实际支付"))+"("+e._s(e.$t("¥"))+")")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.pay_price)),i("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),1===e.orderInfo.refund_status?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v(e._s(e.$t("退款金额"))+"("+e._s(e.$t("¥"))+")")]),i("v-uni-view",{staticClass:"money"},[i("v-uni-input",{class:!0===e.focus?"on":"",attrs:{type:"text"},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.priceChange.apply(void 0,arguments)}},model:{value:e.refund_price,callback:function(t){e.refund_price=t},expression:"refund_price"}})],1)],1):e._e()],1):i("v-uni-view",{staticClass:"listChange"},[i("v-uni-textarea",{staticClass:"pd10",attrs:{placeholder:e.orderInfo.remark?e.orderInfo.remark:e.$t("请填写备注信息")},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}})],1),i("v-uni-view",{staticClass:"modify",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.save.apply(void 0,arguments)}}},[e._v(e._s(1==e.status||0==e.orderInfo.refund_status?e.$t("立即修改"):e.$t("确认退款")))]),1==e.orderInfo.refund_status&&0==e.status?i("v-uni-view",{staticClass:"modify1",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.refuse.apply(void 0,arguments)}}},[e._v(e._s(e.$t("拒绝退款")))]):e._e()],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!0===e.change,expression:"change === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault(),arguments[0]=t=e.$handleEvent(t)}}})],1)},a=[]},"2e44":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(e){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:1,remark:this.remark})},refuse:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:2,remark:this.remark})}}};t.default=n},3398:function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};t.default=n},4577:function(e,t,i){"use strict";i.r(t);var n=i("2e44"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},5171:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.agreeExpress=function(e){return a.default.post("admin/order/agreeExpress",e,{login:!0})},t.getAdminOrderDelivery=function(e){return a.default.get("admin/order/delivery/gain/"+e,{},{login:!0})},t.getAdminOrderDetail=function(e){return a.default.get("admin/order/detail/"+e,{},{login:!0})},t.getAdminOrderList=function(e){return a.default.get("admin/order/list",e,{login:!0})},t.getAdminRefundOrderDetail=function(e){return a.default.get("admin/refund_order/detail/"+e,{},{login:!0})},t.getLogistics=function(e){return a.default.get("logistics",e,{login:!1})},t.getStatisticsInfo=function(){return a.default.get("admin/order/statistics",{},{login:!0})},t.getStatisticsMonth=function(e){return a.default.get("admin/order/data",e,{login:!0})},t.getStatisticsTime=function(e){return a.default.get("admin/order/time",e,{login:!0})},t.orderDeliveryInfo=function(){return a.default.get("admin/order/delivery_info")},t.orderExportTemp=function(e){return a.default.get("admin/order/export_temp",e)},t.orderOrderDelivery=function(){return a.default.get("admin/order/delivery")},t.orderRefund_order=function(e){return a.default.get("admin/refund_order/list",e,{login:!0})},t.orderVerific=function(e,t){return a.default.post("order/order_verific",{verify_code:e,is_confirm:t})},t.setAdminOrderDelivery=function(e,t){return a.default.post("admin/order/delivery/keep/"+e,t,{login:!0})},t.setAdminOrderPrice=function(e){return a.default.post("admin/order/price",e,{login:!0})},t.setAdminOrderRemark=function(e){return a.default.post("admin/order/remark",e,{login:!0})},t.setAdminRefundRemark=function(e){return a.default.post("admin/refund_order/remark",e,{login:!0})},t.setOfflinePay=function(e){return a.default.post("admin/order/offline",e,{login:!0})},t.setOrderRefund=function(e){return a.default.post("admin/order/refund",e,{login:!0})};var a=n(i("fb81"))},"59e6":function(e,t,i){var n=i("24fb");t=n(!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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.pos-order-list[data-v-cd8e2ee8]{padding-top:%?96?%}.pos-order-list .search[data-v-cd8e2ee8]{padding-left:%?30?%;padding-top:%?30?%;background-color:#fff;position:fixed;top:0;left:0;z-index:99}.pos-order-list .search .input[data-v-cd8e2ee8]{width:%?598?%;background-color:#f7f7f7;border-radius:%?33?%;padding:0 %?35?%;box-sizing:border-box;height:%?66?%}.pos-order-list .search .input uni-input[data-v-cd8e2ee8]{width:%?472?%;font-size:%?28?%}.pos-order-list .search .input .placeholder[data-v-cd8e2ee8]{color:#999}.pos-order-list .search .input .iconfont[data-v-cd8e2ee8]{color:#555;font-size:%?35?%}.pos-order-list .search .bnt[data-v-cd8e2ee8]{width:%?120?%;text-align:center;height:%?66?%;line-height:%?66?%;font-size:%?30?%;color:#282828}.pos-order-list .nav[data-v-cd8e2ee8]{width:100%;height:%?96?%;background-color:#fff;font-size:%?28?%;color:#282828;position:fixed;top:%?96?%;left:0;z-index:99}.pos-order-list .nav .item.on[data-v-cd8e2ee8]{color:#2291f8}.pos-order-list .list[data-v-cd8e2ee8]{margin-top:%?120?%}.pos-order-list .nothing[data-v-cd8e2ee8]{margin-top:%?220?%;text-align:center;color:#cfcfcf}.pos-order-list .list .item[data-v-cd8e2ee8]{background-color:#fff;width:100%}.pos-order-list .list .item ~ .item[data-v-cd8e2ee8]{margin-top:%?24?%}.pos-order-list .list .item .order-num[data-v-cd8e2ee8]{height:%?124?%;border-bottom:1px solid #eee;font-size:%?30?%;font-weight:700;color:#282828;padding:0 %?30?%}.pos-order-list .list .item .order-num .state[data-v-cd8e2ee8]{color:#2291f8;font-weight:400;font-size:%?24?%}.pos-order-list .list .item .order-num .state.on[data-v-cd8e2ee8]{font-size:%?24?%;width:%?150?%;text-align:right}.pos-order-list .list .item .order-num .time[data-v-cd8e2ee8]{font-size:%?26?%;font-weight:400;color:#999}.pos-order-list .list .item .operation[data-v-cd8e2ee8]{padding:%?20?% %?30?%;margin-top:%?3?%;display:flex;justify-content:right}.pos-order-list .list .item .operation .more[data-v-cd8e2ee8]{position:relative}.pos-order-list .list .item .operation .icon-gengduo[data-v-cd8e2ee8]{font-size:%?50?%;color:#aaa}.pos-order-list .list .item .operation .order .arrow[data-v-cd8e2ee8]{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-cd8e2ee8]: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-cd8e2ee8]{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-cd8e2ee8]{height:%?77?%;line-height:%?77?%;text-align:center}.pos-order-list .list .item .operation .order .items ~ .items[data-v-cd8e2ee8]{border-top:1px solid #f5f5f5}.pos-order-list .list .item .operation .bnt[data-v-cd8e2ee8]{font-size:%?28?%;color:#5c5c5c;width:%?170?%;height:%?60?%;border-radius:%?30?%;border:1px solid #bbb;text-align:center;line-height:%?60?%}.pos-order-list .list .item .operation .bnt ~ .bnt[data-v-cd8e2ee8]{margin-left:%?14?%}.pos-order-list .list .item .operation .wait[data-v-cd8e2ee8]{margin-left:%?30?%;color:#ff4500}.pos-order-goods[data-v-cd8e2ee8]{padding:0 %?30?%;background-color:#fff}.pos-order-goods .goods[data-v-cd8e2ee8]{padding:%?28?% 0}.pos-order-goods .goods ~ .goods[data-v-cd8e2ee8]{border-top:1px dashed #e5e5e5}.pos-order-goods .goods .picTxt[data-v-cd8e2ee8]{width:%?515?%}.pos-order-goods .goods .picTxt .pictrue[data-v-cd8e2ee8]{width:%?130?%;height:%?130?%}.pos-order-goods .goods .picTxt .pictrue uni-image[data-v-cd8e2ee8]{width:100%;height:100%;border-radius:%?6?%}.pos-order-goods .goods .picTxt .text[data-v-cd8e2ee8]{width:%?365?%;height:%?130?%}.pos-order-goods .goods .picTxt .text .info[data-v-cd8e2ee8]{width:100%;font-size:%?28?%;color:#282828}.pos-order-goods .goods .picTxt .text .attr[data-v-cd8e2ee8]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:%?24?%;color:#999}.pos-order-goods .goods .money[data-v-cd8e2ee8]{width:%?164?%;text-align:right;font-size:%?28?%}.pos-order-goods .goods .money .info[data-v-cd8e2ee8]{margin-top:%?18?%;font-size:%?24?%}.pos-order-goods .goods .money .x-money[data-v-cd8e2ee8]{color:#282828}.pos-order-goods .goods .money .num[data-v-cd8e2ee8]{color:#ff9600;margin:%?5?% 0}.pos-order-goods .goods .money .y-money[data-v-cd8e2ee8]{color:#999;text-decoration:line-through}.public-total[data-v-cd8e2ee8]{font-size:%?28?%;color:#282828;border-top:1px solid #eee;height:%?92?%;line-height:%?92?%;text-align:right;padding:0 %?30?%;background-color:#fff}.public-total .money[data-v-cd8e2ee8]{color:#ff4c3c}',""]),e.exports=t},"6e83":function(e,t,i){"use strict";i.r(t);var n=i("3398"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},"7f4d":function(e,t,i){"use strict";i.r(t);var n=i("f7b6"),a=i("a432");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("b87d");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"cd8e2ee8",null,!1,n["a"],void 0);t["default"]=s.exports},"8eb7":function(e,t,i){var n=i("9bf5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("4b0cb7d0",n,!0,{sourceMap:!1,shadowMode:!1})},"9bf5":function(e,t,i){var n=i("24fb"),a=i("1de5"),o=i("bb95");t=n(!1);var r=a(o);t.push([e.i,".mask[data-v-3daa4fa3]{z-index:99}.priceChange[data-v-3daa4fa3]{position:fixed;width:%?580?%;\n\t/* height: 670upx; */padding-bottom:%?30?%;background-color:#fff;border-radius:%?10?%;top:50%;left:50%;margin-left:%?-290?%;margin-top:%?-335?%;z-index:666;transition:all .3s ease-in-out 0s;-webkit-transform:scale(0);transform:scale(0);opacity:0}.priceChange.on[data-v-3daa4fa3]{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.priceChange .priceTitle[data-v-3daa4fa3]{background:url("+r+") no-repeat;background-size:100% 100%;width:100%;height:%?160?%;border-radius:%?10?% %?10?% 0 0;text-align:center;font-size:%?40?%;color:#fff;line-height:%?160?%;position:relative}.priceChange .priceTitle .iconfont[data-v-3daa4fa3]{position:absolute;font-size:%?40?%;right:%?26?%;top:%?23?%;width:%?40?%;height:%?40?%;line-height:%?40?%}.priceChange .listChange[data-v-3daa4fa3]{width:100%;padding:0 %?20?%}.priceChange .listChange uni-textarea[data-v-3daa4fa3]{box-sizing:border-box}.priceChange .listChange .item[data-v-3daa4fa3]{height:%?103?%;border-bottom:1px solid #e3e3e3;font-size:%?32?%;color:#333}.priceChange .listChange .item .money[data-v-3daa4fa3]{color:#666;width:%?300?%;text-align:right}.priceChange .listChange .item .money .iconfont[data-v-3daa4fa3]{font-size:%?32?%;margin-left:%?20?%}.priceChange .listChange .item .money uni-input[data-v-3daa4fa3]{width:100%;height:100%;text-align:right;color:#ccc}.priceChange .listChange .item .money uni-input.on[data-v-3daa4fa3]{color:#666}.priceChange .modify[data-v-3daa4fa3]{font-size:%?32?%;color:#fff;width:%?490?%;height:%?90?%;text-align:center;line-height:%?90?%;border-radius:%?45?%;background-color:#2291f8;margin:%?53?% auto 0 auto}.priceChange .modify1[data-v-3daa4fa3]{font-size:%?32?%;color:#312b2b;width:%?490?%;height:%?90?%;text-align:center;line-height:%?90?%;border-radius:%?45?%;background-color:#eee;margin:%?30?% auto 0 auto}.priceChange .listChange uni-textarea[data-v-3daa4fa3]{border:1px solid #eee;width:100%;height:%?200?%;margin-top:%?50?%;border-radius:%?10?%;color:#333}",""]),e.exports=t},"9d8b":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[e.loading&&!e.loaded?i("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[e.loading?i("v-uni-view",[i("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),e._v(e._s(e.$t("正在加载中")))],1):i("v-uni-view",[e._v(e._s(e.$t("上拉加载更多")))])],1):e._e()],1)},a=[]},a432:function(e,t,i){"use strict";i.r(t);var n=i("f092"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},aac2:function(e,t,i){var n=i("59e6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("0938d585",n,!0,{sourceMap:!1,shadowMode:!1})},aeda:function(e,t,i){"use strict";i.r(t);var n=i("1d12"),a=i("4577");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("f810");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"3daa4fa3",null,!1,n["a"],void 0);t["default"]=s.exports},b87d:function(e,t,i){"use strict";var n=i("aac2"),a=i.n(n);a.a},bb95:function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw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wBX+77HUhuWWWankNSjY3JjCEIQhCFE4efk4Xthkk+g/U8OfhMuR+HYs8BZqWeEsoso8RZMZjCEIQ0IQU3Njcsos1KKLKLKNjQsmMIQhCEIQ1NyGhseA1NyiyjY3JjMYQhCEIQhCzQ8BZZZRZqUUWUWUbGhZCYwshRCEPAbmxZRZqaFlFlFlmhZMZjCEIQhoec2PAbmpRZRsaFkxhCEIQhCiHnNjUs1NyiyjY0LJjMYQhCEIQ8J4DYsos1NyiyjY0LITGEIQhCEIQoh4yGxZRZualFlFlm5CEIQhRR4SGxCyzwG5RZRZRsUakxmMIUQhCEPAeAsssos1NyiyjY0BfxMeHkfwQ+k5GY/RP8ALMfpD3MfpsCHDgfxDjw9Tpj6hjj6hjj6nXH1OmPqfaxn2p9tnV9TvOxoeA2PAam5RZRqYr+CHFkw4PbMeHCY4Yn4IQhCEIaFm/yzswznYgmxZZZRZqUUWUWV2J3hnDKYTGYwhCiEIQosoh5BhkzvOxBIWWWampoa9idyd2dmyExmPxMYQhCEIQohDUo/yPZneGRBNTU1NOxO5O87OpRRMZhMIQhCEIQhCENghiwwZ0Z2nYnyaGxZoZMM53IZFFmnYncnednUos0Jj+ZjCYwhCEIQoH1DDKHGw4n3DiIcZDAgamvZnadp2IZEE8JZXZn3J90n3ifdnZ97llFlF4Y5epjx5v8ADMeLk/tmPByeocGcPp33DgPcOHGHFjDDH1AIUQhRRseIoWfLOzOzOzO07s7s7M7NGhYs7M7s7s7s7wznchDj+f5hxEODGH02EPp+P1Dg4/UOLj/tJjx4H4CAUQhCyEIQhZCjbLDHP/EfMy+j438Px/3MvpOXH8Hz/wAf++dRIYZep9rP0xwyPyQTYhoUaHiJxzGYwhCEIQohCFEKKIQhCEN//9k="},c986:function(e,t,i){"use strict";i.r(t);var n=i("9d8b"),a=i("6e83");for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("f30b");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"71b32b65",null,!1,n["a"],void 0);t["default"]=s.exports},f092:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(i("c7eb")),o=n(i("1da1"));i("14d9"),i("d401"),i("d3b7"),i("25f0"),i("99af");var r=i("5171"),s=n(i("c986")),d=n(i("aeda")),c=i("00a0"),l=i("0567"),u={name:"AdminOrderList",components:{Loading:s.default,PriceChange:d.default},data:function(){return{imgHost:c.HTTP_REQUEST_URL,current:"",change:!1,types:0,where:{keywords:"",page:1,limit:10,status:0},list:[],loaded:!1,loading:!1,focus:!1,orderInfo:{},status:"",isRefund:0}},onLoad:function(e){var t=e.types;this.where.status=t},onShow:function(){this.init()},methods:{setValue:function(e){this.$set(this.where,"keywords",e.detail.value)},inputConfirm:function(e){e.detail.value&&(uni.hideKeyboard(),this.getIndex())},searchBut:function(){this.focus=!1,this.where.page=1,this.loading=!1,this.loaded=!1,this.$set(this,"list",[]),uni.showLoading({title:this.$t("正在搜索中")}),this.getIndex()},getIndex:function(){var e,t=this;t.loading||t.loaded||(t.loading=!0,e=-3==t.where.status?r.orderRefund_order:r.getAdminOrderList,e(t.where).then((function(e){t.loading=!1,t.loaded=e.data.length<t.where.limit,t.list.push.apply(t.list,e.data),t.where.page=t.where.page+1,uni.hideLoading()}),(function(e){uni.hideLoading(),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(e){this.where.status!=e&&(this.where.status=e,this.init())},modify:function(e,t){this.change=!0,this.status=t.toString(),this.orderInfo=e,2==t&&(this.isRefund=1)},changeclose:function(e){this.change=e},savePrice:function(e){var t=this;return(0,o.default)((0,a.default)().mark((function i(){var n,o,s,d,c,u;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t,o={},s=e.price,d=e.refund_price,n.orderInfo.refund_status,c=e.remark,o.order_id=n.orderInfo.order_id,0!=n.status){i.next=9;break}if((0,l.isMoney)(s)){i.next=5;break}return i.abrupt("return",n.$util.Tips({title:n.$t("请输入正确的金额")}));case 5:o.price=s,(0,r.setAdminOrderPrice)(o).then((function(e){n.change=!1,n.$util.Tips({title:n.$t("改价成功"),icon:"success"}),n.init()}),(function(e){n.change=!1,n.$util.Tips({title:n.$t("改价失败"),icon:"none"})})),i.next=23;break;case 9:if(2!=n.status){i.next=17;break}if((0,l.isMoney)(d)){i.next=12;break}return i.abrupt("return",n.$util.Tips({title:n.$t("请输入正确的金额")}));case 12:o.price=d,o.type=e.type,(0,r.setOrderRefund)(o).then((function(e){n.change=!1,n.$util.Tips({title:e.msg}),n.init()}),(function(e){n.change=!1,n.$util.Tips({title:e})})),i.next=23;break;case 17:if(c){i.next=19;break}return i.abrupt("return",t.$util.Tips({title:n.$t("请输入备注")}));case 19:o.remark=c,u="",u=-3==n.where.status?(0,r.setAdminRefundRemark)(o):(0,r.setAdminOrderRemark)(o),u.then((function(e){n.change=!1,t.$util.Tips({title:e.msg,icon:"success"}),n.init()}),(function(e){n.change=!1,n.$util.Tips({title:e})}));case 23:case"end":return i.stop()}}),i)})))()},agreeExpress:function(e){var t=this;(0,r.agreeExpress)({id:e.id}).then((function(e){t.$util.Tips({title:e.msg}),t.init()})).catch((function(e){t.$util.Tips({title:e})}))},toDetail:function(e){uni.navigateTo({url:"/pages/admin/orderDetail/index?id=".concat(e.order_id,"&types=").concat(this.where.status)})},offlinePay:function(e){var t=this;(0,r.setOfflinePay)({order_id:e.order_id}).then((function(e){t.$util.Tips({title:e.msg,icon:"success"}),t.init()}),(function(e){t.$util.Tips(e)}))}},onReachBottom:function(){this.getIndex()}};t.default=u},f30b:function(e,t,i){"use strict";var n=i("ff4d"),a=i.n(n);a.a},f7b6:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{ref:"container",staticClass:"pos-order-list"},[i("v-uni-view",{staticClass:"search acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{attrs:{type:"text",focus:e.focus,placeholder:e.$t("搜索用户名/订单号/电话"),"placeholder-class":"placeholder"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.inputConfirm.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.setValue.apply(void 0,arguments)}},model:{value:e.where.keywords,callback:function(t){e.$set(e.where,"keywords",t)},expression:"where.keywords"}})],1),i("v-uni-view",{staticClass:"bnt",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.searchBut.apply(void 0,arguments)}}},[e._v(e._s(e.$t("搜索")))])],1),i("v-uni-view",{staticClass:"nav acea-row row-around row-middle"},[i("v-uni-view",{staticClass:"item",class:0==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(0)}}},[e._v(e._s(e.$t("待付款")))]),i("v-uni-view",{staticClass:"item",class:1==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(1)}}},[e._v(e._s(e.$t("待发货")))]),i("v-uni-view",{staticClass:"item",class:2==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(2)}}},[e._v(e._s(e.$t("待收货")))]),i("v-uni-view",{staticClass:"item",class:3==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(3)}}},[e._v(e._s(e.$t("待评价")))]),i("v-uni-view",{staticClass:"item",class:4==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(4)}}},[e._v(e._s(e.$t("已完成")))]),i("v-uni-view",{staticClass:"item",class:-3==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(-3)}}},[e._v(e._s(e.$t("退款")))])],1),e.list.length?i("v-uni-view",{staticClass:"list"},e._l(e.list,(function(t,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-view",{staticClass:"order-num acea-row row-between-wrapper",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toDetail(t)}}},[i("v-uni-view",[i("v-uni-view",[e._v(e._s(e.$t("订单号"))+":"+e._s(t.order_id))]),i("v-uni-view",{staticClass:"time"},[e._v(e._s(e.$t("下单时间"))+":"+e._s(t.add_time))])],1),i("v-uni-view",{staticClass:"state",class:0==t.refund_status&&0!=e.where.status&&t.refund.length?"on":""},[e._v(e._s(1==t.refund_status?e.$t("退款中"):2==t.refund_status?e.$t("已退款"):3==t.refund_status?e.$t("拒绝退款"):e.$t(t.status_name.status_name))),0==t.refund_status&&0!=e.where.status&&t.refund.length?i("v-uni-text",[e._v(e._s(t.is_all_refund?e.$t("退款中"):e.$t("部分退款中")))]):e._e()],1)],1),e._l(t._info,(function(n,a){return i("v-uni-view",{key:a,staticClass:"pos-order-goods"},[i("v-uni-view",{staticClass:"goods acea-row row-between row-top",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toDetail(t)}}},[i("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:n.cart_info.productInfo.attrInfo?n.cart_info.productInfo.attrInfo.image:n.cart_info.productInfo.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between row-column"},[i("v-uni-view",{staticClass:"info line2"},[e._v(e._s(n.cart_info.productInfo.store_name))]),n.cart_info.productInfo.attrInfo?i("v-uni-view",{staticClass:"attr"},[e._v(e._s(n.cart_info.productInfo.attrInfo.suk))]):e._e()],1)],1),i("v-uni-view",{staticClass:"money"},[i("v-uni-view",{staticClass:"x-money"},[e._v(e._s(e.$t("¥"))+e._s(n.cart_info.productInfo.attrInfo?n.cart_info.productInfo.attrInfo.price:n.cart_info.productInfo.price))]),i("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(n.cart_info.cart_num))]),n.cart_info.refund_num&&-2!=t._status._type?i("v-uni-view",{staticClass:"info"},[e._v(e._s(n.cart_info.refund_num)+e._s(e.$t("件退款中")))]):e._e()],1)],1)],1)})),i("v-uni-view",{staticClass:"public-total"},[e._v(e._s(e.$t("共"))+e._s(t.total_num)+e._s(e.$t("件商品,实付款"))),i("span",{staticClass:"money"},[e._v(e._s(e.$t("¥"))+e._s(t.pay_price))]),e._v("( "+e._s(e.$t("邮费"))+" "+e._s(e.$t("¥"))+e._s(t.pay_postage)+"\n\t\t\t\t)")]),i("v-uni-view",{staticClass:"operation acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[0==e.where.status?i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.modify(t,0)}}},[e._v(e._s(e.$t("一键改价")))]):e._e(),i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.modify(t,1)}}},[e._v(e._s(e.$t("订单备注")))]),(0==t.refund_type||1==t.refund_type||5==t.refund_type)&&-3==e.where.status&&parseFloat(t.pay_price)>0?i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.modify(t,2)}}},[e._v(e._s(e.$t("立即退款")))]):e._e(),-3==e.where.status&&2==t.refund_type?i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.agreeExpress(t)}}},[e._v(e._s(e.$t("同意退货")))]):e._e(),-3==e.where.status&&4==t.refund_type?i("v-uni-view",{staticClass:"wait"},[e._v(e._s(e.$t("待用户发货")))]):e._e(),"offline"===t.pay_type&&0===t.paid?i("v-uni-view",{staticClass:"bnt cancel",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.offlinePay(t)}}},[e._v(e._s(e.$t("确认付款")))]):e._e(),1!=e.where.status||1!==t.shipping_type||null!==t.pinkStatus&&2!==t.pinkStatus?e._e():i("v-uni-navigator",{staticClass:"bnt",attrs:{url:"/pages/admin/delivery/index?id="+t.order_id+"&listId="+t.id+"&totalNum="+t.total_num+"&orderStatus="+t._status+"&comeType=1&virtualType="+t.virtual_type}},[e._v(e._s(e.$t("去发货")))])],1)],1)],2)})),1):i("v-uni-view",{staticClass:"nothing"},[e.loading?e._e():i("v-uni-image",{attrs:{src:e.imgHost+"/statics/images/no-thing.png",alt:""}}),e.loading?e._e():i("v-uni-view",[e._v(e._s(e.$t("暂无记录")))])],1),i("Loading",{attrs:{loaded:e.loaded,loading:e.loading}}),i("PriceChange",{attrs:{change:e.change,orderInfo:e.orderInfo,isRefund:e.isRefund,status:e.status},on:{closechange:function(t){arguments[0]=t=e.$handleEvent(t),e.changeclose(t)},savePrice:function(t){arguments[0]=t=e.$handleEvent(t),e.savePrice.apply(void 0,arguments)}}})],1)},a=[]},f810:function(e,t,i){"use strict";var n=i("8eb7"),a=i.n(n);a.a},ff4d:function(e,t,i){var n=i("1a51");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("f97efd26",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|