moreShopAdmin/build/admin/assets/add.580cd727.js

2 lines
17 KiB
JavaScript

import{k as me,C as Q,D as W,w as X,F as $,M as ee,b as le,N as oe,O as _e,S as fe,T as ce,G as Ve,H as ge,U as he,J as be,K as ye,v as we,I as Ce,L as Ee}from"./element-plus.2c2b06a1.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang.7141614b.js";import{d as I,Z as M,r as C,o as K,c as P,U as e,L as t,u as a,aa as O,R as h,M as De,a as D,j as Y,s as Fe,T as Z,a9 as Ue,K as Be,S as ke,n as S}from"./@vue.18505fe0.js";import{u as Ke}from"./usePaging.6a6670f9.js";import{u as Ae}from"./useDictOptions.126182fb.js";import{a as te,b as Se}from"./store_product.4c9b4eb7.js";import{a as Pe}from"./vue-router.101084e3.js";import{a as Ie}from"./beforehand_order.0d693039.js";import{a as Le}from"./system_store.4e808805.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.3ccf3a31.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const qe={class:"mt-4"},Re={class:"flex mt-4 justify-end"},Te=I({name:"systemStoreLists"}),Ne=I({...Te,emits:["onBindStore"],setup(ue,{emit:j}){const F=M({store_name:"",product_type:0,is_warehouse:1}),d=C([]);C();const L=E=>{d.value=E.map(({id:V})=>V)};Ae("");const U=()=>{c()},{pager:g,getLists:c,resetParams:q,resetPage:R}=Ke({fetchFun:te,params:F});c();const A=j,T=()=>{const E=g.lists.filter(V=>d.value.includes(V.id));if(!E.length)return me.error("\u8BF7\u5148\u9009\u62E9\u5546\u54C1");A("onBindStore",E)};return(E,V)=>{const B=Q,w=W,v=X,N=$,b=ee,i=le,f=oe,s=ve,l=_e;return K(),P("div",null,[e(N,{class:"mb-[-16px]",model:a(F),inline:""},{default:t(()=>[e(w,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name"},{default:t(()=>[e(B,{class:"w-[200px]",modelValue:a(F).store_name,"onUpdate:modelValue":V[0]||(V[0]=n=>a(F).store_name=n),onKeydown:V[1]||(V[1]=O(n=>U(),["enter"])),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(w,null,{default:t(()=>[e(v,{type:"primary",onClick:a(R)},{default:t(()=>[h("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(v,{onClick:a(q)},{default:t(()=>[h("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"]),De((K(),P("div",qe,[e(f,{data:a(g).lists,onSelectionChange:L,height:300},{default:t(()=>[e(b,{type:"selection",width:"55"}),e(b,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),e(b,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:n})=>[e(i,{style:{width:"50px",height:"50px"},src:n.image,"preview-teleported":!0},null,8,["src"])]),_:1}),e(b,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"200","show-overflow-tooltip":""}),e(b,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"120","show-overflow-tooltip":""}),e(b,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),e(b,{label:"\u5546\u54C1\u4EF7\u683C",prop:"price","min-width":"100","show-overflow-tooltip":""}),e(b,{label:"\u4ED3\u5E93\u5E93\u5B58",prop:"stock","min-width":"100","show-overflow-tooltip":""})]),_:1},8,["data"])])),[[l,a(g).loading]]),D("div",Re,[e(s,{modelValue:a(g),"onUpdate:modelValue":V[2]||(V[2]=n=>Y(g)?g.value=n:null),onChange:a(c)},null,8,["modelValue","onChange"])]),e(v,{class:"w-full mt-4",type:"primary",onClick:T},{default:t(()=>[h("\u6DFB\u52A0\u5546\u54C1")]),_:1})])}}}),xe=D("div",{class:"mb-4 text-lg font-bold"},"\u9884\u5B9A\u5355\u6DFB\u52A0",-1),Me={class:"flex-1 w-full"},Oe={class:"mb-2"},Ye=D("span",{class:"ml-4"},"\u8BE5\u91D1\u989D\u53EA\u505A\u524D\u53F0\u5C55\u793A,\u540E\u53F0\u4F1A\u4ECE\u65B0\u8BA1\u7B97",-1),je=I({name:"storeProductEdit"}),Al=I({...je,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(ue,{emit:j}){const F=Fe(),d=M({warehouse_id:"",supplier_id:"",code:"",total_price:0,order_type:1,store_id:"",nickname:"",phone:"",address:"",arrival_time:"",purpose:"",tables:0,days:0,chef:"",chef_phone:"",splitting_officer:"",merchandiser:"",distribution_personnel:"",transporter:"",system_store_name:"",regional_manager:"",mark:""}),L=async s=>{const l=await Se({id:s.id});U(s,l)},U=(s,l)=>{console.log(s),console.log(l),s.id=l.id,s.image=l.image,s.marques=l.marques,s.store_info=l.store_info,s.price=l.price,s.purchase=l.purchase,s.after_sales=l.after_sales,s.loss=l.loss,s.unit=l.unit,s.store_name=l.store_name,s.unit_name=l.unit_name,s.gross_weight=l.gross_weight,s.net_weight=l.net_weight,s.package=l.package;const n=[];c.value.forEach(r=>{n.push(r.id)}),n.includes(0)==!1&&c.value.push({id:0})},g=C(!1),c=C([{id:0}]),q=s=>{c.value=c.value.filter(l=>l.id!==s)},R=s=>{s.forEach(l=>{c.value.find(n=>n.id==l.id)||c.value.push(l)}),g.value=!1};function A(s){s.total_price=(s.nums*s.price).toFixed(2),s.total_price>0&&(d.total_price=(parseFloat(d.total_price)+parseFloat(s.total_price)).toFixed(2))}const T=Pe(),E=async()=>{const s=c.value.map(l=>({product_id:l.id,nums:l.nums,price:l.price||0,purchase:l.purchase||0,total_price:l.total_price||0,marques:l.marques,store_info:l.store_info,after_sales:l.after_sales,loss:l.loss,unit:l.unit,gross_weight:l.gross_weight,net_weight:l.net_weight,package:l.package,mark:l.mark}));Ie({product_arr:s,...d}).then(l=>{setTimeout(()=>{T.push({path:"/order/beforehand_order"})},2e3)})},V=C([]);Le({page_no:1,page_size:100}).then(s=>{V.value=s.lists});const B=C([]),w=C(!1),v=C(),N=s=>{te({store_name:s.store_name,product_type:0}).then(l=>{if(l.count==1){const n=l.lists[0];U(s,n)}l.count>1&&(B.value=l.lists,w.value=!0,v.value=s)})},b=s=>{s!=null&&(U(v.value,s),w.value=!1,B.value=[],v.value=[])},i=M({}),f=(s,l,n)=>{const r=["id","store_name","nums","price","total_price","marques","gross_weight","net_weight","store_info","after_sales","loss","package","mark"];if(s.keyCode===38){if(l===0)return;i[l+n].blur(),S(()=>{i[l-1+n].focus()})}if(s.keyCode===40){if(l===c.value.length-1)return;i[l+n].blur(),S(()=>{i[l+1+n].focus()})}if(s.keyCode===37){if(l===0&&n===r[0])return;if(i[l+n].blur(),n===r[0])i[l-1+r[r.length-1]].focus();else{const _=r.findIndex(y=>y===n)-1;S(()=>{i[l+r[_]].focus()})}}if(s.keyCode===39){if(l===c.value.length-1&&n===r[r.length-1])return;if(i[l+n].blur(),n===r[r.length-1])i[l+1+r[0]].focus();else{const _=r.findIndex(y=>y===n)+1;S(()=>{i[l+r[_]].focus()})}}};return(s,l)=>{const n=Q,r=W,_=fe,y=ce,k=Ve,ae=ge,ne=be,se=ye,de=he,H=we,x=X,m=ee,z=le,G=oe,pe=$,re=Ne,J=Ce,ie=Ee;return K(),P(Z,null,[e(ie,null,{default:t(()=>[xe,D("div",null,[e(pe,{ref_key:"formRef",ref:F,model:a(d),"label-width":"90px",inline:!0},{default:t(()=>[e(y,null,{default:t(()=>[e(_,{span:4},{default:t(()=>[e(r,{label:"\u7528\u6237"},{default:t(()=>[e(n,{modelValue:a(d).nickname,"onUpdate:modelValue":l[0]||(l[0]=o=>a(d).nickname=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u7535\u8BDD"},{default:t(()=>[e(n,{modelValue:a(d).phone,"onUpdate:modelValue":l[1]||(l[1]=o=>a(d).phone=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:16},{default:t(()=>[e(r,{label:"\u5730\u5740"},{default:t(()=>[e(n,{modelValue:a(d).address,"onUpdate:modelValue":l[2]||(l[2]=o=>a(d).address=o),type:"input",style:{width:"400px"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(_,{span:12},{default:t(()=>[e(r,{label:"\u8BA2\u5355\u7C7B\u578B",prop:"order_type"},{default:t(()=>[e(ae,{modelValue:a(d).order_type,"onUpdate:modelValue":l[3]||(l[3]=o=>a(d).order_type=o)},{default:t(()=>[e(k,{label:1},{default:t(()=>[h("\u94FA\u8D27\u8BA2\u5355")]),_:1}),e(k,{label:2},{default:t(()=>[h("\u644A\u8D29\u8BA2\u5355")]),_:1}),e(k,{label:3},{default:t(()=>[h("\u4E00\u6761\u9F99\u8BA2\u5355")]),_:1}),e(k,{label:5},{default:t(()=>[h("\u4ED3\u5E93\u8865\u8D27")]),_:1}),e(k,{label:6},{default:t(()=>[h("\u5F80\u671F\u8865\u5355")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(_,{span:12},{default:t(()=>[e(r,{label:"\u95E8\u5E97",prop:"store_id",style:{width:"300px"}},{default:t(()=>[e(se,{modelValue:a(d).store_id,"onUpdate:modelValue":l[4]||(l[4]=o=>a(d).store_id=o),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large"},{default:t(()=>[(K(!0),P(Z,null,Ue(a(V),o=>(K(),Be(ne,{key:o.id,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(_,{span:4},{default:t(()=>[e(r,{label:"\u5230\u8D27\u65F6\u95F4"},{default:t(()=>[e(de,{modelValue:a(d).arrival_time,"onUpdate:modelValue":l[5]||(l[5]=o=>a(d).arrival_time=o),type:"datetime",readonly:!1,clearable:"","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u5230\u8D27\u65F6\u95F4",style:{width:"180px"}},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u684C\u6570"},{default:t(()=>[e(H,{modelValue:a(d).tables,"onUpdate:modelValue":l[6]||(l[6]=o=>a(d).tables=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u529E\u4E8B\u5929\u6570"},{default:t(()=>[e(H,{modelValue:a(d).days,"onUpdate:modelValue":l[7]||(l[7]=o=>a(d).days=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u53A8\u5E08"},{default:t(()=>[e(n,{modelValue:a(d).chef,"onUpdate:modelValue":l[8]||(l[8]=o=>a(d).chef=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u7535\u8BDD"},{default:t(()=>[e(n,{modelValue:a(d).chef_phone,"onUpdate:modelValue":l[9]||(l[9]=o=>a(d).chef_phone=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(_,{span:12},{default:t(()=>[e(r,{label:"\u91C7\u8D2D\u4E8B\u7531"},{default:t(()=>[e(n,{modelValue:a(d).purpose,"onUpdate:modelValue":l[10]||(l[10]=o=>a(d).purpose=o),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:12},{default:t(()=>[e(r,{label:"\u5907\u6CE8"},{default:t(()=>[e(n,{modelValue:a(d).mark,"onUpdate:modelValue":l[11]||(l[11]=o=>a(d).mark=o),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:t(()=>[e(_,{span:4},{default:t(()=>[e(r,{label:"\u5206\u5355\u5458"},{default:t(()=>[e(n,{modelValue:a(d).splitting_officer,"onUpdate:modelValue":l[12]||(l[12]=o=>a(d).splitting_officer=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u8DDF\u5355\u5458"},{default:t(()=>[e(n,{modelValue:a(d).merchandiser,"onUpdate:modelValue":l[13]||(l[13]=o=>a(d).merchandiser=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u914D\u8D27\u5458"},{default:t(()=>[e(n,{modelValue:a(d).distribution_personnel,"onUpdate:modelValue":l[14]||(l[14]=o=>a(d).distribution_personnel=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u8FD0\u8F93\u5458"},{default:t(()=>[e(n,{modelValue:a(d).transporter,"onUpdate:modelValue":l[15]||(l[15]=o=>a(d).transporter=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u95E8\u5E97"},{default:t(()=>[e(n,{modelValue:a(d).system_store_name,"onUpdate:modelValue":l[16]||(l[16]=o=>a(d).system_store_name=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),e(_,{span:4},{default:t(()=>[e(r,{label:"\u533A\u57DF\u7ECF\u7406"},{default:t(()=>[e(n,{modelValue:a(d).regional_manager,"onUpdate:modelValue":l[17]||(l[17]=o=>a(d).regional_manager=o),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,{label:"\u5546\u54C1",prop:"product_id",class:"w-full"},{default:t(()=>[D("div",Me,[D("div",Oe,[e(x,{type:"primary",onClick:l[18]||(l[18]=o=>g.value=!0)},{default:t(()=>[h("\u6DFB\u52A0\u5546\u54C1")]),_:1})]),e(G,{data:a(c)},{default:t(()=>[e(m,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.id,"onUpdate:modelValue":u=>o.id=u,onKeydown:O(u=>L(o),["enter"]),ref:u=>a(i)[p+"id"]=u,onKeyup:u=>f(u,p,"id")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),e(m,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:o})=>[e(z,{style:{width:"50px",height:"50px"},src:o.image,"preview-teleported":!0},null,8,["src"])]),_:1}),e(m,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","show-overflow-tooltip":""},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.store_name,"onUpdate:modelValue":u=>o.store_name=u,onKeydown:O(u=>N(o),["enter"]),ref:u=>a(i)[p+"store_name"]=u,onKeyup:u=>f(u,p,"store_name")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),e(m,{label:"\u6570\u91CF"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.nums,"onUpdate:modelValue":u=>o.nums=u,onChange:u=>A(o),ref:u=>a(i)[p+"nums"]=u,onKeyup:u=>f(u,p,"nums")},null,8,["modelValue","onUpdate:modelValue","onChange","onKeyup"])]),_:1}),e(m,{label:"\u4EF7\u683C"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.price,"onUpdate:modelValue":u=>o.price=u,onChange:u=>A(o),ref:u=>a(i)[p+"price"]=u,onKeyup:u=>f(u,p,"price")},null,8,["modelValue","onUpdate:modelValue","onChange","onKeyup"])]),_:1}),e(m,{label:"\u603B\u4EF7"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.total_price,"onUpdate:modelValue":u=>o.total_price=u,ref:u=>a(i)[p+"total_price"]=u,onKeyup:u=>f(u,p,"total_price")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u578B\u53F7"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.marques,"onUpdate:modelValue":u=>o.marques=u,ref:u=>a(i)[p+"marques"]=u,onKeyup:u=>f(u,p,"marques")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u5305\u88C5"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.package,"onUpdate:modelValue":u=>o.package=u,ref:u=>a(i)[p+"package"]=u,onKeyup:u=>f(u,p,"package")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),e(m,{label:"\u6BDB\u91CD"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.gross_weight,"onUpdate:modelValue":u=>o.gross_weight=u,ref:u=>a(i)[p+"gross_weight"]=u,onKeyup:u=>f(u,p,"gross_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u51C0\u91CD"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.net_weight,"onUpdate:modelValue":u=>o.net_weight=u,ref:u=>a(i)[p+"net_weight"]=u,onKeyup:u=>f(u,p,"net_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u89C4\u683C"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.store_info,"onUpdate:modelValue":u=>o.store_info=u,ref:u=>a(i)[p+"store_info"]=u,onKeyup:u=>f(u,p,"store_info")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u552E\u540E"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.after_sales,"onUpdate:modelValue":u=>o.after_sales=u,ref:u=>a(i)[p+"after_sales"]=u,onKeyup:u=>f(u,p,"after_sales")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u635F\u8017"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.loss,"onUpdate:modelValue":u=>o.loss=u,ref:u=>a(i)[p+"loss"]=u,onKeyup:u=>f(u,p,"loss")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u5907\u6CE8"},{default:t(({row:o,$index:p})=>[e(n,{modelValue:o.mark,"onUpdate:modelValue":u=>o.mark=u,ref:u=>a(i)[p+"mark"]=u,onKeyup:u=>f(u,p,"mark")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),e(m,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:o})=>[e(x,{type:"danger",link:"",onClick:p=>q(o.id)},{default:t(()=>[h(" \u5220\u9664 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),_:1}),e(y,null,{default:t(()=>[e(x,{onClick:E,type:"primary",class:"w-40 ml-20"},{default:t(()=>[h("\u63D0\u4EA4")]),_:1}),e(r,{label:"\u603B\u4EF7",prop:"total_price"},{default:t(()=>[D("div",null,[h(ke(a(d).total_price)+" ",1),Ye])]),_:1})]),_:1})]),_:1},8,["model"])]),e(J,{modelValue:a(g),"onUpdate:modelValue":l[19]||(l[19]=o=>Y(g)?g.value=o:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:t(()=>[e(re,{onOnBindStore:R})]),_:1},8,["modelValue"])]),_:1}),e(J,{modelValue:a(w),"onUpdate:modelValue":l[20]||(l[20]=o=>Y(w)?w.value=o:null),title:"\u9009\u62E9\u5546\u54C1",width:"1200"},{default:t(()=>[e(G,{data:a(B),onCurrentChange:b,height:300},{default:t(()=>[e(m,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),e(m,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:o})=>[e(z,{style:{width:"50px",height:"50px"},src:o.image,"preview-teleported":!0},null,8,["src"])]),_:1}),e(m,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"200","show-overflow-tooltip":""}),e(m,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"120","show-overflow-tooltip":""}),e(m,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),e(m,{label:"\u5546\u54C1\u4EF7\u683C",prop:"price","min-width":"100","show-overflow-tooltip":""}),e(m,{label:"\u4ED3\u5E93\u5E93\u5B58",prop:"stock","min-width":"100","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1},8,["modelValue"])],64)}}});export{Al as default};