index-e29cd6b0.js 5.2 KB

1
  1. import{d as q,Y as B,K as J,r as d,h as L,e as O,l as Q,o as k,c as W,g as v,f as e,w as r,a,dE as X,R as f,x as K,a4 as Z,n as p,au as $,v as ee,t as x,e9 as A,F as ae,j as le,C as te,V as re,A as oe,B as se,E as de,i as pe,D as ne,G as ce,H as ie,I as ue,_ as _e,__tla as me}from"./index-7db069d5.js";import{_ as fe,__tla as he}from"./ContentWrap-4a402efa.js";import{_ as ye,__tla as ge}from"./index-ccb080b4.js";import{d as ve,__tla as xe}from"./formatTime-4c85479f.js";import{P as Ae,a as we,__tla as be}from"./PtProfitForm-9bb4a002.js";import{u as Ve,__tla as Te}from"./useMessage-146fa796.js";import{__tla as Pe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-4f367f62.js";import{__tla as ke}from"./el-card-52ebe6e4.js";import{__tla as Ke}from"./index-24cab227.js";import{__tla as Ue}from"./Dialog-14642b7a.js";let U,Ce=Promise.all([(()=>{try{return me}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ge}catch{}})(),(()=>{try{return xe}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return Ke}catch{}})(),(()=>{try{return Ue}catch{}})()]).then(async()=>{let w,b;w={class:"search-one"},b={style:{"text-align":"right"},class:"search-input"},U=_e(q({name:"PtProfit",__name:"index",setup(De){const C=B(),D=J(()=>C.getMobile),i=d(!1),G=()=>{i.value=!i.value},z=()=>{i.value=!1};Ve(),L();const h=d(!0),V=d([]),T=d(0),t=O({pageNo:1,pageSize:10,ptAdd:void 0,ptGrossAdd:void 0,ptTotalAdd:void 0,createTime:[]}),P=d();d(!1);const u=async()=>{console.log(t),h.value=!0;try{const y=await we.getPtProfitPage(t);V.value=y.list,T.value=y.total}finally{h.value=!1}},s=()=>{t.pageNo=1,u()},S=()=>{P.value.resetFields(),s()},Y=d();return Q(()=>{u()}),(y,o)=>{const g=le,_=te,m=re,n=oe,H=se,M=de,N=pe,F=ne,c=ce,I=ie,R=ye,E=fe,j=ue;return k(),W(ae,null,[v("div",w,[v("div",b,[e(m,{modelValue:a(t).name,"onUpdate:modelValue":o[0]||(o[0]=l=>a(t).name=l),placeholder:"\u7528\u6237\u540D",clearable:"",onKeyup:f(s,["enter"])},{suffix:r(()=>[e(g,{class:"mr-5px",icon:"ep:search",onClick:s,style:{cursor:"pointer"}})]),append:r(()=>[e(_,{icon:a(X),onClick:G},null,8,["icon"])]),_:1},8,["modelValue"])])]),K(v("div",{class:"searchMore",style:$({width:a(D)?"88.7%":"96%"})},[e(F,{class:"-mb-15px",model:a(t),ref_key:"queryFormRef",ref:P,inline:!0,"label-width":"100px"},{default:r(()=>[e(n,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",prop:"ptAdd"},{default:r(()=>[e(m,{modelValue:a(t).ptAdd,"onUpdate:modelValue":o[1]||(o[1]=l=>a(t).ptAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u670D\u52A1\u8D39",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5E73\u53F0\u6536\u76CA",prop:"ptGrossAdd"},{default:r(()=>[e(m,{modelValue:a(t).ptGrossAdd,"onUpdate:modelValue":o[2]||(o[2]=l=>a(t).ptGrossAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u6536\u76CA",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5E73\u53F0\u603B\u6536\u76CA",prop:"ptTotalAdd"},{default:r(()=>[e(m,{modelValue:a(t).ptTotalAdd,"onUpdate:modelValue":o[3]||(o[3]=l=>a(t).ptTotalAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u603B\u6536\u76CA",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:r(()=>[e(H,{modelValue:a(t).createTime,"onUpdate:modelValue":o[4]||(o[4]=l=>a(t).createTime=l),"value-format":"YYYY-MM-DD HH:mm:ss",type:"daterange","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-240px"},null,8,["modelValue","default-time"])]),_:1}),e(N,null,{default:r(()=>[e(M,null,{default:r(()=>[e(n,null,{default:r(()=>[e(_,{onClick:z},{default:r(()=>[p(" \u6536\u8D77 ")]),_:1}),e(_,{onClick:s},{default:r(()=>[e(g,{icon:"ep:search",class:"mr-5px"}),p(" \u641C\u7D22 ")]),_:1}),e(_,{onClick:S},{default:r(()=>[e(g,{icon:"ep:refresh",class:"mr-5px"}),p(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[Z,a(i)]]),e(E,{style:{"margin-top":"10px",padding:"10px"}},{default:r(()=>[K((k(),ee(I,{data:a(V),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[e(c,{label:"\u7F16\u53F7",align:"center",prop:"id"}),e(c,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"ptAdd"},{default:r(l=>[p(x(a(A)(l.row.ptAdd)),1)]),_:1}),e(c,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"ptGrossAdd"},{default:r(l=>[p(x(a(A)(l.row.ptGrossAdd)),1)]),_:1}),e(c,{label:"\u5E73\u53F0\u603B\u6536\u76CA",align:"center",prop:"ptTotalAdd"},{default:r(l=>[p(x(a(A)(l.row.ptTotalAdd)),1)]),_:1}),e(c,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(ve),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[j,a(h)]]),e(R,{total:a(T),page:a(t).pageNo,"onUpdate:page":o[5]||(o[5]=l=>a(t).pageNo=l),limit:a(t).pageSize,"onUpdate:limit":o[6]||(o[6]=l=>a(t).pageSize=l),onPagination:u},null,8,["total","page","limit"])]),_:1}),e(Ae,{ref_key:"formRef",ref:Y,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-797c69ac"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptprofit/index.vue"]])});export{Ce as __tla,U as default};