moreShopAdmin/dist/admin/assets/details.9ec3f4d3.js

2 lines
20 KiB
JavaScript

import{x as Ye,y as Me,V as Ne,k as V,w as ze,K as We,G as qe,b as Ke,C as Ge,H as He,F as Qe,L as Ze,N as Je,O as Xe,D as el}from"./element-plus.8e273e86.js";import{_ as ll}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.d6f3a1ea.js";import{i as tl}from"./beforehand_order_cart_info.e9643d3d.js";import{l as ol,m as ul,n as rl,o as sl,p as il,q as dl,r as al,s as nl}from"./beforehand_order.be84c393.js";import{u as pl}from"./vue-router.10bd5b90.js";import{_ as ml}from"./goodsOffer.vue_vue_type_script_setup_true_name_subOrder_lang.50311857.js";import{_ as fl}from"./orderCartInfo.vue_vue_type_script_setup_true_name_subOrder_lang.eadaf700.js";import{_ as _l}from"./warehousing.vue_vue_type_script_setup_true_name_subOrder_lang.8b27d446.js";import{_ as vl}from"./outbound.vue_vue_type_script_setup_true_name_subOrder_lang.3e1dc003.js";import{_ as yl}from"./returnWarehouse.vue_vue_type_script_setup_true_name_subOrder_lang.e8a79ac8.js";import{_ as cl}from"./returnSupplier.vue_vue_type_script_setup_true_name_subOrder_lang.91cbdab8.js";import{h as Fl}from"./index.4eb92b1c.js";import{a as bl}from"./system_store.aa0e1610.js";import"./vue-plugin-hiprint.838ee9c9.js";import{e as El}from"./delivery_service.dec17fe8.js";import{g as xl}from"./purchase_product_offer.d658f8f6.js";import{d as fe,r as a,Z as kl,o as n,c as P,U as r,L as s,a as l,S as p,u as t,R as m,K as f,Q as _,j as w,T as S,a9 as M,n as Dl}from"./@vue.76ce7aa3.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.d6032bc4.js";import"./usePaging.f8c888e4.js";import"./useDictOptions.cc192734.js";import"./store_product.67945300.js";import"./index.vue_vue_type_script_setup_true_lang.c25efc57.js";import"./index.63ba074e.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./warehouse.133a325d.js";import"./supplier.b4cdcdd3.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.4b73eee6.js";import"./lodash.4e6d2a38.js";import"./warehouse_order.18746f12.js";import"./warehouse_product.7a054e5c.js";import"./warehouse_product_return.2157e07b.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";import"./jquery.da0c3ace.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.3d1dc32f.js";import"./engine.io-client.6bbd7bb9.js";import"./engine.io-parser.4305f785.js";import"./@socket.io.573b606e.js";import"./debug.b392f131.js";import"./socket.io-parser.4db37fe5.js";import"./html2canvas.c8f3682e.js";import"./canvg.90844e8b.js";import"./core-js.02a9a8e7.js";import"./raf.4a8e4708.js";import"./performance-now.36ef0a90.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.200d31ca.js";import"./stackblur-canvas.7cb77c32.js";const gl={class:"flex items-center justify-between m-4"},Cl={class:"flex flex-col"},Al={style:{color:"black"}},Vl={class:"flex flex-col"},wl={style:{color:"black"}},Bl={class:"flex flex-col"},hl={style:{color:"black"}},Ol={class:"flex items-center justify-between m-4"},$l={class:"flex flex-col"},Ul={style:{color:"black"}},Ll={class:"flex flex-col"},Rl={style:{color:"black"}},Pl={class:"flex flex-col"},Sl={style:{color:"black"}},Il={class:"flex items-center justify-between m-4"},Tl={class:"flex flex-col"},jl={style:{color:"black"}},Yl={class:"flex flex-col"},Ml={style:{color:"black"}},Nl={class:"flex flex-col"},zl={style:{color:"black"}},Wl={class:"flex flex-col"},ql={style:{color:"black"}},Kl={class:"flex flex-col"},Gl={style:{color:"black"}},Hl={class:"flex items-center justify-between m-4"},Ql={class:"flex flex-col"},Zl={style:{color:"black"}},Jl={class:"flex flex-col"},Xl={style:{color:"black"}},et={class:"flex flex-col"},lt={style:{color:"black"}},tt={class:"flex flex-col"},ot={style:{color:"black"}},ut={class:"flex flex-col"},rt={style:{color:"black"}},st={class:"flex flex-col"},it={style:{color:"black"}},dt={class:"flex flex-col"},at={style:{color:"black"}},nt={class:"flex flex-col"},pt={style:{color:"black"}},mt={class:"flex flex-col"},ft={style:{color:"black"}},_t={class:"flex items-center justify-between m-4"},vt={class:"flex flex-col"},yt={style:{color:"black"}},ct={class:"flex flex-col"},Ft={style:{color:"black"}},bt={class:"flex flex-col flex-2"},Et={style:{color:"black"}},xt={class:"justify-between m-4"},kt={class:"mb-2"},Dt={class:"dialog-footer"},gt={class:"dialog-footer"},Ct={class:"dialog-footer"},At=fe({name:"storeOrderDETAILS"}),Xo=fe({...At,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Vt,{expose:_e,emit:wt}){const k=a(!1),I=a(null),N=a(null),z=a(null),W=a(null),q=a(null),K=a(null),ve=pl(),g=a(!1),ye=i=>{var e,d,b,O,$,v;i=="second"&&((e=W.value)==null||e.getList(o.value)),i=="offer"&&((d=I.value)==null||d.getList(o.value.id)),i=="warehousing"&&((b=N.value)==null||b.getList(o.value.id,o.value.warehousing_id)),i=="outbound"&&((O=z.value)==null||O.getList(o.value.id,o.value)),i=="returnWarehouse"&&(($=q.value)==null||$.getList(o.value)),i=="returnSupplier"&&((v=K.value)==null||v.getList(o.value))},ce=a(!1),D=a(!1),B=a("second"),Fe=a(0),be=a(0),Ee=a(0),o=a({id:"",code:"",total_price:"",supplier_name:"",warehouse_name:"",system_store:"",financial_pm:"",order_sn:"",warehousing_id:"",top_cate:[],uid:"",store_id:"",order_type:"",store_staff_id:"",is_confirm:0}),c=a({id:"",user_id:"",order_type:"",pay_type:"",store_id:""}),xe=()=>{const i=E.value.map(e=>({id:e.id,nums:e.num||0,purchase:e.price||0,prices:e.purchase||0,total_price:e.total_price||0,manufacture:e.manufacture,expiration_date:e.expiration_date}));tl({id:G.bhoid,product_arr:i}).then(e=>{D.value=!1})},G=kl({bhoid:ve.query.id,pay_type:"",top_cate:"",top_cate_value:""});(()=>{ol({id:G.bhoid}).then(i=>{o.value={...i},Fe.value=i.warehouse_id,c.value.id=i.id,c.value.store_id=i.store_id,c.value.user_id=i.uid,c.value.order_type=i.order_type,i.financial_pm==0?be.value=1:Ee.value=1,E.value=[],[7,9].includes(o.value.order_type)&&(B.value="offer",Dl(()=>{I.value.getList(o.value.id)}))})})();const ke=i=>{ul({id:i}).then(e=>{window.open(e.url,"_blank"),V.success("\u5BFC\u51FA\u6210\u529F")})},De=i=>{rl({id:i}).then(e=>{window.open(e.url,"_blank"),V.success("\u5BFC\u51FA\u6210\u529F")})},ge=i=>{sl({id:i}).then(e=>{window.open(e.url,"_blank"),V.success("\u5BFC\u51FA\u6210\u529F")})},Ce=i=>{il({id:i,print:1}).then(e=>{window.open(e.url,"_blank"),V.success("\u5BFC\u51FA\u6210\u529F")})},T=(i,e=1)=>{dl({id:i,type:e}).then(d=>{window.open(d.url,"_blank"),V.success("\u5BFC\u51FA\u6210\u529F")})},C=a(!1),E=a([]),Ae=i=>{E.value=E.value.filter(e=>e.id!==i)},Ve=i=>{i.forEach(e=>{E.value.find(d=>d.id==e.id)||E.value.push(e)}),C.value=!1};function we(i){i.total_price=i.num*i.price}const Be=()=>{ce.value=!0},h=a(!1),H=a([]),he=(i="")=>{h.value=!0,Fl({nickname:i,page_size:10}).then(e=>{H.value=e.lists,setTimeout(()=>{h.value=!1},300)}).catch(e=>{setTimeout(()=>{h.value=!1},300)})},Q=a([]),Oe=()=>{k.value=!0,bl({page_no:1,page_size:100}).then(i=>{Q.value=i.lists})},A=a({order_id:"",buyer_id:""}),$e=()=>{xl(A.value).then(i=>{})},Ue=()=>{al(c.value).then(i=>{k.value=!1})},Le=i=>{nl({id:i}).then(e=>{o.value.is_confirm=1})},Z=a([]),Re=()=>{El({type:3}).then(i=>{Z.value=i.lists})},Pe=()=>{A.value.order_id=o.value.id,Re(),g.value=!0},Se=a(0);return _e({open:Be}),(i,e)=>{const d=ze,b=Ye,O=Me,$=We,v=qe,Ie=Ke,j=Ge,J=Ne,Te=He,Y=Qe,U=Ze,je=ll,x=Je,L=Xe,R=el;return n(),P(S,null,[r($,null,{default:s(()=>{var u,y,X,ee,le,te,oe,ue,re,se,ie,de,ae,ne,pe,me;return[l("div",gl,[l("div",Cl,[e[23]||(e[23]=l("div",{style:{color:"gray"}},"\u59D3\u540D\uFF1A",-1)),l("div",Al,p((u=t(o).other_data)==null?void 0:u.nickname),1)]),l("div",Vl,[e[24]||(e[24]=l("div",{style:{color:"gray"}},"\u624B\u673A\uFF1A",-1)),l("div",wl,p((y=t(o).other_data)==null?void 0:y.phone),1)]),l("div",Bl,[e[25]||(e[25]=l("div",{style:{color:"gray"}},"\u9001\u8D27\u5730\u5740\uFF1A",-1)),l("div",hl,p((X=t(o).other_data)==null?void 0:X.address),1)])]),l("div",Ol,[l("div",$l,[e[26]||(e[26]=l("div",{style:{color:"gray"}},"\u5355\u53F7\uFF1A",-1)),l("div",Ul,p(t(o).order_id),1)]),l("div",Ll,[e[27]||(e[27]=l("div",{style:{color:"gray"}},"\u652F\u4ED8\u5355\u53F7\uFF1A",-1)),l("div",Rl,p(t(o).order_sn),1)]),l("div",Pl,[e[28]||(e[28]=l("div",{style:{color:"gray"}},"\u95E8\u5E97\uFF1A",-1)),l("div",Sl,p(t(o).system_store),1)])]),l("div",Il,[l("div",Tl,[e[29]||(e[29]=l("div",{style:{color:"gray"}},"\u5230\u8D27\u65F6\u95F4\uFF1A",-1)),l("div",jl,p((ee=t(o).other_data)==null?void 0:ee.arrival_time),1)]),l("div",Yl,[e[30]||(e[30]=l("div",{style:{color:"gray"}},"\u684C\u6570\uFF1A",-1)),l("div",Ml,p((le=t(o).other_data)==null?void 0:le.tables),1)]),l("div",Nl,[e[31]||(e[31]=l("div",{style:{color:"gray"}},"\u529E\u4E8B\u5929\u6570\uFF1A",-1)),l("div",zl,p((te=t(o).other_data)==null?void 0:te.days),1)]),l("div",Wl,[e[32]||(e[32]=l("div",{style:{color:"gray"}},"\u53A8\u5E08\uFF1A",-1)),l("div",ql,p((oe=t(o).other_data)==null?void 0:oe.chef),1)]),l("div",Kl,[e[33]||(e[33]=l("div",{style:{color:"gray"}},"\u7535\u8BDD\uFF1A",-1)),l("div",Gl,p((ue=t(o).other_data)==null?void 0:ue.chef_phone),1)])]),l("div",Hl,[l("div",Ql,[e[34]||(e[34]=l("div",{style:{color:"gray"}},"\u91C7\u8D2D\u4E8B\u7531\uFF1A",-1)),l("div",Zl,p((re=t(o).other_data)==null?void 0:re.purpose),1)]),l("div",Jl,[e[35]||(e[35]=l("div",{style:{color:"gray"}},"\u5907\u6CE8\uFF1A",-1)),l("div",Xl,p(t(o).mark),1)]),l("div",et,[e[36]||(e[36]=l("div",{style:{color:"gray"}},"\u4EE3\u8D2D\u5907\u6CE8\uFF1A",-1)),l("div",lt,p((se=t(o).other_data)==null?void 0:se.store_mark),1)]),l("div",tt,[e[37]||(e[37]=l("div",{style:{color:"gray"}},"\u5206\u5355\u5458\uFF1A",-1)),l("div",ot,p((ie=t(o).other_data)==null?void 0:ie.splitting_officer),1)]),l("div",ut,[e[38]||(e[38]=l("div",{style:{color:"gray"}},"\u8DDF\u5355\u5458\uFF1A",-1)),l("div",rt,p((de=t(o).other_data)==null?void 0:de.merchandiser),1)]),l("div",st,[e[39]||(e[39]=l("div",{style:{color:"gray"}},"\u4ED3\u7BA1\u5458\uFF1A",-1)),l("div",it,p((ae=t(o).other_data)==null?void 0:ae.distribution_personnel),1)]),l("div",dt,[e[40]||(e[40]=l("div",{style:{color:"gray"}},"\u8FD0\u8F93\u5458\uFF1A",-1)),l("div",at,p((ne=t(o).other_data)==null?void 0:ne.transporter),1)]),l("div",nt,[e[41]||(e[41]=l("div",{style:{color:"gray"}},"\u95E8\u5E97\u5458\uFF1A",-1)),l("div",pt,p((pe=t(o).other_data)==null?void 0:pe.system_store_name),1)]),l("div",mt,[e[42]||(e[42]=l("div",{style:{color:"gray"}},"\u533A\u57DF\u7ECF\u7406\uFF1A",-1)),l("div",ft,p((me=t(o).other_data)==null?void 0:me.regional_manager),1)])]),l("div",_t,[l("div",vt,[e[43]||(e[43]=l("div",{style:{color:"gray"}},"\u603B\u4EF7",-1)),l("div",yt,"\uFFE5"+p(t(o).total_price),1)]),l("div",ct,[e[44]||(e[44]=l("div",{style:{color:"gray"}},"\u652F\u4ED8\u91D1\u989D",-1)),l("div",Ft,"\uFFE5"+p(t(o).pay_price),1)]),l("div",bt,[e[45]||(e[45]=l("div",{style:{color:"gray"}},"\u65F6\u95F4",-1)),l("div",Et,p(t(o).create_time),1)]),r(d,{onClick:e[0]||(e[0]=F=>ke(t(o).id))},{default:s(()=>e[46]||(e[46]=[m(" \u6253\u5370\u5546\u54C1\u6807\u7B7E ")])),_:1}),r(d,{onClick:Oe},{default:s(()=>e[47]||(e[47]=[m(" \u751F\u6210\u5546\u54C1\u8BA2\u5355 ")])),_:1}),[6,9].includes(t(o).order_type)?(n(),f(d,{key:0,onClick:e[1]||(e[1]=F=>Pe())},{default:s(()=>e[48]||(e[48]=[m(" \u751F\u6210\u5F80\u671F\u5165\u5E93\u5355 ")])),_:1})):_("",!0)]),l("div",xt,[t(o).order_type!=7?(n(),f(d,{key:0,onClick:e[2]||(e[2]=F=>De(t(o).id))},{default:s(()=>e[49]||(e[49]=[m(" \u6253\u5370\u4E0B\u5355\u6E05\u5355 ")])),_:1})):_("",!0),t(o).order_type!=7?(n(),f(d,{key:1,onClick:e[3]||(e[3]=F=>ge(t(o).id))},{default:s(()=>e[50]||(e[50]=[m(" \u6253\u5370\u5206\u914D\u5355 ")])),_:1})):_("",!0),t(o).order_type==7?(n(),f(d,{key:2,onClick:e[4]||(e[4]=F=>Ce(t(o).id))},{default:s(()=>e[51]||(e[51]=[m(" \u6253\u5370\u91C7\u8D2D\u5355 ")])),_:1})):_("",!0),t(o).order_type!=7?(n(),f(d,{key:3,onClick:e[5]||(e[5]=F=>T(t(o).id))},{default:s(()=>e[52]||(e[52]=[m(" \u6253\u5370\u51FA\u5E93\u5355 ")])),_:1})):_("",!0),t(o).order_type!=7?(n(),f(d,{key:4,onClick:e[6]||(e[6]=F=>T(t(o).id,2))},{default:s(()=>e[53]||(e[53]=[m(" \u6253\u5370\u4F9B\u8D27\u5355 ")])),_:1})):_("",!0),t(o).order_type!=7?(n(),f(d,{key:5,onClick:e[7]||(e[7]=F=>T(t(o).id,3))},{default:s(()=>e[54]||(e[54]=[m(" \u6253\u5370\u65E0\u4EF7\u683C\u51FA\u5E93\u5355 ")])),_:1})):_("",!0)]),t(o).order_type!=7?(n(),f(d,{key:0,type:"primary",onClick:e[8]||(e[8]=F=>D.value=!0)},{default:s(()=>e[55]||(e[55]=[m(" \u8FFD\u52A0 ")])),_:1})):_("",!0),t(o).store_staff_id>0&&t(o).is_confirm==0?(n(),f(d,{key:1,type:"primary",onClick:e[9]||(e[9]=F=>Le(t(o).id))},{default:s(()=>e[56]||(e[56]=[m(" \u786E\u8BA4 ")])),_:1})):_("",!0),r(O,{modelValue:t(B),"onUpdate:modelValue":e[10]||(e[10]=F=>w(B)?B.value=F:null),class:"demo-tabs mt-3",type:"border-card",onTabChange:ye},{default:s(()=>[[7,9].includes(t(o).order_type)?_("",!0):(n(),f(b,{key:0,label:"\u660E\u7EC6",name:"second"},{default:s(()=>[r(fl,{ref_key:"orderCartInfoRef",ref:W,id:t(o).id},null,8,["id"])]),_:1})),[7,9].includes(t(o).order_type)?(n(),f(b,{key:1,label:"\u91C7\u8D2D",name:"offer"},{default:s(()=>[r(ml,{ref_key:"goodsOfferRef",ref:I,order_id:t(o).id},null,8,["order_id"])]),_:1})):_("",!0),[7,9].includes(t(o).order_type)?(n(),f(b,{key:2,label:"\u5165\u5E93",name:"warehousing"},{default:s(()=>[r(_l,{ref_key:"warehousingRef",ref:N,order_id:t(o).id},null,8,["order_id"])]),_:1})):_("",!0),[7,9].includes(t(o).order_type)?_("",!0):(n(),f(b,{key:3,label:"\u51FA\u5E93",name:"outbound"},{default:s(()=>[r(vl,{ref_key:"outboundRef",ref:z,order_id:t(o).id},null,8,["order_id"])]),_:1})),[7,9].includes(t(o).order_type)?_("",!0):(n(),f(b,{key:4,label:"\u9000\u5E93\u623F",name:"returnWarehouse"},{default:s(()=>[r(yl,{ref_key:"returnWarehouseRef",ref:q},null,512)]),_:1})),[7,9].includes(t(o).order_type)?_("",!0):(n(),f(b,{key:5,label:"\u9000\u4F9B\u5E94\u5546",name:"returnSupplier"},{default:s(()=>[r(cl,{ref_key:"returnSupplierRef",ref:K},null,512)]),_:1}))]),_:1},8,["modelValue"])]}),_:1}),r(U,{modelValue:t(D),"onUpdate:modelValue":e[13]||(e[13]=u=>w(D)?D.value=u:null),title:"\u8FFD\u52A0\u5546\u54C1",width:"1200"},{footer:s(()=>[l("div",Dt,[r(d,{onClick:e[12]||(e[12]=u=>D.value=!1)},{default:s(()=>e[59]||(e[59]=[m("\u53D6\u6D88")])),_:1}),r(d,{type:"primary",onClick:xe},{default:s(()=>e[60]||(e[60]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[r(Y,{ref:"formRef","label-width":"90px"},{default:s(()=>[l("div",kt,[r(d,{type:"primary",onClick:e[11]||(e[11]=u=>C.value=!0)},{default:s(()=>e[57]||(e[57]=[m("\u6DFB\u52A0\u5546\u54C1")])),_:1})]),r(Te,{data:t(E)},{default:s(()=>[r(v,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),r(v,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:s(({row:u})=>[r(Ie,{style:{width:"50px",height:"50px"},src:u.image,"preview-teleported":!0},null,8,["src"])]),_:1}),r(v,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"180","show-overflow-tooltip":""}),r(v,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"80","show-overflow-tooltip":""}),r(v,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),r(v,{label:"\u6570\u91CF","min-width":"150"},{default:s(({row:u})=>[r(j,{modelValue:u.num,"onUpdate:modelValue":y=>u.num=y,onChange:y=>we(u)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),r(v,{label:"\u4EF7\u683C","min-width":"150"},{default:s(({row:u})=>[r(j,{modelValue:u.price,"onUpdate:modelValue":y=>u.price=y,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),r(v,{label:"\u603B\u4EF7","min-width":"150"},{default:s(({row:u})=>[r(j,{modelValue:u.total_price,"onUpdate:modelValue":y=>u.total_price=y,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),r(v,{label:"\u751F\u4EA7\u65E5\u671F","min-width":"140"},{default:s(({row:u})=>[r(J,{readonly:!1,class:"flex-1 !flex",modelValue:u.manufacture,"onUpdate:modelValue":y=>u.manufacture=y,clearable:"",type:"date","value-format":"YYYY-MM-DD",placeholder:"\u9009\u62E9\u751F\u4EA7\u65E5\u671F"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),r(v,{label:"\u4FDD\u8D28\u671F","min-width":"140"},{default:s(({row:u})=>[r(J,{readonly:!1,class:"flex-1 !flex",modelValue:u.expiration_date,"onUpdate:modelValue":y=>u.expiration_date=y,clearable:"",type:"date","value-format":"YYYY-MM-DD",placeholder:"\u9009\u62E9\u4FDD\u8D28\u671F"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),r(v,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:s(({row:u})=>[r(d,{type:"danger",link:"",onClick:y=>Ae(u.id)},{default:s(()=>e[58]||(e[58]=[m(" \u5220\u9664 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),_:1},512)]),_:1},8,["modelValue"]),r(U,{modelValue:t(C),"onUpdate:modelValue":e[14]||(e[14]=u=>w(C)?C.value=u:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:s(()=>[(n(),f(je,{key:t(Se),userId:t(o).uid,order_type:t(o).order_type,onOnBindStore:Ve},null,8,["userId","order_type"]))]),_:1},8,["modelValue"]),r(U,{modelValue:t(k),"onUpdate:modelValue":e[19]||(e[19]=u=>w(k)?k.value=u:null),title:"\u751F\u6210\u652F\u4ED8\u8BA2\u5355\u8BBE\u7F6E",width:"600"},{footer:s(()=>[l("div",gt,[r(d,{onClick:e[18]||(e[18]=u=>k.value=!1)},{default:s(()=>e[61]||(e[61]=[m("\u53D6\u6D88")])),_:1}),r(d,{type:"primary",onClick:Ue},{default:s(()=>e[62]||(e[62]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[r(Y,{model:t(c),"label-width":"90px"},{default:s(()=>[r(R,{label:"\u7528\u6237"},{default:s(()=>[r(L,{modelValue:t(c).user_id,"onUpdate:modelValue":e[15]||(e[15]=u=>t(c).user_id=u),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u7528\u6237\u540D\u79F0\u641C\u7D22","remote-show-suffix":"","remote-method":he,loading:t(h),style:{width:"240px"}},{default:s(()=>[(n(!0),P(S,null,M(t(H),u=>(n(),f(x,{key:u.id,label:`${u.real_name}|${u.mobile} (ID:${u.id})`,value:u.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1}),r(R,{label:"\u95E8\u5E97",prop:"store_id"},{default:s(()=>[r(L,{modelValue:t(c).store_id,"onUpdate:modelValue":e[16]||(e[16]=u=>t(c).store_id=u),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large",style:{width:"240px"}},{default:s(()=>[(n(!0),P(S,null,M(t(Q),u=>(n(),f(x,{key:u.id,label:u.name,value:u.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),r(R,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type"},{default:s(()=>[r(L,{modelValue:t(c).pay_type,"onUpdate:modelValue":e[17]||(e[17]=u=>t(c).pay_type=u),placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F",size:"large",style:{width:"240px"}},{default:s(()=>[r(x,{label:"\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u652F\u4ED8",value:"7"}),r(x,{label:"\u91C7\u8D2D\u6B3E\u652F\u4ED8",value:"18"}),r(x,{label:"\u4F59\u989D\u652F\u4ED8",value:"3"}),r(x,{label:"\u73B0\u91D1\u652F\u4ED8",value:"17"})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),r(U,{modelValue:t(g),"onUpdate:modelValue":e[22]||(e[22]=u=>w(g)?g.value=u:null),title:"\u8BBE\u7F6E\u91C7\u8D2D",width:"600"},{footer:s(()=>[l("div",Ct,[r(d,{onClick:e[21]||(e[21]=u=>g.value=!1)},{default:s(()=>e[63]||(e[63]=[m("\u53D6\u6D88")])),_:1}),r(d,{type:"primary",onClick:$e},{default:s(()=>e[64]||(e[64]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[r(Y,{ref:"formRef",model:t(A),"label-width":"90px"},{default:s(()=>[r(R,{label:"\u91C7\u8D2D\u4EBA\u5458"},{default:s(()=>[r(L,{modelValue:t(A).buyer_id,"onUpdate:modelValue":e[20]||(e[20]=u=>t(A).buyer_id=u),placeholder:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u4EBA\u5458",size:"large",style:{width:"240px"}},{default:s(()=>[(n(!0),P(S,null,M(t(Z),u=>(n(),f(x,{label:u.nickname,value:u.uid},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])],64)}}});export{Xo as default};