index-8d7b1040.js 5.2 KB

1
  1. import{d as B,Y as E,K as W,r as d,h as J,e as L,l as O,o as k,c as Q,g as v,f as e,w as r,a,dD as X,R as f,x as D,a4 as Z,n as p,au as $,v as ee,t as x,ea 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-6d7b82ba.js";import{_ as fe,__tla as he}from"./ContentWrap-1ba5c8ca.js";import{_ as ye,__tla as ge}from"./index-a786614b.js";import{d as ve,__tla as xe}from"./formatTime-d24faf41.js";import{P as Ae,a as we,__tla as be}from"./PtProfitForm-b734ee54.js";import{u as Ve,__tla as Te}from"./useMessage-be161634.js";import{__tla as Pe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as ke}from"./el-card-1a4b93b1.js";import{__tla as De}from"./index-e37504b6.js";import{__tla as Ge}from"./Dialog-78181bae.js";let G,Ke=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 De}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(Ue){const K=E(),U=W(()=>K.getMobile),i=d(!1),C=()=>{i.value=!i.value},z=()=>{i.value=!1};Ve(),J();const h=d(!0),V=d([]),T=d(0),t=L({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 O(()=>{u()}),(y,o)=>{const g=le,_=te,m=re,n=oe,H=se,M=de,N=pe,F=ne,c=ce,R=ie,I=ye,j=fe,q=ue;return k(),Q(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:C},null,8,["icon"])]),_:1},8,["modelValue"])])]),D(v("div",{class:"searchMore",style:$({width:a(U)?"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(j,{style:{"margin-top":"10px",padding:"10px"}},{default:r(()=>[D((k(),ee(R,{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"])),[[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: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{Ke as __tla,G as default};