index-45e4b8fa.js 7.4 KB

1
  1. import{ar as X,d as Z,r as c,i as aa,f as ta,l as ra,R as ea,o as g,c as la,h as v,g as a,a as r,av as _a,y as w,a5 as oa,w as e,n as _,x as S,t as s,a$ as b,e8 as x,F as ia,D as ca,C as sa,B as na,q as ma,E as pa,j as ua,G as fa,H as da,I as ya,J as ha,_ as ga,__tla as va}from"./index-b362e1d5.js";import{_ as wa,__tla as ba}from"./ContentWrap-a3bb871b.js";import{_ as xa,__tla as Ca}from"./index-ccc64a6d.js";import{d as Da}from"./download-20922b56.js";import{D as ka,__tla as Pa}from"./index-20fbbdc8.js";import Ia,{__tla as za}from"./PtDailyBillForm-745dfb11.js";import{u as Na,__tla as Ta}from"./useMessage-7c1dd10e.js";import{__tla as Ya}from"./el-card-732e29b8.js";import{__tla as Ba}from"./index-39b44010.js";import{__tla as Fa}from"./formatTime-053b1c05.js";import{__tla as Ra}from"./DailyBillForm-1835c9d0.js";import{__tla as Sa}from"./Dialog-71bebaff.js";import{__tla as Ha}from"./OrderIndex-ea976f62.js";import{__tla as Ma}from"./SPuUploadImg-8c588231.js";import{__tla as Ua}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-b4af8eb1.js";import{__tla as Va}from"./index-6b00d885.js";import{__tla as qa}from"./el-image-viewer-68ae3e49.js";import{__tla as ja}from"./OrderBaseInfo-f904970b.js";import{__tla as Aa}from"./index-4596f7c2.js";import{__tla as Ea}from"./dict-9948b178.js";import{__tla as Ga}from"./OrderProduct-f59e000c.js";import{__tla as Ja}from"./el-descriptions-item-190ce268.js";import{__tla as $a}from"./DictTag-e097450d.js";import"./color-6e929987.js";import{__tla as Ka}from"./OrderComment-2006c76a.js";import{__tla as La}from"./el-image-6c94a1ed.js";import{__tla as Oa}from"./OrderService-2ab77526.js";import{__tla as Qa}from"./AfterSale-592d9425.js";import{__tla as Wa}from"./index-73fd237a.js";import{__tla as Xa}from"./OrderLogistics-5c629f86.js";import{__tla as Za}from"./el-timeline-item-43bed214.js";import{__tla as at}from"./index-740c374f.js";import{__tla as tt}from"./orderPay-819a01f9.js";import{__tla as rt}from"./OrderLogs-36747626.js";import{__tla as et}from"./OrderDeliveryForm-6c1bd3a8.js";import{__tla as lt}from"./OrderUpdateRemarkForm-eff1adc0.js";import{__tla as _t}from"./OrderUpdateAddressForm-8b2ee330.js";import{__tla as ot}from"./el-tree-select-0f207944.js";import{__tla as it}from"./index-75393ea1.js";import"./tree-0af4953a.js";let H,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 Ha}catch{}})(),(()=>{try{return Ma}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return qa}catch{}})(),(()=>{try{return ja}catch{}})(),(()=>{try{return Aa}catch{}})(),(()=>{try{return Ea}catch{}})(),(()=>{try{return Ga}catch{}})(),(()=>{try{return Ja}catch{}})(),(()=>{try{return $a}catch{}})(),(()=>{try{return Ka}catch{}})(),(()=>{try{return La}catch{}})(),(()=>{try{return Oa}catch{}})(),(()=>{try{return Qa}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,D,k,P;C=async I=>await X.get({url:"/distri/pt-daily-bill/page",params:I}),D={class:"search-one"},k={style:{"text-align":"right"},class:"search-input"},P={class:"searchMore",style:{width:"calc(100% - 60px)"}},H=ga(Z({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(I){const m=c(!1),M=()=>{m.value=!m.value},f=()=>{m.value=!1},U=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()},V=()=>{T.value.resetFields(),Y(),f()},B=c();return ra(()=>{p()}),(h,i)=>{const n=ca,q=sa,F=na,R=ma,j=pa,A=ua,E=fa,l=da,G=ya,J=xa,$=wa,K=ea("hasPermi"),L=ha;return g(),la(ia,null,[v("div",D,[v("div",k,[a(n,{icon:r(_a),onClick:M,style:{"margin-left":"0"}},null,8,["icon"])])]),w(v("div",P,[a(E,{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(q,{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(A,null,{default:e(()=>[a(j,null,{default:e(()=>[a(F,null,{default:e(()=>[a(n,{onClick:f},{default:e(()=>[_(" \u6536\u8D77 ")]),_:1}),a(n,{onClick:V},{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($,{class:"mt-15px"},{default:e(()=>[w((g(),S(G,{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(O,Q)=>{O.stopPropagation();try{await U.exportConfirm(),y.value=!0;const W=await ka.exportDailyBill({ptDailyBillId:Q.id});Da.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"])),[[K,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[L,r(d)]]),a(J,{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,H as default};