1 |
- import{d as B,y as E,e as G,r as s,P as O,x as W,b as X,o as k,c as j,B as n,f as e,A as l,a,aC as Q,a4 as C,k as S,v as Z,D as v,aG as $,C as ee,E as c,O as m,F as ae,_ as te,J as le,a8 as re,U as oe,I as se,H as ne,K as pe,V as de,W as ue,X as ie,Y as _e,__tla as ce}from"./index-a9d538d5.js";import{_ as me,__tla as fe}from"./ContentWrap.vue_vue_type_script_setup_true_lang-6b7b4656.js";import{_ as ge,__tla as he}from"./index.vue_vue_type_script_setup_true_lang-ca67dc77.js";import{d as ye,__tla as ve}from"./formatTime-8985a9d0.js";import{_ as xe,P as be,__tla as we}from"./PtProfitLogForm.vue_vue_type_script_setup_true_lang-e5dff48f.js";import{u as Ie,__tla as Ve}from"./useMessage-d5cbbfad.js";import{_ as Pe}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as ke}from"./el-card-0ea446a3.js";import{__tla as Ce}from"./index-95ad39b3.js";import{__tla as Se}from"./Dialog-f354f369.js";let T,Te=Promise.all([(()=>{try{return ce}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ve}catch{}})(),(()=>{try{return we}catch{}})(),(()=>{try{return Ve}catch{}})(),(()=>{try{return ke}catch{}})(),(()=>{try{return Ce}catch{}})(),(()=>{try{return Se}catch{}})()]).then(async()=>{let x,b;x={class:"search-one"},b={style:{"text-align":"right"},class:"search-input"},T=Pe(B({name:"PtProfitLog",__name:"index",setup(Ue){const U=E(),A=G(()=>U.getMobile),u=s(!1),D=()=>{u.value=!u.value},H=()=>{u.value=!1};Ie(),O();const f=s(!0),w=s([]),I=s(0),r=W({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 i=async()=>{f.value=!0;try{const g=await be.getPtProfitLogPage(r);w.value=g.list,I.value=g.total}finally{f.value=!1}},d=()=>{r.pageNo=1,i()},N=()=>{V.value.resetFields(),d()},Y=s();return X(()=>{i()}),(g,o)=>{const h=te,_=le,P=re,y=oe,z=se,M=ne,F=pe,K=de,p=ue,J=ie,L=ge,R=me,q=_e;return k(),j(ae,null,[n("div",x,[n("div",b,[e(P,{modelValue:a(r).orderId,"onUpdate:modelValue":o[0]||(o[0]=t=>a(r).orderId=t),placeholder:"\u8BA2\u5355\u53F7",clearable:"",onKeyup:C(d,["enter"])},{suffix:l(()=>[e(h,{class:"mr-5px",icon:"ep:search",onClick:d,style:{cursor:"pointer"}})]),append:l(()=>[e(_,{icon:a(Q),onClick:D},null,8,["icon"])]),_:1},8,["modelValue"])])]),S(n("div",{class:"searchMore",style:$({width:a(A)?"88.7%":"96%"})},[e(K,{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:C(d,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:l(()=>[e(z,{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(F,null,{default:l(()=>[e(M,null,{default:l(()=>[e(y,null,{default:l(()=>[e(_,{onClick:H},{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:N},{default:l(()=>[e(h,{icon:"ep:refresh",class:"mr-5px"}),v(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],4),[[Z,a(u)]]),e(R,{style:{"margin-top":"10px",padding:"10px"}},{default:l(()=>[S((k(),ee(J,{data:a(w),stripe:!0,"show-overflow-tooltip":!0},{default:l(()=>[e(p,{label:"\u8BA2\u5355\u53F7",align:"center",prop:"orderNo"}),e(p,{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(p,{label:"\u5E73\u53F0\u6536\u76CA",align:"center",prop:"afterAmount"},{default:l(t=>[n("span",null,c(a(m)(t.row.afterAmount)),1)]),_:1}),e(p,{label:"\u7528\u6237\u81EA\u5F97",align:"center",prop:"profitStatus"},{default:l(t=>[n("span",null,c(a(m)(t.row.profitStatus)),1)]),_:1}),e(p,{label:"\u76F4\u63A8\u5956",align:"center",prop:"orderId"},{default:l(t=>[n("span",null,c(a(m)(t.row.orderId)),1)]),_:1}),e(p,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:a(ye),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[q,a(f)]]),e(L,{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:i},null,8,["total","page","limit"])]),_:1}),e(xe,{ref_key:"formRef",ref:Y,onSuccess:i},null,512)],64)}}}),[["__scopeId","data-v-72279f5c"]])});export{Te as __tla,T as default};
|