1 |
- import{_ as ye,__tla as he}from"./index.vue_vue_type_script_setup_true_lang-5730b053.js";import{d as be,X as ve,J as ge,r as i,u as we,e as xe,k as Ve,P as Te,o as _,c as p,g as u,a,q as d,w as s,F as m,n as h,O as R,f as l,e4 as Ae,Q as A,v as ee,a3 as ke,m as D,at as Ne,t as f,aR as Se,dZ as Ee,as as Ue,aZ as Re,V as De,W as Ce,_ as Ye,B as Fe,U as je,z as Me,x as Pe,y as ze,A as Le,E as Ke,i as Oe,C as We,aS as qe,p as Je,j as He,__tla as Ze}from"./index-2eab2d23.js";import{E as Be,__tla as Ge}from"./el-card-c558f0ec.js";import{e as Ie,__tla as Qe}from"./index-ba3cbabb.js";import{d as k,D as b,b as Xe,__tla as $e}from"./dict-1ad71b6f.js";import{f as ea,__tla as aa}from"./formatTime-41155543.js";import{__tla as la}from"./index-d3f876ab.js";import{_ as ta,__tla as ra}from"./AfterSaleTabs.vue_vue_type_style_index_0_lang-46835ade.js";import{_ as sa}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as oa}from"./index-cc63c3c4.js";import{__tla as ua}from"./el-image-viewer-5d14bc77.js";import{__tla as _a}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{__tla as na}from"./SPuUploadImg-4b5016f1.js";import{__tla as pa}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-4db00aa5.js";import{__tla as ca}from"./useMessage-171aa63e.js";import{__tla as ia}from"./Dialog-c2716df6.js";import{__tla as da}from"./AfterSaleBaseInfo-b73adde0.js";import{__tla as ma}from"./AfterSaleLog-dcd3f9f7.js";import{__tla as fa}from"./el-descriptions-item-fd42286f.js";import{__tla as ya}from"./el-timeline-item-eddfdd2c.js";import{__tla as ha}from"./AfterSaleRetrun-76d376fd.js";import{__tla as ba}from"./AfterSaleInfo-d62a2266.js";import{__tla as va}from"./el-image-2171f3ff.js";import{__tla as ga}from"./AfterSaleSpuInfo-10d3d58e.js";import{__tla as wa}from"./AfterSaleDisagreeForm.vue_vue_type_script_setup_true_lang-d71824d8.js";let ae,xa=Promise.all([(()=>{try{return he}catch{}})(),(()=>{try{return Ze}catch{}})(),(()=>{try{return Ge}catch{}})(),(()=>{try{return Qe}catch{}})(),(()=>{try{return $e}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return wa}catch{}})()]).then(async()=>{let C,Y,F,j,M,P,z,L,K,O,W,q;C={class:"search"},Y={style:{"text-align":"right"},class:"search-input"},F={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"5px"}},j=["title"],M=["onClick"],P={style:{display:"flex"}},z={style:{width:"216px",height:"122px","margin-right":"10px",border:"1px solid rgb(220, 223, 231)","border-radius":"5px",display:"flex","align-items":"center","justify-content":"center",overflow:"hidden"}},L=["src"],K={style:{"line-height":"25px"}},O={key:0},W=[(v=>(Je("data-v-3cff5563"),v=v(),He(),v))(()=>u("p",{style:{"text-align":"center","margin-top":"100px"}},"\u6682\u65E0\u552E\u540E\u9000\u6B3E",-1))],q=be({name:"TradeAfterSale",__name:"index",setup(v){const le=ve(),g=ge(()=>le.getMobile),w=i(!1),te=()=>{w.value=!w.value},N=()=>{w.value=!1},J=i(),H=(o,t)=>{if(g.value){const E=JSON.stringify(t);re({name:"AfterSaleMobileTab",query:{type:o,obj:E}})}else J.value.open(o,t)},{push:re}=we(),Z=i(!0),B=i(0),S=i([]),G=i([]),I=i(),r=xe({pageNo:1,pageSize:10,no:null,status:"10",orderNo:null,spuName:null,createTime:[],way:null,type:null}),y=async()=>{Z.value=!0;try{const o=Re(r);o.status==="0"&&delete o.status;const t=await Ie(o);S.value=t.list,B.value=t.total}finally{Z.value=!1}},c=async()=>{r.pageNo=1,await y(),N()},se=()=>{var o;(o=I.value)==null||o.resetFields(),N(),c()},oe=async o=>{r.status=o.paneName,await y()};return Ve(async()=>{await y();for(const o of k(b.TRADE_AFTER_SALE_STATUS))G.value.push({label:o.label,value:o.value})}),(o,t)=>{const E=De,ue=Ce,Q=Ye,x=Fe,V=je,n=Me,T=Pe,U=ze,_e=Le,X=Ke,$=Oe,ne=We,pe=qe,ce=Be,ie=ye,de=Te("hasPermi");return _(),p(m,null,[u("div",C,[a(g)?R("",!0):(_(),d(ue,{key:0,modelValue:a(r).status,"onUpdate:modelValue":t[0]||(t[0]=e=>a(r).status=e),class:"parent-tabs",onTabClick:oe},{default:s(()=>[(_(!0),p(m,null,h(a(G),e=>(_(),d(E,{key:e.label,label:e.label,name:e.value},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])),u("div",Y,[l(V,{modelValue:a(r).orderNo,"onUpdate:modelValue":t[1]||(t[1]=e=>a(r).orderNo=e),placeholder:"\u8BA2\u5355\u7F16\u53F7",onKeyup:A(c,["enter"])},{suffix:s(()=>[l(Q,{class:"mr-5px",icon:"ep:search",onClick:c,style:{cursor:"pointer"}})]),append:s(()=>[l(x,{icon:a(Ae),onClick:te},null,8,["icon"])]),_:1},8,["modelValue"])])]),ee(u("div",{class:"searchMore",style:Ne({width:a(g)?"83.7%":"96%"})},[l(ne,{ref_key:"queryFormRef",ref:I,inline:!0,model:a(r),"label-width":"68px"},{default:s(()=>[l(n,{label:"\u5546\u54C1\u540D\u79F0",prop:"spuName"},{default:s(()=>[l(V,{modelValue:a(r).spuName,"onUpdate:modelValue":t[2]||(t[2]=e=>a(r).spuName=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1 SPU \u540D\u79F0",onKeyup:A(c,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u9000\u6B3E\u7F16\u53F7",prop:"no"},{default:s(()=>[l(V,{modelValue:a(r).no,"onUpdate:modelValue":t[3]||(t[3]=e=>a(r).no=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9000\u6B3E\u7F16\u53F7",onKeyup:A(c,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"orderNo"},{default:s(()=>[l(V,{modelValue:a(r).orderNo,"onUpdate:modelValue":t[4]||(t[4]=e=>a(r).orderNo=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7",onKeyup:A(c,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u552E\u540E\u72B6\u6001",prop:"status"},{default:s(()=>[l(U,{modelValue:a(r).status,"onUpdate:modelValue":t[5]||(t[5]=e=>a(r).status=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u72B6\u6001"},{default:s(()=>[l(T,{label:"\u5168\u90E8",value:"0"}),(_(!0),p(m,null,h(a(k)(a(b).TRADE_AFTER_SALE_STATUS),e=>(_(),d(T,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(n,{label:"\u552E\u540E\u65B9\u5F0F",prop:"way"},{default:s(()=>[l(U,{modelValue:a(r).way,"onUpdate:modelValue":t[6]||(t[6]=e=>a(r).way=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u65B9\u5F0F"},{default:s(()=>[(_(!0),p(m,null,h(a(k)(a(b).TRADE_AFTER_SALE_WAY),e=>(_(),d(T,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(n,{label:"\u552E\u540E\u7C7B\u578B",prop:"type"},{default:s(()=>[l(U,{modelValue:a(r).type,"onUpdate:modelValue":t[7]||(t[7]=e=>a(r).type=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u7C7B\u578B"},{default:s(()=>[(_(!0),p(m,null,h(a(k)(a(b).TRADE_AFTER_SALE_TYPE),e=>(_(),d(T,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(n,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:s(()=>[l(_e,{modelValue:a(r).createTime,"onUpdate:modelValue":t[8]||(t[8]=e=>a(r).createTime=e),"default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-220px","end-placeholder":"\u81EA\u5B9A\u4E49\u65F6\u95F4","start-placeholder":"\u81EA\u5B9A\u4E49\u65F6\u95F4",type:"daterange","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","default-time"])]),_:1}),l($,null,{default:s(()=>[l(X,null,{default:s(()=>[l(n,null,{default:s(()=>[l(x,{onClick:N},{default:s(()=>[D(" \u6536\u8D77 ")]),_:1}),l(x,{onClick:se},{default:s(()=>[D(" \u91CD\u7F6E ")]),_:1}),l(x,{onClick:c,plain:"",type:"primary"},{default:s(()=>[l(Q,{class:"mr-5px",icon:"ep:search"}),D(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[ke,a(w)]]),l($,null,{default:s(()=>[(_(!0),p(m,null,h(a(S),(e,me)=>(_(),d(X,{class:"card",key:me,span:7,xl:7,lg:7,md:7,sm:24,xs:24},{default:s(()=>[l(ce,{onClick:fe=>H("view",e)},{default:s(()=>[u("div",F,[u("p",{style:{width:"100%","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden","font-size":"16px",color:"#000"},title:e.spuName},f(e.spuName),9,j),a(g)?R("",!0):ee((_(),p("div",{key:0,class:"setting",onClick:Se(fe=>H("update",e),["stop"])},[l(pe,{size:"20",color:"rgb(220 223 231)"},{default:s(()=>[l(a(Ee))]),_:1})],8,M)),[[de,["system:user:update"]]])]),u("div",P,[u("div",z,[u("img",{src:e.picUrl,style:{width:"100%",height:"100%","object-fit":"cover","object-position":"center"}},null,8,L)]),u("div",K,[u("p",null,"\uFFE5"+f(a(Ue)(e.refundPrice)),1),u("p",null,f(e.orderNo),1),u("p",null,f(e.user.nickname),1),u("p",null,f(a(Xe)(a(b).TRADE_AFTER_SALE_WAY,e.way)),1),u("p",null,f(a(ea)(e.createTime,"YYYY/MM/DD hh:mm")),1)])])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a(S).length==0?(_(),p("div",O,W)):R("",!0),l(ie,{limit:a(r).pageSize,"onUpdate:limit":t[9]||(t[9]=e=>a(r).pageSize=e),page:a(r).pageNo,"onUpdate:page":t[10]||(t[10]=e=>a(r).pageNo=e),total:a(B),onPagination:y},null,8,["limit","page","total"]),l(ta,{ref_key:"AfterSaleTabsRef",ref:J,onSuccess:y},null,512)],64)}}}),ae=sa(q,[["__scopeId","data-v-3cff5563"]])});export{xa as __tla,ae as default};
|