import{b as C,G as b,H as x,I as y}from"./element-plus.8e273e86.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import{u as V}from"./vue-router.10bd5b90.js";import{a as k}from"./inventory_transfer_order.171a8f41.js";import{u as E}from"./usePaging.f8c888e4.js";import{d as _,Z as B,i as F,o as r,c,a as i,M as I,u as o,K as P,L as d,U as t,S as N,j as T,Q as j}from"./@vue.76ce7aa3.js";const q={class:"flex items-center"},D={key:0,class:"flex mt-4 justify-end"},M=_({name:"orderInfo"}),z=_({...M,setup(R,{expose:p}){const n=B({oid:""}),{pager:e,getLists:a,resetParams:S,resetPage:U}=E({fetchFun:k,params:n});p({getList:u=>{n.oid=u.oid,a()},getLists:a});const f=V();return F(()=>{n.oid=f.query.id,a()}),(u,m)=>{const g=C,l=b,v=x,h=L,w=y;return r(),c("div",null,[i("div",null,[I((r(),P(v,{data:o(e).lists},{default:d(()=>[t(l,{label:"\u5546\u54C1\u4FE1\u606F",prop:"store_name","show-overflow-tooltip":"",width:"400"},{default:d(({row:s})=>[i("div",q,[t(g,{src:s.image,class:"w-16 h-16 mr-2","preview-teleported":!0},null,8,["src"]),i("div",null,N(s.store_name),1)])]),_:1}),t(l,{label:"\u89C4\u683C",prop:"sku_name","show-overflow-tooltip":""}),t(l,{label:"\u6570\u91CF",prop:"cart_num","show-overflow-tooltip":""})]),_:1},8,["data"])),[[w,o(e).loading]])]),o(e).lists.length<o(e).count?(r(),c("div",D,[t(h,{modelValue:o(e),"onUpdate:modelValue":m[0]||(m[0]=s=>T(e)?e.value=s:null),onChange:o(a)},null,8,["modelValue","onChange"])])):j("",!0)])}}});export{z as _};
