import{_ as h,d as w,aP as i,cl as k,r as p,o as r,G as c,D as C,l as x,m as a,ar as d}from"./index.js";import g from"./search-check.eb9cb7.js";import V from"./search-batch.d411d6.js";import"./inv-open.90cd9d14.js";import"./columns.d95d09.js";const E=w({__name:"order-dialog",emits:["reload","save-btn-click"],setup(B,{expose:m,emit:v}){const o=i(!1),l=i(0),t=k({companyNo:"",platform_type:""});async function _(n,e){o.value=!0,t.companyNo=n,t.platform_type=e}function u(n){v("save-btn-click",n),o.value=!1}return m({show:_}),(n,e)=>{const f=p("el-switch"),y=p("el-dialog");return r(),c(y,{top:"5vh",center:"",modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=s=>d(o)?o.value=s:null),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":"","destroy-on-close":"",title:"\u6DFB\u52A0\u9500\u552E\u8BA2\u5355",width:"1040px"},{default:C(()=>[x(f,{modelValue:a(l),"onUpdate:modelValue":e[0]||(e[0]=s=>d(l)?l.value=s:null),"active-text":"\u6279\u91CF\u67E5\u627E","inactive-text":"\u52FE\u9009\u67E5\u627E","active-value":1,"inactive-value":0},null,8,["modelValue","active-value","inactive-value"]),a(l)===0?(r(),c(g,{key:0,payload:a(t),onConfirm:u},null,8,["payload"])):(r(),c(V,{key:1,payload:a(t),onConfirm:u},null,8,["payload"]))]),_:1},8,["modelValue"])}}});var N=h(E,[["__scopeId","data-v-fa158a80"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/invoiceApply/components/currentcy-form-wanyu/order-dialog.vue"]]);export{N as default};
