import{_ as x,d as B,O as g,cc as m,dL as F,r,o as s,A as d,y as t,h as p,H as _,i as f,a as v}from"./index.js";import N from"./search-batch.226f87.js";import R from"./search-batch-main.959db4.js";import"./columns.88d7302.js";import"./content.config.5ec63a87.js";import"./index.904472d8.js";const b=B({__name:"order-dialog",emits:["reload","save-btn-click"],setup(A,{expose:y,emit:E}){const{currentCompany:C}=g(),o=m(!1),a=m(3),V=E,l=F({companyNo:"",platform_type:""});async function h(u,e){o.value=!0,l.companyNo=C.value.companyNo,l.platform_type=""}function i(u){V("save-btn-click",u),o.value=!1}return y({show:h}),(u,e)=>{const c=r("ElRadio"),k=r("ElRadioGroup"),w=r("el-dialog");return s(),d(w,{top:"5vh",center:"",modelValue:o.value,"onUpdate:modelValue":e[1]||(e[1]=n=>o.value=n),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":"","destroy-on-close":"",title:"\u6279\u91CF\u67E5\u627E\u8BA2\u5355",width:"1040px"},{default:t(()=>[p(k,{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=n=>a.value=n)},{default:t(()=>[p(c,{label:3},{default:t(()=>e[2]||(e[2]=[_("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u53F7)")])),_:1}),p(c,{label:2},{default:t(()=>e[3]||(e[3]=[_("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u8BA2\u5355\u7F16\u53F7)")])),_:1})]),_:1},8,["modelValue"]),a.value===2?(s(),d(N,{key:0,payload:f(l),onConfirm:i},null,8,["payload"])):v("v-if",!0),a.value===3?(s(),d(R,{key:1,payload:f(l),onConfirm:i},null,8,["payload"])):v("v-if",!0)]),_:1},8,["modelValue"])}}});var U=x(b,[["__scopeId","data-v-8466467c"],["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/sheetOrderPool/components/order-dialog.vue"]]);export{U as default};
