1 |
- import{az as Z,d as $,r as c,P as tt,x as at,b as rt,a3 as et,o as v,c as lt,B as w,f as t,a as r,aC as _t,k as b,v as ot,A as e,D as _,C as S,E as i,dx as C,O as s,F as it,J as nt,I as ct,U as st,_ as pt,H as mt,K as ut,V as ft,W as dt,X as yt,Y as ht,__tla as gt}from"./index-6e0fa573.js";import{_ as vt,__tla as wt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{_ as bt,__tla as Ct}from"./index.vue_vue_type_script_setup_true_lang-cd12277f.js";import{d as xt}from"./download-20922b56.js";import{D as Pt,__tla as kt}from"./index-67b35871.js";import{_ as Dt,__tla as It}from"./PtDailyBillForm.vue_vue_type_script_setup_true_lang-0154d231.js";import{u as Yt,__tla as zt}from"./useMessage-7f978edc.js";import{_ as Nt}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Tt}from"./el-card-f999e23d.js";import{__tla as Vt}from"./index-99c4720b.js";import{__tla as Bt}from"./formatTime-4408999b.js";import{__tla as Ht}from"./DailyBillForm.vue_vue_type_style_index_0_lang-ba8f1c0c.js";import{__tla as St}from"./Dialog-a16029e3.js";import{__tla as Ut}from"./OrderIndex-c6d60d21.js";import{__tla as Ft}from"./SPuUploadImg-57a4a7e3.js";import{__tla as Mt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-16273a08.js";import{__tla as Rt}from"./index-f34352a4.js";import{__tla as Jt}from"./el-image-viewer-bd37a3c0.js";import{__tla as qt}from"./OrderBaseInfo-e42799cd.js";import{__tla as At}from"./index-01fa4814.js";import{__tla as Et}from"./dict-33efee75.js";import{__tla as Kt}from"./OrderProduct-ce1993b2.js";import{__tla as Ot}from"./el-descriptions-item-868c8d3f.js";import{__tla as Wt}from"./DictTag.vue_vue_type_script_lang-66c5118d.js";import"./color-6e929987.js";import{__tla as Xt}from"./OrderComment-86c3eeaa.js";import{__tla as jt}from"./el-image-f27c893c.js";import{__tla as Gt}from"./OrderService-e49219cd.js";import{__tla as Lt}from"./AfterSale-4b581e1f.js";import{__tla as Qt}from"./index-41b6ecec.js";import{__tla as Zt}from"./OrderLogistics-760b1d53.js";import{__tla as $t}from"./el-timeline-item-248613ef.js";import{__tla as ta}from"./index-11c9c073.js";import{__tla as aa}from"./orderPay-0146c20f.js";import{__tla as ra}from"./OrderLogs-49a307fc.js";import{__tla as ea}from"./OrderDeliveryForm-7f30244e.js";import{__tla as la}from"./OrderUpdateRemarkForm-64f2437f.js";import{__tla as _a}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-583684a0.js";import{__tla as oa}from"./el-tree-select-490c6b16.js";import{__tla as ia}from"./index-be0d2849.js";import"./tree-0af4953a.js";let U,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 Tt}catch{}})(),(()=>{try{return Vt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Zt}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 Z.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)"}},U=Nt($({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(I){const m=c(!1),F=()=>{m.value=!m.value},d=()=>{m.value=!1},M=Yt();tt();const y=c(!0),Y=c([]),z=c(0),o=at({pageNo:1,pageSize:10,orderCalcTime:void 0}),N=c(),h=c(!1),u=async()=>{y.value=!0;try{const g=await x(o);Y.value=g.list,z.value=g.total}finally{y.value=!1}},T=()=>{o.pageNo=1,u(),d()},R=()=>{N.value.resetFields(),T(),d()},V=c();return rt(()=>{u()}),(g,n)=>{const p=nt,J=ct,B=st,H=pt,q=mt,A=ut,E=ft,l=dt,K=yt,O=bt,W=vt,X=et("hasPermi"),j=ht;return v(),lt(it,null,[w("div",P,[w("div",k,[t(p,{icon:r(_t),onClick:F,style:{"margin-left":"0"}},null,8,["icon"])])]),b(w("div",D,[t(E,{class:"-mb-15px",model:r(o),ref_key:"queryFormRef",ref:N,inline:!0,"label-width":"120px"},{default:e(()=>[t(B,{label:"\u8D26\u5355\u65E5\u671F",prop:"createTime"},{default:e(()=>[t(J,{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:R},{default:e(()=>[t(H,{class:"mr-5px",icon:"ep:refresh"}),_(" \u91CD\u7F6E ")]),_:1}),t(p,{onClick:T,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(W,{class:"mt-15px"},{default:e(()=>[b((v(),S(K,{data:r(Y),stripe:!0,"show-overflow-tooltip":!0,onRowClick:n[1]||(n[1]=a=>{return f=a,void V.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(G,L)=>{G.stopPropagation();try{await M.exportConfirm(),h.value=!0;const Q=await Pt.exportDailyBill({ptDailyBillId:L.id});xt.excel(Q,"\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"])),[[X,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[j,r(y)]]),t(O,{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:V,onSuccess:u},null,512)],64)}}}),[["__scopeId","data-v-b025bfc0"]])});export{na as __tla,U as default};
|