1 |
- import{az as Z,d as $,r as i,P as aa,x as ta,b as ra,a3 as ea,o as g,c as la,B as v,f as a,a as r,aC as _a,k as w,v as oa,A as e,D as _,C as U,E as s,dx as x,O as b,F as ca,J as ia,I as sa,U as na,_ as ma,H as pa,K as ua,V as fa,W as da,X as ya,Y as ha,__tla as ga}from"./index-f65577b8.js";import{_ as va,__tla as wa}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9fbbd655.js";import{_ as xa,__tla as ba}from"./index.vue_vue_type_script_setup_true_lang-53598c8e.js";import{d as Ca}from"./download-20922b56.js";import{D as ka,__tla as Pa}from"./index-99069f08.js";import{_ as Da,__tla as Ia}from"./PtDailyBillForm.vue_vue_type_script_setup_true_lang-cb4c1fa6.js";import{u as Na,__tla as Ya}from"./useMessage-4dbf0ae4.js";import{_ as za}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Ta}from"./el-card-ab53e6aa.js";import{__tla as Ba}from"./index-1896261a.js";import{__tla as Ra}from"./formatTime-411ed1a1.js";import{__tla as Sa}from"./DailyBillForm.vue_vue_type_style_index_0_lang-aafbb4eb.js";import{__tla as Ua}from"./Dialog-bd3317a7.js";import{__tla as Va}from"./OrderIndex-b1cf624c.js";import{__tla as Fa}from"./SPuUploadImg-bb83411e.js";import{__tla as Ha}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-cac578ef.js";import{__tla as Ma}from"./index-c1ff7b7a.js";import{__tla as qa}from"./el-image-viewer-7e496319.js";import{__tla as Aa}from"./OrderBaseInfo-e8a3700a.js";import{__tla as Ea}from"./index-be51ff92.js";import{__tla as Ja}from"./dict-fa3ffbd2.js";import{__tla as Ka}from"./OrderProduct-d6da1d7a.js";import{__tla as La}from"./el-descriptions-item-3096f9fe.js";import{__tla as Oa}from"./DictTag.vue_vue_type_script_lang-48f8deb5.js";import"./color-6e929987.js";import{__tla as Wa}from"./OrderComment-a29e32a4.js";import{__tla as Xa}from"./el-image-6b44629c.js";import{__tla as ja}from"./OrderService-0695df98.js";import{__tla as Ga}from"./AfterSale-52e4d3b6.js";import{__tla as Qa}from"./index-c8579bc8.js";import{__tla as Za}from"./OrderLogistics-62982c49.js";import{__tla as $a}from"./el-timeline-item-f70fc29c.js";import{__tla as at}from"./index-9c50e33f.js";import{__tla as tt}from"./orderPay-211896d4.js";import{__tla as rt}from"./OrderLogs-e916692b.js";import{__tla as et}from"./OrderDeliveryForm-12897807.js";import{__tla as lt}from"./OrderUpdateRemarkForm-44df5c95.js";import{__tla as _t}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-5dec583c.js";import{__tla as ot}from"./el-tree-select-27b84fc4.js";import{__tla as ct}from"./index-1c1aa66e.js";import"./tree-0af4953a.js";let V,it=Promise.all([(()=>{try{return ga}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return Pa}catch{}})(),(()=>{try{return Ia}catch{}})(),(()=>{try{return Ya}catch{}})(),(()=>{try{return Ta}catch{}})(),(()=>{try{return Ba}catch{}})(),(()=>{try{return Ra}catch{}})(),(()=>{try{return Sa}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return Fa}catch{}})(),(()=>{try{return Ha}catch{}})(),(()=>{try{return Ma}catch{}})(),(()=>{try{return qa}catch{}})(),(()=>{try{return Aa}catch{}})(),(()=>{try{return Ea}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 ja}catch{}})(),(()=>{try{return Ga}catch{}})(),(()=>{try{return Qa}catch{}})(),(()=>{try{return Za}catch{}})(),(()=>{try{return $a}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 ct}catch{}})()]).then(async()=>{let C,k,P,D;C=async I=>await Z.get({url:"/distri/pt-daily-bill/page",params:I}),k={class:"search-one"},P={style:{"text-align":"right"},class:"search-input"},D={class:"searchMore",style:{width:"calc(100% - 60px)"}},V=za($({name:"PtDailyBill",__name:"index",props:{merchantId:{type:Number,default:void 0}},setup(I){const m=i(!1),F=()=>{m.value=!m.value},f=()=>{m.value=!1},H=Na();aa();const d=i(!0),N=i([]),Y=i(0),o=ta({pageNo:1,pageSize:10,orderCalcTime:void 0}),z=i(),y=i(!1),p=async()=>{d.value=!0;try{const h=await C(o);N.value=h.list,Y.value=h.total}finally{d.value=!1}},T=()=>{o.pageNo=1,p(),f()},M=()=>{z.value.resetFields(),T(),f()},B=i();return ra(()=>{p()}),(h,c)=>{const n=ia,q=sa,R=na,S=ma,A=pa,E=ua,J=fa,l=da,K=ya,L=xa,O=va,W=ea("hasPermi"),X=ha;return g(),la(ca,null,[v("div",k,[v("div",P,[a(n,{icon:r(_a),onClick:F,style:{"margin-left":"0"}},null,8,["icon"])])]),w(v("div",D,[a(J,{class:"-mb-15px",model:r(o),ref_key:"queryFormRef",ref:z,inline:!0,"label-width":"120px"},{default:e(()=>[a(R,{label:"\u8D26\u5355\u65E5\u671F",prop:"createTime"},{default:e(()=>[a(q,{modelValue:r(o).orderCalcTime,"onUpdate:modelValue":c[0]||(c[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(R,null,{default:e(()=>[a(n,{onClick:f},{default:e(()=>[_(" \u6536\u8D77 ")]),_:1}),a(n,{onClick:M},{default:e(()=>[a(S,{class:"mr-5px",icon:"ep:refresh"}),_(" \u91CD\u7F6E ")]),_:1}),a(n,{onClick:T,plain:"",type:"primary"},{default:e(()=>[a(S,{class:"mr-5px",icon:"ep:search"}),_(" \u641C\u7D22 ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])],512),[[oa,r(m)]]),a(O,{class:"mt-15px"},{default:e(()=>[w((g(),U(K,{data:r(N),stripe:!0,"show-overflow-tooltip":!0,onRowClick:c[1]||(c[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(x)(t.row.price)),1)]),_:1}),a(l,{label:"\u786E\u6536\u91D1\u989D",align:"center",prop:"receivedPrice"},{default:e(t=>[_(" \uFFE5"+s(r(x)(t.row.receivedPrice)),1)]),_:1}),a(l,{label:"\u9000\u6B3E\u91D1\u989D",align:"center",prop:"refundPrice"},{default:e(t=>[_(" \uFFE5"+s(r(x)(t.row.refundPrice)),1)]),_:1}),a(l,{label:"\u4F63\u91D1",align:"center",prop:"integral"},{default:e(t=>[_(s(r(b)(t.row.integral)),1)]),_:1}),a(l,{label:"\u786E\u6536\u4F63\u91D1",align:"center",prop:"receivedIntegral"},{default:e(t=>[_(s(r(b)(t.row.receivedIntegral)),1)]),_:1}),a(l,{label:"\u9000\u6B3E\u4F63\u91D1",align:"center",prop:"refundIntegral"},{default:e(t=>[_(s(r(b)(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(),U(n,{type:"success",plain:"",onClick:u=>(async(j,G)=>{j.stopPropagation();try{await H.exportConfirm(),y.value=!0;const Q=await ka.exportDailyBill({ptDailyBillId:G.id});Ca.excel(Q,"\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"])),[[W,["distri:daily-bill:export"]]])]),_:1})]),_:1},8,["data"])),[[X,r(d)]]),a(L,{total:r(Y),page:r(o).pageNo,"onUpdate:page":c[2]||(c[2]=t=>r(o).pageNo=t),limit:r(o).pageSize,"onUpdate:limit":c[3]||(c[3]=t=>r(o).pageSize=t),onPagination:p},null,8,["total","page","limit"])]),_:1}),a(Da,{ref_key:"formRef",ref:B,onSuccess:p},null,512)],64)}}}),[["__scopeId","data-v-a51d18f9"]])});export{it as __tla,V as default};
|