1 |
- import{d as Z,u as $,r as v,f as ee,B as ae,o as s,c as i,i as a,w as t,a as l,Q as S,F as m,k as w,l as c,j as h,C as le,t as f,g,aq as te,aJ as re,U as ue,H as oe,D as se,G as ne,I as pe,v as de,J as _e,K as ie,z as me,A as ce,L as fe,ak as ye,M as be,N as ve,_ as we,__tla as he}from"./index-afaf388d.js";import{_ as Te,__tla as Ae}from"./index-89d02e79.js";import{_ as Ve,__tla as ge}from"./DictTag-3a1a976c.js";import{E as ke,__tla as xe}from"./el-image-caa301d0.js";import{__tla as Ee}from"./el-image-viewer-9330e340.js";import{_ as Ne,__tla as Se}from"./ContentWrap-abe0694e.js";import{e as Ue,__tla as De}from"./index-ab8203cb.js";import{d as k,D as y,__tla as Re}from"./dict-0449a0a1.js";import{f as Ce,__tla as Fe}from"./formatTime-42952e7f.js";import{c as Le,__tla as Ye}from"./index-6149057d.js";import{__tla as ze}from"./index-0eed91e1.js";import"./color-6e929987.js";import{__tla as Pe}from"./el-card-9c18d881.js";let I,He=Promise.all([(()=>{try{return he}catch{}})(),(()=>{try{return Ae}catch{}})(),(()=>{try{return ge}catch{}})(),(()=>{try{return xe}catch{}})(),(()=>{try{return Ee}catch{}})(),(()=>{try{return Se}catch{}})(),(()=>{try{return De}catch{}})(),(()=>{try{return Re}catch{}})(),(()=>{try{return Fe}catch{}})(),(()=>{try{return Ye}catch{}})(),(()=>{try{return ze}catch{}})(),(()=>{try{return Pe}catch{}})()]).then(async()=>{let U,D;U={class:"flex items-center"},D={class:"mr-10px"},I=we(Z({name:"TradeAfterSale",__name:"index",setup(Ie){const{push:R}=$(),x=v(!0),C=v(0),F=v([]),L=v([{label:"\u5168\u90E8",value:"0"}]),Y=v(),r=ee({pageNo:1,pageSize:10,no:null,status:"0",orderNo:null,spuName:null,createTime:[],way:null,type:null}),T=async()=>{x.value=!0;try{const o=re(r);o.status==="0"&&delete o.status;const u=await Ue(o);F.value=u.list,C.value=u.total}finally{x.value=!1}},b=async()=>{r.pageNo=1,await T()},K=()=>{var o;(o=Y.value)==null||o.resetFields(),b()},q=async o=>{r.status=o.paneName,await T()};return ae(async()=>{await T();for(const o of k(y.TRADE_AFTER_SALE_STATUS))L.value.push({label:o.label,value:o.value})}),(o,u)=>{const E=ue,p=oe,A=se,N=ne,M=pe,z=de,V=_e,J=ie,P=Ne,W=me,j=ce,n=fe,B=ke,G=ye,H=Ve,O=be,Q=Te,X=ve;return s(),i(m,null,[a(P,null,{default:t(()=>[a(J,{ref_key:"queryFormRef",ref:Y,inline:!0,model:l(r),"label-width":"68px"},{default:t(()=>[a(p,{label:"\u5546\u54C1\u540D\u79F0",prop:"spuName"},{default:t(()=>[a(E,{modelValue:l(r).spuName,"onUpdate:modelValue":u[0]||(u[0]=e=>l(r).spuName=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1 SPU \u540D\u79F0",onKeyup:S(b,["enter"])},null,8,["modelValue"])]),_:1}),a(p,{label:"\u9000\u6B3E\u7F16\u53F7",prop:"no"},{default:t(()=>[a(E,{modelValue:l(r).no,"onUpdate:modelValue":u[1]||(u[1]=e=>l(r).no=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u9000\u6B3E\u7F16\u53F7",onKeyup:S(b,["enter"])},null,8,["modelValue"])]),_:1}),a(p,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"orderNo"},{default:t(()=>[a(E,{modelValue:l(r).orderNo,"onUpdate:modelValue":u[2]||(u[2]=e=>l(r).orderNo=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7",onKeyup:S(b,["enter"])},null,8,["modelValue"])]),_:1}),a(p,{label:"\u552E\u540E\u72B6\u6001",prop:"status"},{default:t(()=>[a(N,{modelValue:l(r).status,"onUpdate:modelValue":u[3]||(u[3]=e=>l(r).status=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u72B6\u6001"},{default:t(()=>[a(A,{label:"\u5168\u90E8",value:"0"}),(s(!0),i(m,null,w(l(k)(l(y).TRADE_AFTER_SALE_STATUS),e=>(s(),c(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(p,{label:"\u552E\u540E\u65B9\u5F0F",prop:"way"},{default:t(()=>[a(N,{modelValue:l(r).way,"onUpdate:modelValue":u[4]||(u[4]=e=>l(r).way=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u65B9\u5F0F"},{default:t(()=>[(s(!0),i(m,null,w(l(k)(l(y).TRADE_AFTER_SALE_WAY),e=>(s(),c(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(p,{label:"\u552E\u540E\u7C7B\u578B",prop:"type"},{default:t(()=>[a(N,{modelValue:l(r).type,"onUpdate:modelValue":u[5]||(u[5]=e=>l(r).type=e),class:"!w-280px",clearable:"",placeholder:"\u8BF7\u9009\u62E9\u552E\u540E\u7C7B\u578B"},{default:t(()=>[(s(!0),i(m,null,w(l(k)(l(y).TRADE_AFTER_SALE_TYPE),e=>(s(),c(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(p,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(M,{modelValue:l(r).createTime,"onUpdate:modelValue":u[6]||(u[6]=e=>l(r).createTime=e),"default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-260px","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}),a(p,null,{default:t(()=>[a(V,{onClick:b},{default:t(()=>[a(z,{class:"mr-5px",icon:"ep:search"}),h(" \u641C\u7D22 ")]),_:1}),a(V,{onClick:K},{default:t(()=>[a(z,{class:"mr-5px",icon:"ep:refresh"}),h(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(P,null,{default:t(()=>[a(j,{modelValue:l(r).status,"onUpdate:modelValue":u[7]||(u[7]=e=>l(r).status=e),onTabClick:q},{default:t(()=>[(s(!0),i(m,null,w(l(L),e=>(s(),c(W,{key:e.label,label:e.label,name:e.value},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),le((s(),c(O,{data:l(F)},{default:t(()=>[a(n,{align:"center",label:"\u9000\u6B3E\u7F16\u53F7","min-width":"200",prop:"no"}),a(n,{align:"center",label:"\u8BA2\u5355\u7F16\u53F7","min-width":"200",prop:"orderNo"},{default:t(({row:e})=>[a(V,{link:"",type:"primary",onClick:_=>{return d=e.orderId,void R({name:"TradeOrderDetail",params:{orderId:d}});var d}},{default:t(()=>[h(f(e.orderNo),1)]),_:2},1032,["onClick"])]),_:1}),a(n,{label:"\u5546\u54C1\u4FE1\u606F","min-width":"600",prop:"spuName"},{default:t(({row:e})=>[g("div",U,[a(B,{src:e.picUrl,class:"mr-10px h-30px w-30px",onClick:_=>{return d=e.picUrl,void Le({urlList:[d]});var d}},null,8,["src","onClick"]),g("span",D,f(e.spuName),1),(s(!0),i(m,null,w(e.properties,_=>(s(),c(G,{key:_.propertyId,class:"mr-10px"},{default:t(()=>[h(f(_.propertyName)+": "+f(_.valueName),1)]),_:2},1024))),128))])]),_:1}),a(n,{align:"center",label:"\u8BA2\u5355\u91D1\u989D",prop:"refundPrice"},{default:t(e=>[g("span",null,f(l(te)(e.row.refundPrice))+" \u5143",1)]),_:1}),a(n,{align:"center",label:"\u4E70\u5BB6",prop:"user.nickname"}),a(n,{align:"center",label:"\u7533\u8BF7\u65F6\u95F4",prop:"createTime",width:"180"},{default:t(e=>[g("span",null,f(l(Ce)(e.row.createTime)),1)]),_:1}),a(n,{align:"center",label:"\u552E\u540E\u72B6\u6001",width:"100"},{default:t(e=>[a(H,{type:l(y).TRADE_AFTER_SALE_STATUS,value:e.row.status},null,8,["type","value"])]),_:1}),a(n,{align:"center",label:"\u552E\u540E\u65B9\u5F0F"},{default:t(e=>[a(H,{type:l(y).TRADE_AFTER_SALE_WAY,value:e.row.way},null,8,["type","value"])]),_:1}),a(n,{align:"center",fixed:"right",label:"\u64CD\u4F5C",width:"160"},{default:t(({row:e})=>[a(V,{link:"",type:"primary",onClick:_=>{return d=e.id,void R({name:"TradeAfterSaleDetail",params:{id:d}});var d}},{default:t(()=>[h("\u5904\u7406\u9000\u6B3E")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[X,l(x)]]),a(Q,{limit:l(r).pageSize,"onUpdate:limit":u[8]||(u[8]=e=>l(r).pageSize=e),page:l(r).pageNo,"onUpdate:page":u[9]||(u[9]=e=>l(r).pageNo=e),total:l(C),onPagination:T},null,8,["limit","page","total"])]),_:1})],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/trade/afterSale/index.vue"]])});export{He as __tla,I as default};
|