import{_ as C,d as T,aP as r,w,y as B,r as m,o as c,G as i,C as u,l as d,u as e,aq as N,M as g}from"./index.56c69f5a.js";import R from"./single.efbadb4f.js";import D from"./batch.edfa6665.js";import"./index.d07aea6b.js";import"./status.2df4810d.js";const b=T({__name:"order-modal",props:{platform_type:{type:String,required:!0}},emits:["list"],setup(f,{expose:E,emit:V}){const l=r("1"),_=w(null),t=r(!1),s=r(""),n=r(""),y=a=>{V("list",a),t.value=!1};return E({onDisplay:(a,o)=>{s.value=a,n.value=o,t.value=!0,B(()=>l.value==="1"&&_.value.search())}}),(a,o)=>{const v=m("el-radio"),k=m("el-radio-group"),x=m("ElDialog");return c(),i(x,{modelValue:e(t),"onUpdate:modelValue":o[1]||(o[1]=p=>N(t)?t.value=p:null),title:"\u901A\u7528\u8BA2\u5355\u5217\u8868",center:"",width:"1024px"},{default:u(()=>[d(k,{modelValue:e(l),"onUpdate:modelValue":o[0]||(o[0]=p=>N(l)?l.value=p:null)},{default:u(()=>[d(v,{label:"1"},{default:u(()=>[g("\u52FE\u9009\u67E5\u627E")]),_:1}),d(v,{label:"2"},{default:u(()=>[g("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u5355\u53F7)")]),_:1})]),_:1},8,["modelValue"]),e(l)==="1"?(c(),i(R,{key:0,ref_key:"singleRef",ref:_,customerNo:e(s),companyNo:e(n),platformType:f.platform_type,onList:y},null,8,["customerNo","companyNo","platformType"])):(c(),i(D,{key:1,customerNo:e(s),companyNo:e(n),platformType:f.platform_type,onList:y},null,8,["customerNo","companyNo","platformType"]))]),_:1},8,["modelValue"])}}});var A=C(b,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/currentcyOrderRecord/components/order-modal.vue"]]);export{A as default};
