moreShopAdmin/build/admin/assets/add.969c7078.js

2 lines
18 KiB
JavaScript

import{S as fe,T as _e,G as ge,H as Ve,U as be,J as Fe,K as ye,D as Ee,v as ce,C as De,w as Ce,M as we,b as he,N as ve,F as Be,I as Ue,L as ke}from"./element-plus.91c68cc0.js";import{_ as Ke}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.22c1e1a7.js";import{d as J,s as Ae,Z as q,r as y,o as D,c as I,U as u,L as t,a as C,u as a,T as P,a9 as H,K as S,R as V,aa as j,S as qe,j as x,n as B}from"./@vue.76ce7aa3.js";import{a as Ie}from"./vue-router.10bd5b90.js";import{a as Pe}from"./beforehand_order.8e87e56d.js";import{a as Se}from"./system_store.5476f6ce.js";import{b as Re,a as Le}from"./store_product.af6d513c.js";import{f as G,h as Te}from"./index.e778e9f4.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.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.vue_vue_type_script_setup_true_lang.863ae816.js";import"./usePaging.f8c888e4.js";import"./useDictOptions.4c6dc0e2.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.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.8d65305c.js";const Me={class:"flex-1 w-full"},Ne={class:"mb-2"},Oe=J({name:"storeProductEdit"}),Au=J({...Oe,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Ye,{emit:ze}){const Z=Ae(),n=q({warehouse_id:"",is_buyer:-1,supplier_id:"",code:"",total_price:0,order_type:1,store_id:"",arrival_time:"",purpose:"",tables:0,days:0,chef:"",chef_phone:"",splitting_officer:"",merchandiser:"\u4F55\u6708\u82F1",distribution_personnel:"\u4F59\u53CB",transporter:"",system_store_name:"",regional_manager:"\u5F20\u6CE2",mark:"",uid:""}),Q=async r=>{const e=await Re({id:r.id});U(r,e)},U=(r,e)=>{r.id=e.id,r.image=e.image,r.marques=e.marques,r.store_info=e.store_info,r.price=e.price,r.purchase=e.purchase,r.after_sales=e.after_sales,r.loss=e.loss,r.unit=e.unit,r.store_name=e.store_name,r.unit_name=e.unit_name,r.gross_weight=e.gross_weight,r.net_weight=e.net_weight,r.package=e.package;const m=[];F.value.forEach(g=>{m.push(g.id)}),m.includes(0)==!1&&F.value.push({id:0})},w=y(!1),F=y([{id:0}]),W=r=>{F.value=F.value.filter(e=>e.id!==r)},X=r=>{r.forEach(e=>{F.value.find(m=>m.id==e.id)||F.value.push(e)}),w.value=!1};function $(r){r.total_price=(r.nums*r.price).toFixed(2),r.total_price>0&&(n.total_price=(parseFloat(n.total_price)+parseFloat(r.total_price)).toFixed(2))}function ee(r){n.order_type==7||n.order_type==5?n.is_buyer=1:n.is_buyer=-1}const ue=Ie(),le=async()=>{const r=F.value.map(e=>({product_id:e.id,nums:e.nums,price:e.price||0,purchase:e.purchase||0,total_price:e.total_price||0,marques:e.marques,store_info:e.store_info,after_sales:e.after_sales,loss:e.loss,unit:e.unit,gross_weight:e.gross_weight,net_weight:e.net_weight,package:e.package,mark:e.mark}));Pe({product_arr:r,...n}).then(e=>{setTimeout(()=>{ue.push({path:"/order/beforehand_order"})},2e3)})},R=y([]);Se({page_no:1,page_size:100}).then(r=>{R.value=r.lists});const k=y([]),h=y(!1),K=y(),te=r=>{if(n.uid==""){G.alertError("\u8BF7\u5148\u9009\u62E9\u7528\u6237");return}Le({store_name:r.store_name,product_type:0,is_warehouse:1,user_id:n.uid}).then(e=>{if(e.count==1){const m=e.lists[0];U(r,m)}e.count>1&&(k.value=e.lists,h.value=!0,K.value=r)})},oe=r=>{r!=null&&(U(K.value,r),h.value=!1,k.value=[],K.value=[])},f=q({}),b=(r,e,m)=>{const g=["id","store_name","nums","marques","gross_weight","net_weight","store_info","after_sales","loss","package","mark"];if(r.keyCode===38){if(e===0)return;f[e+m].blur(),B(()=>{f[e-1+m].focus()})}if(r.keyCode===40){if(e===F.value.length-1)return;f[e+m].blur(),B(()=>{f[e+1+m].focus()})}if(r.keyCode===37){if(e===0&&m===g[0])return;if(f[e+m].blur(),m===g[0])f[e-1+g[g.length-1]].focus();else{const d=g.findIndex(_=>_===m)-1;B(()=>{f[e+g[d]].focus()})}}if(r.keyCode===39){if(e===F.value.length-1&&m===g[g.length-1])return;if(f[e+m].blur(),m===g[g.length-1])f[e+1+g[0]].focus();else{const d=g.findIndex(_=>_===m)+1;B(()=>{f[e+g[d]].focus()})}}},ae=q({uid:[{required:!0,message:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u7528\u6237",trigger:["blur"]}],store_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u95E8\u5E97",trigger:["blur"]}],arrival_time:[{required:!0,message:"\u8BF7\u9009\u62E9\u5230\u8D27\u65F6\u95F4",trigger:["blur"]}],tables:[{required:!0,message:"\u8BF7\u8F93\u5165\u684C\u6570",trigger:["blur"]}],days:[{required:!0,message:"\u8BF7\u8F93\u5165\u5929\u6570",trigger:["blur"]}],chef:[{required:!0,message:"\u8BF7\u8F93\u5165\u53A8\u5E08",trigger:["blur"]}],chef_phone:[{required:!0,message:"\u8BF7\u8F93\u5165\u53A8\u5E08\u7535\u8BDD",trigger:["blur"]}],purpose:[{required:!0,message:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u76EE\u7684",trigger:["blur"]}],system_store_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u95E8\u5E97\u8054\u7CFB\u4EBA",trigger:["blur"]}],splitting_officer:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u5355\u5458",trigger:["blur"]}],merchandiser:[{required:!0,message:"\u8BF7\u8F93\u5165\u8DDF\u5355\u5458",trigger:["blur"]}],distribution_personnel:[{required:!0,message:"\u8BF7\u8F93\u5165\u4ED3\u7BA1\u5458",trigger:["blur"]}],transporter:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FD0\u8F93\u5458",trigger:["blur"]}],regional_manager:[{required:!0,message:"\u8BF7\u8F93\u5165\u533A\u57DF\u7ECF\u7406",trigger:["blur"]}]}),v=y(!1),L=y([]),re=(r="")=>{v.value=!0,Te({nickname:r,page_size:10}).then(e=>{L.value=e.lists,setTimeout(()=>{v.value=!1},300)}).catch(e=>{setTimeout(()=>{v.value=!1},300)})},ne=()=>{if(n.uid==""){G.alertError("\u8BF7\u5148\u9009\u62E9\u7528\u6237");return}w.value=!0},T=y(0),se=r=>{T.value++};return(r,e)=>{const m=Fe,g=ye,d=Ee,_=fe,c=_e,E=ge,M=Ve,de=be,N=ce,p=De,A=Ce,i=we,O=he,Y=ve,pe=Be,ie=Ke,z=Ue,me=ke;return D(),I(P,null,[u(me,null,{default:t(()=>[e[33]||(e[33]=C("div",{class:"mb-4 text-lg font-bold"},"\u9884\u5B9A\u5355\u6DFB\u52A0",-1)),C("div",null,[u(pe,{ref_key:"formRef",ref:Z,model:a(n),"label-width":"90px",inline:!0,rules:a(ae)},{default:t(()=>[u(c,null,{default:t(()=>[u(_,{span:4},{default:t(()=>[u(d,{label:"\u7528\u6237",prop:"nickname"},{default:t(()=>[u(g,{modelValue:a(n).uid,"onUpdate:modelValue":e[0]||(e[0]=l=>a(n).uid=l),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u7528\u6237\u540D\u79F0\u641C\u7D22","remote-show-suffix":"","remote-method":re,loading:a(v),style:{width:"220px"},onChange:se},{default:t(()=>[(D(!0),I(P,null,H(a(L),l=>(D(),S(m,{key:l.id,label:`${l.real_name}|${l.mobile} (ID:${l.id})`,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1})]),_:1})]),_:1}),u(c,null,{default:t(()=>[u(_,{span:12},{default:t(()=>[u(d,{label:"\u8BA2\u5355\u7C7B\u578B",prop:"order_type"},{default:t(()=>[u(M,{modelValue:a(n).order_type,"onUpdate:modelValue":e[1]||(e[1]=l=>a(n).order_type=l),onChange:e[2]||(e[2]=l=>ee())},{default:t(()=>[u(E,{label:1},{default:t(()=>e[21]||(e[21]=[V("\u94FA\u8D27\u8BA2\u5355")])),_:1}),u(E,{label:2},{default:t(()=>e[22]||(e[22]=[V("\u644A\u8D29\u8BA2\u5355")])),_:1}),u(E,{label:3},{default:t(()=>e[23]||(e[23]=[V("\u4E00\u6761\u9F99\u8BA2\u5355")])),_:1}),u(E,{label:5},{default:t(()=>e[24]||(e[24]=[V("\u4ED3\u5E93\u8865\u8D27")])),_:1}),u(E,{label:6},{default:t(()=>e[25]||(e[25]=[V("\u5F80\u671F\u8865\u5355")])),_:1}),u(E,{label:7},{default:t(()=>e[26]||(e[26]=[V("\u91C7\u8D2D\u5355")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),u(_,{span:12},{default:t(()=>[u(d,{label:"\u95E8\u5E97",prop:"store_id",style:{width:"300px"}},{default:t(()=>[u(g,{modelValue:a(n).store_id,"onUpdate:modelValue":e[3]||(e[3]=l=>a(n).store_id=l),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large"},{default:t(()=>[(D(!0),I(P,null,H(a(R),l=>(D(),S(m,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(c,null,{default:t(()=>[u(_,{span:12},{default:t(()=>[u(d,{label:"\u4E00\u952E\u4E0D\u91C7\u8D2D",prop:"is_buyer"},{default:t(()=>[u(M,{modelValue:a(n).is_buyer,"onUpdate:modelValue":e[4]||(e[4]=l=>a(n).is_buyer=l)},{default:t(()=>[u(E,{label:1},{default:t(()=>e[27]||(e[27]=[V("\u91C7\u8D2D")])),_:1}),u(E,{label:-1},{default:t(()=>e[28]||(e[28]=[V("\u4E0D\u91C7\u8D2D")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(c,null,{default:t(()=>[u(_,{span:4},{default:t(()=>[u(d,{label:"\u5230\u8D27\u65F6\u95F4",prop:"arrival_time"},{default:t(()=>[u(de,{modelValue:a(n).arrival_time,"onUpdate:modelValue":e[5]||(e[5]=l=>a(n).arrival_time=l),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}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u684C\u6570",prop:"tables"},{default:t(()=>[u(N,{modelValue:a(n).tables,"onUpdate:modelValue":e[6]||(e[6]=l=>a(n).tables=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u529E\u4E8B\u5929\u6570",prop:"days"},{default:t(()=>[u(N,{modelValue:a(n).days,"onUpdate:modelValue":e[7]||(e[7]=l=>a(n).days=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u53A8\u5E08",prop:"chef"},{default:t(()=>[u(p,{modelValue:a(n).chef,"onUpdate:modelValue":e[8]||(e[8]=l=>a(n).chef=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u7535\u8BDD",prop:"chef_phone"},{default:t(()=>[u(p,{modelValue:a(n).chef_phone,"onUpdate:modelValue":e[9]||(e[9]=l=>a(n).chef_phone=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(c,null,{default:t(()=>[u(_,{span:12},{default:t(()=>[u(d,{label:"\u5907\u6CE8",prop:"purpose"},{default:t(()=>[u(p,{modelValue:a(n).purpose,"onUpdate:modelValue":e[10]||(e[10]=l=>a(n).purpose=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:12},{default:t(()=>[u(d,{label:"\u5185\u90E8\u5907\u6CE8",prop:"mark"},{default:t(()=>[u(p,{modelValue:a(n).mark,"onUpdate:modelValue":e[11]||(e[11]=l=>a(n).mark=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(c,null,{default:t(()=>[u(_,{span:4},{default:t(()=>[u(d,{label:"\u5206\u5355\u5458",prop:"splitting_officer"},{default:t(()=>[u(p,{modelValue:a(n).splitting_officer,"onUpdate:modelValue":e[12]||(e[12]=l=>a(n).splitting_officer=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u8DDF\u5355\u5458",prop:"merchandiser"},{default:t(()=>[u(p,{modelValue:a(n).merchandiser,"onUpdate:modelValue":e[13]||(e[13]=l=>a(n).merchandiser=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u4ED3\u7BA1\u5458",prop:"distribution_personnel"},{default:t(()=>[u(p,{modelValue:a(n).distribution_personnel,"onUpdate:modelValue":e[14]||(e[14]=l=>a(n).distribution_personnel=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u8FD0\u8F93\u5458",prop:"transporter"},{default:t(()=>[u(p,{modelValue:a(n).transporter,"onUpdate:modelValue":e[15]||(e[15]=l=>a(n).transporter=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u95E8\u5E97\u5458",prop:"system_store_name"},{default:t(()=>[u(p,{modelValue:a(n).system_store_name,"onUpdate:modelValue":e[16]||(e[16]=l=>a(n).system_store_name=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(_,{span:4},{default:t(()=>[u(d,{label:"\u533A\u57DF\u7ECF\u7406",prop:"regional_manager"},{default:t(()=>[u(p,{modelValue:a(n).regional_manager,"onUpdate:modelValue":e[17]||(e[17]=l=>a(n).regional_manager=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(d,{label:"\u5546\u54C1",prop:"product_id",class:"w-full"},{default:t(()=>[C("div",Me,[C("div",Ne,[u(A,{type:"primary",onClick:e[18]||(e[18]=l=>ne())},{default:t(()=>e[29]||(e[29]=[V("\u6DFB\u52A0\u5546\u54C1")])),_:1})]),u(Y,{data:a(F)},{default:t(()=>[u(i,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.id,"onUpdate:modelValue":o=>l.id=o,onKeydown:j(o=>Q(l),["enter"]),ref:o=>a(f)[s+"id"]=o,onKeyup:o=>b(o,s,"id")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(i,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:l})=>[u(O,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(i,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","show-overflow-tooltip":""},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.store_name,"onUpdate:modelValue":o=>l.store_name=o,onKeydown:j(o=>te(l),["enter"]),ref:o=>a(f)[s+"store_name"]=o,onKeyup:o=>b(o,s,"store_name")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(i,{label:"\u6570\u91CF"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.nums,"onUpdate:modelValue":o=>l.nums=o,onChange:o=>$(l),ref:o=>a(f)[s+"nums"]=o,onKeyup:o=>b(o,s,"nums")},null,8,["modelValue","onUpdate:modelValue","onChange","onKeyup"])]),_:1}),u(i,{label:"\u4EF7\u683C"},{default:t(({row:l})=>[u(p,{modelValue:l.price,"onUpdate:modelValue":s=>l.price=s,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(i,{label:"\u603B\u4EF7"},{default:t(({row:l})=>[u(p,{modelValue:l.total_price,"onUpdate:modelValue":s=>l.total_price=s,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(i,{label:"\u578B\u53F7"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.marques,"onUpdate:modelValue":o=>l.marques=o,ref:o=>a(f)[s+"marques"]=o,onKeyup:o=>b(o,s,"marques")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u5305\u88C5"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.package,"onUpdate:modelValue":o=>l.package=o,ref:o=>a(f)[s+"package"]=o,onKeyup:o=>b(o,s,"package")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(i,{label:"\u6BDB\u91CD"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.gross_weight,"onUpdate:modelValue":o=>l.gross_weight=o,ref:o=>a(f)[s+"gross_weight"]=o,onKeyup:o=>b(o,s,"gross_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u51C0\u91CD"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.net_weight,"onUpdate:modelValue":o=>l.net_weight=o,ref:o=>a(f)[s+"net_weight"]=o,onKeyup:o=>b(o,s,"net_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u89C4\u683C"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.store_info,"onUpdate:modelValue":o=>l.store_info=o,ref:o=>a(f)[s+"store_info"]=o,onKeyup:o=>b(o,s,"store_info")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u552E\u540E"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.after_sales,"onUpdate:modelValue":o=>l.after_sales=o,ref:o=>a(f)[s+"after_sales"]=o,onKeyup:o=>b(o,s,"after_sales")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u635F\u8017"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.loss,"onUpdate:modelValue":o=>l.loss=o,ref:o=>a(f)[s+"loss"]=o,onKeyup:o=>b(o,s,"loss")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u5907\u6CE8"},{default:t(({row:l,$index:s})=>[u(p,{modelValue:l.mark,"onUpdate:modelValue":o=>l.mark=o,ref:o=>a(f)[s+"mark"]=o,onKeyup:o=>b(o,s,"mark")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(i,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:l})=>[u(A,{type:"danger",link:"",onClick:s=>W(l.id)},{default:t(()=>e[30]||(e[30]=[V(" \u5220\u9664 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),_:1}),u(c,null,{default:t(()=>[u(A,{onClick:le,type:"primary",class:"w-40 ml-20"},{default:t(()=>e[31]||(e[31]=[V("\u63D0\u4EA4")])),_:1}),u(d,{label:"\u603B\u4EF7",prop:"total_price"},{default:t(()=>[C("div",null,[V(qe(a(n).total_price)+" ",1),e[32]||(e[32]=C("span",{class:"ml-4"},"\u8BE5\u91D1\u989D\u53EA\u505A\u524D\u53F0\u5C55\u793A,\u540E\u53F0\u4F1A\u4ECE\u65B0\u8BA1\u7B97",-1))])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),u(z,{modelValue:a(w),"onUpdate:modelValue":e[19]||(e[19]=l=>x(w)?w.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:t(()=>[(D(),S(ie,{key:a(T),userId:a(n).uid,onOnBindStore:X},null,8,["userId"]))]),_:1},8,["modelValue"])]),_:1}),u(z,{modelValue:a(h),"onUpdate:modelValue":e[20]||(e[20]=l=>x(h)?h.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"1200"},{default:t(()=>[u(Y,{data:a(k),onCurrentChange:oe,height:300},{default:t(()=>[u(i,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),u(i,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:l})=>[u(O,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(i,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"200","show-overflow-tooltip":""}),u(i,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"120","show-overflow-tooltip":""}),u(i,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(i,{label:"\u5546\u54C1\u4EF7\u683C",prop:"price","min-width":"100","show-overflow-tooltip":""}),u(i,{label:"\u4ED3\u5E93\u5E93\u5B58",prop:"stock","min-width":"100","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1},8,["modelValue"])],64)}}});export{Au as default};