1 |
- import{d as E,y as J,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 D,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-286756b9.js";import{_ as fe,__tla as he}from"./ContentWrap-83998678.js";import{_ as ye,__tla as ge}from"./index-ed6c67a8.js";import{d as ve,__tla as xe}from"./formatTime-83e416ef.js";import{P as Ae,__tla as be}from"./index-bc15b029.js";import we,{__tla as Ve}from"./PtProfitForm-fa403679.js";import{u as Te,__tla as Pe}from"./useMessage-084b1e70.js";import{__tla as ke}from"./el-card-d3d5a654.js";import{__tla as De}from"./index-fb47c94c.js";import{__tla as Ke}from"./Dialog-4c2de357.js";let K,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 De}catch{}})(),(()=>{try{return Ke}catch{}})()]).then(async()=>{let b,w;b={class:"search-one"},w={style:{"text-align":"right"},class:"search-input"},K=ue(E({name:"PtProfit",__name:"index",setup(Ce){const U=J(),C=O(()=>U.getMobile),c=d(!1),G=()=>{c.value=!c.value},Y=()=>{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,_()},z=()=>{P.value.resetFields(),s()},S=d();return X(()=>{_()}),(v,o)=>{const x=le,u=te,m=re,i=oe,H=se,M=de,N=pe,F=ne,n=ie,R=ce,I=ye,q=fe,B=_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"])])]),D(A("div",{class:"searchMore",style:$({width:a(C)?"88.7%":"96%"})},[e(F,{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(H,{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(N,null,{default:t(()=>[e(M,null,{default:t(()=>[e(i,null,{default:t(()=>[e(u,{onClick:Y},{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:z},{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(q,{style:{"margin-top":"10px",padding:"10px"}},{default:t(()=>[D((k(),ee(R,{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"])),[[B,a(g)]]),e(I,{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:S,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,K as default};
|