Apply-58b27b67.js 2.0 KB

1
  1. import{_ as S,__tla as k}from"./index.vue_vue_type_script_setup_true_lang-571824c6.js";import{r as s,f as D,z as Y,a as t,o as y,c as h,i as r,w as o,m as n,t as c,K as A,L as I,__tla as N}from"./index-1e808f2e.js";import{f as T,__tla as j}from"./formatTime-a348c3be.js";import{d as C,__tla as F}from"./spu-d8bf9472.js";import{u as H,__tla as M}from"./useMessage-5f9e8917.js";import{_ as P}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as U}from"./index-73afebcf.js";let v,K=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return M}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"}},v=P({__name:"Apply",props:{propFormData:{type:Object,default:()=>({})}},setup(w){H();const d=s(!0),f=s(0),p=s([]),e=D({pageNo:1,pageSize:10,productSpuApplyId:void 0}),x=w,g=async()=>{d.value=!0;try{const _=await C(e);p.value=_.list,f.value=_.total}finally{d.value=!1}};return Y(()=>{e.productSpuApplyId=x.propFormData.id,g()}),(_,l)=>{const i=A,b=I,z=S;return t(p).length>0?(y(),h("div",m,[r(b,{data:t(p),stripe:!0,"show-overflow-tooltip":!0},{default:o(()=>[r(i,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:o(a=>[n(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),r(i,{label:"\u5BA1\u6838\u65F6\u95F4",align:"center",prop:"createTime"},{default:o(a=>[n(c(t(T)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1}),r(i,{label:"\u5BA1\u6838\u5185\u5BB9",align:"center",prop:"checkComment"},{default:o(a=>[n(c(a.row.checkComment),1)]),_:1})]),_:1},8,["data"]),r(z,{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(),h("div",u," \u6682\u65E0\u7533\u8BF7\u8BB0\u5F55 "))}}},[["__scopeId","data-v-9b3b0c0d"]])});export{K as __tla,v as default};