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.
yanzong/public/js/chunk-6f7bdd33.583147aa.js

1 line
7.7 KiB

6 months ago
(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:{border