1 |
- import{_ as be,__tla as ge}from"./index-3118d255.js";import{d as we,Y as xe,K as Ve,r as c,u as Te,e as Ae,l as ke,Q as Se,o as _,c as i,g as u,a,v as m,w as o,F as f,q as b,P as Y,f as l,dE as Ne,R as k,x as le,a4 as Ee,O as Ue,n as C,au as De,t as y,aS as Re,e0 as Ye,at as Ce,a_ as ze,W as Fe,X as je,j as Me,C as Pe,V as He,A as Ke,y as Le,z as qe,B as Ie,E as Oe,i as We,D as Je,aT as Qe,p as Be,k as Xe,_ as Ge,__tla as Ze}from"./index-bd9277a1.js";import{E as $e,__tla as ea}from"./el-card-bc8cec83.js";import{h as aa,i as la,__tla as ta}from"./index-51b8eed1.js";import{d as S,D as g,b as ra,__tla as oa}from"./dict-4b2e9fd3.js";import{f as sa,__tla as ua}from"./formatTime-8639ba1a.js";import{__tla as _a}from"./index-b80ba4d7.js";import na,{__tla as ca}from"./AfterSaleTabs-1bffc6ae.js";import{__tla as ia}from"./index-49ecf2ef.js";import{__tla as pa}from"./el-image-viewer-995341ab.js";import{__tla as da}from"./ContentWrap-7c73ab26.js";import{__tla as ma}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5f6a2d0d.js";import{__tla as fa}from"./SPuUploadImg-ee64a5a4.js";import{__tla as ya}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-24a8f241.js";import{__tla as ha}from"./useMessage-274788d4.js";import{__tla as va}from"./Dialog-eba103da.js";import{__tla as ba}from"./AfterSaleBaseInfo-2aeff221.js";import{__tla as ga}from"./AfterSaleLog-703828bc.js";import{__tla as wa}from"./el-descriptions-item-2abce27d.js";import{__tla as xa}from"./el-timeline-item-ee30bc55.js";import{__tla as Va}from"./AfterSaleRetrun-9eb7ae8a.js";import{__tla as Ta}from"./AfterSaleInfo-303ded7a.js";import{__tla as Aa}from"./el-image-c6b72263.js";import{__tla as ka}from"./AfterSaleSpuInfo-4d7ad7f3.js";import{__tla as Sa}from"./AfterSaleDisagreeForm-f07d02c9.js";let te,Na=Promise.all([(()=>{try{return ge}catch{}})(),(()=>{try{return Ze}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return xa}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return Ta}catch{}})(),(()=>{try{return Aa}catch{}})(),(()=>{try{return ka}catch{}})(),(()=>{try{return Sa}catch{}})()]).then(async()=>{let z,F,j,M,P,H,K,L,q,I,O,W;z={class:"search"},F={style:{"text-align":"right"},class:"search-input"},j={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"5px"}},M=["title"],P=["onClick"],H={style:{display:"flex"}},K={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"],q={style:{"line-height":"25px"}},I={key:0},O=[(w=>(Be("data-v-1f1e0589"),w=w(),Xe(),w))(()=>u("p",{style:{"text-align":"center","margin-top":"100px"}},"\u6682\u65E0\u552E\u540E\u9000\u6B3E",-1))],W=we({name:"TradeAfterSale",__name:"index",setup(w){const re=xe(),x=Ve(()=>re.getMobile),V=c(!1),oe=()=>{V.value=!V.value},N=()=>{V.value=!1},J=c(),Q=(s,t)=>{if(x.value){const d=JSON.stringify(t);se({name:"AfterSaleMobileTab",query:{type:s,obj:d}})}else J.value.open(s,t)},{push:se}=Te(),E=c(!0),B=c(0),U=c([]),X=c([]),G=c(),D=c(""),r=Ae({pageNo:1,pageSize:10,no:void 0,status:"10",orderNo:void 0,spuName:void 0,createTime:[],way:void 0,type:void 0,shopIds:[]}),h=async()=>{E.value=!0;try{const s=ze(r);s.status==="0"&&delete s.status;const t=await aa(s);U.value=t.list,B.value=t.total}finally{E.value=!1}},p=async()=>{r.pageNo=1,await h(),N()};let Z=null;const ue=async s=>{clearTimeout(Z),Z=setTimeout(()=>{(async t=>{E.value=!0;const d=await la(t);r.shopIds=d,console.log(d)})(s)},1e3)},_e=()=>{var s;(s=G.value)==null||s.resetFields(),N(),p()},ne=async s=>{r.status=s.paneName,await h()};return ke(async()=>{await h();for(const s of S(g.TRADE_AFTER_SALE_STATUS))X.value.push({label:s.label,value:s.value})}),(s,t)=>{const d=Fe,ce=je,$=Me,T=Pe,v=He,n=Ke,A=Le,R=qe,ie=Ie,ee=Oe,ae=We,pe=Je,de=Qe,me=$e,fe=be,ye=Se("hasPermi");return _(),i(f,null,[u("div",z,[a(x)?Y("",!0):(_(),m(ce,{key:0,modelValue:a(r).status,"onUpdate:modelValue":t[0]||(t[0]=e=>a(r).status=e),class:"parent-tabs",onTabClick:ne},{default:o(()=>[(_(!0),i(f,null,b(a(X),e=>(_(),m(d,{key:e.label,label:e.label,name:e.value},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])),u("div",F,[l(v,{modelValue:a(r).orderNo,"onUpdate:modelValue":t[1]||(t[1]=e=>a(r).orderNo=e),placeholder:"\u8BA2\u5355\u7F16\u53F7",onKeyup:k(p,["enter"])},{suffix:o(()=>[l($,{class:"mr-5px",icon:"ep:search",onClick:p,style:{cursor:"pointer"}})]),append:o(()=>[l(T,{icon:a(Ne),onClick:oe},null,8,["icon"])]),_:1},8,["modelValue"])])]),le(u("div",{class:"searchMore",style:De({width:a(x)?"83.7%":"96%"})},[l(pe,{ref_key:"queryFormRef",ref:G,inline:!0,model:a(r),"label-width":"68px"},{default:o(()=>[l(n,{label:"\u5546\u54C1\u540D\u79F0",prop:"spuName"},{default:o(()=>[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:k(p,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u9000\u6B3E\u7F16\u53F7",prop:"no"},{default:o(()=>[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:k(p,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"orderNo"},{default:o(()=>[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:k(p,["enter"])},null,8,["modelValue"])]),_:1}),l(n,{label:"\u552E\u540E\u72B6\u6001",prop:"status"},{default:o(()=>[l(R,{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:o(()=>[l(A,{label:"\u5168\u90E8",value:"0"}),(_(!0),i(f,null,b(a(S)(a(g).TRADE_AFTER_SALE_STATUS),e=>(_(),m(A,{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:o(()=>[l(R,{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:o(()=>[(_(!0),i(f,null,b(a(S)(a(g).TRADE_AFTER_SALE_WAY),e=>(_(),m(A,{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:o(()=>[l(R,{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:o(()=>[(_(!0),i(f,null,b(a(S)(a(g).TRADE_AFTER_SALE_TYPE),e=>(_(),m(A,{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:o(()=>[l(ie,{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(n,{label:"\u5E97\u94FA\u540D\u79F0"},{default:o(()=>[l(v,{modelValue:a(D),"onUpdate:modelValue":t[9]||(t[9]=e=>Ue(D)?D.value=e:null),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5E97\u94FA\u540D\u79F0",onInput:ue},null,8,["modelValue"])]),_:1}),l(ae,null,{default:o(()=>[l(ee,null,{default:o(()=>[l(n,null,{default:o(()=>[l(T,{onClick:N},{default:o(()=>[C(" \u6536\u8D77 ")]),_:1}),l(T,{onClick:_e},{default:o(()=>[C(" \u91CD\u7F6E ")]),_:1}),l(T,{onClick:p,plain:"",type:"primary"},{default:o(()=>[l($,{class:"mr-5px",icon:"ep:search"}),C(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[Ee,a(V)]]),l(ae,null,{default:o(()=>[(_(!0),i(f,null,b(a(U),(e,he)=>(_(),m(ee,{class:"card",key:he,span:7,xl:7,lg:7,md:7,sm:24,xs:24},{default:o(()=>[l(me,{onClick:ve=>Q("view",e)},{default:o(()=>[u("div",j,[u("p",{style:{width:"100%","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden","font-size":"16px",color:"#000"},title:e.spuName},y(e.spuName),9,M),a(x)?Y("",!0):le((_(),i("div",{key:0,class:"setting",onClick:Re(ve=>Q("update",e),["stop"])},[l(de,{size:"20",color:"rgb(220 223 231)"},{default:o(()=>[l(a(Ye))]),_:1})],8,P)),[[ye,["system:user:update"]]])]),u("div",H,[u("div",K,[u("img",{src:e.picUrl,style:{width:"100%",height:"100%","object-fit":"cover","object-position":"center"}},null,8,L)]),u("div",q,[u("p",null,"\uFFE5"+y(a(Ce)(e.refundPrice)),1),u("p",null,y(e.orderNo),1),u("p",null,y(e.user.nickname),1),u("p",null,y(a(ra)(a(g).TRADE_AFTER_SALE_WAY,e.way)),1),u("p",null,y(a(sa)(e.createTime,"YYYY-MM-DD HH:mm")),1)])])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),a(U).length==0?(_(),i("div",I,[...O])):Y("",!0),l(fe,{limit:a(r).pageSize,"onUpdate:limit":t[10]||(t[10]=e=>a(r).pageSize=e),page:a(r).pageNo,"onUpdate:page":t[11]||(t[11]=e=>a(r).pageNo=e),total:a(B),onPagination:h},null,8,["limit","page","total"]),l(na,{ref_key:"AfterSaleTabsRef",ref:J,onSuccess:h},null,512)],64)}}}),te=Ge(W,[["__scopeId","data-v-1f1e0589"],["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/mall/trade/afterSale/index.vue"]])});export{Na as __tla,te as default};
|