import{_ as V,d as x,cc as t,n as T,q as w,r as p,o as m,A as i,y as u,h as c,H as _}from"./index.js";import B from"./single.265cc1.js";import C from"./batch.961d4c.js";import"./index.43fba9db.js";const D=x({__name:"order-modal",props:{platform_type:{type:String,required:!0}},emits:["list"],setup(R,{expose:y,emit:N}){const g=N,l=t("1"),d=T(null),a=t(!1),r=t(""),s=t(""),f=o=>{g("list",o),a.value=!1};return y({onDisplay:(o,e)=>{r.value=o,s.value=e,a.value=!0,w(()=>l.value==="1"&&d.value.search())}}),(o,e)=>{const v=p("el-radio"),k=p("el-radio-group"),E=p("ElDialog");return m(),i(E,{modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=n=>a.value=n),title:"\u901A\u7528\u8BA2\u5355\u5217\u8868",center:"",width:"1024px","close-on-click-modal":!1,"close-on-press-escape":!1},{default:u(()=>[c(k,{modelValue:l.value,"onUpdate:modelValue":e[0]||(e[0]=n=>l.value=n)},{default:u(()=>[c(v,{label:"1"},{default:u(()=>e[2]||(e[2]=[_("\u52FE\u9009\u67E5\u627E")])),_:1}),c(v,{label:"2"},{default:u(()=>e[3]||(e[3]=[_("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u5355\u53F7)")])),_:1})]),_:1},8,["modelValue"]),l.value==="1"?(m(),i(B,{key:0,ref_key:"singleRef",ref:d,customerNo:r.value,companyNo:s.value,platformType:o.platform_type,onList:f},null,8,["customerNo","companyNo","platformType"])):(m(),i(C,{key:1,customerNo:r.value,companyNo:s.value,platformType:o.platform_type,onList:f},null,8,["customerNo","companyNo","platformType"]))]),_:1},8,["modelValue"])}}});var q=V(D,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/currentcyOrderRecord/components/order-modal.vue"]]);export{q as default};
