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.
2 lines
11 KiB
2 lines
11 KiB
11 months ago
|
import{$ as e,o as s,c as a,w as l,n as d,e as t,i as u,a as o,f as i,t as f,b as r,d as n,F as c,k as _,g as x,l as m,ah as p,I as g,U as b,a4 as A}from"./index-4ddb689d.js";import{A as h,R as v,a as E}from"./RefundType.055df00b.js";import{d as w,a as y}from"./refund.57dda06a.js";import{_ as I}from"./_plugin-vue_export-helper.1b428a4d.js";const k="express/list";const R=I({data:()=>({AuditStatusEnum:h,RefundStatusEnum:v,RefundTypeEnum:E,isLoading:!0,orderRefundId:null,detail:{},expressList:[],formData:{expressId:null,expressNo:""},expressIndex:-1,disabled:!1}),onLoad({orderRefundId:e}){this.orderRefundId=e,this.getPageData()},methods:{getPageData(){const e=this;e.isLoading=!0,Promise.all([e.getRefundDetail(),e.getExpressList()]).then((s=>{e.isLoading=!1}))},getRefundDetail(){const e=this;return new Promise(((s,a)=>{w(e.orderRefundId).then((a=>{e.detail=a.data.detail,s()})).catch(a)}))},getExpressList(){const s=this;return new Promise(((a,l)=>{var d;e.get(k,d).then((e=>{s.expressList=e.data.list,a()})).catch(l)}))},onGoodsDetail(e){this.$navTo("pages/goods/detail",{goodsId:e})},handlePreviewImages(e){const{detail:{images:s}}=this,a=s.map((e=>e.image_url));uni.previewImage({current:a[e],urls:a})},onChangeExpress(e){const s=e.detail.value,{expressList:a}=this;this.expressIndex=s,this.formData.expressId=a[s].express_id},onSubmit(){const e=this;if(!0===e.disabled)return!1;e.disabled=!0,y(e.orderRefundId,e.formData).then((s=>{e.$toast(s.message),setTimeout((()=>{e.disabled=!1,uni.navigateBack()}),1500)})).catch((s=>e.disabled=!1))}}},[["render",function(e,h,v,E,w,y){const I=x,k=u,R=m,D=p,P=g,j=b,L=A;return w.isLoading?t("",!0):(s(),a(k,{key:0,class:"container p-bottom",style:d(e.appThemeStyle)},{default:l((()=>[o(k,{class:"detail-header dis-flex flex-y-center"},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