(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6f7bdd33"],{"0b2d":function(e,r,t){"use strict";var a=function(){var e=this,r=e._self._c;return r("a-modal",{attrs:{title:"回收验收",width:400,visible:e.visible,confirmLoading:e.confirmLoading,maskClosable:!1,destroyOnClose:!0},on:{ok:e.handleSubmit,cancel:e.handleCancel}},[r("a-spin",{attrs:{spinning:e.confirmLoading}},[r("a-form",{attrs:{form:e.form}},[r("a-form-item",{attrs:{label:"实际回收价",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[r("a-input-number",{attrs:{min:0},model:{value:e.real_price,callback:function(r){e.real_price=r},expression:"real_price"}}),r("span",{staticClass:"ml-10"},[e._v("元")])],1)],1)],1)],1)},o=[],i=(t("d3b7"),t("daab")),n={components:{},props:{},data:function(){return{engineerList:[],title:"",labelCol:{span:7},order_id:"",wrapperCol:{span:13},real_price:0,visible:!1,confirmLoading:!1,form:this.$form.createForm(this)}},methods:{add:function(e){this.order_id=e.order_id,this.real_price=e.expect_price,this.visible=!0},handleSubmit:function(e){var r=this;e.preventDefault();var t=this.form.validateFields;t((function(e,t){e||(t.order_id=r.order_id,t.real_price=r.real_price,r.onFormSubmit(t))}))},handleCancel:function(){this.visible=!1,this.form.resetFields()},onFormSubmit:function(e){var r=this;this.confirmLoading=!0,i["e"]({form:e}).then((function(t){r.$message.success(t.message,1.5),r.handleCancel(),r.$emit("handleSubmit",e)})).finally((function(e){r.confirmLoading=!1}))}}},s=n,c=t("2877"),d=Object(c["a"])(s,a,o,!1,null,null,null);r["a"]=d.exports},"5ecc":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e._self._c;return r("div",[r("a-spin",{attrs:{spinning:e.isLoading}}),e.isLoading?e._e():r("div",{staticClass:"order-content"},[r("a-card",{staticClass:"mt-20",attrs:{bordered:!1}},[r("a-descriptions",{attrs:{title:"订单信息"}},[r("a-descriptions-item",{attrs:{label:"订单号"}},[e._v(e._s(e.record.order_no))]),r("a-descriptions-item",{attrs:{label:"期望价格"}},[e._v("¥"+e._s(e.record.expect_price))]),r("a-descriptions-item",{attrs:{label:"实际价格"}},[e._v("¥"+e._s(e.record.real_price))]),r("a-descriptions-item",{attrs:{label:"回收方式"}},[e._v(e._s(e.record.recovery_type_text))]),r("a-descriptions-item",{attrs:{label:"订单状态"}},[e._v(" "+e._s(e.record.order_status_text)+" ")]),r("a-descriptions-item",{attrs:{label:"买家信息"}},[r("a-tooltip",[r("template",{slot:"title"},[e._v("会员ID: "+e._s(e.record.user.user_id))]),r("span",{staticClass:"c-p"},[e._v(e._s(e.record.user.nick_name))])],2)],1),r("a-descriptions-item",{attrs:{label:"买家留言"}},[r("span",[e._v(e._s(e.record.remake?e.record.remake:"-"))])]),r("a-descriptions-item",{attrs:{label:"服务时间"}},[e._v(e._s(e.record.server_time))]),e.record.shipping_address?r("a-descriptions-item",{attrs:{label:"服务地址"}},[e._v(e._s(e.record.shipping_address))]):e._e(),r("a-descriptions-item",{attrs:{label:"联系人"}},[e._v(e._s(e.record.username))]),r("a-descriptions-item",{attrs:{label:"联系电话"}},[e._v(e._s(e.record.mobile))]),r("a-descriptions-item",{attrs:{label:"微信联系方式"}},[e._v(e._s(e.record.wx_account))]),10==e.record.order_status?r("a-descriptions-item",{attrs:{label:"订单操作"}},[10==e.record.order_status?r("a",{staticStyle:{"margin-right":"8px"},on:{click:function(r){return e.handleAcceptance(e.record)}}},[e._v("验收")]):e._e()]):e._e()],1)],1),r("a-card",{staticClass:"mt-20",attrs:{bordered:!1}},[r("a-descriptions",{attrs:{title:"回收信息",column:2}},[r("a-descriptions-item",{attrs:{label:"回收ID"}},[e._v(e._s(e.record.recovery_id))]),r("a-descriptions-item",{attrs:{label:"回收名称"}},[e._v(e._s(e.record.recovery_name))]),r("a-descriptions-item",{attrs:{label:"图片集"}},e._l(e.record.images,(function(e){return r("div",{key:e.id},[r("a",{attrs:{title:"点击查看原图",href:e.file.preview_url,target:"_blank"}},[r("img",{attrs:{width:"50",height:"50",src:e.file.preview_url,alt:"图片"}})])])})),0)],1)],1),e.record.shop?r("a-card",{staticClass:"mt-20",attrs:{bordered:!1}},[r("a-descriptions",{attrs:{title:"门店信息"}},[r("a-descriptions-item",{attrs:{label:"门店名称"}},[e._v(e._s(e.record.shop.shop_name))]),r("a-descriptions-item",{attrs:{label:"门店ID"}},[e._v(e._s(e.record.shop.shop_id))]),r("a-descriptions-item",{attrs:{label:"门店联系人"}},[e._v(e._s(e.record.shop.linkman))]),r("a-descriptions-item",{attrs:{label:"门店电话"}},[e._v(e._s(e.record.shop.phone))]),r("a-descriptions-item",{attrs:{label:"门店地址"}},[e._v(e._s(e.record.shop.full_address))]),r("a-descriptions-item",{attrs:{label:"门店营业时间"}},[e._v(e._s(e.record.shop.shop_hours))])],1)],1):e._e()],1),r("acceptance",{ref:"acceptance",on:{handleSubmit:e.handleRefresh}})],1)},o=[],i=(t("d3b7"),t("ca00")),n=t("daab"),s=t("0b2d"),c={name:"RecoveryOrderDetail",components:{Acceptance:s["a"]},data:function(){return{inArray:i["e"],isLoading:!0,orderId:null,record:{}}},created:function(){this.orderId=this.$route.query.orderId,this.handleRefresh()},methods:{handleRefresh:function(){this.getDetail()},handleAcceptance:function(e){this.$refs.acceptance.add(e)},getDetail:function(){var e=this,r=this.orderId;this.isLoading=!0,n["k"]({orderId:r}).then((function(r){e.record=r.data.detail})).finally((function(){return e.isLoading=!1}))},initData:function(){}}},d=c,l=(t("a349"),t("2877")),u=Object(l["a"])(d,a,o,!1,null,"1dbebebe",null);r["default"]=u.exports},a349:function(e,r,t){"use strict";t("aadc")},aadc:function(e,r,t){},daab:function(e,r,t){"use strict";t.d(r,"n",(function(){return i})),t.d(r,"b",(function(){return n})),t.d(r,"i",(function(){return s})),t.d(r,"g",(function(){return c})),t.d(r,"o",(function(){return d})),t.d(r,"d",(function(){return l})),t.d(r,"a",(function(){return u})),t.d(r,"h",(function(){return p})),t.d(r,"f",(function(){return m})),t.d(r,"l",(function(){return b})),t.d(r,"c",(function(){return _})),t.d(r,"m",(function(){return f})),t.d(r,"k",(function(){return v})),t.d(r,"e",(function(){return h})),t.d(r,"j",(function(){return y}));var a=t("b775"),o={categoryList:"/recovery/categoryList",addCategory:"/recovery/addCategory",editCategory:"/recovery/editCategory",deleteCategory:"/recovery/deleteCategory",recoveryList:"/recovery/recoveryList",addRecovery:"/recovery/addRecovery",editRecovery:"/recovery/editRecovery",deleteRecovery:"/recovery/deleteRecovery",recoveryStatus:"/recovery/recoveryStatus",recoveryDetail:"/recovery/recoveryDetail",orderList:"/recovery/orderList",cancelOrder:"/recovery/cancelOrder",orderStatus:"/recovery/orderStatus",orderDetail:"/recovery/orderDetail",orderDel:"/recovery/orderDel",completeOrder:"/recovery/completeOrder"};function i(e){return Object(a["b"])({url:o.recoveryList,method:"post",data:e})}function n(e){return Object(a["b"])({url:o.addRecovery,method:"post",data:e})}function s(e){return Object(a["b"])({url:o.editRecovery,method:"post",data:e})}function c(e){return Object(a["b"])({url:o.deleteRecovery,method:"post",data:e})}function d(e){return Object(a["b"])({url:o.recoveryStatus,method:"post",data:e})}function l(e){return Object(a["b"])({url:o.categoryList,method:"post",params:e})}function u(e){return Object(a["b"])({url:o.addCategory,method:"post",data:e})}function p(e){return Object(a["b"])({url:o.editCategory,method:"post",data:e})}function m(e){return Object(a["b"])({url:o.deleteCategory,method:"post",data:e})}function b(e){return Object(a["b"])({url:o.orderList,method:"post",data:e})}function _(e){return Object(a["b"])({url:o.cancelOrder,method:"post",data:e})}function f(e){return Object(a["b"])({url:o.orderStatus,method:"post",data:e})}function v(e){return Object(a["b"])({url:o.orderDetail,method:"post",data:e})}function h(e){return Object(a["b"])({url:o.completeOrder,method:"post",data:e})}function y(e){return Object(a["b"])({url:o.orderDel,method:"post",data:e})}}}]);