shop-php/public/static/js/pages-admin-orderList-index.bcad9a85.js
2023-09-13 20:20:20 +08:00

1 line
41 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-orderList-index"],{"2ea1":function(e,t,i){var n=i("bf7b");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("48111d2a",n,!0,{sourceMap:!1,shadowMode:!1})},"3d3b":function(e,t,i){var n=i("4d6c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("bcf08ad4",n,!0,{sourceMap:!1,shadowMode:!1})},"41ec":function(e,t,i){"use strict";var n=i("3d3b"),o=i.n(n);o.a},"46eb":function(e,t,i){"use strict";i.r(t);var n=i("8e269"),o=i("d797");for(var r in o)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("9d09");var a=i("f0c5"),s=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"0566d5ee",null,!1,n["a"],void 0);t["default"]=s.exports},"4d6c":function(e,t,i){var n=i("24fb"),o=i("1de5"),r=i("b8a3");t=n(!1);var a=o(r);t.push([e.i,".priceChange[data-v-d747995c]{position:fixed;width:%?580?%;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-d747995c]{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.priceChange .priceTitle[data-v-d747995c]{background:url("+a+") 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-d747995c]{position:absolute;font-size:%?40?%;right:%?26?%;top:%?23?%;width:%?40?%;height:%?40?%;line-height:%?40?%}.priceChange .listChange[data-v-d747995c]{padding:0 %?40?%}.priceChange .listChange uni-textarea[data-v-d747995c]{box-sizing:border-box}.priceChange .listChange .item[data-v-d747995c]{height:%?103?%;border-bottom:1px solid #e3e3e3;font-size:%?32?%;color:#333}.priceChange .listChange .item .money[data-v-d747995c]{color:#666;width:%?200?%;text-align:right}.priceChange .listChange .item .money .color_black[data-v-d747995c]{color:#333}.priceChange .listChange .item .money .iconfont[data-v-d747995c]{font-size:%?32?%;margin-left:%?20?%}.priceChange .listChange .item .money uni-input[data-v-d747995c]{width:100%;height:100%;text-align:right;color:#ccc}.priceChange .listChange .item .money uni-input.on[data-v-d747995c]{color:#666}.priceChange .modify[data-v-d747995c]{font-size:%?32?%;color:#fff;width:%?490?%;height:%?90?%;text-align:center;line-height:%?90?%;border-radius:%?45?%;background-color:#2291f8;margin:%?53?% auto}.priceChange .modify1[data-v-d747995c]{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-d747995c]{border:1px solid #eee;width:100%;height:%?200?%;margin-top:%?50?%;border-radius:%?10?%;color:#333;padding:%?20?%}",""]),e.exports=t},"542d":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},"560f":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var n={uPopup:i("8de3").default},o=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:"top-header"},[i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"search-content acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{staticClass:"input",attrs:{"confirm-type":"search",placeholder:"请输收货人手机号或订单号搜索"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.handleSearch.apply(void 0,arguments)}},model:{value:e.where.search_info,callback:function(t){e.$set(e.where,"search_info",t)},expression:"where.search_info"}})],1)],1),i("v-uni-view",[i("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"}},[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("待付款")]),i("v-uni-view",{staticClass:"item",class:1==e.where.is_verify?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus("verify")}}},[e._v("待核销")]),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("待发货")]),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("待收货")]),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("待评价")]),i("v-uni-view",{staticClass:"item",class:5==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(5)}}},[e._v("已完成")]),i("v-uni-view",{staticClass:"item",class:6==e.where.status?"on":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeStatus(6)}}},[e._v("退款")])],1)],1)],1),6==e.where.status?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-middle"},[t.order&&0!=t.order.activity_type?i("v-uni-text",{staticClass:"activity_type"},[e._v(e._s(1==t.order.activity_type?"秒杀":2==t.order.activity_type?"预售":3==t.order.activity_type?"助力":4==t.order.activity_type?"拼团":10==t.order.activity_type?"套餐":""))]):e._e(),e._v("退款单号:"+e._s(t.refund_order_sn)),i("v-uni-text",{staticClass:"time"},[e._v("申请时间:"+e._s(t.create_time))])],1),e._l(t.refundProduct,(function(n,o){return i("v-uni-view",{key:o,staticClass:"pos-order-goods",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toRefundDetail(t)}}},[i("v-uni-view",{staticClass:"goods acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:n.product.cart_info.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between row-column"},[i("v-uni-view",{staticClass:"info line1 refund-info"},[e._v(e._s(n.product.cart_info.product.store_name))]),n.product.cart_info.productAttr.sku?i("v-uni-view",{staticClass:"attr"},[e._v(e._s(n.product.cart_info.productAttr.sku))]):e._e(),i("v-uni-view",{staticClass:"y-money refund-y-money"},[e._v("退款:¥"+e._s(n.refund_price))])],1)],1),i("v-uni-view",{staticClass:"money refund-money"},[i("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(n.refund_num))])],1)],1)],1)})),i("v-uni-view",{staticClass:"item-status"},[-1==t.status?i("v-uni-text",{staticClass:"iconfont icon-yijujue1"}):e._e(),0==t.status?i("v-uni-text",{staticClass:"iconfont icon-tuikuanzhong on"}):e._e(),1==t.status||2==t.status?i("v-uni-text",{staticClass:"iconfont icon-tuihuozhong on"}):e._e(),3==t.status?i("v-uni-text",{staticClass:"iconfont icon-yituikuan1"}):e._e()],1),i("v-uni-view",{staticClass:"operation acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"more"}),i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.refundModify(t,1)}}},[e._v("订单备注")]),0==t.status?i("v-uni-navigator",{staticClass:"bnt bnt_color",attrs:{url:"/pages/admin/orderRefund/index?id="+t.refund_order_id+"&merId="+e.merId}},[e._v("立即退款")]):e._e(),2==t.status?i("v-uni-navigator",{staticClass:"bnt",attrs:{url:"/pages/users/goods_logistics/index?refundId="+t.refund_order_id+"&merId="+e.merId}},[e._v("查看物流")]):e._e(),2==t.status?i("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.confirmOrder(t)}}},[e._v("确认收货")]):e._e()],1)],1)],2)})),1):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-middle"},[0!=t.activity_type?i("v-uni-text",{staticClass:"activity_type"},[e._v(e._s(1==t.activity_type?"秒杀":2==t.activity_type?"预售":3==t.activity_type?"助力":4==t.activity_type?"拼团":10==t.activity_type?"套餐":""))]):e._e(),e._v("订单号:"+e._s(t.order_sn)),i("v-uni-text",{staticClass:"time"},[e._v("下单时间:"+e._s(t.create_time))]),0!=t.refunding&&1!=e.where.status?i("v-uni-text",{staticClass:"order-status"},[e._v(e._s(1==t.refunding?"退款中":2==t.refunding?"部分退款":"全部退款"))]):e._e()],1),e._l(t.orderProduct,(function(n,o){return i("v-uni-view",{key:o,staticClass:"pos-order-goods",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toDetail(t)}}},[i("v-uni-view",{staticClass:"goods"},[i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[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.product.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.product.store_name))]),n.cart_info.productAttr.sku?i("v-uni-view",{staticClass:"attr"},[e._v(e._s(n.cart_info.productAttr.sku))]):e._e()],1)],1),i("v-uni-view",{staticClass:"money"},[i("v-uni-view",{staticClass:"x-money"},[e._v("¥"+e._s(n.cart_info.productAttr.price))]),i("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(n.product_num))])],1)],1)],1)],1)})),8!==t.pay_type?i("v-uni-view",{staticClass:"public-total"},[e._v("共"+e._s(t.total_num)+"件商品,"),e.where.status<=1?i("span",[e._v("应")]):i("span",[e._v("已")]),e._v("支付"),i("span",{staticClass:"money",staticStyle:{"margin-right":"30rpx"}},[e._v("¥"+e._s(t.pay_price))]),e._v("(邮费\n\t\t\t\t¥"+e._s(t.pay_postage)+")")]):i("v-uni-view",{staticClass:"public-total"},[e._v("先货后款"),e.where.status<=1?i("span",[e._v("应")]):i("span",[e._v("已")]),e._v("支付"),i("span",{staticClass:"money",staticStyle:{"margin-right":"30rpx"}},[e._v("¥0.00")]),e._v("(邮费 ¥"+e._s(t.pay_postage)+")")]),8==t.pay_type?i("v-uni-view",{staticClass:"public-total"},[e._v("共"+e._s(t.total_num)+"件商品,结算周期到期后付款¥"+e._s(t.pay_price))]):e._e(),i("v-uni-view",{staticClass:"operation acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"more"}),i("v-uni-view",{staticClass:"acea-row row-middle"},[8==t.pay_type&&12==t.status?i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.tongyi(t.group_order_id,1)}}},[e._v("同意")]):e._e(),8==t.pay_type&&12==t.status?i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.tongyi(t.group_order_id,2)}}},[e._v("拒绝")]):e._e(),8==t.pay_type||1==t.paid||2==t.status&&8==t.pau_type?e._e():i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.modify(t,0)}}},[e._v("一键改价")]),i("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.modify(t,1)}}},[e._v("订单备注")]),2==e.where.status&&0==t.order_type&&98==t.activity_type?i("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toPostage(t)}}},[e._v("去发货")]):e._e(),2==e.where.status&&0==t.order_type&&1!=t.order_type&&0==t.activity_type?i("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toPostagequ(t)}}},[e._v("收件码")]):e._e(),2==e.where.status&&1==t.order_type||1==e.where.is_verify?i("v-uni-view",{staticClass:"bnt bnt_color",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toDetail(t)}}},[e._v("去核销")]):e._e()],1)],1)],2)})),1),i("Loading",{attrs:{loaded:e.loaded,loading:e.loading}}),!e.loading&&e.list.length<=0?i("v-uni-view",{staticClass:"nothing"},[i("v-uni-image",{attrs:{src:"/static/images/no_thing.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"nothing_text"},[e._v("暂无订单~")])],1):e._e(),i("PriceChange",{attrs:{change:e.change,orderInfo:e.orderInfo,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)}}}),i("v-uni-view",[i("v-uni-view",{staticClass:"priceChange",class:!0===e.refundMark?"on":""},[i("v-uni-view",{staticClass:"priceTitle"},[e._v("订单备注"),i("span",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.refundMark=!1}}})]),i("v-uni-view",{staticClass:"listChange"},[i("v-uni-textarea",{attrs:{placeholder:"请填写备注信息..."},model:{value:e.refundInfo.mer_mark,callback:function(t){e.$set(e.refundInfo,"mer_mark",t)},expression:"refundInfo.mer_mark"}})],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("确认提交")])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!0===e.refundMark,expression:"refundMark === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault(),arguments[0]=t=e.$handleEvent(t)}}})],1),i("u-popup",{attrs:{show:e.popUpShow,mode:"center",closeOnClickOverlay:!0,round:"12"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.popUpClose.apply(void 0,arguments)}}},[i("v-uni-view",{staticStyle:{"text-align":"center","margin-top":"30rpx"}},[e._v("请把二维码展示给取货人员")]),i("v-uni-view",{staticStyle:{padding:"28.07rpx"}},[i("v-uni-image",{staticStyle:{width:"400rpx",height:"400rpx"},attrs:{src:e.payCodeUrl}})],1)],1)],1)},r=[]},"5fac":function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getAdminOrderDelivery=function(e){return o.default.get("admin/order/delivery/gain/"+e,{},{login:!0})},t.getAdminOrderDetail=function(e,t){return o.default.get("admin/"+e+"/order/"+t,{},{login:!0})},t.getAdminOrderList=function(e){return o.default.get("admin/order/list",e,{login:!0})},t.getDeliveryStoreLst=function(e){return o.default.get("admin/".concat(e,"/delivery_options"))},t.getLogistics=function(){return o.default.get("logistics",{},{login:!1})},t.getOrderList=function(e,t){return o.default.get("admin/".concat(t,"/order_list"),e,{login:!0})},t.getRefundOrderDetail=function(e,t){return o.default.get("server/".concat(e,"/refund/detail/").concat(t),{},{login:!0})},t.getRefundOrderInfo=function(e,t){return o.default.get("server/".concat(e,"/refund/get/").concat(t))},t.getRefundOrderList=function(e,t){return o.default.get("server/".concat(t,"/refund/lst"),e,{login:!0})},t.getStatisticsInfo=function(){return o.default.get("admin/order/statistics",{},{login:!0})},t.getStatisticsMonth=function(e){return o.default.get("admin/order/data",e,{login:!0})},t.getStatisticsTime=function(e){return o.default.get("admin/order/time",e,{login:!0})},t.getTempAndDelivery=function(e){return o.default.get("admin/".concat(e,"/delivery_config"))},t.logisticsCode=function(e){return o.default.get("order/logistics_code/".concat(e))},t.orderCancellation=function(e,t){return o.default.post("admin/".concat(e,"/verify/").concat(t))},t.orderDeliveryInfo=function(e){return o.default.get("admin/".concat(e,"/mer_form"))},t.orderExportTemp=function(e){return o.default.get("store/expr/temps",e)},t.orderNumberStatistics=function(e,t){return o.default.get("admin/".concat(t,"/pay_number"),e,{login:!0})},t.orderPrice=function(e,t){return o.default.get("admin/"+t+"/order_price",e,{login:!0})},t.orderStat=function(e){return o.default.get("admin/1/statistics",e)},t.orderStatistics=function(e,t){return o.default.get("admin/"+e+"/statistics",t)},t.orderVerific=function(e,t,i){return o.default.post("verifier/".concat(e,"/").concat(t),i)},t.postconfirm=function(e,t){return o.default.post("admin/"+e+"/confirm",t,{login:!0})},t.postsettle=function(e,t){return o.default.post("admin/"+e+"/settle",t,{login:!0})},t.purchaseOrder=function(e,t){return o.default.get("admin/".concat(t,"/purchaseOrder"),e,{login:!0})},t.refundOrderReceive=function(e,t){return o.default.post("server/".concat(e,"/refund/confirm/").concat(t),{},{login:!0})},t.refundOrderSubmit=function(e,t,i){return o.default.post("server/".concat(e,"/refund/status/").concat(t),i,{login:!0})},t.setAdminOrderDelivery=function(e,t,i){return o.default.post("admin/"+e+"/delivery/"+t,i,{login:!0})},t.setAdminOrderPrice=function(e,t,i){return o.default.post("admin/"+e+"/price/"+t,i,{login:!0})},t.setAdminOrderRemark=function(e,t,i){return o.default.post("admin/"+e+"/mark/"+t,i,{login:!0})},t.setOfflinePay=function(e,t){return o.default.post("admin/"+e+"/order/offline",t,{login:!0})},t.setOrderRefund=function(e,t){return o.default.post("admin/"+e+"/order/refund",t,{login:!0})},t.setRefundMark=function(e,t,i){return o.default.post("server/".concat(e,"/refund/mark/").concat(t),i,{login:!0})},t.turnoverStatistics=function(e,t){return o.default.get("admin/".concat(t,"/pay_price"),e,{login:!0})},t.verifierOrder=function(e,t){return o.default.get("verifier/"+e+"/order/"+t)},i("99af");var o=n(i("095d"))},7118:function(e,t,i){"use strict";var n=i("2ea1"),o=i.n(n);o.a},"7ccf":function(e,t,i){"use strict";i.r(t);var n=i("560f"),o=i("c0ba");for(var r in o)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("7118");var a=i("f0c5"),s=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"553ceee4",null,!1,n["a"],void 0);t["default"]=s.exports},"8e269":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){}));var n=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",[this.loading&&!this.loaded?t("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?t("v-uni-view",[t("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):t("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},o=[]},"9b3f":function(e,t,i){"use strict";i("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.checkPhone=function(e){return!!/^1(3|4|5|6|7|8|9)\d{9}$/.test(e)},t.isEmailAvailable=function(e){return!!/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/.test(e)},t.isMoney=function(e){return!!/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(e)},i("ac1f"),i("00b4")},"9d09":function(e,t,i){"use strict";var n=i("ec3a"),o=i.n(n);o.a},"9ebd":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,".Loads[data-v-0566d5ee]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-0566d5ee]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee 3s linear 1s infinite;animation:load-data-v-0566d5ee 3s linear 1s infinite}.loading[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee linear 1s infinite;animation:load-data-v-0566d5ee linear 1s infinite}",""]),e.exports=t},a2bd:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),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?"一键改价":1==e.status?"订单备注":"立即退款")),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?i("v-uni-view",{staticClass:"listChange"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v("商品总价(¥)")]),i("v-uni-view",{staticClass:"money"},[i("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.setValue.apply(void 0,arguments)}},model:{value:e.orderInfo.total_price,callback:function(t){e.$set(e.orderInfo,"total_price",t)},expression:"orderInfo.total_price"}})],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v("实际支付邮费(¥)")]),i("v-uni-view",{staticClass:"money"},[i("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.setValue.apply(void 0,arguments)}},model:{value:e.orderInfo.pay_postage,callback:function(t){e.$set(e.orderInfo,"pay_postage",t)},expression:"orderInfo.pay_postage"}})],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v("实际支付金额(¥)")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(Number(this.orderInfo.total_price)+Number(this.orderInfo.pay_postage)-Number(this.orderInfo.coupon_price)-Number(this.orderInfo.integral_price))),i("span",{staticClass:"iconfont icon-suozi"})])],1),e.orderInfo.coupon_price>0?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v("优惠金额(¥)")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.coupon_price)),i("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),e.orderInfo.integral_price>0?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[e._v("积分抵扣(¥)")]),i("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.integral_price)),i("span",{staticClass:"iconfont icon-suozi"})])],1):e._e()],1):i("v-uni-view",{staticClass:"listChange"},[i("v-uni-textarea",{attrs:{placeholder:e.orderInfo.remark?e.orderInfo.remark:"请填写备注信息..."},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(0==e.status?"立即修改":"确认提交"))])],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)},o=[]},a90d: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,actual_price:0,refund_price:0,remark:""}},watch:{orderInfo:function(e){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})}}};t.default=n},b8a3:function(e,t){e.exports="data:image/jpeg;base64,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"},bd4f:function(e,t,i){"use strict";i.r(t);var n=i("a90d"),o=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},bf7b:function(e,t,i){var n=i("24fb"),o=i("1de5"),r=i("b8a3");t=n(!1);var a=o(r);t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.pos-order-list .top-header[data-v-553ceee4]{position:fixed;top:0;left:0;z-index:9999;width:100%;background-color:#fff}.pos-order-list .nav[data-v-553ceee4]{height:%?96?%;font-size:%?30?%;color:#282828;width:%?690?%;margin:0 auto}.pos-order-list .nav .item[data-v-553ceee4]{display:inline-block;text-align:center;color:#333;max-width:%?160?%;margin-right:%?50?%;line-height:%?96?%}.pos-order-list .nav .item[data-v-553ceee4]:last-child{margin-right:0}.pos-order-list .nav .item.on[data-v-553ceee4]{color:#2291f8}.pos-order-list .list[data-v-553ceee4]{margin-top:%?210?%}.pos-order-list .list .item[data-v-553ceee4]{background-color:#fff;width:100%;position:relative}.pos-order-list .list .item .item-status[data-v-553ceee4]{position:absolute;top:%?14?%;right:%?20?%}.pos-order-list .list .item .item-status .iconfont[data-v-553ceee4]{font-size:%?98?%;color:#ccc}.pos-order-list .list .item .item-status .iconfont.on[data-v-553ceee4]{color:#ffe3bc}.pos-order-list .list .item ~ .item[data-v-553ceee4]{margin-top:%?24?%}.pos-order-list .list .activity_type[data-v-553ceee4]{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-553ceee4]{height:%?124?%;border-bottom:1px solid #eee;font-size:%?30?%;font-weight:700;color:#282828;padding:0 %?30?%;position:relative}.pos-order-list .list .item .order-status[data-v-553ceee4]{color:#ff9600;position:absolute;top:%?24?%;right:%?20?%;text-align:right;width:%?160?%;font-weight:400;font-size:%?26?%}.pos-order-list .list .item .order-num .time[data-v-553ceee4]{font-size:%?26?%;font-weight:400;color:#999;margin-top:%?-40?%}.pos-order-list .list .item .operation[data-v-553ceee4]{padding:%?20?% %?30?% %?20?% 0;margin:%?30?% 0 0 %?30?%;border-top:%?1?% solid #eee}.pos-order-list .list .item .operation .more[data-v-553ceee4]{position:relative}.pos-order-list .list .item .operation .icon-gengduo[data-v-553ceee4]{font-size:%?50?%;color:#aaa}.pos-order-list .list .item .operation .order .arrow[data-v-553ceee4]{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-553ceee4]: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-553ceee4]{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-553ceee4]{height:%?77?%;line-height:%?77?%;text-align:center}.pos-order-list .list .item .operation .order .items ~ .items[data-v-553ceee4]{border-top:1px solid #f5f5f5}.pos-order-list .list .item .operation .bnt[data-v-553ceee4]{font-size:%?28?%;color:#5c5c5c;width:%?160?%;height:%?60?%;border-radius:%?30?%;border:1px solid #bbb;text-align:center;line-height:%?60?%}.pos-order-list .list .item .operation .bnt_color[data-v-553ceee4]{border:none;color:#fff;background:linear-gradient(90deg,#2291f8,#1cd1dc)}.pos-order-list .list .item .operation .bnt ~ .bnt[data-v-553ceee4]{margin-left:%?14?%}.pos-order-goods[data-v-553ceee4]{padding:0 %?30?%;background-color:#fff}.pos-order-goods .goods[data-v-553ceee4]{padding-top:%?20?%;overflow:hidden}.pos-order-goods .goods ~ .goods[data-v-553ceee4]{border-top:1px dashed #e5e5e5}.pos-order-goods .cancellate[data-v-553ceee4]{font-size:%?24?%;float:right;margin-top:%?10?%}.pos-order-goods .cancellate uni-text[data-v-553ceee4]{margin-left:%?26?%}.pos-order-goods .cancelled[data-v-553ceee4]{color:#ff9600}.pos-order-goods .goods .uncancell[data-v-553ceee4]{color:#999}.pos-order-goods .goods .picTxt[data-v-553ceee4]{width:%?515?%}.pos-order-goods .goods .picTxt .pictrue[data-v-553ceee4]{width:%?130?%;height:%?130?%}.pos-order-goods .goods .picTxt .pictrue uni-image[data-v-553ceee4]{width:100%;height:100%;border-radius:%?6?%}.pos-order-goods .goods .picTxt .text[data-v-553ceee4]{flex-direction:column;width:%?365?%}.pos-order-goods .goods .picTxt .text .info[data-v-553ceee4]{font-size:%?28?%;color:#282828}.pos-order-goods .goods .picTxt .text .info.refund-info[data-v-553ceee4]{width:%?460?%}.refund-y-money[data-v-553ceee4]{margin-top:%?16?%;font-size:%?26?%}.pos-order-goods .goods .picTxt .text .attr[data-v-553ceee4]{margin-top:%?5?%;font-size:%?24?%;color:#999}.pos-order-goods .goods .money[data-v-553ceee4]{width:%?164?%;text-align:right;font-size:%?28?%}.pos-order-goods .goods .money.refund-money[data-v-553ceee4]{width:auto;position:relative;top:%?-50?%}.pos-order-goods .goods .money.refund-money .num[data-v-553ceee4]{color:#999}.pos-order-goods .goods .money .refund-num[data-v-553ceee4]{font-size:%?24?%;color:#282828}.pos-order-goods .goods .money .x-money[data-v-553ceee4]{color:#282828}.pos-order-goods .goods .money .num[data-v-553ceee4]{color:#ff9600;margin:%?5?% 0}.pos-order-goods .goods .money .y-money[data-v-553ceee4]{color:#999;text-decoration:line-through}.pos-order-goods .goods .refund_num[data-v-553ceee4]{display:inline-block;margin-left:%?10?%}.public-total[data-v-553ceee4]{font-size:%?28?%;color:#282828;height:%?92?%;line-height:%?92?%;text-align:right;padding:0 %?30?%;background-color:#fff}.public-total .money[data-v-553ceee4]{color:#ff4c3c}.nothing[data-v-553ceee4]{margin-top:%?200?%;text-align:center}.nothing_text[data-v-553ceee4]{margin-top:%?20?%;color:#999}.priceChange[data-v-553ceee4]{position:fixed;width:%?580?%;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-553ceee4]{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.priceChange .priceTitle[data-v-553ceee4]{background:url('+a+") 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-553ceee4]{position:absolute;font-size:%?40?%;right:%?26?%;top:%?23?%;width:%?40?%;height:%?40?%;line-height:%?40?%}.priceChange .listChange[data-v-553ceee4]{padding:0 %?40?%}.priceChange .listChange uni-textarea[data-v-553ceee4]{box-sizing:border-box}.priceChange .listChange .item[data-v-553ceee4]{height:%?103?%;border-bottom:1px solid #e3e3e3;font-size:%?32?%;color:#333}.priceChange .modify[data-v-553ceee4]{font-size:%?32?%;color:#fff;width:%?490?%;height:%?90?%;text-align:center;line-height:%?90?%;border-radius:%?45?%;background-color:#2291f8;margin:%?53?% auto}.priceChange .listChange uni-textarea[data-v-553ceee4]{border:1px solid #eee;width:100%;height:%?200?%;margin-top:%?50?%;border-radius:%?10?%;color:#333;padding:%?20?%}.search[data-v-553ceee4]{padding:%?17?% %?30?%}.search .search-content[data-v-553ceee4]{width:100%;height:%?60?%;padding:0 %?30?%;border-radius:%?30?%;background-color:#f5f5f5;font-size:%?26?%}.search .iconfont[data-v-553ceee4]{margin-right:%?10?%;font-size:%?26?%;color:#999}.search .input-placeholder[data-v-553ceee4]{font-size:%?26?%;color:#999}.search .input[data-v-553ceee4]{flex:1}",""]),e.exports=t},c0ba:function(e,t,i){"use strict";i.r(t);var n=i("d50e"),o=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},d50e:function(e,t,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("c7eb")),r=n(i("1da1"));i("14d9"),i("d401"),i("d3b7"),i("25f0"),i("99af"),i("a9e3");var a=i("5fac"),s=n(i("46eb")),c=n(i("de8c")),d=i("9b3f"),u={name:"AdminOrderList",components:{Loading:s.default,PriceChange:c.default},data:function(){return{current:"",change:!1,refundMark:!1,types:1,where:{page:1,limit:10,status:1,search_info:"",product_type:""},list:[],loaded:!1,loading:!1,refundInfo:{},orderInfo:{},status:"",codeShow:!1,merId:"",popUpShow:!1,payCodeUrl:""}},watch:{"$route.params.types":function(e){void 0!=e&&(this.where.status=e,this.init())}},onLoad:function(e){var t;this.where.product_type=null!==(t=uni.getStorageSync("PRODUCT_TYPE"))&&void 0!==t?t:"",this.where.status=e.types,this.current="",this.merId=e.merId,this.getIndex()},methods:{popUpClose:function(){this.popUpShow=!1},tongyi:function(e,t){var i=this,n={id:e,type:t};1==t?this.$nextTick((function(){i.where.status=2,delete i.where.is_verify,i.init()})):2==t&&uni.navigateTo({url:"/pages/admin/orderList/index?types=1&merId=".concat(this.merId)}),(0,a.postconfirm)(this.merId,n).then((function(e){}))},handleSearch:function(){this.loaded=!1,this.where.page=1,this.list=[],this.getIndex()},getIndex:function(){var e=this;e.loading||e.loaded||(e.loading=!0,6==e.where.status?(0,a.getRefundOrderList)(e.where,e.merId).then((function(t){e.loading=!1,e.loaded=t.data.list.length<e.where.limit,e.list.push.apply(e.list,t.data.list),e.where.page=e.where.page+1}),(function(t){e.$util.Tips({title:t})})):(0,a.getOrderList)(e.where,e.merId).then((function(t){e.loading=!1,e.loaded=t.data.list.length<e.where.limit,e.list.push.apply(e.list,t.data.list),e.where.page=e.where.page+1}),(function(t){e.$util.Tips({title:t})})))},init:function(){this.list=[],this.where.page=1,this.loaded=!1,this.loading=!1,this.getIndex(),this.current=""},changeStatus:function(e){"verify"!=e?this.where.status!=e&&(this.where.status=e,this.where.search_info="",delete this.where.is_verify,this.init()):(this.where.search_info="",this.where.is_verify=1,delete this.where.status,this.init())},modify:function(e,t){var i=t.toString();this.change=!0,this.orderInfo=e,this.status=i},refundModify:function(e){this.refundInfo=e,this.refundMark=!0},save:function(e){var t=this,i=this;if(!i.refundInfo.mer_mark)return this.$util.Tips({title:"请输入备注"});(0,a.setRefundMark)(i.merId,i.refundInfo.refund_order_id,{mer_mark:i.refundInfo.mer_mark}).then((function(e){i.refundMark=!1,t.$util.Tips({title:e.message,icon:"success"})}),(function(e){i.refundMark=!1,i.$util.Tips({title:e})}))},changeclose:function(e){this.change=e},confirmOrder:function(e){var t=this;uni.showModal({title:"确认收货",content:"为保障权益,请收到货确认无误后,再确认收货",success:function(i){i.confirm&&(0,a.refundOrderReceive)(t.merId,e.refund_order_id).then((function(i){return t.$util.Tips({title:"操作成功",icon:"success"},(function(){e.status=3}))})).catch((function(e){return t.$util.Tips({title:e})}))}})},toPostagequ:function(e){var t=this;this.popUpShow=!0,(0,a.logisticsCode)(e.order_id).then((function(e){200==e.status&&(t.payCodeUrl=e.data.qrcode)}))},toPostage:function(e){var t=this;0!=e.refunding?uni.showModal({title:"标题",content:"该订单有售后申请,请确认已处理!",success:function(i){i.confirm&&uni.navigateTo({url:"/pages/admin/delivery/index?id=".concat(e.order_id,"&merId=").concat(t.merId)})}}):uni.navigateTo({url:"/pages/admin/delivery/index?id=".concat(e.order_id,"&merId=").concat(t.merId)})},savePrice:function(e){var t=this;return(0,r.default)((0,o.default)().mark((function i(){var n,r,s,c,u,l;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t,r={},s=e.orderInfo.pay_postage,e.refund_price,n.orderInfo.refund_status,c=e.remark,u={pay_postage:e.orderInfo.pay_postage,coupon_price:e.orderInfo.coupon_price,total_price:Number(e.orderInfo.total_price)},l=n.orderInfo.order_id,0!=n.status){i.next=10;break}if((0,d.isMoney)(e.orderInfo.pay_postage||e.orderInfo.total_price)){i.next=6;break}return i.abrupt("return",n.$util.Tips({title:"请输入正确的金额"}));case 6:r.pay_price=s,(0,a.setAdminOrderPrice)(t.merId,l,u).then((function(){n.change=!1,n.$util.Tips({title:"改价成功",icon:"success"}),n.init()}),(function(e){n.change=!1,n.$util.Tips({title:e,icon:"none"})})),i.next=13;break;case 10:if(c){i.next=12;break}return i.abrupt("return",t.$util.Tips({title:"请输入备注"}));case 12:(0,a.setAdminOrderRemark)(t.merId,l,{remark:c}).then((function(e){n.change=!1,t.$util.Tips({title:e.message,icon:"success"}),n.init()}),(function(e){n.change=!1,n.$util.Tips({title:e})}));case 13:case"end":return i.stop()}}),i)})))()},toDetail:function(e){uni.navigateTo({url:"/pages/admin/orderDetail/index?id=".concat(e.order_id,"&mer_id=").concat(e.mer_id)})},toRefundDetail:function(e){uni.navigateTo({url:"/pages/admin/refundDetail/index?id=".concat(e.refund_order_id,"&mer_id=").concat(e.mer_id)})}},onReachBottom:function(){this.getIndex()}};t.default=u},d797:function(e,t,i){"use strict";i.r(t);var n=i("542d"),o=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},de8c:function(e,t,i){"use strict";i.r(t);var n=i("a2bd"),o=i("bd4f");for(var r in o)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("41ec");var a=i("f0c5"),s=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"d747995c",null,!1,n["a"],void 0);t["default"]=s.exports},ec3a:function(e,t,i){var n=i("9ebd");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("63b2e4eb",n,!0,{sourceMap:!1,shadowMode:!1})}}]);