Apply-6360d92c.js 2.0 KB

1
  1. import{_ as b,__tla as A}from"./index-e6a7fd1e.js";import{_ as S,r as i,x as Y,b as k,a as t,o as y,c as v,f as r,A as p,D as n,E as c,X as I,Y as N,__tla as T}from"./index-54aa57d8.js";import{f as j,__tla as C}from"./formatTime-e6197688.js";import{f as F,__tla as H}from"./spu-b4744276.js";import{u as M,__tla as P}from"./useMessage-f56cafbb.js";import{__tla as U}from"./index-254a9b5e.js";let h,E=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return U}catch{}})()]).then(async()=>{let m,u;m={key:0,style:{"margin-top":"10px",padding:"10px"}},u={key:1,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},h=S({__name:"Apply",props:{propFormData:{type:Object,default:()=>({})}},setup(x){M();const d=i(!0),f=i(0),o=i([]),e=Y({pageNo:1,pageSize:10,productSpuApplyId:void 0}),w=x,g=async()=>{d.value=!0;try{const s=await F(e);o.value=s.list,f.value=s.total}finally{d.value=!1}};return k(()=>{e.productSpuApplyId=w.propFormData.id,g()}),(s,l)=>{const _=I,z=N,D=b;return t(o).length>0?(y(),v("div",m,[r(z,{data:t(o),stripe:!0,"show-overflow-tooltip":!0},{default:p(()=>[r(_,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:p(a=>[n(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),r(_,{label:"\u5BA1\u6838\u65F6\u95F4",align:"center",prop:"createTime"},{default:p(a=>[n(c(t(j)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1}),r(_,{label:"\u5BA1\u6838\u5185\u5BB9",align:"center",prop:"checkComment"},{default:p(a=>[n(c(a.row.checkComment),1)]),_:1})]),_:1},8,["data"]),r(D,{total:t(f),page:t(e).pageNo,"onUpdate:page":l[0]||(l[0]=a=>t(e).pageNo=a),limit:t(e).pageSize,"onUpdate:limit":l[1]||(l[1]=a=>t(e).pageSize=a),onPagination:g},null,8,["total","page","limit"])])):(y(),v("div",u," \u6682\u65E0\u7533\u8BF7\u8BB0\u5F55 "))}}},[["__scopeId","data-v-edad38c5"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/product/spu/components/Apply.vue"]])});export{E as __tla,h as default};