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