1 |
- import{d as B,y as E,e as J,r as d,Q as L,x as W,b as X,o as k,c as Z,C as v,f as e,B as t,a,aC as j,a4 as f,k as G,v as O,E as p,aG as $,A as ee,G as h,P as y,F as ae,_ as le,K as te,a8 as re,V as oe,J as se,I as de,L as pe,W as ne,X as ce,Y as _e,Z as ue,__tla as ie}from"./index-e8bff8cb.js";import{_ as me,__tla as fe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-33dea697.js";import{_ as he,__tla as ye}from"./index.vue_vue_type_script_setup_true_lang-75f84d87.js";import{d as ge,__tla as Ae}from"./formatTime-4fdd5566.js";import{P as be,__tla as ve}from"./index-0cf18977.js";import{_ as xe,__tla as we}from"./PtProfitForm.vue_vue_type_script_setup_true_lang-165a9d87.js";import{u as Ve,__tla as Te}from"./useMessage-de42a595.js";import{_ as Pe}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as ke}from"./el-card-f9558d99.js";import{__tla as Ge}from"./index-35928fe5.js";import{__tla as Ce}from"./Dialog-4d17ac25.js";let C,Ue=Promise.all([(()=>{try{return ie}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return Ae}catch{}})(),(()=>{try{return ve}catch{}})(),(()=>{try{return we}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return Ge}catch{}})(),(()=>{try{return Ce}catch{}})()]).then(async()=>{let x,w;x={class:"search-one"},w={style:{"text-align":"right"},class:"search-input"},C=Pe(B({name:"PtProfit",__name:"index",setup(Ke){const U=E(),K=J(()=>U.getMobile),_=d(!1),N=()=>{_.value=!_.value},Y=()=>{_.value=!1};Ve(),L();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 u=async()=>{console.log(r),g.value=!0;try{const A=await be.getPtProfitPage(r);V.value=A.list,T.value=A.total}finally{g.value=!1}},s=()=>{r.pageNo=1,u()},z=()=>{P.value.resetFields(),s()},D=d();return X(()=>{u()}),(A,o)=>{const b=le,i=te,m=re,c=oe,M=se,S=de,F=pe,I=ne,n=ce,Q=_e,H=he,R=me,q=ue;return k(),Z(ae,null,[v("div",x,[v("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(b,{class:"mr-5px",icon:"ep:search",onClick:s,style:{cursor:"pointer"}})]),append:t(()=>[e(i,{icon:a(j),onClick:N},null,8,["icon"])]),_:1},8,["modelValue"])])]),G(v("div",{class:"searchMore",style:$({width:a(K)?"88.7%":"96%"})},[e(I,{class:"-mb-15px",model:a(r),ref_key:"queryFormRef",ref:P,inline:!0,"label-width":"100px"},{default:t(()=>[e(c,{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(c,{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(c,{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(c,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[e(M,{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(F,null,{default:t(()=>[e(S,null,{default:t(()=>[e(c,null,{default:t(()=>[e(i,{onClick:Y},{default:t(()=>[p(" \u6536\u8D77 ")]),_:1}),e(i,{onClick:s},{default:t(()=>[e(b,{icon:"ep:search",class:"mr-5px"}),p(" \u641C\u7D22 ")]),_:1}),e(i,{onClick:z},{default:t(()=>[e(b,{icon:"ep:refresh",class:"mr-5px"}),p(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[O,a(_)]]),e(R,{style:{"margin-top":"10px",padding:"10px"}},{default:t(()=>[G((k(),ee(Q,{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(ge),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[q,a(g)]]),e(H,{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(xe,{ref_key:"formRef",ref:D,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-4746cc16"]])});export{Ue as __tla,C as default};
|