1 |
- import{d as B,Z as E,L as J,r as d,i as L,f as W,l as Z,o as k,c as O,h as w,g as e,w as t,a,av as Q,S as f,y as G,a6 as X,n as p,az as $,x as ee,t as h,e8 as g,F as ae,q as le,D as te,W as re,B as oe,C as se,E as de,j as pe,G as ne,H as ie,I as ce,J as ue,_ as _e,__tla as me}from"./index-3fb48822.js";import{_ as fe,__tla as he}from"./ContentWrap-afa47a64.js";import{_ as ge,__tla as ye}from"./index-5771c6d6.js";import{d as ve,__tla as xe}from"./formatTime-1803573a.js";import{P as we,a as Ae,__tla as be}from"./PtProfitForm-ff9de6d6.js";import{u as Ve,__tla as Te}from"./useMessage-b6c78c26.js";import{__tla as Pe}from"./el-card-8960fd94.js";import{__tla as ke}from"./index-cf9cdfb4.js";import{__tla as Ge}from"./Dialog-7d4425a0.js";let S,Se=Promise.all([(()=>{try{return me}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return xe}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return Ge}catch{}})()]).then(async()=>{let A,b;A={class:"search-one"},b={style:{"text-align":"right"},class:"search-input"},S=_e(B({name:"PtProfit",__name:"index",setup(Ue){const U=E(),z=J(()=>U.getMobile),c=d(!1),C=()=>{c.value=!c.value},D=()=>{c.value=!1};Ve(),L();const y=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 u=async()=>{console.log(r),y.value=!0;try{const v=await Ae.getPtProfitPage(r);V.value=v.list,T.value=v.total}finally{y.value=!1}},s=()=>{r.pageNo=1,u()},Y=()=>{P.value.resetFields(),s()},H=d();return Z(()=>{u()}),(v,o)=>{const x=le,_=te,m=re,i=oe,K=se,M=de,N=pe,F=ne,n=ie,R=ce,q=ge,I=fe,j=ue;return k(),O(ae,null,[w("div",A,[w("div",b,[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(_,{icon:a(Q),onClick:C},null,8,["icon"])]),_:1},8,["modelValue"])])]),G(w("div",{class:"searchMore",style:$({width:a(z)?"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(K,{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(_,{onClick:D},{default:t(()=>[p(" \u6536\u8D77 ")]),_:1}),e(_,{onClick:s},{default:t(()=>[e(x,{icon:"ep:search",class:"mr-5px"}),p(" \u641C\u7D22 ")]),_:1}),e(_,{onClick:Y},{default:t(()=>[e(x,{icon:"ep:refresh",class:"mr-5px"}),p(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[X,a(c)]]),e(I,{style:{"margin-top":"10px",padding:"10px"}},{default:t(()=>[G((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(g)(l.row.ptAdd)),1)]),_:1}),e(n,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"ptGrossAdd"},{default:t(l=>[p(h(a(g)(l.row.ptGrossAdd)),1)]),_:1}),e(n,{label:"\u5229\u6DA6(\u7852\u6CFD\u6E90)",align:"center",prop:"ptTotalAdd"},{default:t(l=>[p(h(a(g)(l.row.profit)),1)]),_:1}),e(n,{label:"\u5E73\u53F0\u603B\u6536\u76CA",align:"center",prop:"ptTotalAdd"},{default:t(l=>[p(h(a(g)(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"])),[[j,a(y)]]),e(q,{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:u},null,8,["total","page","limit"])]),_:1}),e(we,{ref_key:"formRef",ref:H,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-797c69ac"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptprofit/index.vue"]])});export{Se as __tla,S as default};
|