Apply-5944ff88.js 2.0 KB

1
  1. import{_ as S,__tla as k}from"./index.vue_vue_type_script_setup_true_lang-53598c8e.js";import{r as i,x as z,b as A,a as t,o as y,c as h,f as r,A as o,D as n,E as c,W as Y,X as I,__tla as N}from"./index-f65577b8.js";import{f as T,__tla as j}from"./formatTime-411ed1a1.js";import{f as C,__tla as F}from"./spu-f470600f.js";import{u as H,__tla as M}from"./useMessage-4dbf0ae4.js";import{_ as P}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as U}from"./index-1896261a.js";let v,E=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(b){H();const d=i(!0),f=i(0),p=i([]),e=z({pageNo:1,pageSize:10,productSpuApplyId:void 0}),x=b,g=async()=>{d.value=!0;try{const _=await C(e);p.value=_.list,f.value=_.total}finally{d.value=!1}};return A(()=>{e.productSpuApplyId=x.propFormData.id,g()}),(_,l)=>{const s=Y,w=I,D=S;return t(p).length>0?(y(),h("div",m,[r(w,{data:t(p),stripe:!0,"show-overflow-tooltip":!0},{default:o(()=>[r(s,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:o(a=>[n(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),r(s,{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(s,{label:"\u5BA1\u6838\u5185\u5BB9",align:"center",prop:"checkComment"},{default:o(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(),h("div",u," \u6682\u65E0\u7533\u8BF7\u8BB0\u5F55 "))}}},[["__scopeId","data-v-9b3b0c0d"]])});export{E as __tla,v as default};