index-8c81b709.js 8.0 KB

1
  1. import{az as O,d as $,r as c,Q as tt,x as at,b as rt,a3 as et,o as v,c as lt,C as w,f as t,a as r,aC as _t,k as b,v as ot,B as e,E as _,A as S,G as i,dx as C,P as s,F as it,K as nt,J as ct,V as st,_ as pt,I as mt,L as ut,W as ft,X as dt,Y as yt,Z as ht,__tla as gt}from"./index-e8bff8cb.js";import{_ as vt,__tla as wt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-33dea697.js";import{_ as bt,__tla as Ct}from"./index.vue_vue_type_script_setup_true_lang-75f84d87.js";import{d as xt}from"./download-20922b56.js";import{D as Pt,__tla as kt}from"./index-7e886285.js";import{_ as Dt,__tla as It}from"./PtDailyBillForm.vue_vue_type_script_setup_true_lang-2ae3af3c.js";import{u as Nt,__tla as zt}from"./useMessage-de42a595.js";import{_ as Tt}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Vt}from"./el-card-f9558d99.js";import{__tla as Yt}from"./index-35928fe5.js";import{__tla as Bt}from"./formatTime-4fdd5566.js";import{__tla as Rt}from"./DailyBillForm.vue_vue_type_style_index_0_lang-8f2e23d5.js";import{__tla as St}from"./Dialog-4d17ac25.js";import{__tla as Ft}from"./OrderIndex-6f7a18c7.js";import{__tla as Mt}from"./SPuUploadImg-792a299f.js";import{__tla as Ut}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-1394f284.js";import{__tla as Ht}from"./index-32ca9885.js";import{__tla as Lt}from"./el-image-viewer-aab7739e.js";import{__tla as qt}from"./OrderBaseInfo-028fc8d4.js";import{__tla as At}from"./index-5d2c0183.js";import{__tla as Et}from"./dict-4a54e490.js";import{__tla as Gt}from"./OrderProduct-0584792c.js";import{__tla as Jt}from"./el-descriptions-item-d429ad13.js";import{__tla as Kt}from"./DictTag.vue_vue_type_script_lang-23f1740b.js";import"./color-6e929987.js";import{__tla as Qt}from"./OrderComment-1acc8e01.js";import{__tla as Wt}from"./el-image-7cacfc0f.js";import{__tla as Xt}from"./OrderService-4fe557ad.js";import{__tla as Zt}from"./AfterSale-ca4a39ce.js";import{__tla as jt}from"./index-dc2d6a93.js";import{__tla as Ot}from"./OrderLogistics-b150e884.js";import{__tla as $t}from"./el-timeline-item-06d19d31.js";import{__tla as ta}from"./index-60b1aeef.js";import{__tla as aa}from"./orderPay-89f2a1e8.js";import{__tla as ra}from"./OrderLogs-f58bb2be.js";import{__tla as ea}from"./OrderDeliveryForm-ff48efbc.js";import{__tla as la}from"./OrderUpdateRemarkForm-2d292e26.js";import{__tla as _a}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-5579f57c.js";import{__tla as oa}from"./el-tree-select-d9ced475.js";import{__tla as ia}from"./index-4bde5d87.js";import"./tree-0af4953a.js";let F,na=Promise.all([(()=>{try{return gt}catch{}})(),(()=>{try{return wt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Vt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Ot}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 x,P,k,D;x=async I=>await O.get({url:"/distri/pt-daily-bill/page",params:I}),P={class:"search-one"},k={style:{"text-align":"right"},class:"search-input"},D={class:"searchMore",style:{width:"calc(100% - 60px)"}},F=Tt($({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(I){const m=c(!1),M=()=>{m.value=!m.value},d=()=>{m.value=!1},U=Nt();tt();const y=c(!0),N=c([]),z=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 x(o);N.value=g.list,z.value=g.total}finally{y.value=!1}},V=()=>{o.pageNo=1,u(),d()},H=()=>{T.value.resetFields(),V(),d()},Y=c();return rt(()=>{u()}),(g,n)=>{const p=nt,L=ct,B=st,R=pt,q=mt,A=ut,E=ft,l=dt,G=yt,J=bt,K=vt,Q=et("hasPermi"),W=ht;return v(),lt(it,null,[w("div",P,[w("div",k,[t(p,{icon:r(_t),onClick:M,style:{"margin-left":"0"}},null,8,["icon"])])]),b(w("div",D,[t(E,{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(L,{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(A,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:H},{default:e(()=>[t(R,{class:"mr-5px",icon:"ep:refresh"}),_(" \u91CD\u7F6E ")]),_:1}),t(p,{onClick:V,plain:"",type:"primary"},{default:e(()=>[t(R,{class:"mr-5px",icon:"ep:search"}),_(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],512),[[ot,r(m)]]),t(K,{class:"mt-15px"},{default:e(()=>[b((v(),S(G,{data:r(N),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(C)(a.row.price)),1)]),_:1}),t(l,{label:"\u786E\u6536\u91D1\u989D",align:"center",prop:"receivedPrice"},{default:e(a=>[_(" \uFFE5"+i(r(C)(a.row.receivedPrice)),1)]),_:1}),t(l,{label:"\u9000\u6B3E\u91D1\u989D",align:"center",prop:"refundPrice"},{default:e(a=>[_(" \uFFE5"+i(r(C)(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(),S(p,{type:"success",plain:"",onClick:f=>(async(X,Z)=>{X.stopPropagation();try{await U.exportConfirm(),h.value=!0;const j=await Pt.exportDailyBill({ptDailyBillId:Z.id});xt.excel(j,"\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"])),[[Q,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[W,r(y)]]),t(J,{total:r(z),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(Dt,{ref_key:"formRef",ref:Y,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-b025bfc0"]])});export{na as __tla,F as default};