DailyBillForm-6c5dff3e.js 5.3 KB

1
  1. import{d as H,u as R,Y as U,K as k,r as e,e as N,h as O,o as w,v,w as o,f as _,x as V,a,n as m,t as s,at as y,ea as j,ef as A,O as G,G as K,H as L,I as Y,_ as q,__tla as E}from"./index-e1bb590d.js";import{_ as J,__tla as Q}from"./Dialog-36839ea0.js";import{_ as W,__tla as X}from"./ContentWrap-ce906d83.js";import{_ as Z,__tla as $}from"./index-80479ade.js";import tt,{__tla as at}from"./OrderIndex-6c8668d9.js";import{l as rt,__tla as _t}from"./index-5adbd9e0.js";import{u as lt,__tla as et}from"./useMessage-042ce74c.js";import{__tla as ot}from"./ContentWrap.vue_vue_type_script_setup_true_lang-329456e3.js";import{__tla as ct}from"./el-card-535d49a1.js";import{__tla as it}from"./index-07faecb5.js";import{__tla as mt}from"./SPuUploadImg-0ffbf164.js";import{__tla as st}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-f02bfd7e.js";import{__tla as nt}from"./index-b64c5a02.js";import{__tla as pt}from"./el-image-viewer-705d587b.js";import{__tla as ut}from"./OrderBaseInfo-2b097697.js";import{__tla as ft}from"./formatTime-f6897acb.js";import{__tla as yt}from"./dict-644a065b.js";import{__tla as ht}from"./OrderProduct-95177bc3.js";import{__tla as dt}from"./el-descriptions-item-73f247bb.js";import{__tla as gt}from"./DictTag-bfc7a0a9.js";import"./color-6e929987.js";import{__tla as wt}from"./OrderComment-af3d9d82.js";import{__tla as vt}from"./el-image-be54051b.js";import{__tla as bt}from"./OrderService-eb18b764.js";import{__tla as It}from"./AfterSale-82c30d34.js";import{__tla as Pt}from"./index-ab00d371.js";import{__tla as Tt}from"./OrderLogistics-97878157.js";import{__tla as xt}from"./el-timeline-item-c8f3565b.js";import{__tla as zt}from"./index-3c270cbe.js";import{__tla as Ct}from"./orderPay-98421543.js";import{__tla as Dt}from"./OrderLogs-56e82876.js";import{__tla as St}from"./OrderDeliveryForm-982e06bb.js";import{__tla as Mt}from"./OrderUpdateRemarkForm-c9819090.js";import{__tla as Bt}from"./OrderUpdateAddressForm-59b63c8b.js";import{__tla as Ft}from"./el-tree-select-5cb56fe1.js";import{__tla as Ht}from"./index-7d06427b.js";import"./tree-0af4953a.js";let b,Rt=Promise.all([(()=>{try{return E}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return et}catch{}})(),(()=>{try{return ot}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return st}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return wt}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return bt}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return xt}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Dt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Ht}catch{}})()]).then(async()=>{b=q(H({name:"DailyBillForm",__name:"DailyBillForm",setup(Ut,{expose:I}){const{currentRoute:kt,push:P}=R(),T=U(),x=k(()=>T.getMobile),p=e(!0),h=e(0),r=N({pageNo:1,pageSize:10,orderCalcTime:void 0,payStatus:1,shopId:void 0,merchantId:void 0});O(),lt();const n=e(!1),z=e("\u660E\u7EC6\u9879");e(!1),e("");const d=e([]);I({open:async c=>{n.value=!0,r.orderCalcTime=c.orderCalcTime,r.merchantId=c.merchantId,r.shopId=c.shopId,u()}});const g=e(),u=async()=>{p.value=!0,console.log(a(r));try{const c=await rt(a(r));d.value=c.list,h.value=c.total}finally{p.value=!1}};return(c,l)=>{const i=K,C=L,D=Z,S=W,M=J,B=Y;return w(),v(M,{title:a(z),modelValue:a(n),"onUpdate:modelValue":l[3]||(l[3]=t=>G(n)?n.value=t:null),width:"80%",class:"dailybill-dialog"},{default:o(()=>[_(S,null,{default:o(()=>[V((w(),v(C,{data:a(d),stripe:!0,"show-overflow-tooltip":!0,onRowClick:l[0]||(l[0]=t=>(f=>{const F=f.id;x.value?P({name:"TradeOrderMobileDetail",params:{id:F}}):g.value.open("view",f,f.no)})(t)),"row-class-name":"row"},{default:o(()=>[_(i,{label:"\u8BA2\u5355\u53F7",align:"center",prop:"no"}),_(i,{label:"\u91D1\u989D",align:"center",prop:"no"},{default:o(t=>[m(" \uFFE5"+s(a(y)(t.row.payPrice)),1)]),_:1}),_(i,{label:"\u786E\u6536\u91D1\u989D",align:"center"},{default:o(t=>[m(" \uFFE5"+s(a(y)(t.row.payPrice-t.row.refundPrice)),1)]),_:1}),_(i,{label:"\u9000\u6B3E\u91D1\u989D",align:"center",prop:"refundPrice"},{default:o(t=>[m(" \uFFE5"+s(a(y)(t.row.refundPrice)),1)]),_:1}),_(i,{label:"\u79EF\u5206\u62B5\u6263",align:"center",prop:"payIntegral"},{default:o(t=>[m(s(a(j)(t.row.payIntegral||0)),1)]),_:1}),_(i,{label:"\u4E0B\u5355\u65F6\u95F4",align:"center",prop:"createTime"},{default:o(t=>[m(s(a(A)(t.row.createTime,"yyyy-MM-dd HH:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[B,a(p)]]),_(D,{total:a(h),page:a(r).pageNo,"onUpdate:page":l[1]||(l[1]=t=>a(r).pageNo=t),limit:a(r).pageSize,"onUpdate:limit":l[2]||(l[2]=t=>a(r).pageSize=t),onPagination:u},null,8,["total","page","limit"])]),_:1}),_(tt,{ref_key:"formRef",ref:g,onSuccess:u},null,512)]),_:1},8,["title","modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/distri/dailybill/DailyBillForm.vue"]])});export{Rt as __tla,b as default};