import{_ as b}from"./index.vue_vue_type_script_setup_true_lang.ecb80feb.js";import{M as w,b as g,N as v}from"./element-plus.a63a26dd.js";import{u as E}from"./usePaging.6a6670f9.js";import{b as C}from"./warehouse_product_return.186aa14f.js";import{d as m,Z as F,o as p,c as x,U as e,L as i,u as a,a as B,K as y,j as V,Q as k}from"./@vue.18505fe0.js";const P={class:"flex mt-4 justify-end"},L=m({name:"subOrder"}),K=m({...L,setup(N,{expose:c}){const s=F({bhoid:"",return_type:2}),{pager:t,getLists:r,resetParams:D,resetPage:j}=E({fetchFun:C,params:s});function _(u){s.bhoid=u.id,r()}return c({getList:_}),(u,n)=>{const o=w,d=g,f=v,h=b;return p(),x("div",null,[e(f,{data:a(t).lists,border:"",style:{width:"100%","margin-top":"10px"}},{default:i(()=>[e(o,{prop:"id",label:"ID",width:"60"}),e(o,{label:"\u5546\u54C1\u56FE\u7247",prop:"image",width:"120"},{default:i(({row:l})=>[e(d,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),e(o,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","show-overflow-tooltip":""}),e(o,{label:"\u5355\u4F4D",prop:"unit_name","show-overflow-tooltip":""}),e(o,{label:"\u9000\u4F9B\u5E94\u5546\u6570\u91CF",prop:"nums","show-overflow-tooltip":""}),e(o,{label:"\u9000\u4F9B\u5E94\u5546\u4EF7",prop:"price","show-overflow-tooltip":""}),e(o,{label:"\u9000\u4F9B\u5E94\u5546\u603B\u4EF7",prop:"total_price","show-overflow-tooltip":""}),e(o,{label:"\u5907\u6CE8",prop:"mark","show-overflow-tooltip":""})]),_:1},8,["data"]),B("div",P,[a(t).lists?(p(),y(h,{key:0,modelValue:a(t),"onUpdate:modelValue":n[0]||(n[0]=l=>V(t)?t.value=l:null),onChange:a(r)},null,8,["modelValue","onChange"])):k("",!0)])])}}});export{K as _};
