import{_ as v}from"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import{G as C,b,H as w}from"./element-plus.8e273e86.js";import{u as y}from"./usePaging.f8c888e4.js";import{u as F}from"./useDictOptions.0f4dac76.js";import{a as S}from"./store_order.4be6651c.js";import{d as p,Z as V,o as r,c as i,a as u,U as o,L as m,S as D,u as t,j as E,Q as x}from"./@vue.76ce7aa3.js";import"./lodash.41b9567d.js";import"./index.2078eb25.js";const B={key:0,class:"flex mt-4 justify-end"},P=p({name:"deliverTable"}),O=p({...P,setup(k,{expose:c}){const _=V({order_id:"",pay_type:""});F("");const{pager:e,getLists:l,resetParams:L,resetPage:N}=y({fetchFun:S,params:_});return c({getLists:l}),(d,n)=>{const s=C,f=b,g=w,h=v;return r(),i("div",null,[u("div",null,[o(g,{data:t(e).lists,onSelectionChange:d.handleSelectionChange},{default:m(()=>[o(s,{label:"\u8BA2\u5355\u53F7",prop:"id","show-overflow-tooltip":""}),o(s,{label:"\u5546\u54C1\u4FE1\u606F",prop:"status","show-overflow-tooltip":"",width:"400"},{default:m(({row:a})=>[o(f,{src:a.image,class:"w-16 h-16","preview-teleported":!0},null,8,["src"]),u("div",null,D(a.store_name),1)]),_:1}),o(s,{label:"\u53D1\u8D27\u65F6\u95F4",prop:"id","show-overflow-tooltip":""})]),_:1},8,["data","onSelectionChange"])]),t(e).lists.length<t(e).count?(r(),i("div",B,[o(h,{modelValue:t(e),"onUpdate:modelValue":n[0]||(n[0]=a=>E(e)?e.value=a:null),onChange:t(l)},null,8,["modelValue","onChange"])])):x("",!0)])}}});export{O as _};
