index-b7c32234.js 7.4 KB

1
  1. import{aq as X,d as Z,r as c,h as aa,e as ta,k as ra,Q as ea,o as g,c as la,g as v,f as a,a as r,au as _a,x as w,a4 as oa,w as e,m as _,v as S,t as s,a$ as b,e8 as x,F as ia,C as ca,B as sa,A as na,n as ma,E as pa,i as ua,D as fa,G as da,H as ya,I as ha,_ as ga,__tla as va}from"./index-430b3151.js";import{_ as wa,__tla as ba}from"./ContentWrap-60842994.js";import{_ as xa,__tla as Ca}from"./index-c425c88f.js";import{d as ka}from"./download-20922b56.js";import{D as Da,__tla as Pa}from"./index-41480423.js";import Ia,{__tla as za}from"./PtDailyBillForm-6ddfcaca.js";import{u as Na,__tla as Ta}from"./useMessage-d226ba89.js";import{__tla as Ya}from"./el-card-dee5b36b.js";import{__tla as Ba}from"./index-555139e7.js";import{__tla as Fa}from"./formatTime-00eecbb7.js";import{__tla as Ra}from"./DailyBillForm-4afb86d2.js";import{__tla as Sa}from"./Dialog-cd42c639.js";import{__tla as qa}from"./OrderIndex-d222e5a5.js";import{__tla as Ha}from"./SPuUploadImg-e216b873.js";import{__tla as Ma}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-f5de6f1b.js";import{__tla as Ua}from"./index-255e3b1c.js";import{__tla as Va}from"./el-image-viewer-467ebe35.js";import{__tla as Aa}from"./OrderBaseInfo-27b8c7ef.js";import{__tla as Ea}from"./index-72a4fbcc.js";import{__tla as Ga}from"./dict-603b6a58.js";import{__tla as Qa}from"./OrderProduct-e67aebc2.js";import{__tla as $a}from"./el-descriptions-item-f31a472b.js";import{__tla as ja}from"./DictTag-c94c3188.js";import"./color-6e929987.js";import{__tla as Ja}from"./OrderComment-033139c3.js";import{__tla as Ka}from"./el-image-c98b70f9.js";import{__tla as La}from"./OrderService-e4abfd9c.js";import{__tla as Oa}from"./AfterSale-5ff3e48a.js";import{__tla as Wa}from"./index-a205ae1b.js";import{__tla as Xa}from"./OrderLogistics-2cdb393b.js";import{__tla as Za}from"./el-timeline-item-96c4ad36.js";import{__tla as at}from"./index-6024924b.js";import{__tla as tt}from"./orderPay-ac1634c7.js";import{__tla as rt}from"./OrderLogs-a86a0456.js";import{__tla as et}from"./OrderDeliveryForm-61dad7d0.js";import{__tla as lt}from"./OrderUpdateRemarkForm-5aa72566.js";import{__tla as _t}from"./OrderUpdateAddressForm-9fee086a.js";import{__tla as ot}from"./el-tree-select-eb1ce80a.js";import{__tla as it}from"./index-8e25ba34.js";import"./tree-0af4953a.js";let q,ct=Promise.all([(()=>{try{return va}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return Ca}catch{}})(),(()=>{try{return Pa}catch{}})(),(()=>{try{return za}catch{}})(),(()=>{try{return Ta}catch{}})(),(()=>{try{return Ya}catch{}})(),(()=>{try{return Ba}catch{}})(),(()=>{try{return Fa}catch{}})(),(()=>{try{return Ra}catch{}})(),(()=>{try{return Sa}catch{}})(),(()=>{try{return qa}catch{}})(),(()=>{try{return Ha}catch{}})(),(()=>{try{return Ma}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return Aa}catch{}})(),(()=>{try{return Ea}catch{}})(),(()=>{try{return Ga}catch{}})(),(()=>{try{return Qa}catch{}})(),(()=>{try{return $a}catch{}})(),(()=>{try{return ja}catch{}})(),(()=>{try{return Ja}catch{}})(),(()=>{try{return Ka}catch{}})(),(()=>{try{return La}catch{}})(),(()=>{try{return Oa}catch{}})(),(()=>{try{return Wa}catch{}})(),(()=>{try{return Xa}catch{}})(),(()=>{try{return Za}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return rt}catch{}})(),(()=>{try{return et}catch{}})(),(()=>{try{return lt}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return ot}catch{}})(),(()=>{try{return it}catch{}})()]).then(async()=>{let C,k,D,P;C=async I=>await X.get({url:"/distri/pt-daily-bill/page",params:I}),k={class:"search-one"},D={style:{"text-align":"right"},class:"search-input"},P={class:"searchMore",style:{width:"calc(100% - 60px)"}},q=ga(Z({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(I){const m=c(!1),H=()=>{m.value=!m.value},f=()=>{m.value=!1},M=Na();aa();const d=c(!0),z=c([]),N=c(0),o=ta({pageNo:1,pageSize:10,orderCalcTime:void 0}),T=c(),y=c(!1),p=async()=>{d.value=!0;try{const h=await C(o);z.value=h.list,N.value=h.total}finally{d.value=!1}},Y=()=>{o.pageNo=1,p(),f()},U=()=>{T.value.resetFields(),Y(),f()},B=c();return ra(()=>{p()}),(h,i)=>{const n=ca,V=sa,F=na,R=ma,A=pa,E=ua,G=fa,l=da,Q=ya,$=xa,j=wa,J=ea("hasPermi"),K=ha;return g(),la(ia,null,[v("div",k,[v("div",D,[a(n,{icon:r(_a),onClick:H,style:{"margin-left":"0"}},null,8,["icon"])])]),w(v("div",P,[a(G,{class:"-mb-15px",model:r(o),ref_key:"queryFormRef",ref:T,inline:!0,"label-width":"120px"},{default:e(()=>[a(F,{label:"\u8D26\u5355\u65E5\u671F",prop:"createTime"},{default:e(()=>[a(V,{modelValue:r(o).orderCalcTime,"onUpdate:modelValue":i[0]||(i[0]=t=>r(o).orderCalcTime=t),"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}),a(E,null,{default:e(()=>[a(A,null,{default:e(()=>[a(F,null,{default:e(()=>[a(n,{onClick:f},{default:e(()=>[_(" \u6536\u8D77 ")]),_:1}),a(n,{onClick:U},{default:e(()=>[a(R,{class:"mr-5px",icon:"ep:refresh"}),_(" \u91CD\u7F6E ")]),_:1}),a(n,{onClick:Y,plain:"",type:"primary"},{default:e(()=>[a(R,{class:"mr-5px",icon:"ep:search"}),_(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],512),[[oa,r(m)]]),a(j,{class:"mt-15px"},{default:e(()=>[w((g(),S(Q,{data:r(z),stripe:!0,"show-overflow-tooltip":!0,onRowClick:i[1]||(i[1]=t=>{return u=t,void B.value.open(u);var u}),"row-class-name":"row"},{default:e(()=>[a(l,{label:"\u8D26\u5355\u7F16\u53F7",align:"center",prop:"id"}),a(l,{label:"\u91D1\u989D",align:"center",prop:"price"},{default:e(t=>[_(" \uFFE5"+s(r(b)(t.row.price)),1)]),_:1}),a(l,{label:"\u786E\u6536\u91D1\u989D",align:"center",prop:"receivedPrice"},{default:e(t=>[_(" \uFFE5"+s(r(b)(t.row.receivedPrice)),1)]),_:1}),a(l,{label:"\u9000\u6B3E\u91D1\u989D",align:"center",prop:"refundPrice"},{default:e(t=>[_(" \uFFE5"+s(r(b)(t.row.refundPrice)),1)]),_:1}),a(l,{label:"\u79EF\u5206",align:"center",prop:"integral"},{default:e(t=>[_(s(r(x)(t.row.integral)),1)]),_:1}),a(l,{label:"\u786E\u6536\u79EF\u5206",align:"center",prop:"receivedIntegral"},{default:e(t=>[_(s(r(x)(t.row.receivedIntegral)),1)]),_:1}),a(l,{label:"\u9000\u6B3E\u79EF\u5206",align:"center",prop:"refundIntegral"},{default:e(t=>[_(s(r(x)(t.row.refundIntegral)),1)]),_:1}),a(l,{label:"\u8BA2\u5355\u6570",align:"center",prop:"orderCount"}),a(l,{label:"\u8D26\u5355\u65E5\u671F",align:"center",prop:"orderCalcTime",width:"180px"}),a(l,{label:"\u64CD\u4F5C",align:"center"},{default:e(t=>[w((g(),S(n,{type:"success",plain:"",onClick:u=>(async(L,O)=>{L.stopPropagation();try{await M.exportConfirm(),y.value=!0;const W=await Da.exportDailyBill({ptDailyBillId:O.id});ka.excel(W,"\u6BCF\u65E5\u8D26\u5355.xls")}catch{}finally{y.value=!1}})(u,t.row),loading:r(y),size:"small"},{default:e(()=>[_(" \u5BFC\u51FA ")]),_:2},1032,["onClick","loading"])),[[J,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[K,r(d)]]),a($,{total:r(N),page:r(o).pageNo,"onUpdate:page":i[2]||(i[2]=t=>r(o).pageNo=t),limit:r(o).pageSize,"onUpdate:limit":i[3]||(i[3]=t=>r(o).pageSize=t),onPagination:p},null,8,["total","page","limit"])]),_:1}),a(Ia,{ref_key:"formRef",ref:B,onSuccess:p},null,512)],64)}}}),[["__scopeId","data-v-fbbb162e"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/ptdailybill/index.vue"]])});export{ct as __tla,q as default};