1 |
- import{aA as L,d as $,r as c,P as tt,x as at,b as rt,a4 as et,o as v,c as lt,B as w,f as t,a as r,aD as _t,k as b,v as ot,A as e,D as _,C as R,E as i,dz as x,O as s,F as it,J as nt,I as ct,V as st,Q as pt,H as mt,K as ut,W as ft,X as dt,Y as yt,Z as ht,_ as gt,__tla as vt}from"./index-54aa57d8.js";import{_ as wt,__tla as bt}from"./ContentWrap-260746ab.js";import{_ as xt,__tla as Ct}from"./index-e6a7fd1e.js";import{d as Pt}from"./download-20922b56.js";import{D as Dt,__tla as kt}from"./index-a39748fd.js";import zt,{__tla as It}from"./PtDailyBillForm-6a23bd0a.js";import{u as Nt,__tla as Tt}from"./useMessage-f56cafbb.js";import{__tla as Vt}from"./el-card-e7d6628c.js";import{__tla as Yt}from"./index-254a9b5e.js";import{__tla as Bt}from"./formatTime-e6197688.js";import{__tla as Ht}from"./DailyBillForm-bcfe6566.js";import{__tla as Rt}from"./Dialog-7bb778a5.js";import{__tla as St}from"./OrderIndex-3b3412d8.js";import{__tla as Ft}from"./SPuUploadImg-d377301f.js";import{__tla as Mt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-03e554d4.js";import{__tla as Ut}from"./index-1a846221.js";import{__tla as At}from"./el-image-viewer-ec0edec4.js";import{__tla as qt}from"./OrderBaseInfo-67083a3d.js";import{__tla as Et}from"./index-e7a32376.js";import{__tla as Jt}from"./dict-573b3b04.js";import{__tla as Kt}from"./OrderProduct-aad49434.js";import{__tla as Ot}from"./el-descriptions-item-347c85ca.js";import{__tla as Qt}from"./DictTag-638f5ebc.js";import"./color-6e929987.js";import{__tla as Wt}from"./OrderComment-bf0937e1.js";import{__tla as Xt}from"./el-image-94dad5a7.js";import{__tla as Zt}from"./OrderService-67ce9c1a.js";import{__tla as jt}from"./AfterSale-255a48ee.js";import{__tla as Gt}from"./index-692b7677.js";import{__tla as Lt}from"./OrderLogistics-2e3f5f16.js";import{__tla as $t}from"./el-timeline-item-24fd452f.js";import{__tla as ta}from"./index-56fb6cd9.js";import{__tla as aa}from"./orderPay-aa418693.js";import{__tla as ra}from"./OrderLogs-f38fe170.js";import{__tla as ea}from"./OrderDeliveryForm-4e622c17.js";import{__tla as la}from"./OrderUpdateRemarkForm-212fabc8.js";import{__tla as _a}from"./OrderUpdateAddressForm-b11ab4ab.js";import{__tla as oa}from"./el-tree-select-20b2a9f3.js";import{__tla as ia}from"./index-b75a8e96.js";import"./tree-0af4953a.js";let S,na=Promise.all([(()=>{try{return vt}catch{}})(),(()=>{try{return bt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return Vt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ia}catch{}})()]).then(async()=>{let C,P,D,k;C=async z=>await L.get({url:"/distri/pt-daily-bill/page",params:z}),P={class:"search-one"},D={style:{"text-align":"right"},class:"search-input"},k={class:"searchMore",style:{width:"calc(100% - 60px)"}},S=gt($({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(z){const m=c(!1),F=()=>{m.value=!m.value},d=()=>{m.value=!1},M=Nt();tt();const y=c(!0),I=c([]),N=c(0),o=at({pageNo:1,pageSize:10,orderCalcTime:void 0}),T=c(),h=c(!1),u=async()=>{y.value=!0;try{const g=await C(o);I.value=g.list,N.value=g.total}finally{y.value=!1}},V=()=>{o.pageNo=1,u(),d()},U=()=>{T.value.resetFields(),V(),d()},Y=c();return rt(()=>{u()}),(g,n)=>{const p=nt,A=ct,B=st,H=pt,q=mt,E=ut,J=ft,l=dt,K=yt,O=xt,Q=wt,W=et("hasPermi"),X=ht;return v(),lt(it,null,[w("div",P,[w("div",D,[t(p,{icon:r(_t),onClick:F,style:{"margin-left":"0"}},null,8,["icon"])])]),b(w("div",k,[t(J,{class:"-mb-15px",model:r(o),ref_key:"queryFormRef",ref:T,inline:!0,"label-width":"120px"},{default:e(()=>[t(B,{label:"\u8D26\u5355\u65E5\u671F",prop:"createTime"},{default:e(()=>[t(A,{modelValue:r(o).orderCalcTime,"onUpdate:modelValue":n[0]||(n[0]=a=>r(o).orderCalcTime=a),"value-format":"YYYY-MM-DD HH:mm:ss",type:"daterange","start-placeholder":"\u8D26\u5355\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u8D26\u5355\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}),t(E,null,{default:e(()=>[t(q,null,{default:e(()=>[t(B,null,{default:e(()=>[t(p,{onClick:d},{default:e(()=>[_(" \u6536\u8D77 ")]),_:1}),t(p,{onClick:U},{default:e(()=>[t(H,{class:"mr-5px",icon:"ep:refresh"}),_(" \u91CD\u7F6E ")]),_:1}),t(p,{onClick:V,plain:"",type:"primary"},{default:e(()=>[t(H,{class:"mr-5px",icon:"ep:search"}),_(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],512),[[ot,r(m)]]),t(Q,{class:"mt-15px"},{default:e(()=>[b((v(),R(K,{data:r(I),stripe:!0,"show-overflow-tooltip":!0,onRowClick:n[1]||(n[1]=a=>{return f=a,void Y.value.open(f);var f}),"row-class-name":"row"},{default:e(()=>[t(l,{label:"\u8D26\u5355\u7F16\u53F7",align:"center",prop:"id"}),t(l,{label:"\u91D1\u989D",align:"center",prop:"price"},{default:e(a=>[_(" \uFFE5"+i(r(x)(a.row.price)),1)]),_:1}),t(l,{label:"\u786E\u6536\u91D1\u989D",align:"center",prop:"receivedPrice"},{default:e(a=>[_(" \uFFE5"+i(r(x)(a.row.receivedPrice)),1)]),_:1}),t(l,{label:"\u9000\u6B3E\u91D1\u989D",align:"center",prop:"refundPrice"},{default:e(a=>[_(" \uFFE5"+i(r(x)(a.row.refundPrice)),1)]),_:1}),t(l,{label:"\u4F63\u91D1",align:"center",prop:"integral"},{default:e(a=>[_(i(r(s)(a.row.integral)),1)]),_:1}),t(l,{label:"\u786E\u6536\u4F63\u91D1",align:"center",prop:"receivedIntegral"},{default:e(a=>[_(i(r(s)(a.row.receivedIntegral)),1)]),_:1}),t(l,{label:"\u9000\u6B3E\u4F63\u91D1",align:"center",prop:"refundIntegral"},{default:e(a=>[_(i(r(s)(a.row.refundIntegral)),1)]),_:1}),t(l,{label:"\u6D88\u8D39\u5206",align:"center",prop:"consumptionPoints"},{default:e(a=>[_(i(r(s)(a.row.consumptionPoints)),1)]),_:1}),t(l,{label:"\u786E\u6536\u6D88\u8D39\u5206",align:"center",prop:"receivedConsumptionPoints"},{default:e(a=>[_(i(r(s)(a.row.receivedConsumptionPoints)),1)]),_:1}),t(l,{label:"\u9000\u6B3E\u6D88\u8D39\u5206",align:"center",prop:"refundConsumptionPoints"},{default:e(a=>[_(i(r(s)(a.row.refundConsumptionPoints)),1)]),_:1}),t(l,{label:"\u8BA2\u5355\u6570",align:"center",prop:"orderCount"}),t(l,{label:"\u8D26\u5355\u65E5\u671F",align:"center",prop:"orderCalcTime",width:"180px"}),t(l,{label:"\u64CD\u4F5C",align:"center"},{default:e(a=>[b((v(),R(p,{type:"success",plain:"",onClick:f=>(async(Z,j)=>{Z.stopPropagation();try{await M.exportConfirm(),h.value=!0;const G=await Dt.exportDailyBill({ptDailyBillId:j.id});Pt.excel(G,"\u6BCF\u65E5\u8D26\u5355.xls")}catch{}finally{h.value=!1}})(f,a.row),loading:r(h),size:"small"},{default:e(()=>[_(" \u5BFC\u51FA ")]),_:2},1032,["onClick","loading"])),[[W,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[X,r(y)]]),t(O,{total:r(N),page:r(o).pageNo,"onUpdate:page":n[2]||(n[2]=a=>r(o).pageNo=a),limit:r(o).pageSize,"onUpdate:limit":n[3]||(n[3]=a=>r(o).pageSize=a),onPagination:u},null,8,["total","page","limit"])]),_:1}),t(zt,{ref_key:"formRef",ref:Y,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-fbbb162e"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptdailybill/index.vue"]])});export{na as __tla,S as default};
|