index-ec76bd7d.js 4.8 KB

1
  1. import{d as B,Y as E,K as j,r as s,h as J,e as O,l as Q,o as k,c as W,g as n,f as e,w as l,a,dD as X,R as D,x as N,a4 as Z,n as v,au as $,v as ee,t as c,ea as m,F as ae,j as te,C as le,V as re,A as oe,B as se,E as ne,i as ie,D as de,G as pe,H as ue,I as _e,_ as ce,__tla as me}from"./index-6d7b82ba.js";import{_ as fe,__tla as ge}from"./ContentWrap-1ba5c8ca.js";import{_ as he,__tla as ye}from"./index-a786614b.js";import{d as ve,__tla as xe}from"./formatTime-d24faf41.js";import{P as we,a as be,__tla as Ie}from"./PtProfitLogForm-539aa845.js";import{u as Ve,__tla as Pe}from"./useMessage-be161634.js";import{__tla as ke}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as De}from"./el-card-1a4b93b1.js";import{__tla as Ne}from"./index-e37504b6.js";import{__tla as Se}from"./Dialog-78181bae.js";let S,Ce=Promise.all([(()=>{try{return me}catch{}})(),(()=>{try{return ge}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return xe}catch{}})(),(()=>{try{return Ie}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return De}catch{}})(),(()=>{try{return Ne}catch{}})(),(()=>{try{return Se}catch{}})()]).then(async()=>{let x,w;x={class:"search-one"},w={style:{"text-align":"right"},class:"search-input"},S=ce(B({name:"PtProfitLog",__name:"index",setup(Te){const C=E(),T=j(()=>C.getMobile),p=s(!1),z=()=>{p.value=!p.value},U=()=>{p.value=!1};Ve(),J();const f=s(!0),b=s([]),I=s(0),r=O({pageNo:1,pageSize:10,amount:void 0,afterAmount:void 0,profitStatus:void 0,orderId:void 0,percentTemplate:void 0,createTime:[]}),V=s();s(!1);const u=async()=>{f.value=!0;try{const g=await be.getPtProfitLogPage(r);b.value=g.list,I.value=g.total}finally{f.value=!1}},d=()=>{r.pageNo=1,u()},Y=()=>{V.value.resetFields(),d()},A=s();return Q(()=>{u()}),(g,o)=>{const h=te,_=le,P=re,y=oe,H=se,K=ne,M=ie,F=de,i=pe,R=ue,G=he,L=fe,q=_e;return k(),W(ae,null,[n("div",x,[n("div",w,[e(P,{modelValue:a(r).orderId,"onUpdate:modelValue":o[0]||(o[0]=t=>a(r).orderId=t),placeholder:"\u8BA2\u5355\u53F7",clearable:"",onKeyup:D(d,["enter"])},{suffix:l(()=>[e(h,{class:"mr-5px",icon:"ep:search",onClick:d,style:{cursor:"pointer"}})]),append:l(()=>[e(_,{icon:a(X),onClick:z},null,8,["icon"])]),_:1},8,["modelValue"])])]),N(n("div",{class:"searchMore",style:$({width:a(T)?"88.7%":"96%"})},[e(F,{class:"-mb-15px",model:a(r),ref_key:"queryFormRef",ref:V,inline:!0,"label-width":"68px"},{default:l(()=>[e(y,{label:"\u8BA2\u5355\u53F7",prop:"orderId"},{default:l(()=>[e(P,{modelValue:a(r).orderId,"onUpdate:modelValue":o[1]||(o[1]=t=>a(r).orderId=t),placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u53F7",clearable:"",onKeyup:D(d,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:l(()=>[e(H,{modelValue:a(r).createTime,"onUpdate:modelValue":o[2]||(o[2]=t=>a(r).createTime=t),"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:l(()=>[e(K,null,{default:l(()=>[e(y,null,{default:l(()=>[e(_,{onClick:U},{default:l(()=>[v(" \u6536\u8D77 ")]),_:1}),e(_,{onClick:d},{default:l(()=>[e(h,{icon:"ep:search",class:"mr-5px"}),v(" \u641C\u7D22 ")]),_:1}),e(_,{onClick:Y},{default:l(()=>[e(h,{icon:"ep:refresh",class:"mr-5px"}),v(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[Z,a(p)]]),e(L,{style:{"margin-top":"10px",padding:"10px"}},{default:l(()=>[N((k(),ee(R,{data:a(b),stripe:!0,"show-overflow-tooltip":!0},{default:l(()=>[e(i,{label:"\u8BA2\u5355\u53F7",align:"center",prop:"orderNo"}),e(i,{label:"\u5E73\u53F0\u670D\u52A1\u8D39",align:"center",prop:"amount"},{default:l(t=>[n("span",null,c(a(m)(t.row.amount)),1)]),_:1}),e(i,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"afterAmount"},{default:l(t=>[n("span",null,c(a(m)(t.row.afterAmount)),1)]),_:1}),e(i,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"profitStatus"},{default:l(t=>[n("span",null,c(a(m)(t.row.profitStatus)),1)]),_:1}),e(i,{label:"\u76F4\u63A8\u5956",align:"center",prop:"orderId"},{default:l(t=>[n("span",null,c(a(m)(t.row.orderId)),1)]),_:1}),e(i,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(ve),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[q,a(f)]]),e(G,{total:a(I),page:a(r).pageNo,"onUpdate:page":o[3]||(o[3]=t=>a(r).pageNo=t),limit:a(r).pageSize,"onUpdate:limit":o[4]||(o[4]=t=>a(r).pageSize=t),onPagination:u},null,8,["total","page","limit"])]),_:1}),e(we,{ref_key:"formRef",ref:A,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-62bac035"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptprofitlog/index.vue"]])});export{Ce as __tla,S as default};