1 |
- import{_ as D,__tla as S}from"./index.vue_vue_type_script_setup_true_lang-cf2a6735.js";import{r as i,x as k,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-1f518666.js";import{f as T,__tla as j}from"./formatTime-a4909bb5.js";import{f as C,__tla as F}from"./spu-7f489e39.js";import{u as H,__tla as M}from"./useMessage-633c11d2.js";import{_ as P}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as U}from"./index-a37b14c7.js";let v,E=Promise.all([(()=>{try{return S}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(x){H();const d=i(!0),f=i(0),p=i([]),e=k({pageNo:1,pageSize:10,productSpuApplyId:void 0}),b=x,g=async()=>{d.value=!0;try{const _=await C(e);p.value=_.list,f.value=_.total}finally{d.value=!1}};return A(()=>{e.productSpuApplyId=b.propFormData.id,g()}),(_,l)=>{const s=Y,w=I,z=D;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(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{E as __tla,v as default};
|