1 |
- import{d as B,Y as E,K as W,r as d,h as X,e as J,l as L,o as P,c as O,g as v,f as e,w as r,a,dG as Q,R as f,x as U,a4 as Z,n as p,au as $,v as ee,t as x,eb 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 ue,H as ce,I as ie,_ as _e,__tla as me}from"./index-11e4820e.js";import{_ as fe,__tla as he}from"./ContentWrap-694014d4.js";import{_ as ye,__tla as ge}from"./index-c8f58bd0.js";import{d as ve,__tla as xe}from"./formatTime-f6a2c881.js";import{P as Ae,a as we,__tla as be}from"./PtProfitForm-f406fabf.js";import{u as Ve,__tla as Te}from"./useMessage-06ddf735.js";import{__tla as ke}from"./ContentWrap.vue_vue_type_script_setup_true_lang-11f85821.js";import{__tla as Pe}from"./el-card-919c14be.js";import{__tla as Ue}from"./index-dd73c59d.js";import{__tla as Ge}from"./Dialog-bbfaf85c.js";let G,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 ke}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return Ue}catch{}})(),(()=>{try{return Ge}catch{}})()]).then(async()=>{let w,b;w={class:"search-one"},b={style:{"text-align":"right"},class:"search-input"},G=_e(B({name:"PtProfit",__name:"index",setup(Me){const C=E(),M=W(()=>C.getMobile),c=d(!1),D=()=>{c.value=!c.value},K=()=>{c.value=!1};Ve(),X();const h=d(!0),V=d([]),T=d(0),t=J({pageNo:1,pageSize:10,ptAdd:void 0,ptGrossAdd:void 0,ptTotalAdd:void 0,createTime:[]}),k=d();d(!1);const i=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,i()},N=()=>{k.value.resetFields(),s()},R=d();return L(()=>{i()}),(y,o)=>{const g=le,_=te,m=re,n=oe,Y=se,z=de,H=pe,S=ne,u=ue,F=ce,I=ye,j=fe,q=ie;return P(),O(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(Q),onClick:D},null,8,["icon"])]),_:1},8,["modelValue"])])]),U(v("div",{class:"searchMore",style:$({width:a(M)?"88.7%":"96%"})},[e(S,{class:"-mb-15px",model:a(t),ref_key:"queryFormRef",ref:k,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(Y,{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(H,null,{default:r(()=>[e(z,null,{default:r(()=>[e(n,null,{default:r(()=>[e(_,{onClick:K},{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:N},{default:r(()=>[e(g,{icon:"ep:refresh",class:"mr-5px"}),p(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[Z,a(c)]]),e(j,{style:{"margin-top":"10px",padding:"10px"}},{default:r(()=>[U((P(),ee(F,{data:a(V),stripe:!0,"show-overflow-tooltip":!0},{default:r(()=>[e(u,{label:"\u7F16\u53F7",align:"center",prop:"id"}),e(u,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"ptAdd"},{default:r(l=>[p(x(a(A)(l.row.ptAdd)),1)]),_:1}),e(u,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"ptGrossAdd"},{default:r(l=>[p(x(a(A)(l.row.ptGrossAdd)),1)]),_:1}),e(u,{label:"\u5E73\u53F0\u603B\u6536\u76CA",align:"center",prop:"ptTotalAdd"},{default:r(l=>[p(x(a(A)(l.row.ptTotalAdd)),1)]),_:1}),e(u,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(ve),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[q,a(h)]]),e(I,{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:i},null,8,["total","page","limit"])]),_:1}),e(Ae,{ref_key:"formRef",ref:R,onSuccess:i},null,512)],64)}}}),[["__scopeId","data-v-797c69ac"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/system/distri/ptprofit/index.vue"]])});export{Ce as __tla,G as default};
|