1 |
- import{d as B,y as E,e as O,r as d,P as Q,x as W,b as X,o as k,c as Z,B as A,f as e,A as t,a,aD as j,a5 as f,k as z,v as L,D as p,aH as $,C as ee,E as h,O as y,F as ae,Q as le,J as te,a9 as re,V as oe,I as se,H as de,K as pe,W as ne,X as ie,Y as ce,Z as _e,_ as ue,__tla as me}from"./index-f6fb8e95.js";import{_ as fe,__tla as he}from"./ContentWrap-96bb70ec.js";import{_ as ye,__tla as ge}from"./index-58a94653.js";import{d as ve,__tla as xe}from"./formatTime-ddd96ac8.js";import{P as Ae,__tla as be}from"./index-21c07138.js";import we,{__tla as Ve}from"./PtProfitForm-ff847f30.js";import{u as Te,__tla as Pe}from"./useMessage-3b767a67.js";import{__tla as ke}from"./el-card-8db16709.js";import{__tla as ze}from"./index-07a2f7ed.js";import{__tla as De}from"./Dialog-ac2b0e4e.js";let D,Ue=Promise.all([(()=>{try{return me}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ge}catch{}})(),(()=>{try{return xe}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return Ve}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return ze}catch{}})(),(()=>{try{return De}catch{}})()]).then(async()=>{let b,w;b={class:"search-one"},w={style:{"text-align":"right"},class:"search-input"},D=ue(B({name:"PtProfit",__name:"index",setup(Ce){const U=E(),C=O(()=>U.getMobile),c=d(!1),G=()=>{c.value=!c.value},K=()=>{c.value=!1};Te(),Q();const g=d(!0),V=d([]),T=d(0),r=W({pageNo:1,pageSize:10,ptAdd:void 0,ptGrossAdd:void 0,ptTotalAdd:void 0,createTime:[]}),P=d();d(!1);const _=async()=>{console.log(r),g.value=!0;try{const v=await Ae.getPtProfitPage(r);V.value=v.list,T.value=v.total}finally{g.value=!1}},s=()=>{r.pageNo=1,_()},S=()=>{P.value.resetFields(),s()},Y=d();return X(()=>{_()}),(v,o)=>{const x=le,u=te,m=re,i=oe,F=se,H=de,M=pe,N=ne,n=ie,I=ce,J=ye,R=fe,q=_e;return k(),Z(ae,null,[A("div",b,[A("div",w,[e(m,{modelValue:a(r).name,"onUpdate:modelValue":o[0]||(o[0]=l=>a(r).name=l),placeholder:"\u7528\u6237\u540D",clearable:"",onKeyup:f(s,["enter"])},{suffix:t(()=>[e(x,{class:"mr-5px",icon:"ep:search",onClick:s,style:{cursor:"pointer"}})]),append:t(()=>[e(u,{icon:a(j),onClick:G},null,8,["icon"])]),_:1},8,["modelValue"])])]),z(A("div",{class:"searchMore",style:$({width:a(C)?"88.7%":"96%"})},[e(N,{class:"-mb-15px",model:a(r),ref_key:"queryFormRef",ref:P,inline:!0,"label-width":"100px"},{default:t(()=>[e(i,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",prop:"ptAdd"},{default:t(()=>[e(m,{modelValue:a(r).ptAdd,"onUpdate:modelValue":o[1]||(o[1]=l=>a(r).ptAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u670D\u52A1\u8D39",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u5E73\u53F0\u6536\u76CA",prop:"ptGrossAdd"},{default:t(()=>[e(m,{modelValue:a(r).ptGrossAdd,"onUpdate:modelValue":o[2]||(o[2]=l=>a(r).ptGrossAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u6536\u76CA",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u5E73\u53F0\u603B\u6536\u76CA",prop:"ptTotalAdd"},{default:t(()=>[e(m,{modelValue:a(r).ptTotalAdd,"onUpdate:modelValue":o[3]||(o[3]=l=>a(r).ptTotalAdd=l),placeholder:"\u8BF7\u8F93\u5165\u5E73\u53F0\u603B\u6536\u76CA",clearable:"",onKeyup:f(s,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(i,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[e(F,{modelValue:a(r).createTime,"onUpdate:modelValue":o[4]||(o[4]=l=>a(r).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(M,null,{default:t(()=>[e(H,null,{default:t(()=>[e(i,null,{default:t(()=>[e(u,{onClick:K},{default:t(()=>[p(" \u6536\u8D77 ")]),_:1}),e(u,{onClick:s},{default:t(()=>[e(x,{icon:"ep:search",class:"mr-5px"}),p(" \u641C\u7D22 ")]),_:1}),e(u,{onClick:S},{default:t(()=>[e(x,{icon:"ep:refresh",class:"mr-5px"}),p(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[L,a(c)]]),e(R,{style:{"margin-top":"10px",padding:"10px"}},{default:t(()=>[z((k(),ee(I,{data:a(V),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(n,{label:"\u7F16\u53F7",align:"center",prop:"id"}),e(n,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"ptAdd"},{default:t(l=>[p(h(a(y)(l.row.ptAdd)),1)]),_:1}),e(n,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"ptGrossAdd"},{default:t(l=>[p(h(a(y)(l.row.ptGrossAdd)),1)]),_:1}),e(n,{label:"\u5229\u6DA6(\u7852\u6CFD\u6E90)",align:"center",prop:"profit"},{default:t(l=>[p(h(a(y)(l.row.profit)),1)]),_:1}),e(n,{label:"\u5E73\u53F0\u603B\u6536\u76CA",align:"center",prop:"ptTotalAdd"},{default:t(l=>[p(h(a(y)(l.row.ptTotalAdd)),1)]),_:1}),e(n,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(ve),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[q,a(g)]]),e(J,{total:a(T),page:a(r).pageNo,"onUpdate:page":o[5]||(o[5]=l=>a(r).pageNo=l),limit:a(r).pageSize,"onUpdate:limit":o[6]||(o[6]=l=>a(r).pageSize=l),onPagination:_},null,8,["total","page","limit"])]),_:1}),e(we,{ref_key:"formRef",ref:Y,onSuccess:_},null,512)],64)}}}),[["__scopeId","data-v-797c69ac"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptprofit/index.vue"]])});export{Ue as __tla,D as default};
|