index-b414d82e.js 7.5 KB

1
  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-a9d538d5.js";import{_ as va,__tla as wa}from"./ContentWrap.vue_vue_type_script_setup_true_lang-6b7b4656.js";import{_ as xa,__tla as ba}from"./index.vue_vue_type_script_setup_true_lang-ca67dc77.js";import{d as Ca}from"./download-20922b56.js";import{D as ka,__tla as Pa}from"./index-1a413f8e.js";import{_ as Da,__tla as Ia}from"./PtDailyBillForm.vue_vue_type_script_setup_true_lang-c08afa54.js";import{u as Na,__tla as Ya}from"./useMessage-d5cbbfad.js";import{_ as za}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Ta}from"./el-card-0ea446a3.js";import{__tla as Ba}from"./index-95ad39b3.js";import{__tla as Ra}from"./formatTime-8985a9d0.js";import{__tla as Sa}from"./DailyBillForm.vue_vue_type_style_index_0_lang-6d03014e.js";import{__tla as Ua}from"./Dialog-f354f369.js";import{__tla as Va}from"./OrderIndex-c01c0121.js";import{__tla as Fa}from"./SPuUploadImg-40b4a494.js";import{__tla as Ha}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-7f19656e.js";import{__tla as Ma}from"./index-ab25a150.js";import{__tla as qa}from"./el-image-viewer-2e77a3e7.js";import{__tla as Aa}from"./OrderBaseInfo-d4c8b67f.js";import{__tla as Ea}from"./index-6451d5a2.js";import{__tla as Ja}from"./dict-0e53af99.js";import{__tla as Ka}from"./OrderProduct-6c9a8b4b.js";import{__tla as La}from"./el-descriptions-item-fc5f9080.js";import{__tla as Oa}from"./DictTag.vue_vue_type_script_lang-9e4dd0a0.js";import"./color-6e929987.js";import{__tla as Wa}from"./OrderComment-bf80345a.js";import{__tla as Xa}from"./el-image-2dadd73e.js";import{__tla as ja}from"./OrderService-90439530.js";import{__tla as Ga}from"./AfterSale-dbddf774.js";import{__tla as Qa}from"./index-95f2e02a.js";import{__tla as Za}from"./OrderLogistics-b0f2f4ff.js";import{__tla as $a}from"./el-timeline-item-f8774d6b.js";import{__tla as at}from"./index-ad8df48e.js";import{__tla as tt}from"./orderPay-61fc6ba7.js";import{__tla as rt}from"./OrderLogs-8efcb6a4.js";import{__tla as et}from"./OrderDeliveryForm-fb4aa2d2.js";import{__tla as lt}from"./OrderUpdateRemarkForm-a000a94d.js";import{__tla as _t}from"./OrderUpdateAddressForm.vue_vue_type_script_setup_true_lang-86d7c521.js";import{__tla as ot}from"./el-tree-select-ca2609f2.js";import{__tla as ct}from"./index-d4926972.js";import"./tree-fd3a041e.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};