Apply-0bed427f.js 2.0 KB

1
  1. import{_ as k,__tla as D}from"./index-e6cd813f.js";import{_ as S,r as i,g as A,z as Y,a as t,o as y,c as v,i as l,w as p,l as n,t as c,K as I,L as N,__tla as T}from"./index-2f799233.js";import{f as j,__tla as C}from"./formatTime-2157894c.js";import{e as F,__tla as H}from"./spu-980b34a1.js";import{u as M,__tla as P}from"./useMessage-e567ad40.js";import{__tla as U}from"./index-1c180a16.js";let h,K=Promise.all([(()=>{try{return D}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(w){M();const d=i(!0),f=i(0),o=i([]),e=A({pageNo:1,pageSize:10,productSpuApplyId:void 0}),x=w,g=async()=>{d.value=!0;try{const s=await F(e);o.value=s.list,f.value=s.total}finally{d.value=!1}};return Y(()=>{e.productSpuApplyId=x.propFormData.id,g()}),(s,r)=>{const _=I,z=N,b=k;return t(o).length>0?(y(),v("div",m,[l(z,{data:t(o),stripe:!0,"show-overflow-tooltip":!0},{default:p(()=>[l(_,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:p(a=>[n(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),l(_,{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}),l(_,{label:"\u5BA1\u6838\u5185\u5BB9",align:"center",prop:"checkComment"},{default:p(a=>[n(c(a.row.checkComment),1)]),_:1})]),_:1},8,["data"]),l(b,{total:t(f),page:t(e).pageNo,"onUpdate:page":r[0]||(r[0]=a=>t(e).pageNo=a),limit:t(e).pageSize,"onUpdate:limit":r[1]||(r[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-business/src/views/mall/product/spu/components/Apply.vue"]])});export{K as __tla,h as default};