You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
shipin/public/static/js/pages-goods-admin_order_det...

1 lines
18 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-admin_order_detail-index"],{2709:function(e,t,a){"use strict";a.r(t);var r=a("6057"),o=a("cd9f");for(var n in o)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return o[e]}))}(n);a("fe65");var i=a("f0c5"),d=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"0a1a6240",null,!1,r["a"],void 0);t["default"]=d.exports},"3cad":function(e,t,a){var r=a("7345");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=a("4f06").default;o("0fa31a40",r,!0,{sourceMap:!1,shadowMode:!1})},5035:function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("d81d"),a("14d9");var r=a("a27d"),o={name:"AdminOrder",data:function(){return{order:!1,change:!1,order_id:"",orderInfo:{_status:{}},status:"",title:"",payType:"",types:"",clickNum:1,goname:"",customForm:[]}},watch:{"$route.params.oid":function(e){void 0!=e&&(this.order_id=e,this.getIndex())}},onLoad:function(e){this.order_id=e.id,this.goname=e.goname,this.getIndex()},methods:{getIndex:function(){var e=this;(0,r.getAdminOrderDetail)(e.order_id).then((function(t){if(e.orderInfo=t.data,e.types=t.data._status._type,e.title=t.data._status._title,e.payType=t.data._status._payType,e.orderInfo.custom_form&&e.orderInfo.custom_form.length){var a=[];e.orderInfo.custom_form.map((function(e){""!=e.value&&a.push(e)})),e.$set(e,"customForm",a)}}),(function(t){e.$util.Tips({title:t},{tab:3,url:1})}))}}};t.default=o},6057:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return o})),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.$t(e.title)))]),a("v-uni-view",{staticClass:"data"},[a("v-uni-view",{staticClass:"order-num"},[e._v(e._s(e.$t("订单"))+":"+e._s(e.orderInfo.order_id||""))]),a("v-uni-view",[a("span",{staticClass:"time"},[e._v(e._s(e.orderInfo._add_time||""))])])],1)],1),a("v-uni-view",{staticClass:"orderingUser acea-row row-middle"},[a("span",{staticClass:"iconfont icon-yonghu2"}),e._v(e._s(e.orderInfo.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))])],1),a("v-uni-view",{staticClass:"line"},[a("v-uni-image",{attrs:{src:"/static/images/line.jpg"}})],1),a("v-uni-view",{staticClass:"pos-order-goods"},e._l(e.orderInfo.cartInfo,(function(t,r){return a("v-uni-navigator",{key:r,staticClass:"goods acea-row row-between-wrapper",attrs:{url:"/pages/goods_details/index?id="+t.productInfo.id,"hover-class":"none"}},[a("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:t.productInfo.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.productInfo.store_name||""))]),a("v-uni-view",{staticClass:"attr"},[e._v(e._s(t.productInfo.suk))])],1)],1),a("v-uni-view",{staticClass:"money"},[a("v-uni-view",{staticClass:"x-money"},[e._v(e._s(e.$t("¥"))+e._s(t.productInfo.attrInfo.price||0))]),a("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.cart_num))]),a("v-uni-view",{staticClass:"y-money"},[e._v(e._s(e.$t("¥"))+e._s(t.productInfo.attrInfo.ot_price||0))])],1)],1)})),1),a("v-uni-view",{staticClass:"public-total"},[e._v(e._s(e.$t("共"))+e._s(e.orderInfo.total_num||0)+e._s(e.$t("件商品,应支付"))),a("span",{staticClass:"money"},[e._v(e._s(e.$t("¥"))+e._s(e.orderInfo.pay_price||0))]),e._v("( "+e._s(e.$t("邮费"))+" "+e._s(e.$t("¥"))+e._s(e.orderInfo.pay_postage||0)+"\n\t\t\t)")]),a("v-uni-view",{staticClass:"wrapper"},[a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("订单编号"))+":")]),a("v-uni-view",{staticClass:"conter acea-row row-middle row-right"},[e._v(e._s(e.orderInfo.order_id||""))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("下单时间"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo._add_time||""))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("支付状态"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(1==e.orderInfo.paid?e.$t("已支付"):e.$t("未支付")))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("支付方式"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.payType))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("买家留言"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.mark||""))])],1)],1),e.customForm&&e.customForm.length?a("v-uni-view",{staticClass:"wrapper"},e._l(e.customForm,(function(t,r){return a("v-uni-view",{key:r,staticClass:"item acea-row row-between"},["img"==t.label?a("v-uni-view",{staticClass:"upload"},[a("v-uni-view",[e._v(e._s(t.title)+":")]),e._l(t.value,(function(e,t){return a("v-uni-view",{key:t,staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:e}})],1)}))],2):e._e(),"img"!==t.label?a("v-uni-view",[e._v(e._s(t.title)+":")]):e._e(),"img"!==t.label?a("v-uni-view",{staticClass:"conter"},[e._v(e._s(t.value))]):e._e()],1)})),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(e._s(e.$t("商品总价"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.$t("¥"))+e._s((parseFloat(e.orderInfo.total_price)+parseFloat(e.orderInfo.vip_true_price)).toFixed(2)))])],1),e.orderInfo.pay_postage>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("配送运费"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.pay_postage).toFixed(2)))])],1):e._e(),e.orderInfo.levelPrice>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("用户等级优惠"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v("-"+e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.levelPrice).toFixed(2)))])],1):e._e(),e.orderInfo.memberPrice>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("付费会员优惠"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v("-"+e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.memberPrice).toFixed(2)))])],1):e._e(),e.orderInfo.coupon_price>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("优惠券抵扣"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v("-"+e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.coupon_price).toFixed(2)))])],1):e._e(),e.orderInfo.use_integral>0?a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("积分抵扣"))+":")]),a("v-uni-view",{staticClass:"conter"},[e._v("-"+e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.deduction_price).toFixed(2)))])],1):e._e(),a("v-uni-view",{staticClass:"actualPay acea-row row-right"},[e._v(e._s(e.$t("实付款"))+":"),a("v-uni-text",{staticClass:"money"},[e._v(e._s(e.$t("¥"))+e._s(parseFloat(e.orderInfo.pay_price).toFixed(2)))])],1)],1),"fictitious"!=e.orderInfo.delivery_type&&2===e.orderInfo._status._type?a("v-uni-view",{staticClass:"wrapper"},[a("v-uni-view",{staticClass:"item acea-row row-between"},[a("v-uni-view",[e._v(e._s(e.$t("配送方式"))+":")]),"express"===e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.$t("快递")))]):e._e(),"send"===e.orderInfo.delivery_type?a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.$t("送货")))]):e._e()],1),a("v-uni-view",{staticClass:"item acea-row row-between"},["express"===e.orderInfo.delivery_type?a("v-uni-view",[e._v(e._s(e.$t("快递公司"))+":")]):e._e(),"send"===e.orderInfo.delivery_type?a("v-uni-view",[e._v(e._s(e.$t("送货人"))+":")]):e._e(),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_name||""))])],1),a("v-uni-view",{staticClass:"item acea-row row-between"},["express"===e.orderInfo.delivery_type?a("v-uni-view",[e._v(e._s(e.$t("快递单号"))+":")]):e._e(),"send"===e.orderInfo.delivery_type?a("v-uni-view",[e._v(e._s(e.$t("送货人电话"))+":")]):e._e(),a("v-uni-view",{staticClass:"conter"},[e._v(e._s(e.orderInfo.delivery_id||""))])],1)],1):e._e()],1)},o=[]},7345:function(e,t,a){var r=a("24fb");t=r(!1),t.push([e.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*商户管理订单详情*/.pos-order-details .header[data-v-0a1a6240]{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-0a1a6240]{font-size:%?36?%;color:#fff}.pos-order-details .header .data[data-v-0a1a6240]{margin-left:%?35?%;font-size:%?28?%}.pos-order-details .header .data .order-num[data-v-0a1a6240]{font-size:%?30?%;margin-bottom:%?8?%}.pos-order-details .remarks[data-v-0a1a6240]{width:100%;height:%?86?%;background-color:#fff;padding:0 %?30?%}.pos-order-details .remarks .iconfont[data-v-0a1a6240]{font-size:%?40?%;color:#2a7efb}.pos-order-details .remarks uni-input[data-v-0a1a6240]{width:%?630?%;height:100%;font-size:%?30?%}.pos-order-details .remarks uni-input[data-v-0a1a6240]::-webkit-input-placeholder{color:#666}.pos-order-details .remarks uni-input[data-v-0a1a6240]::placeholder{color:#666}.pos-order-details .orderingUser[data-v-0a1a6240]{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-0a1a6240]{font-size:%?40?%;color:#2a7efb;margin-right:%?15?%}.pos-order-details .address[data-v-0a1a6240]{margin-top:0}.pos-order-details .pos-order-goods[data-v-0a1a6240]{margin-top:%?17?%}.pos-order-details .footer .more[data-v-0a1a6240]{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-0a1a6240]{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-0a1a6240]{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-0a1a6240]: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-0a1a6240]{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-0a1a6240]{height:%?77?%;line-height:%?77?%}.pos-order-details .footer .more .order .item~.item[data-v-0a1a6240]{border-top:1px solid #f5f5f5}.pos-order-details .footer .more .moreName[data-v-0a1a6240]{width:100%;height:100%}\n/*订单详情*/.order-details .header[data-v-0a1a6240]{padding:0 %?30?%;height:%?150?%}.order-details .header.on[data-v-0a1a6240]{background-color:#666!important}.order-details .header .pictrue[data-v-0a1a6240]{width:%?110?%;height:%?110?%}.order-details .header .pictrue uni-image[data-v-0a1a6240]{width:100%;height:100%}.order-details .header .data[data-v-0a1a6240]{color:hsla(0,0%,100%,.8);font-size:%?24?%;margin-left:%?27?%}.order-details .header.on .data[data-v-0a1a6240]{margin-left:0}.order-details .header .data .state[data-v-0a1a6240]{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-0a1a6240]{background-color:#fff;font-size:%?26?%;color:#282828;padding:%?25?% 0}.order-details .nav .navCon[data-v-0a1a6240]{padding:0 %?40?%}.order-details .nav .navCon .on[data-v-0a1a6240]{font-weight:700;color:#e93323}.order-details .nav .progress[data-v-0a1a6240]{padding:0 %?65?%;margin-top:%?10?%}.order-details .nav .progress .line[data-v-0a1a6240]{width:%?100?%;height:%?2?%;background-color:#939390}.order-details .nav .progress .iconfont[data-v-0a1a6240]{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-0a1a6240]{font-size:%?26?%;color:#868686;background-color:#fff;padding:%?25?% %?30?% %?30?% %?30?%}.order-details .address .name[data-v-0a1a6240]{font-size:%?30?%;color:#282828;margin-bottom:.1rem}.order-details .address .name .phone[data-v-0a1a6240]{margin-left:%?40?%}.order-details .line[data-v-0a1a6240]{width:100%;height:%?3?%}.order-details .line uni-image[data-v-0a1a6240]{width:100%;height:100%;display:block}.order-details .wrapper[data-v-0a1a6240]{background-color:#fff;margin-top:%?12?%;padding:%?30?%}.order-details .wrapper .item[data-v-0a1a6240]{font-size:%?28?%;color:#282828}.order-details .wrapper .item~.item[data-v-0a1a6240]{margin-top:%?20?%}.order-details .wrapper .item .conter[data-v-0a1a6240]{color:#868686;text-align:right}.order-details .wrapper .item .conter .copy[data-v-0a1a6240]{font-size:%?20?%;color:#333;border-radius:%?3?%;border:1px solid #666;padding:%?0?% %?15?%;margin-left:%?24?%;height:%?40?%}.order-details .wrapper .actualPay[data-v-0a1a6240]{border-top:%?1?% solid #eee;margin-top:%?30?%;padding-top:%?30?%}.order-details .wrapper .actualPay .money[data-v-0a1a6240]{font-weight:700;font-size:%?30?%;color:#e93323}.order-details .footer[data-v-0a1a6240]{width:100%;height:%?100?%;position:fixed;bottom:0;left:0;background-color:#fff;padding:0 %?30?%;border-top:1px solid #eee}.order-details .footer .bnt[data-v-0a1a6240]{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-0a1a6240]{color:#aaa;border:1px solid #ddd}.order-details .footer .bnt.default[data-v-0a1a6240]{color:#444;border:1px solid #444}.order-details .footer .bnt~.bnt[data-v-0a1a6240]{margin-left:%?18?%}.pos-order-goods[data-v-0a1a6240]{padding:0 %?30?%;background-color:#fff}.pos-order-goods .goods[data-v-0a1a6240]{height:%?185?%}.pos-order-goods .goods~.goods[data-v-0a1a6240]{border-top:1px dashed #e5e5e5}.pos-order-goods .goods .picTxt[data-v-0a1a6240]{width:%?515?%}.pos-order-goods .goods .picTxt .pictrue[data-v-0a1a6240]{width:%?130?%;height:%?130?%}.pos-order-goods .goods .picTxt .pictrue uni-image[data-v-0a1a6240]{width:100%;height:100%;border-radius:%?6?%}.pos-order-goods .goods .picTxt .text[data-v-0a1a6240]{width:%?365?%;height:%?130?%}.pos-order-goods .goods .picTxt .text .info[data-v-0a1a6240]{font-size:%?28?%;color:#282828}.pos-order-goods .goods .picTxt .text .attr[data-v-0a1a6240]{font-size:%?24?%;color:#999}.pos-order-goods .goods .money[data-v-0a1a6240]{width:%?164?%;text-align:right;font-size:%?28?%}.pos-order-goods .goods .money .x-money[data-v-0a1a6240]{color:#282828}.pos-order-goods .goods .money .num[data-v-0a1a6240]{color:#ff9600;margin:%?5?% 0}.pos-order-goods .goods .money .y-money[data-v-0a1a6240]{color:#999;text-decoration:line-through}.public-total[data-v-0a1a6240]{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-0a1a6240]{color:#ff4c3c}.upload .pictrue[data-v-0a1a6240]{display:inline-block;margin:%?22?% %?17?% %?20?% 0;width:%?156?%;height:%?156?%;color:#bbb}.upload .pictrue uni-image[data-v-0a1a6240]{width:100%;height:100%}',""]),e.exports=t},a27d:function(e,t,a){"use strict";a("7a82");var r=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.agreeExpress=function(e){return o.default.post("admin/order/agreeExpress",e,{login:!0})},t.getAdminOrderDelivery=function(e){return o.default.get("admin/order/delivery/gain/"+e,{},{login:!0})},t.getAdminOrderDetail=function(e){return o.default.get("admin/order/detail/"+e,{},{login:!0})},t.getAdminOrderList=function(e){return o.default.get("admin/order/list",e,{login:!0})},t.getAdminRefundOrderDetail=function(e){return o.default.get("admin/refund_order/detail/"+e,{},{login:!0})},t.getLogistics=function(e){return o.default.get("logistics",e,{login:!1})},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.orderDeliveryInfo=function(){return o.default.get("admin/order/delivery_info")},t.orderExportTemp=function(e){return o.default.get("admin/order/export_temp",e)},t.orderOrderDelivery=function(){return o.default.get("admin/order/delivery")},t.orderRefund_order=function(e){return o.default.get("admin/refund_order/list",e,{login:!0})},t.orderVerific=function(e,t){return o.default.post("order/order_verific",{verify_code:e,is_confirm:t})},t.setAdminOrderDelivery=function(e,t){return o.default.post("admin/order/delivery/keep/"+e,t,{login:!0})},t.setAdminOrderPrice=function(e){return o.default.post("admin/order/price",e,{login:!0})},t.setAdminOrderRemark=function(e){return o.default.post("admin/order/remark",e,{login:!0})},t.setAdminRefundRemark=function(e){return o.default.post("admin/refund_order/remark",e,{login:!0})},t.setOfflinePay=function(e){return o.default.post("admin/order/offline",e,{login:!0})},t.setOrderRefund=function(e){return o.default.post("admin/order/refund",e,{login:!0})};var o=r(a("3160"))},cd9f:function(e,t,a){"use strict";a.r(t);var r=a("5035"),o=a.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t["default"]=o.a},fe65:function(e,t,a){"use strict";var r=a("3cad"),o=a.n(r);o.a}}]);