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.
1 line
7.6 KiB
1 line
7.6 KiB
8 months ago
|
(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:{border
|