zx/public/static/js/pages-admin-orderDetail-ind...

1 line
34 KiB
JavaScript
Raw Permalink 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-orderDetail-index"],{"0c2e":function(e,t,a){"use strict";var r=a("43e0"),i=a.n(r);i.a},3491:function(e,t,a){var r=a("c86c");t=r(!1),t.push([e.i,".priceChange[data-v-e74daae6]{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-e74daae6]{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.priceChange .priceTitle[data-v-e74daae6]{background-repeat: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-e74daae6]{position:absolute;font-size:%?40?%;right:%?26?%;top:%?23?%;width:%?40?%;height:%?40?%;line-height:%?40?%}.priceChange .listChange[data-v-e74daae6]{padding:0 %?40?%}.priceChange .listChange uni-textarea[data-v-e74daae6]{box-sizing:border-box}.priceChange .listChange .item[data-v-e74daae6]{height:%?103?%;border-bottom:1px solid #e3e3e3;font-size:%?32?%;color:#333}.priceChange .listChange .item .money[data-v-e74daae6]{color:#666;width:%?200?%;text-align:right}.priceChange .listChange .item .money .color_black[data-v-e74daae6]{color:#333}.priceChange .listChange .item .money .iconfont[data-v-e74daae6]{font-size:%?32?%;margin-left:%?20?%}.priceChange .listChange .item .money uni-input[data-v-e74daae6]{width:100%;height:100%;text-align:right;color:#ccc}.priceChange .listChange .item .money uni-input.on[data-v-e74daae6]{color:#666}.priceChange .modify[data-v-e74daae6]{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-e74daae6]{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-e74daae6]{border:1px solid #eee;width:100%;height:%?200?%;margin-top:%?50?%;border-radius:%?10?%;color:#333;padding:%?20?%}",""]),e.exports=t},"43e0":function(e,t,a){var r=a("f1e3");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("967d").default;i("5f67d8fe",r,!0,{sourceMap:!1,shadowMode:!1})},4824:function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a("aa10"),i={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{domain:r.HTTP_REQUEST_URL,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=i},"63a2":function(e,t,a){"use strict";a.r(t);var r=a("873d"),i=a.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},"710f":function(e,t,a){"use strict";var r=a("e899"),i=a.n(r);i.a},"873d":function(e,t,a){"use strict";a("6a54");var r=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a("2634")),o=r(a("2fdc"));a("fd3c"),a("c223"),a("64aa");var n=r(a("bbe0")),d=r(a("5f97")),s=a("d542"),c=a("a058"),l=a("aa10"),u={name:"AdminOrder",components:{PriceChange:n.default},props:{},data:function(){return{order:!1,change:!1,order_id:"",mer_id:"",orderInfo:{_status:{},user:{}},domain:l.HTTP_REQUEST_URL,status:"",title:"",payType:"",types:"",clickNum:1,goname:""}},watch:{"$route.params.oid":function(e){void 0!=e&&(this.order_id=e,this.getIndex())}},onLoad:function(e){var t=this;this.order_id=e.id,this.mer_id=e.mer_id,this.goname=e.goname,this.getIndex(),this.$nextTick((function(){var e=new d.default(".copy-data");e.on("success",(function(e){t.$util.Tips({title:"复制成功"})})),e.on("error",(function(e){t.$util.Tips({title:"复制失败"})}))}))},methods:{more:function(){this.order=!this.order},modify:function(e){this.change=!0,this.status=e},changeclose:function(e){this.change=e},getPhotoClickIdx:function(e,t){uni.previewImage({current:e[t],urls:e})},copyText:function(e){var t=[{name:"收货人姓名",value:this.orderInfo.real_name},{name:"收货人电话",value:this.orderInfo.user_phone},{name:"收货人地址",value:this.orderInfo.user_address}];wx.setClipboardData({data:"".concat(t.map((function(e){return"".concat(e.name,": ").concat(e.value)})).join("\n")),success:function(e){wx.getClipboardData({success:function(e){wx.showToast({title:"复制成功"})}})}})},getIndex:function(){var e=this;(0,s.getAdminOrderDetail)(e.mer_id,e.order_id).then((function(t){e.orderInfo=t.data}),(function(t){e.$util.Tips({title:t},{tab:3,url:1})}))},goCancellation:function(){uni.navigateTo({url:"/pages/admin/cancellate_result/index?mer_id="+this.mer_id+"&cal_code="+this.orderInfo.verify_code})},savePrice:function(e){var t=this;return(0,o.default)((0,i.default)().mark((function a(){var r,o,n,d,l,u,f;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=t,o={},n=e.price,d=e.refund_price,l=r.orderInfo.refund_status,u=e.remark,o.order_id=r.orderInfo.order_id,0!=r.status){a.next=8;break}o.price=n,f={pay_postage:e.orderInfo.pay_postage,coupon_price:e.orderInfo.coupon_price,total_price:Number(e.orderInfo.total_price)},(0,s.setAdminOrderPrice)(r.mer_id,o.order_id,f).then((function(e){r.change=!1,r.$util.Tips({title:"改价成功",icon:"success"}),r.getIndex()}),(function(e){r.change=!1,r.$util.Tips({title:e})})),a.next=20;break;case 8:if(0!=r.status||1!==l){a.next=16;break}if((0,c.isMoney)(d)){a.next=11;break}return a.abrupt("return",r.$util.Tips({title:"请输入正确的金额"}));case 11:o.price=d,o.type=e.type,(0,s.setOrderRefund)(r.mer_id,o).then((function(e){r.change=!1,r.$util.Tips({title:e.message}),r.getIndex()}),(function(e){r.change=!1,r.$util.Tips({title:e})})),a.next=20;break;case 16:if(u){a.next=18;break}return a.abrupt("return",t.$util.Tips({title:"请输入备注"}));case 18:(0,s.setAdminOrderRemark)(r.mer_id,o.order_id,{remark:u}).then((function(e){r.change=!1,t.$util.Tips({title:e.message,icon:"success"}),r.getIndex()}),(function(e){r.change=!1,r.$util.Tips({title:e})}));case 20:case"end":return a.stop()}}),a)})))()},offlinePay:function(){var e=this;(0,s.setOfflinePay)(this.mer_id,{order_id:this.orderInfo.order_id}).then((function(t){e.$util.Tips({title:t.message,icon:"success"}),e.getIndex()}),(function(t){e.$util.Tips({title:t})}))},copyNum:function(e){uni.setClipboardData({data:e,success:function(){}})},copyData:function(e){uni.setClipboardData({data:e,success:function(){}})},webCopy:function(e,t){var a=e,r=t;1==this.clickNum&&(this.clickNum+=1,this.webCopy(a,r))}}};t.default=u},a058:function(e,t,a){"use strict";a("6a54"),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)},a("5c47"),a("0506")},a789:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("v-uni-view",{staticClass:"priceChange",class:!0===e.change?"on":""},[a("v-uni-view",{staticClass:"priceTitle",style:{"background-image":"url("+e.domain+"/static/images/pricetitle.jpg)"}},[e._v(e._s(0==e.status?"一键改价":1==e.status?"订单备注":"立即退款")),a("span",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})]),0==e.status?a("v-uni-view",{staticClass:"listChange"},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",[e._v("商品总价(¥)")]),a("v-uni-view",{staticClass:"money"},[a("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),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",[e._v("实际支付邮费(¥)")]),a("v-uni-view",{staticClass:"money"},[a("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),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",[e._v("实际支付金额(¥)")]),a("v-uni-view",{staticClass:"money"},[e._v(e._s(Number(e.orderInfo.total_price)+Number(e.orderInfo.pay_postage)-Number(e.orderInfo.coupon_price)-Number(e.orderInfo.integral_price)-Number(e.orderInfo.svip_discount))),a("span",{staticClass:"iconfont icon-suozi"})])],1),e.orderInfo.coupon_price>0||e.orderInfo.svip_discount>0?a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",[e._v("优惠金额(¥)")]),a("v-uni-view",{staticClass:"money"},[e._v(e._s(Number(e.orderInfo.coupon_price)+Number(e.orderInfo.svip_discount))),a("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),e.orderInfo.integral_price>0?a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",[e._v("积分抵扣(¥)")]),a("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.integral_price)),a("span",{staticClass:"iconfont icon-suozi"})])],1):e._e()],1):a("v-uni-view",{staticClass:"listChange"},[a("v-uni-textarea",{attrs:{placeholder:e.orderInfo.remark?e.orderInfo.remark:"请填写备注信息..."},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}})],1),a("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),a("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)},i=[]},bbe0:function(e,t,a){"use strict";a.r(t);var r=a("a789"),i=a("df4f");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("710f");var n=a("828b"),d=Object(n["a"])(i["default"],r["b"],r["c"],!1,null,"e74daae6",null,!1,r["a"],void 0);t["default"]=d.exports},d542:function(e,t,a){"use strict";a("6a54");var r=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.computeRefundPrice=function(e,t){return i.default.post("server/".concat(e,"/refund/compute"),t,{login:!0})},t.confirmRefundApi=function(e,t){return i.default.post("server/".concat(e,"/refund/create"),t,{login:!0})},t.getAdminOrderDelivery=function(e){return i.default.get("admin/order/delivery/gain/"+e,{},{login:!0})},t.getAdminOrderDetail=function(e,t){return i.default.get("admin/"+e+"/order/"+t,{},{login:!0})},t.getAdminOrderList=function(e){return i.default.get("admin/order/list",e,{login:!0})},t.getDeliveryStoreLst=function(e){return i.default.get("admin/".concat(e,"/delivery_options"))},t.getLogistics=function(){return i.default.get("logistics",{},{login:!1})},t.getOrderList=function(e,t){return i.default.get("admin/".concat(t,"/order_list"),e,{login:!0})},t.getRefundOrderApi=function(e,t){return i.default.get("server/".concat(e,"/refund/check/").concat(t),{},{login:!0})},t.getRefundOrderDetail=function(e,t){return i.default.get("server/".concat(e,"/refund/detail/").concat(t),{},{login:!0})},t.getRefundOrderInfo=function(e,t){return i.default.get("server/".concat(e,"/refund/get/").concat(t))},t.getRefundOrderList=function(e,t){return i.default.get("server/".concat(t,"/refund/lst"),e,{login:!0})},t.getStatisticsInfo=function(){return i.default.get("admin/order/statistics",{},{login:!0})},t.getStatisticsMonth=function(e){return i.default.get("admin/order/data",e,{login:!0})},t.getStatisticsTime=function(e){return i.default.get("admin/order/time",e,{login:!0})},t.getTempAndDelivery=function(e){return i.default.get("admin/".concat(e,"/delivery_config"))},t.orderCancellation=function(e,t){return i.default.post("admin/".concat(e,"/verify/").concat(t))},t.orderDeliveryInfo=function(e){return i.default.get("admin/".concat(e,"/mer_form"))},t.orderExportTemp=function(e){return i.default.get("store/expr/temps",e)},t.orderNumberStatistics=function(e,t){return i.default.get("admin/".concat(t,"/pay_number"),e,{login:!0})},t.orderPrice=function(e,t){return i.default.get("admin/"+t+"/order_price",e,{login:!0})},t.orderStatistics=function(e){return i.default.get("admin/"+e+"/statistics")},t.orderVerific=function(e,t,a){return i.default.post("verifier/".concat(e,"/").concat(t),a)},t.refundOrderReceive=function(e,t){return i.default.post("server/".concat(e,"/refund/confirm/").concat(t),{},{login:!0})},t.refundOrderSubmit=function(e,t,a){return i.default.post("server/".concat(e,"/refund/status/").concat(t),a,{login:!0})},t.scanUpload=function(e,t,a){return i.default.post("scan_upload/image/".concat(e,"/").concat(t),a,{login:!0})},t.setAdminOrderDelivery=function(e,t,a){return i.default.post("admin/"+e+"/delivery/"+t,a,{login:!0})},t.setAdminOrderPrice=function(e,t,a){return i.default.post("admin/"+e+"/price/"+t,a,{login:!0})},t.setAdminOrderRemark=function(e,t,a){return i.default.post("admin/"+e+"/mark/"+t,a,{login:!0})},t.setOfflinePay=function(e,t){return i.default.post("admin/"+e+"/order/offline",t,{login:!0})},t.setOrderRefund=function(e,t){return i.default.post("admin/"+e+"/order/refund",t,{login:!0})},t.setRefundMark=function(e,t,a){return i.default.post("server/".concat(e,"/refund/mark/").concat(t),a,{login:!0})},t.turnoverStatistics=function(e,t){return i.default.get("admin/".concat(t,"/pay_price"),e,{login:!0})},t.verifierOrder=function(e,t){return i.default.get("verifier/"+e+"/order/"+t)},a("c223");var i=r(a("fea3"))},d929:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"order-details pos-order-details"},[a("v-uni-view",{staticClass:"header acea-row row-middle"},[a("v-uni-view",{staticClass:"state"},[e._v(e._s(e.title))]),a("v-uni-view",{staticClass:"data"},[a("v-uni-view",{staticClass:"order-num"},[e._v("订单:"+e._s(e.orderInfo.order_sn))]),a("v-uni-view",[a("span",{staticClass:"time"},[e._v(e._s(e.orderInfo.create_time))])])],1)],1),"looks"!=e.goname?a("v-uni-view",{staticClass:"remarks acea-row",staticStyle:{"align-items":"center"}},[a("span",{staticClass:"iconfont icon-zhinengkefu-"}),a("v-uni-view",{staticClass:"line1",staticStyle:{"text-align":"left",flex:"1","margin-left":"10rpx"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.modify("1")}}},[e._v(e._s(e.orderInfo.remark?e.orderInfo.remark:"订单未备注,点击添加备注信息"))])],1):e._e(),a("v-uni-view",{staticClass:"orderingUser acea-row row-middle"},[a("span",{staticClass:"iconfont icon-yonghu2"}),e._v(e._s(e.orderInfo.user&&e.orderInfo.user.nickname||""))]),a("v-uni-view",{staticClass:"address"},[a("v-uni-view",{staticClass:"name"},[e._v(e._s(e.orderInfo.real_name)),a("span",{staticClass:"phone"},[e._v(e._s(e.orderInfo.user_phone))])]),a("v-uni-view",[e._v(e._s(e.orderInfo.user_address))]),a("v-uni-button",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":"收货人姓名:"+e.orderInfo.real_name+"\n收货人电话"+e.orderInfo.user_phone+"\n收货人地址"+e.orderInfo.user_address}},[e._v("复制")])],1),a("v-uni-view",{staticClass:"line"},[a("v-uni-image",{attrs:{src:e.domain+"/static/images/line.jpg"}})],1),a("v-uni-view",{staticClass:"pos-order-goods"},e._l(e.orderInfo.orderProduct,(function(t,r){return a("v-uni-navigator",{key:r,staticClass:"goods",attrs:{url:"/pages/goods_details/index?id="+t.cart_info.product.product_id,"hover-class":"none"}},[a("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:t.cart_info.productAttr.image||t.cart_info.product.image}})],1),a("v-uni-view",{staticClass:"text acea-row row-between row-column"},[a("v-uni-view",{staticClass:"info line2"},[e._v(e._s(t.cart_info.product.store_name))]),a("v-uni-view",{staticClass:"attr"},[e._v(e._s(t.cart_info.productAttr.sku||"默认"))])],1)],1),a("v-uni-view",{staticClass:"money"},[a("v-uni-view",{staticClass:"x-money"},[e._v("¥"+e._s(t.cart_info.productAttr.price))]),a("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.product_num)),t.product_num-t.refund_num>0?a("v-uni-text",{staticClass:"font-color refund_num"},[e._v("(-"+e._s(t.product_num-t.refund_num)+")")]):e._e()],1),0==e.orderInfo.order_type?a("v-uni-view",{staticClass:"y-money"},[e._v("¥"+e._s(t.cart_info.productAttr.ot_price))]):e._e()],1)],1)],1)})),1),a("v-uni-view",{staticClass:"public-total"},[e._v("共"+e._s(e.orderInfo.total_num)+"件商品,已支付"),a("span",{staticClass:"money"},[e._v("¥"+e._s(e.orderInfo.pay_price))]),e._v("( 邮费 ¥"+e._s(e.orderInfo.pay_postage)+")")]),a("v-uni-view",{staticClass:"wrapper"},[a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("订单编号:")]),a("v-uni-view",{staticClass:"conter acea-row row-middle row-right"},[e._v(e._s(e.orderInfo.order_sn)),a("v-uni-button",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.order_sn}},[e._v("复制")])],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("下单时间:")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.create_time))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("支付状态:")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(1==e.orderInfo.paid?"已支付":"未支付"))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("支付方式:")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(0==e.orderInfo.pay_type?"余额支付":1==e.orderInfo.pay_type||2==e.orderInfo.pay_type||3==e.orderInfo.pay_type?"微信支付":"支付宝支付"))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("买家留言:")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.mark))])],1)],1),e.orderInfo.order_extend?a("v-uni-view",{staticClass:"wrapper"},e._l(e.orderInfo.order_extend,(function(t,r){return t&&r?a("v-uni-view",{key:r,staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(r)+"")]),Array.isArray(t)?a("v-uni-view",{staticClass:"conter virtual_image"},e._l(t,(function(r,i){return a("v-uni-image",{key:i,staticClass:"picture",attrs:{src:r},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.getPhotoClickIdx(t,i)}}})})),1):a("v-uni-view",{staticClass:"conter"},[e._v(e._s(t))])],1):e._e()})),1):e._e(),a("v-uni-view",{staticClass:"wrapper"},[a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("支付金额:")]),a("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.total_price))])],1),e.orderInfo.coupon_price>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("优惠券抵扣:")]),a("v-uni-view",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.coupon_price))])],1):e._e(),e.orderInfo.integral_price>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("积分抵扣:")]),a("v-uni-view",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.integral_price))])],1):e._e(),e.orderInfo.pay_postage>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("运费:")]),a("v-uni-view",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.pay_postage))])],1):e._e(),a("v-uni-view",{staticClass:"actualPay acea-row row-right"},[e._v("实付款:"),a("span",{staticClass:"money font-color-red"},[e._v("¥"+e._s(e.orderInfo.pay_price))])])],1),"3"!=e.orderInfo.delivery_type&&0===e.orderInfo.order_type&&e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"wrapper"},["6"!=e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v("配送方式:")]),"1"===e.orderInfo.delivery_type||"4"===e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"conter"},[e._v("快递")]):e._e(),"2"===e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"conter"},[e._v("送货")]):e._e()],1):e._e(),a("v-uni-view",{staticClass:"item acea-row row-between"},["1"===e.orderInfo.delivery_type||"4"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("快递公司:")]):e._e(),"2"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("送货人:")]):e._e(),"6"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("发货方式:")]):e._e(),a("v-uni-view",{staticClass:"conter line1"},[e._v(e._s(e.orderInfo.delivery_name?e.orderInfo.delivery_name:""))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},["1"===e.orderInfo.delivery_type||"4"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("快递单号:")]):e._e(),"2"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("送货人电话:")]):e._e(),"6"===e.orderInfo.delivery_type?a("v-uni-view",[e._v("卡密信息:")]):e._e(),a("v-uni-view",{staticClass:"conter",staticStyle:{display:"flex"}},[a("v-uni-text",[e._v(e._s(e.orderInfo.delivery_id?e.orderInfo.delivery_id:""))]),a("v-uni-text",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.delivery_id}},[e._v("复制")])],1)],1)],1):e._e(),a("v-uni-view",{staticStyle:{height:"100upx"}}),"looks"!=e.goname?a("v-uni-view",{staticClass:"footer acea-row row-right row-middle"},[a("v-uni-view",{staticClass:"more"}),0==e.orderInfo.paid?a("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.modify("0")}}},[e._v("一键改价")]):e._e(),-1!=e.orderInfo.status&&e.orderInfo.status<9&&1==e.orderInfo.paid?a("v-uni-navigator",{staticClass:"bnt cancel",attrs:{url:"/pages/admin/refundList/index?mer_id="+e.mer_id+"&order_id="+e.orderInfo.order_id}},[e._v("立即退款")]):e._e(),a("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.modify("1")}}},[e._v("订单备注")]),"offline"===e.orderInfo.pay_type&&0===e.orderInfo.paid?a("v-uni-view",{staticClass:"bnt cancel",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.offlinePay.apply(void 0,arguments)}}},[e._v("确认付款")]):e._e(),1==e.orderInfo.paid&&0==e.orderInfo.status&&0==e.orderInfo.order_type?a("v-uni-navigator",{staticClass:"bnt delivery",attrs:{url:"/pages/admin/delivery/index?id="+e.orderInfo.order_id+"&merId="+e.mer_id}},[e._v("去发货")]):e._e(),1!=e.orderInfo.paid||0!=e.orderInfo.status&&9!=e.orderInfo.status||1!=e.orderInfo.order_type?e._e():a("v-uni-view",{staticClass:"bnt delivery",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goCancellation.apply(void 0,arguments)}}},[e._v("去核销")])],1):e._e(),a("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)}}})],1)},i=[]},df4f:function(e,t,a){"use strict";a.r(t);var r=a("4824"),i=a.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},e418:function(e,t,a){"use strict";a.r(t);var r=a("d929"),i=a("63a2");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("0c2e");var n=a("828b"),d=Object(n["a"])(i["default"],r["b"],r["c"],!1,null,"a6d2a63a",null,!1,r["a"],void 0);t["default"]=d.exports},e899:function(e,t,a){var r=a("3491");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("967d").default;i("547497af",r,!0,{sourceMap:!1,shadowMode:!1})},f1e3:function(e,t,a){var r=a("c86c");t=r(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/*商户管理订单详情*/.pos-order-details .header[data-v-a6d2a63a]{background:linear-gradient(90deg,#2291f8 0,#1cd1dc);background:-webkit-linear-gradient(90deg,#2291f8 0,#1cd1dc);background:-moz-linear-gradient(to right,#2291f8 0,#1cd1dc 100%)}.pos-order-details .header .state[data-v-a6d2a63a]{font-size:%?36?%;color:#fff}.pos-order-details .header .data[data-v-a6d2a63a]{margin-left:%?35?%;font-size:%?28?%}.pos-order-details .header .data .order-num[data-v-a6d2a63a]{font-size:%?30?%;margin-bottom:%?8?%}.pos-order-details .remarks[data-v-a6d2a63a]{width:100%;height:%?86?%;background-color:#fff;padding:0 %?30?%}.pos-order-details .remarks .iconfont[data-v-a6d2a63a]{font-size:%?40?%;color:#2a7efb}.pos-order-details .remarks uni-input[data-v-a6d2a63a]{width:%?630?%;height:100%;font-size:%?30?%}.pos-order-details .remarks uni-input[data-v-a6d2a63a]::-webkit-input-placeholder{color:#666}.pos-order-details .remarks uni-input[data-v-a6d2a63a]::placeholder{color:#666}.pos-order-details .orderingUser[data-v-a6d2a63a]{font-size:%?26?%;color:#282828;padding:0 %?30?%;height:%?67?%;background-color:#fff;margin-top:%?16?%;border-bottom:1px solid #f5f5f5}.pos-order-details .orderingUser .iconfont[data-v-a6d2a63a]{font-size:%?40?%;color:#2a7efb;margin-right:%?15?%}.pos-order-details .address[data-v-a6d2a63a]{margin-top:0}.pos-order-details .pos-order-goods[data-v-a6d2a63a]{margin-top:%?17?%}.pos-order-details .footer .more[data-v-a6d2a63a]{font-size:%?27?%;color:#aaa;width:%?100?%;height:%?64?%;text-align:center;line-height:%?64?%;margin-right:%?25?%;position:relative}.pos-order-details .footer .delivery[data-v-a6d2a63a]{background:linear-gradient(90deg,#2291f8 0,#1cd1dc);background:-webkit-linear-gradient(90deg,#2291f8 0,#1cd1dc);background:-moz-linear-gradient(to right,#2291f8 0,#1cd1dc 100%)}.pos-order-details .footer .more .order .arrow[data-v-a6d2a63a]{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-details .footer .more .order .arrow[data-v-a6d2a63a]:before{content:"";width:0;height:0;border-left:%?9?% solid transparent;border-right:%?9?% solid transparent;border-top:%?19?% solid #fff;position:absolute;left:%?-10?%;bottom:0}.pos-order-details .footer .more .order[data-v-a6d2a63a]{width:%?200?%;background-color:#fff;border:1px solid #eee;border-radius:%?10?%;position:absolute;top:%?-200?%;z-index:9}.pos-order-details .footer .more .order .item[data-v-a6d2a63a]{height:%?77?%;line-height:%?77?%}.pos-order-details .footer .more .order .item ~ .item[data-v-a6d2a63a]{border-top:1px solid #f5f5f5}.pos-order-details .footer .more .moreName[data-v-a6d2a63a]{width:100%;height:100%}\n/*订单详情*/.order-details .header[data-v-a6d2a63a]{padding:0 %?30?%;height:%?150?%}.order-details .header.on[data-v-a6d2a63a]{background-color:#666!important}.order-details .header .pictrue[data-v-a6d2a63a]{width:%?110?%;height:%?110?%}.order-details .header .pictrue uni-image[data-v-a6d2a63a]{width:100%;height:100%}.order-details .header .data[data-v-a6d2a63a]{color:hsla(0,0%,100%,.8);font-size:%?24?%;margin-left:%?27?%}.order-details .header.on .data[data-v-a6d2a63a]{margin-left:0}.order-details .header .data .state[data-v-a6d2a63a]{font-size:%?30?%;font-weight:700;color:#fff;margin-bottom:%?7?%}\n/* .order-details .header .data .time{margin-left:20upx;} */.order-details .nav[data-v-a6d2a63a]{background-color:#fff;font-size:%?26?%;color:#282828;padding:%?25?% 0}.order-details .nav .navCon[data-v-a6d2a63a]{padding:0 %?40?%}.order-details .nav .navCon .on[data-v-a6d2a63a]{font-weight:700;color:#e93323}.order-details .nav .progress[data-v-a6d2a63a]{padding:0 %?65?%;margin-top:%?10?%}.order-details .nav .progress .line[data-v-a6d2a63a]{width:%?100?%;height:%?2?%;background-color:#939390}.order-details .nav .progress .iconfont[data-v-a6d2a63a]{font-size:%?25?%;color:#939390;margin-top:%?-2?%;width:%?30?%;height:%?30?%;line-height:%?33?%;text-align:center;margin-right:0!important}.order-details .address[data-v-a6d2a63a]{font-size:%?26?%;color:#868686;background-color:#fff;padding:%?25?% %?30?% %?30?% %?30?%;position:relative}.order-details .address .name[data-v-a6d2a63a]{font-size:%?30?%;color:#282828;margin-bottom:.1rem}.order-details .address .name .phone[data-v-a6d2a63a]{margin-left:%?40?%}.order-details .line[data-v-a6d2a63a]{width:100%;height:%?3?%}.order-details .line uni-image[data-v-a6d2a63a]{width:100%;height:100%;display:block}.order-details .wrapper[data-v-a6d2a63a]{background-color:#fff;margin-top:%?12?%;padding:%?30?%}.order-details .wrapper .item[data-v-a6d2a63a]{font-size:%?28?%;color:#282828}.order-details .wrapper .item ~ .item[data-v-a6d2a63a]{margin-top:%?20?%}.order-details .wrapper .item .conter[data-v-a6d2a63a]{color:#868686;text-align:right;max-width:%?450?%}.order-details .wrapper .item .virtual_image[data-v-a6d2a63a]{margin-left:%?50?%}.order-details .wrapper .item .virtual_image .picture[data-v-a6d2a63a]{width:%?106?%;height:%?106?%;border-radius:%?8?%;margin-right:%?10?%}.order-details .wrapper .item .virtual_image .picture[data-v-a6d2a63a]:last-child{margin-right:0}.order-details .wrapper .item .conter .copy[data-v-a6d2a63a]{font-size:%?20?%;color:#868686;border-radius:%?3?%;border:1px solid #868686;padding:%?0?% %?15?%;margin-left:%?24?%;height:%?40?%;display:flex;align-items:center;justify-content:center;border-radius:%?16?%}.address .copy[data-v-a6d2a63a]{font-size:%?20?%;color:#868686;border-radius:%?3?%;border:1px solid #868686;padding:%?0?% %?15?%;height:%?40?%;display:flex;align-items:center;justify-content:center;border-radius:%?16?%;position:absolute;right:%?30?%;top:%?20?%}.order-details .wrapper .actualPay[data-v-a6d2a63a]{border-top:%?1?% solid #eee;margin-top:%?30?%;padding-top:%?30?%}.order-details .wrapper .actualPay .money[data-v-a6d2a63a]{font-weight:700;font-size:%?30?%}.order-details .footer[data-v-a6d2a63a]{width:100%;height:%?100?%;height:calc(100upx+ constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));position:fixed;bottom:0;left:0;background-color:#fff;padding:0 %?30?%;border-top:1px solid #eee}.order-details .footer .bnt[data-v-a6d2a63a]{width:auto;height:%?60?%;line-height:%?60?%;text-align:center;line-height:upx;border-radius:%?50?%;color:#fff;font-size:%?27?%;padding:0 3%}.order-details .footer .bnt.cancel[data-v-a6d2a63a]{color:#aaa;border:1px solid #ddd}.order-details .footer .bnt.default[data-v-a6d2a63a]{color:#444;border:1px solid #444}.order-details .footer .bnt ~ .bnt[data-v-a6d2a63a]{margin-left:%?18?%}.pos-order-goods[data-v-a6d2a63a]{padding:0 %?30?%;background-color:#fff;position:relative}.pos-order-goods .goods[data-v-a6d2a63a]{padding:%?20?% 0;overflow:hidden}.pos-order-goods .goods ~ .goods[data-v-a6d2a63a]{border-top:1px dashed #e5e5e5}.pos-order-goods .goods .picTxt[data-v-a6d2a63a]{width:%?515?%}.pos-order-goods .goods .picTxt .pictrue[data-v-a6d2a63a]{width:%?130?%;height:%?130?%}.pos-order-goods .goods .picTxt .pictrue uni-image[data-v-a6d2a63a]{width:100%;height:100%;border-radius:%?6?%}.pos-order-goods .goods .picTxt .text[data-v-a6d2a63a]{width:%?365?%;height:%?130?%}.pos-order-goods .goods .picTxt .text .info[data-v-a6d2a63a]{font-size:%?28?%;color:#282828}.pos-order-goods .goods .picTxt .text .attr[data-v-a6d2a63a]{font-size:%?24?%;color:#999}.pos-order-goods .goods .money[data-v-a6d2a63a]{width:%?164?%;text-align:right;font-size:%?28?%}.pos-order-goods .goods .money .refund_num[data-v-a6d2a63a]{display:inline-block;margin-left:%?10?%}.pos-order-goods .goods .money .x-money[data-v-a6d2a63a]{color:#282828}.pos-order-goods .goods .money .num[data-v-a6d2a63a]{color:#ff9600;margin:%?5?% 0}.pos-order-goods .goods .money .y-money[data-v-a6d2a63a]{color:#999;text-decoration:line-through}.pos-order-goods .cancellate[data-v-a6d2a63a]{font-size:%?24?%;float:right;margin-top:%?10?%}.pos-order-goods .cancellate uni-text[data-v-a6d2a63a]{margin-left:%?26?%}.pos-order-goods .cancelled[data-v-a6d2a63a]{color:#ff9600}.pos-order-goods .goods .uncancell[data-v-a6d2a63a]{color:#999}.public-total[data-v-a6d2a63a]{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-a6d2a63a]{color:#ff4c3c}',""]),e.exports=t}}]);